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

From Briki
Jump to: navigation, search
(Volume and Brightness Fn Keys)
(1280x768 Video)
 
(4 intermediate revisions by one other user not shown)
Line 1: Line 1:
 
== 1280x768 Video ==
 
== 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).
+
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). NB. Although leaving MODE=auto is allowed, at least according to the 915resolution config file, this didn't work for me - I had to set MODE=5c explicitly.
  
 
== Wireless LAN and WPA ==
 
== Wireless LAN and WPA ==
Line 32: Line 32:
 
XF86Standby
 
XF86Standby
 
</pre>
 
</pre>
* To ensure xmodmap is run on KDE restart, edit '''/etc/X11/Xsession''' and add:
+
* To ensure xmodmap is run on KDE restart, create '''/etc/X11/Xsession.d/60xmodmap''' and add:
 
<pre>
 
<pre>
if [ -f /etc/X11/Xmodmap ]; then
+
#!/bin/sh
     /usr/X11R6/bin/xmodmap /etc/X11/Xmodmap
+
if [ -f /etc/X11/Xmodmap ]
 +
then
 +
     /usr/bin/xmodmap /etc/X11/Xmodmap
 
fi
 
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
 +
 +
== Touchpad ==
 +
Just works.
  
 
== Customisations/Additions ==
 
== Customisations/Additions ==

Latest revision as of 09:47, 25 September 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). NB. Although leaving MODE=auto is allowed, at least according to the 915resolution config file, this didn't work for me - I had to set MODE=5c explicitly.

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, create /etc/X11/Xsession.d/60xmodmap and add:
#!/bin/sh
if [ -f /etc/X11/Xmodmap ]
then
    /usr/bin/xmodmap /etc/X11/Xmodmap
fi

Touchpad

Just works.

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