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

Mounting an FTP/SMB site as a Linux Share

sudo apt-get install curlftpfs
mkdir mntdir #make mountpoint
FTPUSER=username%40site.org # if contains @ then use %40
sudo curlftpfs -o allow_other,uid=1000 ftp://$FTPUSER:$FTPPW@ftp.site.org mntdir

The uid is needed if you want write access for a non-root user. Find it by typing id at the console.
You will have to edit /etc/fuse.conf to allow_other and also make sure the current user is a member of the fuse group:

adduser andrewf fuse

Add to /init/fstab using:

Notes on Samba

Networking with Ubuntu 8.04 and Windows Part 1: http://www.linuxplanet.com/linuxplanet/tutorials/6495/1/
Networking with Ubuntu 8.04 and Windows Part 2: http://www.linuxplanet.com/linuxplanet/tutorials/6497/1/
Some notes on fixing Samba problems in Ubuntu: http://ubuntuforums.org/showthread.php?t=1169149
If you run: mount -t smbfs '\\server\share' /mountdir and get the error: Cannot allocate memory, it is a Windows problem. See: http://support.microsoft.com/default.aspx?scid=kb;en-us;177078

Syndicate content