Difference between revisions of "Ratpoison on Mythbuntu"
From MythTV Official Wiki
m (moved RatpoisonOnMythbuntu to Ratpoison on Mythbuntu: oops, this aint Trac) |
m (fix typos/grammar) |
||
(2 intermediate revisions by one other user not shown) | |||
Line 1: | Line 1: | ||
− | [[Ratpoison]] is | + | [[Ratpoison]] is great 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 apt-get install ratpoison | ||
Line 22: | Line 22: | ||
Then edit <tt>/etc/gdm/custom.conf</tt> to look something like: | Then edit <tt>/etc/gdm/custom.conf</tt> to look something like: | ||
+ | {{Code box|/etc/gdm/custom.conf| | ||
+ | <nowiki> | ||
[daemon] | [daemon] | ||
AutomaticLoginEnable=true | AutomaticLoginEnable=true | ||
− | AutomaticLogin= | + | AutomaticLogin=your-mythtv-user |
TimedLoginEnable=true | TimedLoginEnable=true | ||
− | TimedLogin= | + | TimedLogin=your-mythtv-user |
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> | ||
+ | }} | ||
My .ratpoisonrc contains: | My .ratpoisonrc contains: | ||
+ | {{Code box|~/.ratpoisonrc| | ||
escape C-r | escape C-r | ||
addhook switchwin banish | addhook switchwin banish | ||
Line 37: | Line 57: | ||
exec /usr/bin/xset s off >/dev/null | exec /usr/bin/xset s off >/dev/null | ||
exec /usr/bin/mythfrontend --service | exec /usr/bin/mythfrontend --service | ||
+ | }} | ||
[[Category:Software]] [[Category:HOWTO]] | [[Category:Software]] [[Category:HOWTO]] |
Latest revision as of 18:54, 4 March 2013
Ratpoison is great 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: