Active Topics

 


Reply
Thread Tools
Posts: 1,950 | Thanked: 1,174 times | Joined on Jan 2008 @ Seattle, USA
#1
I guess this message may be a shout-out to Benson, who generously helped me get a macro-typing tool working via xte and Personal Menu under Chinook.

As far as I can follow what we did, I simply unpacked the xautomation-1.02.tar.gz folder and moved the 20kb xte file to /usr/bin/ Then in Personal Menu I entered a "Command to execute", say,

xte 'str Hello'

and if I were in Notes when I clicked the PM icon for that, then in Notes it would type

Hello

When I've tried this in Diablo, it hasn't worked. I don't know if I'm doing something wrong or if xte doesn't work in Diablo. If I click on the icon in PM that ought to type text, instead I get a message "Execution failed." Trying to use xte as a command in XTerm, I get, if I'm in root:

/bin/sh: xte: Permission denied

and if not in root, I get:

~sh: xte: Permission denied

Am I do something wrong or is this not do-able in Diablo?

I haven't had this macro-typer for some months, so I can't say there is any urgency here. But when someone (Benson? or anyone else familiar with xte) has time, I'd sure appreciate a little help.

Thanks!

Edit: 2-15-09 -- Ignore the attachment. I put it there just as a personal experiment about itT attachments
Attached Files
File Type: tar xte.tar (30.0 KB, 113 views)
File Type: gz pathfreexte.tar.gz (9.3 KB, 93 views)
__________________
.
. .

Help Save This Forum
for N8x0/Diablo Users! Register and Vote for Solution #1 on this Brainstorm. (The Solution will let you see New Posts with any threads you choose -- like the N900 and Maemo5/Fremantle threads -- filtered out.) (To understand the Solution better, see these posts #17, #18, and #19.)

Last edited by GeraldKo; 2009-02-15 at 23:42.
 
Benson's Avatar
Posts: 4,930 | Thanked: 2,272 times | Joined on Oct 2007
#2
I'd guess you unpacked it onto a FAT partition (SD card?) and it lost the execute permission.
Code:
chmod a+x /usr/bin/xte
 

The Following User Says Thank You to Benson For This Useful Post:
Posts: 1,950 | Thanked: 1,174 times | Joined on Jan 2008 @ Seattle, USA
#3
Thanks, Benson! That worked.

I want to put it together as a post (or wiki entry) for anyone else who desires a macro-typer. I used my "old" xte for the chmod above; but when I tried doing it from scratch, starting with downloading xautomation-1.02.tar.gz, my extraction of the folder included xte.1 and xte.c files, but no plain xte file. What do you think I'm doing wrong?
 
BrentDC's Avatar
Posts: 903 | Thanked: 632 times | Joined on Apr 2008
#4
Originally Posted by GeraldKo View Post
Thanks, Benson! That worked.

I want to put it together as a post (or wiki entry) for anyone else who desires a macro-typer. I used my "old" xte for the chmod above; but when I tried doing it from scratch, starting with downloading xautomation-1.02.tar.gz, my extraction of the folder included xte.1 and xte.c files, but no plain xte file. What do you think I'm doing wrong?
I didn't check, but those are probably source files. You need a binary file (already compiled).
 
qwerty12's Avatar
Posts: 4,274 | Thanked: 5,358 times | Joined on Sep 2007 @ Looking at y'all and sighing
#5
 
Reply

Tags
macro xte xautomation


 
Forum Jump


All times are GMT. The time now is 17:08.