Linux @ Hackerspace.no Short public notes

23Jul/110

Dell Studio XPS 16 headphone audio fix

If you can't get audio out one of the two 3,5mm audio jacks in Fedora, justĀ  add (or create file with):
options snd-hda-intel model=dell-m6
to /etc/modprobe.d/alsa-base.conf.
Reboot or reload module.

8May/110

USB to Serial Cable (Sunsway U-224)

Tested on: Fedora 15 (BETA).

To be able to connect to ttyUSB0 with for example putty you first have to (as root):
chmod a+rw /dev/ttyUSB0

If it doesn't get ttyUSB0 you can check with:
dmesg

7Apr/110

VNC through a SSH tunnel

Here's a pretty good guide on the subject. If that site is down you can get a PDF of the information here.

If you don't want to use putty for SSH tunneling, you can use the following command in a terminal:
ssh -L 5902:<IP/DOMAIN>:5902 user@<IP/DOMAIN>
(Parts tagged as bold and italic you'lll have to exchange with your own setup of course)

If you want to set up your Android device to connect, you'll need a SSH client for Android, like for example ConnectBot. Use it to connect to the server, log in, click Menu, click on Port Forwards, click Menu, click Add Port Forwards, choose (from the example) 5902 in source port and localhost:5902 in destination, and you should be ready to go. Then you just need a VNC client on your Android device, like RealVNC (or a free app if you can't or won't pay for apps).

Filed under: Android, Fedora, Linux No Comments
7Apr/110

Backspace = Previous Page in Firefox

Type about:config in Firefox's address bar, search for "backspace" until you find browser.backspace_action, change the value to 0 (should be 2 by default).

Filed under: Fedora, Linux No Comments
23Jan/110

Spotify (Preview)

rpm -ivh http://www.spotify.com/wp-content/uploads/previews/spotify-release-1-1.noarch.rpm
yum install spotify

Then disable spotify repo by switching "enabled=1" to "enabled=0" in the file called spotify.repo located in /etc/yum.repos.d/".
This can be done as root:

nano /etc/yum.repos.d/spotify.repo
turn "enabled=1" into "enabled=0" and save by hitting CTRL X and confirm change by pressing y (for yes).

Filed under: Fedora, Linux No Comments
23Jan/110

VideoLAN Client (VLC)

yum install vlc
(as long as you has RPM Fusion repo's enabled)

Tagged as: , , No Comments
21Jan/110

Truecrypt / Realcrypt

yum install realcrypt

Should you ever need to create a cross platform (Win/Fedora) encrypted container in Truecrypt, just simply create the container (with a filesystem both plattforms will be able to mount, like FAT) in Realcrypt (Fedora version of Truecrypt) and mount it in either Truecrypt or Realcrypt when necessary.

If it's created in Truecrypt Windows version you won't get a filesystem that's supported in for example Realcrypt.