{Notes to self, programming, technology, linux, windows, git} U {Papers, reviews, games, coffee, tabletennis, ramblings} = {things worth saving}

Showing posts with label arch linux. Show all posts
Showing posts with label arch linux. Show all posts

Wednesday, October 07, 2009

Laptop dual-monitor on Linux

xorg.conf:

Extend the appropriate "Display" subsection with the resulting resolution of the two connecting screensizes

Virtual 3360 1050 ((2 x 1680) x 1050)

Restart X server - (Ctrl+alt+backspace)

Run xrandr to check which displays are present. VGA represents external screen. LVDS represents laptop.

xrandr --output VGA-0 --left-of LVDS
xrandr –output VGA-0 –mode 1680×1050

(Distro: Arch Linux)

Links:
http://bbs.archlinux.org/viewtopic.php?id=43138
http://intellinuxgraphics.org/dualhead.html
http://www.linuxquestions.org/questions/linux-general-1/xrandr-screen-cannot-be-larger-than-...-595649/

Thursday, October 09, 2008

ipod on arch linux

1) get rhythmbox or dont

2) Setup HAL/DBUS

sudo gpasswd -a username hal
sudo gpasswd -a username dbus

Make sure 'hal' is in your daemons array down at the bottom of rc.conf.

something fails?
# dmesg | tail

3) mount the ipod:

sudo mkdir /mnt/ipod
sudo mount /dev/sdb2 /mnt/ipod

4) vim /etc/fstab
add line at end: /dev/sdb2 /mnt/ipod vfat user,noauto,unhide 0 0 //vfat?

- reboot!

NOW:

mount /dev/sdb2
umount /dev/sdb2

Make some symlinks, etc .

5) Use rhythmbox to play music (if open, and hal is setup, it should autodetect the ipod)-

otherwise? browse /mnt/ipod/iPod_Control/music folders. garbled folder names and filenames. maybe someone will make a cmd line too to play stuff there.

Notes on that: generate m3u playlist that references ipod folders. use mp3info lib

Followers