GNOME
How to restore your GNOME panel bar after accidentally removing it.
Submitted by soccerfiend on Sat, 2011-03-26 14:27In the /etc/xdg/menus
folder are the templates for the default menus. The one we are interested in is "applications.menu.orig.dpkg-new".
Simply copy this file to your /home/<usr_id>/.config/menus/
directory and then rename it to "applications.menu"
I got this tip from the following forums:
http://forum.ubuntu-fr.org/viewtopic.php?id=199923
http://ubuntuforums.org/showthread.php?t=335675
Changing the date display format in Ubuntu 10.04 LTS
Submitted by soccerfiend on Mon, 2010-12-13 15:34Basically I wanted to change how GTK based apps display the date. I wanted the format to be YYYY-MM-DD. In KDE this can be changed via the control panel-like interface. Gnome does not seem to have this option.
Gnome simply uses the same data that you can find by running the locale
command. What we will end up doing is cloning our current locale, editing it, then installing our custom locale.
The locales are located at /usr/share/i18n/locales. In my case my locale is en-CA so I am going to use that as a base for my custom locale, thus preserving currency and language settings.
- sudo cp /usr/share/i18n/locales/en-CA /usr/share/i18n/locales/custom
I then edit that file looking for a line that starts with , the complete line looks like this:
- d_fmt "<U0025><U0064><U002F><U0025><U006D><U002F><U0025><U0079>"
While this may look unintelligible it is really just a Unicode representation of the "date" command's command line interface.