The Following User Says Thank You to Benson For This Useful Post: | ||
![]() |
2008-07-23
, 19:05
|
Posts: 3,428 |
Thanked: 2,856 times |
Joined on Jul 2008
|
#242
|
# cat /etc/passwd user:!:29999:29999::/home/user:/bin/sh
# cat /etc/passwd user:x:29999:29999::/home/user:/bin/sh
![]() |
2008-07-23
, 19:23
|
|
Posts: 4,930 |
Thanked: 2,272 times |
Joined on Oct 2007
|
#243
|
It also appears the Maemo passwd file has not been shadowed <booooooooooo!>. That shouldn't make a difference one way or the other.
![]() |
2008-07-23
, 19:25
|
Posts: 3,428 |
Thanked: 2,856 times |
Joined on Jul 2008
|
#244
|
![]() |
2008-07-23
, 19:36
|
|
Posts: 4,930 |
Thanked: 2,272 times |
Joined on Oct 2007
|
#245
|
![]() |
2008-07-25
, 13:36
|
Posts: 53 |
Thanked: 44 times |
Joined on Feb 2008
|
#246
|
apt-get install xbindkeys
vi ~/.xbindkeysrc
"r-mouse"
F8
"l-mouse"
release + F8
#!/bin/sh
/usr/bin/xmodmap -e "pointer = 1 2 3"
#!/bin/sh
/usr/bin/xmodmap -e "pointer = 3 2 1"
chmod a+x /usr/bin/l-mouse
chmod a+x /usr/bin/r-mouse
![]() |
2008-07-25
, 18:36
|
|
Moderator |
Posts: 7,109 |
Thanked: 8,820 times |
Joined on Oct 2007
@ Vancouver, BC, Canada
|
#247
|
![]() |
2008-07-25
, 21:59
|
|
Moderator |
Posts: 7,109 |
Thanked: 8,820 times |
Joined on Oct 2007
@ Vancouver, BC, Canada
|
#248
|
The Following User Says Thank You to qole For This Useful Post: | ||
![]() |
2008-07-26
, 01:31
|
|
Posts: 4,930 |
Thanked: 2,272 times |
Joined on Oct 2007
|
#249
|
The Following 3 Users Say Thank You to Benson For This Useful Post: | ||
![]() |
Tags |
chroot, debian, easy debian |
|
I'm pretty sure there's no performance penalty for 2nd Xomap; no benchmarks, though. Correct that chvt is needed to switch, and at present seems the only way. (I'm running this right now.)
It has the advantage of being completely independent of the chroot, and also completely useful outside the chroot; I've already got plans to work on this as a separate project, designed to work cleanly with or without chroot, with the plan to get it in extras-devel. (And thence to extras, eventually.)
It probably also benefits from similarity with Xsisusb startup, at some point...
Actually, just realized this can be accomplished two ways. What I'm doing is running Maemo FVWM2 in Maemo Xomap, and using this all-Maemo X session to run individual chroot (and Maemo) apps. But you could also chroot to Debian and launch a new Debian Xomap, and a Debian WM... Interesting.
Actually, maybe (Debian? or not?) [xg]dm is the answer? At least gdm, I know, can be used to spawn new X servers on an as-desired basis. It should be possible to use that directly on boot, and also through chroot (or also run a Maemo ?dm for chroot use)... Just thinking out loud, I'm not sure on the details.
(Also, I hadn't even got to figuring out where the gtkstylus setting was done, so it's presently not implemented in chroot on mine. Thanks for that info!)
World's first inductively-charged N900!