Sony TR2MP on Kubuntu Dapper Drake

From Briki
Revision as of 12:18, 28 April 2006 by Admin (talk | contribs) (Volume and Brightness Fn Keys)
Jump to: navigation, search

1280x768 Video

Install 915resolution, and run 915resolution -l. Pick an unused mode (I use 5c), and edit /etc/default/915resolution. Set MODE=5c, XRES=1280, YRES=768 and then run sudo /etc/init.d/915resolution start and restart X. For me, at least, the changes to /etc/X11/xorg.conf seemed to be made automatically (presumably by 915res).

Wireless LAN and WPA

Simply install (with apt-get): wpasupplicant, network-manager, network-manager-kde and knetwork-manager. Then run knetwork-manager and use its configuration tool.

Sound

Disable (in kmixer) the external amplifier switch to enable sound.

Volume and Brightness Fn Keys

  • Ignore the fact that System Settings -> Laptop -> Sony screen is greyed out. I couldn't get this to work, but it didn't create any issues for me.
  • Brightness controls worked out of the box.
  • To setup volume controls (and get pretty up/down notifications), edit (or create) /etc/X11/Xmodmap and add:
keycode 160 = XF86AudioMute
keycode 174 = XF86AudioLowerVolume
keycode 176 = XF86AudioRaiseVolume
keycode 223 = XF86Standby
  • Then run xmodmap /etc/X11/Xmodmap to activate config
  • To add more commands to this file, you can run xev, and check what keycode is logged to stdout when keys are pressed. Full list of mappings is in /usr/share/X11/XKeysymDB - some example mappings are:
XF86AudioMedia
XF86AudioPrev
XF86AudioNext
XF86AudioMute
XF86Calculator
XF86AudioPause
XF86AudioStop
XF86AudioLowerVolume
XF86AudioRaiseVolume
XF86Standby
  • To ensure xmodmap is run on KDE restart, edit /etc/X11/Xsession and add:
if [ -f /etc/X11/Xmodmap ]; then
    /usr/X11R6/bin/xmodmap /etc/X11/Xmodmap
fi

Customisations/Additions

Samba

  • Install samba
  • Edit /etc/samba/smb.conf

VLC

  • Install vlc

Non-free media

sudo apt-get install libakode-mpeg2 gstreamer0.10-ffmpeg gstreamer0.10-gl gstreamer0.10-plugins-base gstreamer0.10-plugins-good gstreamer0.10-plugins-ugly gstreamer0.10-plugins-ugly-multiverse libxine-extracodecs ffmpeg lame faad sox mjpegtools libxine-main1