Difference between revisions of "Sony TR2MP on Kubuntu Dapper Drake"

From Briki
Jump to: navigation, search
(Volume and Brightness Fn Keys)
Line 19: Line 19:
 
</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
* 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:
+
* 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>
 
XF86AudioMedia
 
XF86AudioMedia

Revision as of 09:02, 27 April 2006

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. Full list of mappings is in /usr/share/X11/XKeysymDB - some example 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