Difference between revisions of "Sony TR2MP on Kubuntu Dapper Drake"
(→Volume and Brightness Fn Keys) |
|||
Line 11: | Line 11: | ||
* 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. | * 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. | * Brightness controls worked out of the box. | ||
− | * To setup volume controls (and get pretty up/down notifications), edit (or create) | + | * To setup volume controls (and get pretty up/down notifications), edit (or create) /etc/Xmodmap and add: |
<pre> | <pre> | ||
keycode 160 = XF86AudioMute | keycode 160 = XF86AudioMute | ||
Line 18: | Line 18: | ||
keycode 223 = XF86Standby | keycode 223 = XF86Standby | ||
</pre> | </pre> | ||
− | * Then run '''xmodmap | + | * Then run '''xmodmap /etc/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: | * 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: | ||
<pre> | <pre> | ||
Line 31: | Line 31: | ||
XF86AudioRaiseVolume | XF86AudioRaiseVolume | ||
XF86Standby | XF86Standby | ||
+ | </pre> | ||
+ | * To ensure xmodmap is run on KDE restart, edit '''$KDEDIR/share/config/kdm/Xsession''' and add: | ||
+ | <pre> | ||
+ | if [ -f /etc/Xmodmap ]; then | ||
+ | /usr/X11R6/bin/xmodmap /etc/Xmodmap | ||
+ | fi | ||
</pre> | </pre> | ||
* More info: http://gentoo-wiki.com/index.php?title=HOWTO_Use_Multimedia_Keys&redirect=no#KDE | * More info: http://gentoo-wiki.com/index.php?title=HOWTO_Use_Multimedia_Keys&redirect=no#KDE |
Revision as of 11:18, 28 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) /etc/Xmodmap and add:
keycode 160 = XF86AudioMute keycode 174 = XF86AudioLowerVolume keycode 176 = XF86AudioRaiseVolume keycode 223 = XF86Standby
- Then run xmodmap /etc/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 $KDEDIR/share/config/kdm/Xsession and add:
if [ -f /etc/Xmodmap ]; then /usr/X11R6/bin/xmodmap /etc/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