Feeds:
Wpisy
Komentarze

Archive for Sierpień 2009

klawiatura pl xorg

bazuję na podstawie http://yoshi314.jogger.pl/2009/04/01/dwie-klawiatury-dwa-uklady-klawiszy/ i http://www.pld-linux.org/Docs/xorg i http://bbs.archlinux.org/viewtopic.php?id=44311

cp -a /usr/share/hal/fdi/policy/10osvendor/10-keymap.fdi /etc/hal/fdi/policy/
zmień na pl w /etc/hal/fdi/policy/10-keymap.fdi

w /etc/X11/xorg.conf
Section „ServerFlags”
Option „AutoAddDevices” „True”
EndSection

Jeśli są problemy to setxkbmap pl ewentualnie setxkbmap -model evdev -layout pl lub zrestartuj co się da. Możesz też bez użycia hal skonfigurować w xorg.conf:

Section „ServerFlags”
Option „AutoAddDevices” „False”
EndSection

Section „ServerLayout”
Identifier „X.org Configured”
Screen 0 „Screen0” 0 0
InputDevice „evdevkeyboard” „CoreKeyboard”
EndSection

Section „InputDevice”
Identifier „evdevkeyboard”
Driver „evdev”
Option „Device” „/dev/input/event4”
Option „XkbModel” „evdev”
Option „XkbLayout” „pl”
EndSection

http://who-t.blogspot.com/2008/07/input-configuration-in-nutshell.html

Read Full Post »

replay gain

The newest version of foobar does write ID3v1+ID3v2 in standard mode, this was different in older version where APE was preferred.

http://www.musicpd.org/mantis/view.php?id=479&nbn=8
http://www.musicpd.org/mantis/bug_view_page.php?bug_id=1871
http://mpd.wikia.com/wiki/Replay_gain
http://www.hydrogenaudio.org/forums/lofiversion/index.php/t%20%3C/t31542.html
http://www.hydrogenaudio.org/forums/lofiversion/index.php/t42005.html
http://en.wikipedia.org/wiki/Replay_gain

Read Full Post »

mp3.wp.pl 33359.mp3

http://mp3.wp.pl/p/twoja/komentarz/utwor,utId,33359.html

Read Full Post »

mpd ncmpcpp gentoo

http://www.xitijpatel.com/2008/12/15/howto-install-mpd-ncmpc-and-scrobby-on-gentoo/
http://www.gentoo-wiki.info/MPD
http://mpd.wikia.com/wiki/Configuration
http://wiki.archlinux.org/index.php/Mpd
http://mpd.wikia.com/wiki/Clients
http://bbs.archlinux.org/viewtopic.php?id=66488
http://unkart.ovh.org/ncmpcpp/

add your music: ls -s /path/to/music /var/lib/mpd/music
enable alsa in /etc/mpd.conf
start server: /etc/init.d/mpd start
start client: ncmpcpp
press 3 to browse, v to select all, A to add to playlist, 2 to switch to playlist, o to localize file, p to switch between column/list view, e to start tiny tag editor (file has to be your and writeable of course), u to update database (and refresh view maybe), ctr+v to open sort editor and than move tags with n and m keys than select sort, volume – + or , if you stopped and can’t upause just run ncmpcpp toggle or check mpd log, there can be conflict with i.e. flash.

copy default config: cp /usr/share/doc/ncmpcpp-0.3.2/config.bz2 ~/.ncmpcpp/ && bunzip ~/.ncmpcpp/config.bz2
man ncmpcpp

Troubleshooting
if you get error msg:
listen: Failed to listen on localhost (line 70): Address already in use
you have probably use mpd –create-db. Use update command from mpd client instead. To start daemon you have to kill all mpd processes first. Usefull commands:
killall mpd
lsof -i :8888
netstat -tapn
htop

http://bbs.archlinux.org/viewtopic.php?pid=599902
http://skoruppa.jogger.pl/2008/09/28/yamt-yet-another-mpd-toturial/

http://wiki.archlinux.org/index.php/MPD#Never_play_on_start
http://www.nepherte.be/mpd-ncmpc-and-keybindings-for-playback-control/

Read Full Post »