Saturday, 1 November 2008

Install Flash and Java Plugins - 32 Bit

To get Flash and Java working, either download flashplugin-nonfree, sun-java6-jre and sun-java-plugin through Synaptic and then restert Firefox.

Or:

sudo apt-get install flashplugin-nonfree
sudo apt-get install sun-java6-jre sun-java6-plugin

If you need to choose between older Java installations, then type:

sudo update-alternatives --config java

...and follow the onscreen prompt.

Increase Amount of Workspaces in Compiz

System>Preferences>Compiz Config Settings Manager>General>General Options.

Desktop Size>Horizontal Virtual Size>**Change Number To Suit**

Friday, 31 October 2008

Nautilus Open Terminal Option

To enable the open terminal option in Nautilus simply download the "nautilus-open-terminal" package through synaptic.

LCD Monitor Settings (Ubuntu 8.10)

For some reason, the latest release of Ubuntu omits the gksudo displayconfig-gtk package, making it difficult to choose a monitor type. To remedy simply install proprietary drivers as per usual and edit:


/etc/X11/xorg.conf


to reflect the following changes:

Section "Monitor"
Identifier "Configured Monitor"
Vendorname "Generic LCD Display"
Modelname "LCD Panel 1280x1024"
Horizsync 31.5-64.0
Vertrefresh 56.0 - 65.0
modeline "640x480@60" 25.2 640 656 752 800 480 490 492 525 -vsync -hsync
modeline "800x600@56" 36.0 800 824 896 1024 600 601 603 625 +hsync +vsync
modeline "800x600@60" 40.0 800 840 968 1056 600 601 605 628 +hsync +vsync
modeline "1024x768@60" 65.0 1024 1048 1184 1344 768 771 777 806 -vsync -hsync
modeline "1280x960@60" 102.1 1280 1360 1496 1712 960 961 964 994 -hsync +vsync
modeline "1280x1024@60" 108.0 1280 1328 1440 1688 1024 1025 1028 1066 +hsync +vsync
Gamma 1.0
EndSection

Section "Screen"
Identifier "Default Screen"
Monitor "Configured Monitor"
Device "Configured Video Device"
Defaultdepth 24
SubSection "Display"
Depth 24
Virtual 1280 1024
Modes "1280x1024@60" "1280x960@60" "1024x768@60" "800x600@60" "800x600@56" "640x480@60"
EndSubSection
EndSection

Friday, 24 October 2008

Free Proxy Addresses

CoDeeN:

HTTP Proxy: 129.24.211.25
Port: 3124

HTTP Proxy: 133.1.16.172
Port: 3128

Des Moines:

HTTP Proxy: 208.69.147.43
Port: 80

Apnic: China

HTTP Proxy: 221.11.27.110
Port: 8080

Bellnexia :Canada

HTTP Proxy: 67.69.254.245
Port: 80

Friday, 5 September 2008

Automounting NTFS Partitions (Ubuntu)

To find out the UUID of a particular partition type in:

sudo blkid | grep sdb1

Remember to change the sbd1 part to whichever partition you want the UUID number of. Then set yourself a mount point in /media:

sudo mkdir /media/sdb1

Again, sdb1 can be whatever you want it to be, as long as it matches your fstab entry. Then backup and edit fstab:

cp /etc/fstab /etc/fstab.bak
gksu gedit /etc/fstab

Add this line - insert UUID and change /media/sda1 to whatever your mount point is. GID 100 is group users, 46=plugdev, 1000 is normally your group:

UUID=enterUUIDnumberhere /media/sdb1 ntfs-3g uid=1000,gid=100,umask=022 0 0

Remount /dev/sdb1, if it's already mounted:

sudo umount /dev/sdb1
sudo mount /dev/sdb1

Wednesday, 27 August 2008

Add yourself as a user in Virtual Box

Via command line:



sudo adduser $USER vboxusers
Via GUI:

System>Administration>Users and Groups

Hit "unlock" and then "manage groups". Add yourself as a user to "vboxusers" by clicking on "properties" and ticking next to your name. Hit OK.

Enable USB support in Virtual Box.

Open the mountdevubfs.sh file with a text editor as root:

sudo gedit /etc/init.d/mountdevsubfs.sh

Find the block of text which looks like the following:

#
# Magic to make /proc/bus/usb work
#
#mkdir -p /dev/bus/usb/.usbfs
#domount usbfs "" /dev/bus/usb/.usbfs -obusmode=0700,devmode=0600,listmode=0644
#ln -s .usbfs/devices /dev/bus/usb/devices
#mount --rbind /dev/bus/usb /proc/bus/usb


Now uncomment the last 4 lines above to look like this:

#
# Magic to make /proc/bus/usb work
#
mkdir -p /dev/bus/usb/.usbfs
domount usbfs "" /dev/bus/usb/.usbfs -obusmode=0700,devmode=0600,listmode=0644
ln -s .usbfs/devices /dev/bus/usb/devices
mount --rbind /dev/bus/usb /proc/bus/usb

Tuesday, 26 August 2008

Adding Wine HQ to the repositories.

Repository Keys:

wget -q http://wine.budgetdedicated.com/apt/387EE263.gpg -O- | sudo apt-key add -

For Ubuntu Hardy (8.04):

sudo wget http://wine.budgetdedicated.com/apt/sources.list.d/hardy.list -O /etc/apt/sources.list.d/winehq.list
For Debian Etch (4.0):

sudo wget http://wine.budgetdedicated.com/apt/sources.list.d/etch.list -O /etc/apt/sources.list.d/winehq.list

What version of Linux am I using? Which kernel?

lsb_release -a


uname -r

Installing WINE (64 Bit)

wget -q http://wine.budgetdedicated.com/apt/387EE263.gpg -O- | sudo apt-key add -

sudo wget http://wine.budgetdedicated.com/apt/sources.list.d/hardy.list -O /etc/apt/sources.list.d/winehq.list

sudo aptitude install wine

Install Flash Player (64 Bit)

sudo apt-get install nspluginwrapper flashplugin-nonfree lib32nss-mdns

sudo ln -sf /usr/lib/nspluginwrapper/plugins/npwrapper.libflashplayer.so /usr/lib/firefox-addons/plugins/

sudo ln -sf /usr/lib/nspluginwrapper/plugins/npwrapper.libflashplayer.so /usr/lib/firefox-3.0.1/plugins/

Saturday, 12 July 2008

Directing Mailto: to Gmail

Open your Gmail page in a tab of firefox. In the address bar copy and paste the following:

javascript:window.navigator.registerProtocolHandler("mailto","https://mail.google.com/mail/?extsrc=mailto&url=%s","GMail")
After clicking on a mailto: link you will now get the option to direct the link to Gmail, Yahoo or your mail client. Choose Gmail.

**If this trick doesn't work, go into about:config and make sure that network.protocol-handler.external.mailto is set to its default value true**