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)
-   -   Odds and ends (https://talk.maemo.org/showthread.php?t=74915)

auouymous 2011-09-25 05:28

Re: Odds and ends
 
Quote:

Originally Posted by Addison (Post 1095620)
If I do this in Xterm

cd /opt/adom
./adom

this works just fine.

How can I get this same result in my script?

Well, you could start by putting what you typed in the terminal into your script. :)

The program is looking in present working directory for its files, so you must run the program from within that directory. Shell scripts use the same commands you type on the command line, the first line spawns a shell and pretty much dumps the contents of the file into it.

Addison 2011-09-25 05:44

Re: Odds and ends
 
I am too stupid to live! *lol*

Addison 2011-09-25 20:02

Re: Odds and ends
 
Hey auouymous.

Could you take a look at this thread here?
http://talk.maemo.org/showthread.php?t=67737

If there's anyone who can figure out how to get qemu working on the older tablet, it would be you. :)

I don't get it. Linuxeventually has it running on his end.

The poop?

I don't understand why it won't work for me.

Anyway, if we do get this installed correctly, what all doors will this open up for us being able to use i386 binaries?

maacruz 2011-09-25 20:43

Re: Odds and ends
 
Quote:

Originally Posted by Addison (Post 1096176)
Anyway, if we do get this installed correctly, what all doors will this open up for us being able to use i386 binaries?

Well, I'm not sure our lifespan is long enough for us to see it booting windows from start to finish :D

Addison 2011-09-25 20:45

Re: Odds and ends
 
^ Cute. *lol*

auouymous 2011-09-25 21:08

Re: Odds and ends
 
Quote:

Originally Posted by Addison (Post 1096176)
Hey auouymous.
If there's anyone who can figure out how to get qemu working on the older tablet, it would be you.

I'm more of a Bochs (BFE) or fprem guy, no qemu. :D

Addison 2011-09-25 21:11

Re: Odds and ends
 
^ I never liked you. :)

Addison 2011-09-27 22:50

Re: Odds and ends
 
So I'm trying to do a really fast zoom feature when using Tear.
Mostly for sites such as google.com/voice/m

In Personal Menu I have two icons I can launch

Zoom in:
xte 'keydown F7' 'keyup F7' & xte 'keydown F7' 'keyup F7' & xte 'keydown F7' 'keyup F7' & xte 'keydown F7' 'keyup F7' & xte 'keydown F7' 'keyup F7' & xte 'keydown F7' 'keyup F7' & xte 'keydown F7' 'keyup F7' & xte 'keydown F7' 'keyup F7'

Zoom out:
xte 'keydown F8' 'keyup F8' & xte 'keydown F8' 'keyup F8' & xte 'keydown F8' 'keyup F8' & xte 'keydown F8' 'keyup F8' & xte 'keydown F8' 'keyup F8' & xte 'keydown F8' 'keyup F8' & xte 'keydown F8' 'keyup F8' & xte 'keydown F8' 'keyup F8'

It works great.

What I have to do is put Tear in window mode, click Personal Menu, then the icon.

Is there a way to do this with the zoom in and out keys?

Binding a key to launch such a script and then using xte to send out these signals is an endless loop error I believe.

Any suggestions?

Johnnie Price 2011-09-28 00:10

Re: Odds and ends
 
I have a question. How can I get xbindkeys to start on boot rather than having to open xterm?

Addison 2011-09-28 00:16

Re: Odds and ends
 
Yeah, there are two things I would like to start at boot:

This is needed every time on boot for Xkbd to be stable:
gconftool-2 --set -t bool /system/osso/af/keyboard-attached true && sleep 2 && gconftool-2 --set -t bool /system/osso/af/keyboard-attached false
&
xbindkeys

I never figured out how to do this so I usually try to never reboot. :)


All times are GMT. The time now is 11:09.

vBulletin® Version 3.8.8