Jan 102011
 

If you get a password prompt like the following when logging on to Gnome on Ubuntu Linux your login password might differ from your keyring password file (~/.gnome2/keyrings/default.keyring):

An application wants access to the keyring 'default' but it is locked.

So to get arround this and have the default keyring unlocked when logging on, run seahorse (Found on the menu via System → Preferences → Passwords and Encryption Keys), right click on the keyring and select Change Password to set it to your login password.

http://sadamclemson.blogspot.com/2007/06/seahorse-gnome-keyring-integration.html

VN:F [1.9.22_1171]
Rating: 0.0/10 (0 votes cast)
Mar 122010
 

Somehow the icons for all entries in the Gnome menu were missing. Maybe I produced this mess or it was Gnome that changed the defaults… Whatever, I don’t know. But here is how you get them back:

enable:

gconftool -s --type bool /desktop/gnome/interface/menus_have_icons true

disable:

gconftool -s --type bool /desktop/gnome/interface/menus_have_icons false
VN:F [1.9.22_1171]
Rating: 0.0/10 (0 votes cast)
Dec 272009
 

http://forum.ubuntuusers.de/post/2207175/
http://ubuntuforums.org/showpost.php?p=8367187

Sound after login: System → Preferences → Startup Applications → GNOME-Login-Sound : remove check

To disable the system ready drums:

sudo mv /usr/share/sounds/ubuntu/stereo/system-ready.ogg /usr/share/sounds/ubuntu/stereo/system-ready-off.ogg

Enter The gdm Configuration (not related to the deactivation of the start sound mentioned above)

Log off and change to a virtual terminal using [Ctrl]+[Alt]+[F(1-6)] Log in there and enter:

export DISPLAY=:0.0
sudo -u gdm gnome-control-center

Then change back to the xserver using [Ctrl]+[Alt]+[F7], enter your settings and log in when done.
(To get rid of an annoying accessibility icon do gconftool-2 -t bool -s /desktop/gnome/accessibility/keyboard/enable false.)

VN:F [1.9.22_1171]
Rating: 0.0/10 (0 votes cast)
Dec 132009
 

http://ubuntuforums.org/showthread.php?p=8072951#post8072951

Press Alt + F2. Enter gconf-editor and press enter.

Go to apps → panel → objects and select the menu_bar. On the right of the window, check the box that says use_custom_icon. Then, right click the entry that says custom_icon. Select Edit Key and enter the path to your preferred icon.

VN:F [1.9.22_1171]
Rating: 0.0/10 (0 votes cast)
Aug 182009
 

freedesktop Desktop Entry Specification freedesktop Icon Theme Specification gnome Desktop Entry Files

You have to create a .desktop file and save it to /usr/share/applications/somefile.desktop.

icons are searched in the following folders (in that order): * $HOME/.icons * $XDG_DATA_DIRS/icons * /usr/share/pixmaps

VN:F [1.9.22_1171]
Rating: 0.0/10 (0 votes cast)
Aug 182009
 

Xorg Server Autostart:

Check xinit(1) man page for further details.
System wide autostart: /etc/X11/xinit/xinitrc
User specific autostart: ~/.xinitrc

Gnome

http://wiki.ubuntuusers.de/Autostart

Gnome user specific:
System → Einstellungen → Sitzungen → Startprogramm

Gnome system wide:
Create a file e.g. MyProgram.desktop in the directory /etc/xdg/autostart:

[Desktop Entry]
Encoding=UTF-8
Name=MyProgram
Exec=command to be executed
Terminal=false

independent of the graphic environment

Add the entry in ~/.profile.

VN:F [1.9.22_1171]
Rating: 0.0/10 (0 votes cast)
Aug 182009
 

http://live.gnome.org/Rhythmbox/RelatedTools
http://live.gnome.org/RhythmboxPlugins/ThirdParty

Rhythmbox DLNA/UPnP sharing and Control plugin

http://coherence-project.org/wiki/RhythmBox

to get this plugin to work I had to do:

sudo apt-get install python-coherence

Rhythmbox XSLT – convert Rhythmbox xml library file to xhtml

http://www.webdez.net/hacks/rbxml2html

requirements:

  • Perl
  • XML::LibXSLT Perl module

install like this:

sudo aptitude install libxml-libxslt-perl
cd ~/Downloads
wget http://downloads.dub.webdez.net/rbxml2html-0.03.tar.gz
tar -xf rbxml2html-0.03.tar.gz

usage: the pearl script convert.pl assumes your rhythmbox library file is ~/.gnome2/rhythmbox/rhythmdb.xml as in jaunty the library file is stored in ~/.local/share/rhythmbox we change convert.pl and set

my $rb_db = "$ENV{'HOME'}/.local/share/rhythmbox/rhythmdb.xml";

now run:

Aug 182009
 

NetworkManager has a DBUS API, so other applications can use DBUS to communicate with it and change its settings. I found three different ways to do this on the command line using a CLI (command line interface):

nmcli (NetworkManagerCmdline)

As of 2010-12-18 the most actively maintained project is nmcli: http://fedoraproject.org/wiki/Features/NetworkManagerCmdline.

Compare nmcli and cnetworkmanager: http://repo.or.cz/w/cnetworkmanager.git/blob_plain/HEAD:/nmcli-migration.html

cnetworkmanager

I found this tool to be the most useful!

cnetworkmanager: http://vidner.net/martin/software/cnetworkmanager/
http://github.com/mvidner/cnetworkmanager
get the code:

cd ~/Downloads
git clone git://github.com/mvidner/cnetworkmanager.git

use:

cd ~/Downloads/cnetworkmanager/
./cnetworkmanager -h

what you need to change the NetworkManager settings:

Aug 182009
 

remove the definitions of gnome-about and ubuntu-about

Delete the files gnome-about.desktop and ubuntu-about.desktop from /usr/share/applications

sudo rm /usr/share/applications/gnome-about.desktop
sudo rm /usr/share/applications/ubuntu-about.desktop

or less radical: move the files (to ~/tmp/):

sudo mv /usr/share/applications/gnome-about.desktop ~/tmp/
sudo mv /usr/share/applications/ubuntu-about.desktop ~/tmp/

or even softer: edit these *.desktop files and add the line NoDisplay=true.

To apply changes / see the effect, run:

killall gnome-panel

edit the main menu

System → Preferences → Main Menu

(no entries for system → about… here, so not useful!)

remove the documentation package

sudo apt-get remove ubuntu-docs
killall gnome-panel
VN:F [1.9.22_1171]
Rating: 0.0/10 (0 votes cast)