61
Spain / Teclado inhalambrico Targus Universal.
« on: February 09, 2004, 11:01:47 am »
Si, por favor. Envialo a: rrashkin@csc.com
Gracias.
Gracias.
This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.
The more flexible way
To make it so that you can tap a script in the Document/Files tab and it will launch in the terminal, follow the instructions below:
1) Install the latest version of Embedded Konsole
2) Edit the file /home/QtPalmtop/etc/mime.types and if it does not have an entry for \"application/x-sh\" then add the following line
application/x-sh sh
3) Edit the Embedded Konsole desktop icon file, which is usually /home/QtPalmtop/apps/Applications/embeddedkonsole.desktop, and add the following lines:
MimeType = application/x-sh
MimeTypeIcons = konsole/Terminal
4) Restart Qtopia
5) Create a shell script anywhere where it will be visible on the Documents/Files tab, give the it the filename extension \'.sh\', and make sure it is executable with the command:
chmod a+x myscript.sh
Then when you tap the script file in the Documents/Files tab it will launch within the Konsole application. It is important that you give the script file a \'.sh\' filename extension as that is how it is associated with the Mime Type application/x-sh and that in turn is associated with the Embedded Konsole application.
. chprmpt
select dir in cf card;
do
cd /mnt/$dir/QtPalmtop/java
break;
done
. appmenu.sh