![]() |
2010-06-16
, 05:55
|
|
Posts: 4,274 |
Thanked: 5,358 times |
Joined on Sep 2007
@ Looking at y'all and sighing
|
#2
|
The Following User Says Thank You to qwerty12 For This Useful Post: | ||
![]() |
2010-06-16
, 06:21
|
|
Posts: 3,811 |
Thanked: 1,151 times |
Joined on Oct 2007
@ East Lansing, MI
|
#3
|
Install xrandr: mikie.dy.fi/maemo/dists/diablo/user/binary-armel/xrandr_1.2.2-0_armel.deb
With xrandr, commands to rotate like "xrandr -o right" should work, AFAIK.
killall xkbd?
![]() |
2010-06-16
, 06:26
|
|
Posts: 4,274 |
Thanked: 5,358 times |
Joined on Sep 2007
@ Looking at y'all and sighing
|
#4
|
I'm currently using the community SSU which features screen rotation by default without the need for Xrandr. So should I go ahead and install this on top of it?
And yeah, killall kill xkbd works in Xterminal but not in my /usr/bin script.
I'm pretty sure it's because, when executing xkbd, it hangs in the script code so that any later commands never gets reached.
Is there any other possible way around this?
The Following User Says Thank You to qwerty12 For This Useful Post: | ||
![]() |
2010-06-16
, 06:36
|
|
Posts: 3,811 |
Thanked: 1,151 times |
Joined on Oct 2007
@ East Lansing, MI
|
#5
|
The xrandr deb I pointed you to will rotate the screen like Advanced Backl... crap, it won't rotate the keys; xmodmap is required for that. ukki wrote a quick program from the AB source for Knots. I'll try and find it later.
Run xkbd with an '&' (w/out quotes) on the end but run GVM like normal. After the line that runs GVM, add "kill $!" which should stop the last program we backgrounded - i.e. XKBD.
Okay, so I'm trying to have a custom script that will launch Garnet VM from a personal launcher icon on my desktop.
So far, this is what I have.
/usr/bin/gvm/gvm -a lnch -z 1 -O none -L 0x0000,0x0000,0x0000 -f no & xkbd -geometry +65536+66016 -k /media/mmc2/Keyboards/Garnet.xkbd & xkbd -geometry +65536+65536 -k /media/mmc2/Keyboards/Rightleft.xkbd & xkbd -geometry +400+65536 -k /media/mmc2/Keyboards/Updown.xkbd
So two things.
I would like the screen to be rotated first before executing this. Is there such a command?
Second, I need to killall kill xkbd once Garnet closes and then rotate the screen back to normal.
Any chance I could get some help from one of you boys?
Thanks!