====== Persephone ======
[[Category:Hosts]]
[[Category:Sabayon]]
===== 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"
|+ Filesystems
|-
! Device
! Size
! Filesystem
! Mount point
! UUID
! Notes
|-
| /dev/sda1
| //small//
| vfat
| //none//
| //none//
| Dell BIOS
|-
| /dev/sda2
| 10Gb
| ntfs
| //none//
|
| Dell recovery partition
|-
| //free space//
| 334Mb
| //none//
| //none//
|
| Wasted space since the Vista partition can't easily be moved.
|-
| /dev/sda3
| 75Gb
| ntfs
| //none//
|
| Windows Vista
|-
| /dev/sda4
| //none//
| //none//
| //logical partition//
|
|
|-
| /dev/sda5
| 125Mb
| ext2
| /boot
|
|
|-
| /dev/mapper/system-swap
| 1Gb
| swap
| //none//
|
|
|-
| /dev/mapper/system-root
| 25Gb
| ext4
| /
|
|
|-
| /dev/mapper/system-var
| 8Gb
| /var
|
|
|-
| /dev/mapper/system-home
| 25Gb
| /home
|
|
|-
| //free space//
| ~4Gb
| //none//
| //none//
|
|
|}
===== 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 cfg80211 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 kernel line in /boot/grub/grub.conf
ieee80211_regdom="EU"
==== LDAP ====
Configuration for LDAP is stored in subversion, under [[https://dev.sihnon.net/svnpriv/configs/ldap/client|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 /usr/share/hal/fdi/policy/10osvendor/11-x11-synaptics.fdi. This requires some tweaks:
{{File|/etc/hal/fdi/policy/10-x11-input.fdi|}}
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:
{{Command|}}
To disable the touchpad while typing, arrange for syndaemon to be run after your session starts up. In Gnome, use System->Preferences->Session. Use a command like the following:
{{Command|}}
==== Printing ====
Print set up using the instructions on [[Dell 1320c Printer Network Installation/Dyton#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 Monitor section of the xorg.conf
{{File|/etc/X11/xorg.conf|}}
The DPI option sets the desired DPI setting to be used by applications which don't listen to Gnome. DisplaySize sets the horizontal and vertical sizes of the display taking into account the desired DPI value. The formula to calculate the proper size is:
(/)*25.4
where is the size of the display in mm, as read from:
{{Command|}}
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.
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.
==== Gnome Lock Background ====
Copy the image to use to /usr/share/pixmaps/backgrounds/gnome/background-default.jph. The Sabayon 4.1 default background is pretty, and lives at /usr/share/backgrounds/sabayonlinux.png.
===== Hardware =====
==== lspci ====
0@@
==== Touchpad ====
1@@
===== See Also =====
* http://x2.activestyle.ca/2009/01/09/sabayon-touchpad-scroll-and-tap-fix/ - Setting up an ALPS/Synaptics touchpad, including using synclient to find the coordinates.
* http://wiki.archlinux.org/index.php/Touchpad_Synaptics - Very good documentation on setting up touchpads using the synaptics driver
* http://alerttail.sourceforge.net/dellvostro1700/