Gtk-WARNING **: Error loading icon: Couldn't recognize the image file format

Many GTK based apps failed with errors like:

Gtk-WARNING **: Error loading icon: Couldn't recognize the image file format for file '/usr/share/icons/oxygen/16x16/actions/application-exit.png'

until I ran this line to regenerate the cache:

gdk-pixbuf-query-loaders > /usr/lib/x86_64-linux-gnu/gdk-pixbuf-2.0/2.10.0/loaders.cache

Changing the primary monitor in a dual-monitor configuration

sudo apt-get install x11-xserver-utils
xrandr #to find out the names of the displays
xrandr --output DVI-0 --primary

Mapping the mouse thumb button under Ubuntu

  • This tutorial showed me how to identifuy the button I wanted (8)
    (watch out because the page uses something like markdown which has garbled – and quote characters)
  • But it didn’t show me how to make it double-click.
  • This might be useful, but it is old:
  • If you simply want to disable or re-assign a basic button, try:
  • My button order was:
    left middle right wheel-up wheel-down wheel-left?

Benchmark for Linux

Here are a few CPU oriented benchmarks for Linux.

I am not sure if they are available in packages for CentOS, so I have only given the Ubuntu packages:

(Please note that you will have to enable the community repositories for these)

Gnome shortcut keys

General keyboard shortcuts

Ctrl+A = Select all (In Documents, Firefox, Nautilus, etc, not Terminal)
Ctrl+C = Copy (In Documents, Firefox, Nautilus, etc, not Terminal)
Ctrl+V = Paste (In Documents, Firefox, Nautilus, etc, not Terminal)

F9 = Toggle Sidebar
F2 = Rename
Ctrl+Shift+N = Create new folder

Ctrl+N = New (Create a new document, not in terminal)
Ctrl+O = Open (Open a document, not in terminal)
Ctrl+S = Save (Save the current document, not in terminal)

Installing NX Server

  • Install NX (info from this page: http://www.nomachine.com/download-package.php?Prod_Id=355 )

    CentOS 6.0 64bit

    yum install wget #must be logged on as root
    wget $NXURL/$NXVER/Linux/nxclient-$NXVER-$CVER.$ARCH.rpm
    wget $NXURL/$NXVER/Linux/nxnode-$NXVER-$NVER.$ARCH.rpm
    wget $NXURL/$NXVER/Linux/FE/nxserver-$NXVER-$SVER.$ARCH.rpm
    rpm -i nxclient-$NXVER-$CVER.$ARCH.rpm
    rpm -i nxnode-$NXVER-$NVER.$ARCH.rpm
    rpm -i nxserver-$NXVER-$SVER.$ARCH.rpm

Build Scribus 1.4 svn on Ubuntu Lucid Linux

Make sure these libraries are installed

aptitude install subversion cmake libcups2-dev libtiff4-dev python2.6-dev g++ qt4-qmake libqt4-dev libxml2-dev libcairo2-dev libboost-dev libaspell-dev liblcms-dev

Build PoDoFo

svn co https://podofo.svn.sourceforge.net/svnroot/podofo/podofo/trunk $dp
vi $dp/CMakeLists.txt
#append the following two lines:


mkdir -p $dp/podofo-build
cd $dp/podofo-build
cmake ..
make install

Installing extras on Ubuntu 10.04 Lucid

Extra applications

apt-get -y install subversion g++ openssh-server gnome-device-manager #programming
apt-get -y install gimp inkscape kpat rss-glx vlc vim hardinfo sysbench #essentials
apt-get -y install deluge akregator bibletime xiphos kdenlive koffice thunderbird amarok k3b #other programs
apt-get -y install libxine1-ffmpeg libqt4-sql-psql lame libqt4-dev gnome-alsamixer mozilla-plugin-vlc #libraries
apt-get install ia32-libs #32 bit drivers for 64 bit systems
apt-get -y install msttcorefonts xclip

DVD playback and extra codecs

Installing rdiff-backup version 1.2.2 on Ubuntu

Ubuntu Hardy and Intrepid come with older versions or rdiff-backup, but the current stable version (1.2.2) is in the Jaunty repositories. To install it:
Download and install the .deb file from the bottom of this page: http://packages.ubuntu.com/jaunty/utils/rdiff-backup
Install the recommended libraries:
aptitude install python-pylibacl python-pyxattr

Miscellaneous Ubuntu links

Syndicate content