Friday, September 27, 2013

How to add and modify applications in the slingshot launcher of elementaryOS

Open up a terminal and type:

sudo apt-get install --no-install-recommends alacarte

Now, we're going to make alacarte work with slingshot. Type this in a terminal:

sudo scratch-text-editor /usr/share/alacarte/Alacarte/

This will open up a text file. Hit ctrl+F to search for '' and replace all with '' (you have to replace twice in the file). When done, close the file.

Now start the menu editor by typing 'alacarte' in slingshot or in a terminal

Gdk Gtk warnings and errors from the command line

The Unable to locate theme engine in module_path: "pixmap" messages are a known bug.
To fix it, install the gtk2-engines-pixbuf Install gtk2-engines-pixbuf package

How to get the IP address of the docker host from inside a docker container

/sbin/ip route|awk '/default/ { print $3 }'