Sunday, 13 January 2013

Sigil - WYSIWYG Codes

The insert a blank line in SIGIL, rather than using <br> or <p> -- which won't show up in epub on certain devices -- use: <div>&#160;<br />&#160;<br /></div>

Saturday, 3 November 2012

Installing Handbrake (Xubuntu & Ubuntu)

For 32 bit:
wget https://launchpad.net/~stebbins/+archive/handbrake-releases/+files/handbrake-gtk_0.9.8ppa1~precise1_i386.deb
For 64 bit:
wget https://launchpad.net/~stebbins/+archive/handbrake-releases/+files/handbrake-gtk_0.9.8ppa1~precise1_amd64.deb
Then to install:
sudo dpkg -i handbrake*
If that fails, the:
sudo apt-get install -f



Tuesday, 23 October 2012

Installing Sigil (Ubuntu 13.04)


To install Sigil, in a terminal, type...
sudo add-apt-repository ppa:sunab/sigil-git
sudo apt-get update
sudo apt-get install sigil

Monday, 8 October 2012

Change ripping bitrate in K3b

Go to Settings>Configure K3b>Plug-ins>K3b external audio encoder  and edit the configured encoder line by inserting your chosen bitrate before the -h. See example.
lame -r --bitwidth 16 --little-endian -s 44.1 -b 192 -h --tt %t --ta %a --tl %m --ty %y --tc %c - %f

Wednesday, 3 October 2012

Stop Totem Saving Your History

To permanently remove the recent file list from totem, edit /usr/share/totem/totem.ui as root and change the following line: (Change square brackets with angle brackets.)
[separator name="recent-separator"/]
[placeholder name="recent-placeholder"/] 
to:
[!--[separator name="recent-separator"/]
[placeholder name="recent-placeholder"/]--] 
N.B. Remove the part that you added to reactive history.

Wednesday, 19 September 2012

Fixing a Broken Encrypted Swap Partition (Ubuntu and Xubuntu 12.04)

For some reason, with all of the Ubuntu derivatives I end up with a busted SWAP partition. This manifests itself in no defined SWAP at all, and a blacked out SWAP partition when viewed in Gparted. The solution is to redefine the SWAP partition, as follows. (If in doubt where your SWAP partition is, run 'sudo fdisk -l'.)
sudo swapoff -a
sudo cryptsetup remove /dev/mapper/cryptswap1
sudo gedit /etc/crypttab
Remove the SWAP line (e.g. /dev/sda3)
sudo /sbin/mkswap /dev/sda3
sudo swapon /dev/sda3
sudo gedit /etc/fstab 
Replace /dev/mapper/cryptswap1 with /dev/sda3.

If you're feeling brave and fancy trying to re-encrypt it, use...
sudo ecryptfs-setup-swap
If it all goes wrong, just repeat the process above.

N.B. Obviously /dev/sda3 in the above example is just that, an example. Replace it with whatever you find in your 'sudo  fdisk -l' results.

** To test whether swap is enabled use:
free -m

Sunday, 9 September 2012

How to Set Up IMAP on a Nokia N95 Phone

Go to Messaging -> Options -> Settings -> Email -> Mailboxes and add a new mailbox. Follow the Wizard.

Screenshot0004Screenshot0003 
Select IMAP4:

Saturday, 8 September 2012

CPU Sensor (Ubuntu 12.04)

To install a panel CPU applet in Ubuntu 12.04 type:
sudo add-apt-repository ppa:indicator-multiload/stable-daily
sudo apt-get update
sudo apt-get install indicator-multiload
... and then run 'System Load Indicator' from the dash.

Tuesday, 19 June 2012

Fixing Blue Tint Video (Linux Mint 13 and Ubuntu 12.04)

Open 'gstreamer-properties' by typing into a terminal...  
$ gstreamer-properties 
 Click on the 'Video' tab. Under 'Default Output' choose the 'Plugin' dropdown and select 'Custom'. Add the following line to the 'Pipeline' box. 
videobalance hue=-1 ! autovideosink
 If that doesn't work, it might be worth turning off  'Xv optimizations'. Under the same tab choose... 
X Window System (No Xv)  
 If this method doesn't work... try the following here.

Sunday, 17 June 2012

Installing nVidia GT640 Graphics Driver (Mint 13 and Ubuntu 12.04)

Add the following lines to your repositories list...

deb http://ppa.launchpad.net/ubuntu-x-swat/x-updates/ubuntu precise main
deb-src http://ppa.launchpad.net/ubuntu-x-swat/x-updates/ubuntu precise main

By doing...

gksudo gedit /etc/apt/sources.list

And then import the GPG key with...
sudo apt-key adv --recv-keys --keyserver keyserver.ubuntu.com 0x643dc6bd56580ceb1ab4a9f63b22ab97af1cdfa9
Refresh packages list in Synaptic and install.

More here.

Tuesday, 12 June 2012

ntfs-config fstab backup

# /etc/fstab: static file system information.
#
#              

#Entry for /dev/sda5 :
UUID=279fac8b-181e-45c4-8065-b1987f60af18    /    reiserfs    defaults    1    1
#Entry for /dev/sda6 :
UUID=fd1ddbf7-fd4e-45e3-8f49-eecbe79364d1    /home    reiserfs    defaults    1    2
#Entry for /dev/sdb2 :
UUID=7C4E91931FB789D8    /media/Archives    ntfs-3g    defaults,nosuid,nodev,locale=en_GB.UTF-8    0    0
#Entry for /dev/sdb1 :
UUID=1FE78CC5354CF414    /media/Audio    ntfs-3g    defaults,nosuid,nodev,locale=en_GB.UTF-8    0    0
#Entry for /dev/sdb8 :
UUID=74C0A9D0654C02BB    /media/Video    ntfs-3g    defaults,nosuid,nodev,locale=en_GB.UTF-8    0    0
none    /proc    proc    defaults    0    0
#Entry for /dev/sda7 :
UUID=47562d14-80e8-4cb9-9907-2847bfdc4550    swap    swap    defaults    0    0

Sunday, 15 April 2012

Stopping Nepomuk/Akondi in KDE

Disabling akondi: press 'alt+f2' on the keyboard to bring up the Run dialog box, start typing 'akonadi' and 'Akonadi configuration' will appear in the drop down menu. Click it and go to the Akonadi server configuration tab, then press Stop at the bottom right plus un-check 'Use internal MYsQL server'. A notification should show that akonadi has been stopped.

1. Disable Semantic Desktop
a: System Settings -> Desktop Search -> Basic Settings, un-check 'Nepomuk' and 'Strigi' if it's not already.
b: System Settings -> Desktop Search -> Desktop Query, un-check “Index files on removable media” and un-check every folder under “Customise index folders…”
c: System Settings -> Desktop Search -> Backup, set “Backup frequency” to Disable

2. Disable Nepomuk related notifications:
a: System Settings -> Application and System Notifications -> Manage Notifications, un-check all the “Show me a message in a popup” under “Desktop Search” and Semantic Desktop”

Tuesday, 10 April 2012

Kgpg not working?

For some reason, running Kgpg from the menu results in the program crashing. Try replacing "kgpg %U" with "kgpg -k".