Gmail is my primary. But i have been using Hotmail for a really long time now and loads of people still have my hotmail contact. I love the clean interface it has to offer, but lately i’ve been forced to work of a wifi that is configured with a proxy server and Hotmail just breaks like crazy on it. So i was looking for a ‘web’ solution(i know you’d scream mail client, but no) and there came Yahoo. I linked it up with my yahoo mail, which also provides you 1TB of email storage by the way(huuuuuuge), and it just clicked. The syncing was flawless and I gotta say i love what yahoo has done with their mail over the past few years.
I wanted to sync some of my files to google drive easily. I wanted it to create folder structures on its own as well. I guess you have a gui utility for ubuntu but could not find an rpm file for fedora or a source. Also i wanted a Commang line utility, something like git.
So i came across this lovely tool called grive2. Bingo. Perfect.
You can install it using the package manager. As simple as
dnf install grive2
(it should be listed as
grive2.x86_64 : Google Drive client in your package manager)
Now that you have installed it how do you sync it. There are two steps to this process, the authentication step and the syncing step. Although it seems like a single step process when you first do it because when you do the authentication it automatically syncs it.
All you have to do is cd to the folder that you want to sync and then type in
when you do that you will be prompted with a link along with an open prompt to paste an authentication code. Copy and paste that link in a browser and you will be asked to authenticate grive to access your google drive. Accept it and you will get the authentication code that you need. Copy this and paste it in your terminal where your prompt is waiting for you to come back. Then you are done.
grive is now looking at the current folder you are on and also your google drive to see if the content/folders in the current folder are already there. Since this is your first time there is no chance that it is already there so it uploads all that is in the current folder to google drive. Once that is done it starts downloading what is in google drive to the current folder since you don’t already have those here. Syncing is a two way road, both uploads and downloads happen.
The next time you sync you just need to go to the same folder and say
and it does the same without any authentication
grive --help for more options
Tricky Bit – Being Specific
Now is the tricky bit. I did not need these downloads to happen. My want was very specific. I just wanted to sync what is in a particular folder of mine in my pc up to google drive and then in the future when ever i made changes to “this particular folder” in my local drive or google drive i wanted it to sync that. Many of you might want the same too. You would have loads of stuff on your google drive. Why sync everything!
So the way around this is the mighty ‘-s’ parameter that lets you specify a specific folder that you wanted to sync. So what did i do.
Example say that my folder, lets call it MyFolder is in home/me/Documents. This MyFolder of mine contains all the files that i want to sync to grive. Then what i would do is cd to Documents and do
grive -a -s MyFolder/
Now this would authenticate this folder(Documents) but only sync the MyFolder folder. Again, when i want to sync this folder again i would go to Documents and say
grive -s MyFolder/
it would now sync what ever changes i made whether in my local or in my server, deleting and uploading as necessary. “Deleting and Uploading as necessary” is one of my favorite aspects. Although thats what syncing is. Ironic.🙂
Over these past five years I’ve been using five of the major desktop environments, regularly. My usual Linux distribution is fedora but I’ve had my fair share of experiences with Ubuntu and Mint as well.
This will be a short post. I just wanted to list out these DEs in the order of my preference and talk a few lines about why the order of preference is the way it is.
2. Gnome 3
5. Gnome 2
I’ve been using MATE only for a short while now and I absolutely love it. I was in search of a really light weight environment that just gets the job done with less over head and mate does it for me. It’s built over Gnome 2 so it has the traditional Linux desktop feel but don’t be fooled by that. I initially thought it would miss Gnome 3. But I did not. I loved the fact that it was light on my processor but at the same time give me a really user friendly way to handle things. But if you’re looking for something flashy, you would not like mate. Infact you would probably like kde i guess, although i have never tried to experiment with it. My requirement was specific.
In a similar search for a light weight environment. I had previously ventured into Cinnamon. I did like it. But after using MATE, I feel that cinnamon does not have the refinement that mate has. Hence it does not have the edge over Gnome or Unity which i feel are well tested and refined.
Yes. There are DEs like LXDE and XFCE which are supposed to be light weight but I did not feel like experimenting with them. Maybe sometime later.
So its true. MATE is lighter on the processor compared to Gnome 3. I can feel a significant reduction in heat on my laptop and I’ve stopped hearing my cpu fan pushing hard for slight processor heavy tasks on my desktop. It also feels much lighter – Faster response times.
Not finding much differences between cinnamon and mate though, but I guess when it comes to being light on the processor, mate might have the edge.
So when the time comes for me to build my own Arch Linux pc I would probably choose MATE over Gnome 3. Although it feels a little outdated(like Gnome 2, of course) I guess it’s good when you need to get the job done rather than look for eye candy.
Installing fonts on Fedora is quite simple. First you have to decide if you want the fonts to be available across all users or just yourself. The most common option would be to install it across all users.
- Download a font pack from some website. I was able to get a font pack with 1500 fonts in one zip file. Which contained many smaller zip files, each containing a font. You could unzip all of this by navigating to the folder in the terminal and saying “unzip \*.zip” and it would unzip it all for you.
- Once that is done you will have plenty of font files and also the readme files that come along with it.
- Become a root user by typing in su in the terminal and giving the root user password. Navigate to usr/share/fonts/ and create a folder to put all your new fonts in. I called it “userInstalled”.
- Copy all the font files from the place you unziped them to this place. You could do
“cp <folder path where you unzipped all the font files>/*.ttf /usr/share/fonts/userInstalled”
on the terminal to do this in one shot.
Hope this works out for you. Thanks for reading.
Telegram has grown over the past six months. I can see people migrating to Telegram but still a vast majority of my friends still do not use it. Here i list down 6 reasons why i like Telegram more than Whatsapp.
- Telegram has Encrypted messaging. Even if your messages are intercepted. Its going to be really tough to get through that Encryption. Good when you are transmitting some sensitive info.
- Self destructive messages in Telegram could be really useful. Your messages will self destruct post being read and after the set time. Options vary from 1 second to 1 day.
- Whatsapp belongs to Facebook and you know Facebook. I will stop it at that.
- Kick ass desktop client. If you want to use your pc to talk to your whatsapp contacts, your phone and your pc, both, need to be connected to the internet. and also you will be using a web browser. But you get a really good desktop app for Telegram that is really smooth and hey your phone does not need to be connected to the internet.
- File transfer. When you are on your desktop. You can drag and drop files into the desktop client and it would just go to the other person. No hassle. It just WORKS!
- Group Messaging & Bots. With the ability to use bots for Groups. Group management becomes easier. Avid programmers could explore this and go places.
Thanks for Reading.
Keeping your mailbox clean is a daunting task. Keeping track of whats important and what to reply to within the limited time you have can be even more troublesome. There is a simple algorithm that runs in my mind when i’m Reading and Replying Emails.
Select Case Importance
Case: Very Important
Read and Reply
Reply if it will take less than 5 mins
Read if it takes less than a minute
Reply if it takes less than 2 mins
Case : Not Important
Read if I have no work and if it takes less than 10 Seconds.
Move to Archive.
Do not reply
Open. Skim for 5 Seconds.
Delete if it is spam
Move to inbox and follow algorithm above based on importance.
This way I don’t have emails piling up in my mail box. This applies to SMS as well.
How do you manage your mails?