- Take a backup of the google-chrome.desktop file. Use the following command in terminal sudo cp /usr/share/applications/google-chrome.desktop /usr/share/applications/google-chrome.desktop.backup
- Open the google-chrome.desktop file for editing. Use the following command in terminal sudo gedit /usr/share/applications/google-chrome.desktop
- Find the line(line 108 for me)Exec=/usr/bin/google-chrome-stable %UReplace it with Exec=/usr/bin/google-chrome-stable --incognito %U
Monday, 31 March 2014
In Ubuntu, we can modify the google-chrome.desktop file to make google chrome always open in incognito mode. Here is how we can do it
Saturday, 29 March 2014
Use the following steps to setup hot corners in Ubuntu 12.04
- Install 'CompizConfig Settings Manager' from 'Ubuntu Software Center'
- Go to Category > General > General Options > Key bindings > Show Desktop > Click on 'Disabled' button
- Select the corner that need to be enabled
- Install gconf-editor (type gconf-editor in terminal, the command to install will be shown if it is not installed already)
- After setting the hot corners using CompizConfigSetting Manager, open terminal and type gconf-editor
- In the Configuration Editor, go to apps > compiz-1 > general > screen0 > options
- Double click on active_plugins
- In the Edit Key dialog, move 'scale' to the end of the list, move 'expo' to second last in the list
Tuesday, 25 March 2014
It was surprising to know that there is no direct way to install firefox in Ubuntu. No worries, I'm not a Windows user! After I installed Ubuntu 12.04, I have installed firefox, in a not so direct way(double click a .deb, I meant). I'm listing below the steps to get the latest build of firefox setup.
- Download firefox from www.mozilla.org
- Extract the firefox-_____.tar.bz2 to a directory firefox
- Run the following command in terminal, to move the directory into /opt/sudo mv firefox /opt/firefox
- Using the following command, take a backup of the default firefox symbolic link in /usr/bin/ directorysudo mv /usr/bin/firefox /usr/bin/firefox_backup
- Create a symbolic link in the /usr/bin/ directory that points to the newly downloaded firefox binary. Use the following commandsudo ln -s /opt/firefox/firefox /usr/bin/firefox
- Open Tools > Setup Sync and follow instructions to complete the sync setup
- Install Adobe Flash Player plugin. This is needed to play video files in youtube. Use the following command to installsudo apt-get install flashplugin-installer
- After that install Adobe Flash Player, visit the url www.adobe.com/software/flash/about/ to ensure that the plugin is installed
Sunday, 23 March 2014
Recently I upgraded my laptop to Ubuntu 12.04. Its better that the best. :-) While browsing the net for something I stumbled on a very pleasing UI theme for Ubuntu 12.04. I read along following all the links in the page and got to know much about GNOME 3. The themes collection available for GNOME3 was plenty and beautiful. I installed GNOME3 shell on my Ubuntu and then imported some very nice themes, icons from gnome-look.org. GNOME 3 sudo apt-get install gnome-shell Download themes Follow instructions in the theme package about installation, usually the themes are copied to ~/.themes folder, icons are copied to ~/.icons and custom fonts needs to be copied to ~/.fonts. GNOME tweak tool This is a tool used to set the themes for UI. Very useful. sudo apt-get install gnome-tweak-tool Note:~/ refers to home directory. i.e., '/home/username/'
After installing Ubuntu 12.04, I wanted to copy a DVD I had. The Select disk to copy list will be blank, no matter how many times I selected the DVD. I had to read through many forums to finally figure out, it is something to do with a bug in Brasero. But, I figured out a workaround.
- Insert the disk into the DVD drive
- Open Brasero, and select Copy CD/DVD
- If the Select disk to copy list is having a value, you may not need to go further reading the post. You are good to go. Proceed to next step if the Select disk to copy is empty. Note:Don't close the Copy CD/DVD dialog.
- Right click on the DVD drive that is mounted, and select Eject
- Insert the DVD back in the drive
- The DVD should be listed in the Select disk to copy list
After installing Ubuntu 12.04 on my laptop, to unleash some advanced libraries, I installed the restricted extras. sudo apt-get install ubuntu-restricted-extras sudo /usr/share/doc/libdvdread4/install-css.sh I got much of the information from the Ubuntu community help portal at https://help.ubuntu.com/community/RestrictedFormats/PlayingDVDs Note:There will be a Configuring ttf-mscorefonts-installer screen that appears, use the TAB key to navigate to the ok button and press ENTER key.
Saturday, 22 March 2014
I had installed Cyanogenmod 18.104.22.168 in my mobile. It is really an awesome OS!After installation of the OS in my mobile, I had set the WIFI sleep policy to 'When screen turns off'. The problem I faced because of this setting was when my mobile display was off, WIFI would get disconnected and mobile data connection was switched on automatically; this caused my available mobile data allowance per month to be used, even though there was a WIFI available. I totally forgot where I had set this policy. I literally browsed all the settings except, where it could be re-configured! Finally I found where I had set the WIFI sleep policy, and set it back to 'Never'. In this post I will provide the steps on how to set the WIFI sleep policy to suit your need.
- Open Settings
- Navigate to Wireless & networks > Wi-Fi settings
- Press the menu button on phone
- From the menu, select 'Advanced'
- Open 'Wi-Fi sleep policy'
- Select the option that suits your need ( I set it to 'Never' )