Difference between revisions of "Sony TR2MP on Kubuntu Dapper Drake"
Line 16: | Line 16: | ||
keycode 174 = XF86AudioLowerVolume | keycode 174 = XF86AudioLowerVolume | ||
keycode 176 = XF86AudioRaiseVolume | keycode 176 = XF86AudioRaiseVolume | ||
+ | keycode 223 = XF86Standby | ||
</pre> | </pre> | ||
* Then run '''xmodmap ~/.Xmodmap''' to activate config (normally this will happen automatically on KDE start | * Then run '''xmodmap ~/.Xmodmap''' to activate config (normally this will happen automatically on KDE start |
Revision as of 08:52, 27 April 2006
Contents
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) ~/.Xmodmap and add:
keycode 160 = XF86AudioMute keycode 174 = XF86AudioLowerVolume keycode 176 = XF86AudioRaiseVolume keycode 223 = XF86Standby
- Then run xmodmap ~/.Xmodmap to activate config (normally this will happen automatically on KDE start
- To add more commands to this file, you can run xev, and check what keycode is logged to stdout when keys are pressed. Available XF86 mappings are:
XF86AudioMedia XF86AudioPrev XF86AudioNext XF86AudioMute XF86Calculator XF86AudioPause XF86AudioStop XF86AudioLowerVolume XF86AudioRaiseVolume XF86Standby
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