maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   OS2008 / Maemo 4 / Chinook - Diablo (https://talk.maemo.org/forumdisplay.php?f=29)
-   -   Need help with my first script (https://talk.maemo.org/showthread.php?t=38143)

Addison 2009-12-29 20:16

Re: Need help with my first script
 
Okay. I see it now.

I was looking at /usr/sbin that's why it wasn't there.

And yeah, running mrxvt as root made the difference.

So I think I'm all good from here on out.

Many thanks! I feel like I'm set for life with this. :)

Matan was super awesome enough to hand over a working version of xbindkeys for Diablo OS.
http://talk.maemo.org/showpost.php?p...&postcount=624

I'm using it to kill the onscreen keyboard for two seconds and then fire it back up again with the fullscreen hardware key.

I'm completely punchy with the whole set up that I have.

This thread can now burn for all I care. :D

Addison 2010-01-17 00:23

Re: Need help with my first script
 
And I'm back. *lol*

I've decided to go with qwerty's excellent port of Roxterm.

It features an easy way to customize the coloring and also supports an underlined cursor which is everything I was asking for.

I'd like to run a few set up commands and then SSH to a server under Roxterm in full screen mode by simply clicking on a menu icon for it.

This is basically my final script.

Code:

#! /bin/sh

roxterm -f
xbindkeys
xmodmap -e "keysym F8 = minus"
xmodmap -e "keysym F7 = plus"
gconftool-2 --set -t bool /system/osso/af/keyboard-attached true
xkbd -geometry +65536+65992 -k /media/mmc2/Keyboards/Flat2.xkbd & xkbd -geometry +725+360 -k /media/mmc2/Keyboards/Keypad.xkbd & ssh -l addison ancardia.ath.cx
gconftool-2 --set -t bool /system/osso/af/keyboard-attached false
xmodmap -e "keysym minus = F8"
xmodmap -e "keysym plus = F7"
killall xbindkeys
killall xkbd

However, it stops right after executing "roxterm -f"

It doesn't continue on with the script until I close out Roxterm.

Anyone have some advice that could resolve my knowledge deficit on this? :)

Addison 2010-01-17 07:09

Re: Need help with my first script
 
Well, it turns out that there's a command line option in the Roxterm's menu to launch a customed script on startup.

So I'm all good.

This thread can now go back to being burned once again. :)


All times are GMT. The time now is 16:54.

vBulletin® Version 3.8.8