Showing posts with label gnome. Show all posts
Showing posts with label gnome. Show all posts

Sunday, October 23, 2011

Adding custom menu entries in Debian/Ubuntu

Some of the applications which we install from third party sources are not indexed in the Applications tab in the GNOME shell.

The problem in such a case is the high chances of forgetting what the application name is! And this happens so often with me, that I am forced to create these entries in the Applications menu.

Here's a simple procedure to do this. Although there's System->Preferences->Main Menu to do this, this one is better for some obvious reasons (you can give your custom icons)

  • The Applications Menu entries reside in the directory /usr/share/applications , and to create a new entry create a .desktop file in this directory
cd /usr/share/applications
sudo nano myapp.desktop

  • The .desktop files have just the information needed to put up an entry in the Applications tab, and to run your app; Here is the sample content of the Qtoctave entry from the file qtoctave.desktop
[Desktop Entry]
Version=1.0
Name=QtOctave
Comment=Graphical Qt frontend for GNU Octave
TryExec=qtoctave
Exec=qtoctave
Icon=qtoctave
Type=Application
Categories=Development;Math;Science;Education;Electronics
  • Make these entries into the myapp.desktop file with relevant modifications like your executable file name in the exec field.
  • After modification of the .desktop file, save and close it. Now, the entry should appear in the categories which you mention.
  • To add your application an icon, crop a 32x32 png image and add it into the default icons directory /usr/share/app-install/icons/,
sudo cp myicon.png /usr/share/app-install/icons/ 

In the Icon field of the .desktop file, provide the file name if the icon resides in the aforementioned default directory, or give the full path of the icon

And there you go, your own custom application entry with a custom icon!

Saturday, April 30, 2011

Natty Narhwal Release


Ubuntu 11.04, the thirteenth edition of Ubuntu, aka Natty Narhwal is out. I call Natty a mix bag, with lot of improvements and major digressions from its previous versions.

  • Unity: It is the new GUI for Ubuntu, replacing the long standing GNOME-Ubuntu rapport. After a somewhat regressive debacle in the community, Ubuntu vs GNOME, the two have parted and that GNOME will not be officially supported by Ubuntu, and will be available only via a PPA. Canonical is obviously pushing Unity, and although GNOME isn't dependent on Canonical or Ubuntu, it will certainly be a setback for GNOME. I personally am missing GNOME on Natty. On the positive side of Unity is the four point touch support. That is something to look forward to in the releases to come.

  • Open Office to Libre Office: With the Oracle takeover of Sun Microsystems, projects such as Virtual Box, Open Office, Mysql, etc.. which were mentored by Sun have been under the threat of losing their traits (although Oracle argues otherwise). With Ubuntu switching from Open Office to Libre office, this apprehension about Oracle effect is reduced, nevertheless Open Office will be missed. (BTW, Open Office and Libre Office are almost the same)

  • Banshee replaces Rhythmbox: The default music player for Natty is Banshee, and I don't mind, for I haven't got used to Rhythmbox as yet. VLC still is what I'll be going for. 

  • It's still Mozilla: Firefox4 ships as the default browser, and no prizes for guessing as to why. 
 
  • Proprietary codecs and Software more easily accessible. In order to attract new users, Ubuntu is more than happy to prompt the users to go for proprietary codecs, which has been under a lot of debate since the release of Maverick.  
  • Installation in Telugu and (broken) Kannada are on in Natty.
While the Debian community insists (rightly) to call Debian, a GNU/Linux Operating system as Free (free as in Freedom),

Canonical has been consciously pushing Ubuntu as an Open Source Linux based OS as Free ( as in no price).


Yesterday in Bangalore, the Ubuntu Loco team had called for the Natty Release party, and it was nice to see a bunch of Free and Open Source Software enthusiasts join in and have a small Party for Natty.



PS: Ubuntu is getting no better with every release :(
They're now only "Open", "free" is only a matter of price to Canonical.
But, Ubuntu is like my first love. It drew me into the Free Software Movement, and I am still not ready to part with it.
Nonetheless, if they keep digressing the way they are now, soon I shall have to part with it :)