User Tools

Site Tools


persephone

Persephone

Overview

  • Type: Laptop (Dell Vostro 1700)
  • Location: Bedroom 1
  • Operating System: Sabayon/Vista
  • URL: none

*Provides:

  • SSH
  • NX Remote Desktop
  • Linux desktops:
    • KDE
    • Awesome

Filesystems

{| class=“wikitable” cellspacing=“10”

! Device ! Size ! Filesystem ! Mount point ! UUID ! Notes

Installation

Configuration

Wireles

The card will default to being in US regulatory mode, which precludes the ability to connect to a channel 12 or 13 network (legal in the EU). The <tt>cfg80211</tt> kernel option is built-in to the sabayon kernel, rather than compiled as a module so configuration must be passed in on boot line through grub, rather than modprobe.

Add the following option to the <tt>kernel</tt> line in <tt>/boot/grub/grub.conf</tt> ieee80211_regdom=“EU”

LDAP

Configuration for LDAP is stored in subversion, under configs:/ldap/client.

Peripherals

Touchpad

The KDE Control Centre has an applet for managing the touchpad which requires SHMConfig to be enabled in X. Sabayon uses Hal to detect hardware and configure X appropriately, and a sample config file is included at <tt>/usr/share/hal/fdi/policy/10osvendor/11-x11-synaptics.fdi</tt>. This requires some tweaks:

/etc/hal/fdi/policy/10-x11-input.fdi|<source lang="xml"> <?xml version="1.0" encoding="ISO-8859-1"?> <deviceinfo version="0.2"> <device> <match key="info.capabilities" contains="input.touchpad"> <merge key="input.x11_driver" type="string">synaptics</merge> <!-- Arbitrary options can be passed to the driver using the input.x11_options property since xorg-server-1.5. --> <merge key="input.x11_options.LeftEdge" type="string">50</merge> <merge key="input.x11_options.RightEdge" type="string">950</merge> <merge key="input.x11_options.TopEdge" type="string">100</merge> <merge key="input.x11_options.BottomEdge" type="string">720</merge> <merge key="input.x11_options.SHMConfig" type="string">true</merge> <merge key="input.x11_options.MaxTapMove" type="string">2000</merge> <merge key="input.x11_options.VertEdgeScroll" type="string">true</merge> <merge key="input.x11_options.VertTwoFingerScroll" type="string">true</merge> <merge key="input.x11_options.HorizTwoFingerScroll" type="string">true</merge> <merge key="input.x11_options.CircularScrolling" type="string">true</merge> <merge key="input.x11_options.TapButton1" type="string">1</merge> <merge key="input.x11_options.TapButton2" type="string">2</merge> <merge key="input.x11_options.TapButton3" type="string">3</merge> <merge key="input.x11_options.LockedDrags" type="string">1</merge> </match> </device> </deviceinfo> </source>

Use the following command to read data directly from the touchpad, which can be used to work out the proper edge coordinates to set in the FDI file above: <source lang="bash"> synclient -m 200 </source>

To disable the touchpad while typing, arrange for <tt>syndaemon</tt> to be run after your session starts up. In Gnome, use <tt>System→Preferences→Session</tt>. Use a command like the following: <source lang="bash"> syndaemon -d -k -R -t -i 1 </source>

Printing

Print set up using the instructions on KDE.

Desktop

Display

Gnome sets the DPI properly on start up, and all GTK applications respect this setting and all is good. Qt applications do not see this however, and will default to using the X server's DPI settings, which on this laptop at least are incorrect. To fix this, the proper DPI settings must be set in the <tt>Monitor</tt> section of the <tt>xorg.conf</tt>

/etc/X11/xorg.conf|<source lang="xorg_conf"> Section "Monitor" Identifier "Generic Monitor" VertRefresh 43 - 60 HorizSync 28 - 80 DisplaySize 508 318 Option "UseEdidDpi" "false" Option "DPI" "96x96" EndSection </source>

The <tt>DPI</tt> option sets the desired DPI setting to be used by applications which don't listen to Gnome. <tt>DisplaySize</tt> sets the horizontal and vertical sizes of the display taking into account the desired DPI value. The formula to calculate the proper size is: (<screensize>/<desired dpi>)*25.4 where <screensize> is the size of the display in mm, as read from: <source lang="bash"> xdpyinfo | grep dimension </source>

For a more full description on why this is required and how it works, see http://linux-blog.org/kde-and-xorg-fonts-and-dpi/.

Sleep

Under Sabayon 5+, sleep and resume work very well. Occasionally, on resume X won't properly reinitialise either the keyboard or touchpad (sometimes both). The only fix I have found for this is to shut the lid of the laptop to send it back to sleep, then immediately wake it up again (sometimes it takes several attempts). Still haven't tried hibernate.

<s>Suspend works without any configuration on Sabayon 4 when running a 2.6.29 kernel. On the 2.6.27 kernel that Sabayon ships with, the laptop will go to sleep, but will not resume. I have not yet tried hibernate.</s>

Gnome Lock Background

Copy the image to use to <tt>/usr/share/pixmaps/backgrounds/gnome/background-default.jph</tt>. The Sabayon 4.1 default background is pretty, and lives at <tt>/usr/share/backgrounds/sabayonlinux.png</tt>.

Hardware

lspci

0@@

Touchpad

1@@

See Also

persephone.txt · Last modified: 2014/11/24 01:14 by 0.0.0.0