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

Virus scanning with Ubuntu live CD and clamAV

Boot up an Ubuntu Live CD (in this case hardy) and run:
sudo passwd root # enter new root password twice
su # enter root password
echo "deb http://ppa.launchpad.net/ubuntu-clamav/ubuntu $dist main" >> /etc/apt/sources.list
echo "deb-src http://ppa.launchpad.net/ubuntu-clamav/ubuntu $dist main" >> /etc/apt/sources.list
apt-get -y update; apt-get -y --force-yes install clamav
# open the desired media from the Places menu to mount it
df #to see what it is mounted as (probably /media/disk)
cd /media
clamscan -r -l /var/log/clam

Office 2007 import/export in OpenOffice.org

The following worked for me:
apt-get install libgif4
wget http://katana.oooninja.com/f/software/odf-converter-integrator-chocolate...
dpkg -i odf-conv*.deb
vi /usr/lib/openoffice/share/registry/modules/org/openoffice/TypeDetection/Types/MOOXTypeDetection.xcu # and modify this line:
<prop oor:name="URLPattern"><value>*.docx *.DOCX *.docm *.DOCM</value></prop>

(taken from http://katana.oooninja.com/w/odf-converter-integrator )

Syndicate content