Difference between revisions of "Ratpoison on Mythbuntu"
From MythTV Official Wiki
(codeboxes) |
(Instructions for LightDM and Oneiric) |
||
Line 31: | Line 31: | ||
TimedLoginDelay=10 | TimedLoginDelay=10 | ||
DefaultSession=ratpoison | DefaultSession=ratpoison | ||
+ | </nowiki> | ||
+ | }} | ||
+ | |||
+ | ...or if you're on Oneiric and using LightDM: | ||
+ | |||
+ | {{Code box|/etc/lightdm/lightdm.conf| | ||
+ | <nowiki> | ||
+ | [SeatDefaults] | ||
+ | autologin-guest=false | ||
+ | autologin-user=your-mythtv-user | ||
+ | autologin-user-timeout=0 | ||
+ | autologin-session=lightdm-autologin | ||
+ | user-session=ratpoison | ||
+ | allow-guest=false | ||
+ | #autologin-user= | ||
</nowiki> | </nowiki> | ||
}} | }} |
Revision as of 20:30, 13 November 2011
Ratpoison is grrreat for HTPC usage, here's how you get it working on Mythbuntu with GDM (will probably work for others, untested)
$ sudo apt-get install ratpoison $ sudo cp /usr/share/mythbuntu/session.sh /usr/share/mythbuntu/ratpoison-session.sh
then edit /usr/share/mythbuntu/ratpoison-session.sh and change the last line from:
exec startxfce4
to:
exec ratpoison
Next:
$ sudo cp /usr/share/xsessions/mythbuntu.desktop /usr/share/xsessions/ratpoison.desktop
...then change the Exec entry to:
Exec=/usr/share/mythbuntu/ratpoison-session.sh
Then edit /etc/gdm/custom.conf to look something like:
[daemon] AutomaticLoginEnable=true AutomaticLogin=your-mythtv-user TimedLoginEnable=true TimedLogin=your-mythtv-user TimedLoginDelay=10 DefaultSession=ratpoison
...or if you're on Oneiric and using LightDM:
[SeatDefaults] autologin-guest=false autologin-user=your-mythtv-user autologin-user-timeout=0 autologin-session=lightdm-autologin user-session=ratpoison allow-guest=false #autologin-user=
My .ratpoisonrc contains: