EasyManua.ls Logo

Sharp Zaurus SL-C3000 - Page 97

Sharp Zaurus SL-C3000
212 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
my Zaurus SL-C3000 and SL-C3100 http://www.users.on.net/~hluc/myzaurus/
97 of 212 16/09/2007 12:23
$XAPP &
rm $HOME/.xstart
else
rxvt &
fi
Then I replaced the content of /home/QtPalmtop/bin/startx-wrapper with the following:
#!/bin/sh
X=`ps -ef|grep X|grep qt`
if [ "$X" = "" ]; then
if [ "$1" != "-qcop" ]; then
echo $1 > /$HOME/.xstart
fi
startx
else
export DISPLAY=:0.0
$1 &
fi
Create a link:
# ln -s /home/QtPalmtop/bin/startx-wrapper /home/QtPalmtop/bin/xlauncher
With this modification, I can run X application such as firefox by issuing the command:
# xlauncher firefox
This causes firefox to be run, and if X is already running it will just appear inside X, but if X has not
been started yet, it will start X as well. This is nice for adding X application icons on the Qt desktop.
X control can be activated by pressing the menu button which allows you to switch to fullscreen
and shutdown X.
Note: You can also install [xqt-debian-scripts_0.5_arm.ipk] instead of xqt-startup-scripts
[xqt-startup-scripts_0.0.3_all.ipk] which will give you an even more enhanced .xinitrc and
startx-wrapper and you don't need to do the above modifications manually. (It will also give you an
addtional X/Qt tab and some pretty icons for X applications such as firefox, the gimp, abiword and
pocketworkstation which you can delete if you don't like them)

Other manuals for Sharp Zaurus SL-C3000

Related product manuals