Active Topics

 


Reply
Thread Tools
Posts: 89 | Thanked: 26 times | Joined on Nov 2008 @ Canada
#1
Is there an easy way to automatically run an application after booting up?

Specifically, I want to run osso-xterm. My touchscreen is getting flaky and unreliable, and I want some way of interacting with the system.

Andy
 
Guest | Posts: n/a | Thanked: 0 times | Joined on
#2
do you have a screen protector on the lcd? if so, have you already tried if it's better without? there was a thread some days ago, where misbehaving touchscreens suddenly were like new after removing the screen protector...
 
Posts: 89 | Thanked: 26 times | Joined on Nov 2008 @ Canada
#3
Yeah, I tried removing the screen protector. I tried reflashing too. Neither made any difference.

Thanks for the tip though. If you have any other thoughts, I'd love to hear them.
 
Posts: 435 | Thanked: 769 times | Joined on Apr 2010
#4
EDIT: my bad, didn't read it wasn't Maemo5...

Last edited by gionni88; 2011-05-25 at 21:48.
 
Posts: 1,101 | Thanked: 1,184 times | Joined on Aug 2008 @ Spain
#5
Originally Posted by akorvemaker View Post
Yeah, I tried removing the screen protector. I tried reflashing too. Neither made any difference.

Thanks for the tip though. If you have any other thoughts, I'd love to hear them.
Have you installed DiabloTurbo?, it has an improved touchscreen driver for flaky screens.
 
Posts: 89 | Thanked: 26 times | Joined on Nov 2008 @ Canada
#6
@gionni88: That doesn't seem to work for me (ctrl-shift-x). Any ideas why it wouldn't? My only thought of something that might interfere is Advanced SystemUI.

@maacruz: Yes, I have tried DT (and love it). Unfortunately it didn't help with my touchscreen issue.
 
Posts: 804 | Thanked: 1,598 times | Joined on Feb 2010 @ Gdynia, Poland
#7
Originally Posted by akorvemaker View Post
@gionni88: That doesn't seem to work for me (ctrl-shift-x). Any ideas why it wouldn't? My only thought of something that might interfere is Advanced SystemUI.

@maacruz: Yes, I have tried DT (and love it). Unfortunately it didn't help with my touchscreen issue.
Well, gionni88 probably didn't know you posted in Diablo section, as this is shortcut for running terminal in Maemo 5 on N900

Where is osso-xterm located? is it /usr/bin/osso-xterm ? if so, you could try this (although I cannot confirm it will work, as I don't have any Diablo device):
- Create file in /etc/init.d , for example /etc/event.d/runossoxterm.sh
- Edit it to have contents:
Code:
#!/bin/sh
/usr/bin/osso-xterm
- Save, exit
- Run "chmod a+x /etc/event.d/runossoxterm.sh" to make it executable
- Finally run:
Code:
update-rc.d runossoxterm.sh start 99 2 .
EDIT: Thanks auouymous! Of course you are right

Last edited by misiak; 2011-05-26 at 08:21.
 

The Following User Says Thank You to misiak For This Useful Post:
Posts: 875 | Thanked: 918 times | Joined on Sep 2010
#8
Use /etc/init.d instead of /etc/event.d and after chmod'ing it run:
Code:
update-rc.d runossoxterm.sh start 99 2 .
And don't use the sleep.
 

The Following 2 Users Say Thank You to auouymous For This Useful Post:
Posts: 804 | Thanked: 1,598 times | Joined on Feb 2010 @ Gdynia, Poland
#9
Originally Posted by auouymous View Post
Use /etc/init.d instead of /etc/event.d and after chmod'ing it run:
Code:
update-rc.d runossoxterm.sh start 99 2 .
And don't use the sleep.
You are right, thnk you, I updated post above now. I was so tired last evening I totally forgot abot /et/init.d, or rather maybe mistake it with /etc/event.d because of the other thread here about problems with event.d... I should sleep more.
 
Posts: 89 | Thanked: 26 times | Joined on Nov 2008 @ Canada
#10
Many thanks! I get an error with the update-rc.d command:
Code:
update-rc.d: error: no <basename>
followed by general usage instructions.

Any ideas?
 
Reply


 
Forum Jump


All times are GMT. The time now is 14:35.