OESF Portables Forum
Everything Else => Zaurus - Everything Development => Distros, Development, and Model Specific Forums => Archived Forums => X/Qt => Topic started by: smuelas on October 29, 2004, 08:40:27 pm
-
I am running at the moment in my Z6000 with the standard ROM from Sharp and using packages from Xqt, the whole distribution from Debian under the X's of xqt.
Everything is very simple and anyone with a big card or microdrive (no smaller than 500Kb) and able to run Xqt can do it.
I will send some screen shots of different X-applications like Firefox, Konqueror, Kile, Kmail...etc.
Everything is based on Klaus's 'pocketworkstation', but using Xqt instead of Xvnc.
Just small drawbacks as some keys that don't work (three at the moment).
Qtopia running at the same time, everything from the standar software and other packages installed, continue to work nicely, so one can choose the best of both possibilities.
The only price to pay is around 4 Mb. of RAM but I find it extremely cheap for having this wonderful capability.
I have tested it for three days with no problems at all. I am NOT an expert and have modified just a couple of lines of standard scripts.
You can contact me at smuelas@telefonica.net
smuelas
-
sounds pretty good, shame about it being on the Sharp ROM. Could you please post any URL's that you found helpful whlist doing this.
-
I'm interested in testing it !.
Please "Smuelas" can you send us all informations ?
-
Yes, I'd be interested in doing this do.
Would you be kind enough to post a detailed guide on how to set it up.
I'm not an expert either...
-
I too have been running Debian (using pocket workstation) on my Z 5500 (under OpenZaurus in my case) and absolutely love it.
I posted on /. recently about it and reposted it here:
Thoughts on the Zaurus (http://undertow.2y.net/zaurus/slashdot-z-posting-oct19-2004.html)
I've been meaning to slap together a page detailing how to run swap over NFS/SMB (or any protocol) so you can easily have this:
OZ #free
total used free shared buffers
Mem: 62388 54924 7464 0 1084
Swap: 524280 1068 523212
Total: 586668 55992 530676
..yes, that's 512MB of swap :-) Swapping over wireless isn't too bad, faster than wearing out my SD card, that's for sure. Big compiles are no longer a problem!
The otter big thing I've been doing is running a COMPLETE remote root disk over NFS! Doing this allows me to have a 3GB remote root:
deb # df -H /
Filesystem Size Used Avail Use% Mounted on
/dev/mmcda1 3.2G 1.3G 1.8G 42% /
..and allows me to easily have different images for development or testing out sw installs without messing up the 1GB SD card in my Z until I am sure I want to commit changes. A quick rsync allows for easy cloning of my SD card onto my remote root.
Using these methods you can run the complete Debian setup over wireless without even having an SD card at all. This opens EVERYBODY up to Z development and the vastnumber (~15819) of ARM Debian packages avail up to everybody with minimal effort and no local diskspace requirements.
As a matter of fact, I compiled the latest version of GAIM along with the encryption plugin (gaim-encryption) AND the Sametime (meanwhile) plugin, for those of use who have to use that IBM/Lotus beast.
See here:
http://undertow.2y.net/zaurus/bin/gaim-enc...ime-ARM.tar.bz2 (http://undertow.2y.net/zaurus/bin/gaim-encryption-1.0.2-2.32-with-sametime-ARM.tar.bz2)
Note this requires X to run.
Anyway, I'll try to get together details on this in the next couple of days, and it'll be on http://undertow.2y.net/zaurus/ (http://undertow.2y.net/zaurus/)
Cheers!
-
I am unable to upload screen shots. On next tuesday I will open a web-page with those screen shots and all the steps necessary for installing Debian on Xqt and the needed packages.
Anyone interested should be able to install Xqt and go to Pocketworkstation web page.
Everything continues to run nicely and I am convince many people will like to use it.
Next message on Tuesday. Cheers
smuelas
-
Please find a first "sketch" of the web page promised at address:
http://w3.mecanica.upm.es/~smuelas/debianxqt.html (http://w3.mecanica.upm.es/~smuelas/debianxqt.html)
smuelas
-
Hi:
I have followed your guide, taken all the steps.
However, when I try to start icewm, I get the following error:IceWM: Warning: Locale not supported by C library. Falling back to 'C' locale'.
IceWM: using /home/root/.icewm for private configuration files
IceWM: Can't open display: :0.0. X must be running and $DISPLAY st.
What is the problem?
What can I do?
-
I figured that out. Turns out I need to enter
export DISPLAY=127.0.0.1:0.0
manually every time before running IceWM.
Now it turns.
However I'm not sure what I should enter into /etc/resolv.conf file and what the syntax is. Can anyone tell me specifically.
Thank you.
-
Hi rehorrericha,
I will input more information a.s.a.p. in the web page. Anyway, I will tell you what I do now.
First of all I create a file, once in Debian, in directory /root with the name .bashrc. If the file exist already, I edit it and include the lines below:
export DISPLAY=0:0
xmodmap .xmodmaorc &
I stablish a link between /root and /home/root doing:
ln -s /root /home/root
I copy a file with the name: .xmodmaprc to /root.
This file contains the new codes of the keys to have everything available using the SL.6000's keyboard. I will explain in the web page how is the mapping modified. Also I will include this file in the web page.
Finally, I create a file with a short name, you can choose anyone like ini, begin...etc. and I put it in /usr/bin/
In this file I write a couple of lines for begining the Xssesion:
cd /home/root
export DISPLAY=0:0
/usr/bin/icewm &
nautilus (As I have included Nautilus but it is just a personal choice)
I made this file executable: chmod +x ......
When I launch Xstart and in the console that appears, once having done chroot (or included it in a script) symply I write the name of this last file and everything begins.
Then I launch the bash shell, as I use quite a lot of alias and other things and to have the keyboard working in the right way: "bash"
About your question related with /etc/resolv.conf you must write a line like this one:
nameserver 188.23.12.223
but instead of theese numbers, the IP direction of your DNS.
If you have more than one DNS you can write as many lines as the one above, each with the IP direction of a new DNS.
As you don't lose Qtopia, you can launch the Wi-fi in the usual way, but the old file in Qtopia /etc/resolv.conf is now unreachable, so you have to create a new one in the new root.
From time to time take a look at the space available in your card with "df". Debian is big and also some of its pacackages.
smuelas
-
I assume you meant minimum 512mb card is the minimum. Do *you* run it on SD or CF? If it is able to run with OZ, will it take advantage of the floating point performance enhancement?
-
smuelas, good work on all these instructions. I've been able to get Debian working with mozilla, gaim, kismet, etc. I'll be trying your keyboard map tonight.
Something I've found is you'll also want to create a /etc/hosts file with at least the localhost entry or you won't be able to resolve the hostname of localhost.
I don't know how far along you are, but are there any optimizations/recommendations for speed improvements? Everything I want to use is working but I'm greatly spoiled with my fast desktop and the zaurus seems slow. And any ideas how to get XMMS usable (very very choppy).
I have created a swap file, but that doesn't seem to help with my already slow SD card.
-
Hmm, interesting attack at debian on X/Qt.
I went a slightly different way and actually use the chroot calling script that the install process creates, but editing the zvncserver file in {debroot}/usr/local/bin so that it doesn't call Xvnc and only start icewm and one rxvt - all exporting of DISPLAY etc are set by the vncserver script that debian installs.
If I want to run a X app that is not in the debian package, I open qconsole from qtopia, export DISPLAY and run the app - it then appears in X/Qt and all error messages are written to QConsole - great for debugging missing libs etc.
I'll have to try your way and see if there is any speed difference (although we are basically doing the same thing just getting there by different paths)
Stu
-
Thanks Smuelas, for your help.
It runs now. One more question I have is I get a ton of these perl errors:perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
LANGUAGE = (unset),
LC_ALL = (unset),
LANG = "ja_JP.eucJP"
are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
How can I remedy this?
-
Thanks Smuelas, for your help.
It runs now. One more question I have is I get a ton of these perl errors:perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
LANGUAGE = (unset),
LC_ALL = (unset),
LANG = "ja_JP.eucJP"
are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
How can I remedy this?
o.k., rehorrericha,
Now you are done with Debian, but remember that this is not the "stable debian" and that the packages from "testing" or unstable, change quite a lot in short time.
So, you can have some small problems that can be solved usually with no big difficulty and others that cannot be solved at all, at the moment but will be solved in a short time.
Your problem with those Perl messages comes from not having stablished the local environment. The way to solve it is to install the package "locales", so typing:
apt-get install locales
should be enough. During the install you will be asked to choose the "locales" to install -choose only one- and which one should be your default. Once done, this problem should finish.
Also, I recommend you to upgrade the whole distribution -about a couple of hours.
This is done simply with: apt-get upgrade.
Good luck ....
smuelas
-
Thanks melonhead for your comments but, really, I haven't done anything for myself. I simply got Xqt and Pocketworkstation and make them work together. To arrange the keyboard is my only contribution and I did it just reading " man xmodmap" once installed Debian.
My answer is due to your comment on XMMS. It runs wonderfully so you must have done, or not done, something...
Remember that the 6000. uses mad for sound. So, you must install a couple of packages: first "xmms" and then "xmms-mad". If doing it is not enough, apt-get upgrade.
The "story" about speed is another one. Taking into account that the 6000 is not exactly a "thunder", I find the speed "reasonable". The big difference that I have found is the time it takes to launch the application: one whole minute for firefox. But once you have it on the screen, it works quite well. I use always swap, as otherwise I have found some troubles, specially instal
-
Thank you for the advice/ smuelas. I'll try right away.
The last question I have/ is regarding suspend/resume freeze-up.
I didn't want to format my CF as ext2, so I created a 500 MB mountable file, formatted as ext2, as outlined in this thread (https://www.oesf.org/forums/index.php?showtopic=8155&hl=sandisk).
This works great, with one big problem: when you suspend the zaurus and then resume, the CF locks up.
Is there any way to solve this, without unmounting the file before every suspend.
If not, does formatting the CF as ext2 work, i.e. does it not lock up that way if you suspend and resume without exiting XQt.
Would a mountable file on SD work? Or would only formatting the SD work. Or would even this not work and you have to exit XQt before suspend every time? (Obviously you wouldn't need to unmout the whole SD, or so I hope.
What are the options?
Thank you.
-
Thanks Smuelas, for your help.
It runs now. One more question I have is I get a ton of these perl errors:perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
      LANGUAGE = (unset),
      LC_ALL  = (unset),
      LANG = "ja_JP.eucJP"
   are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
How can I remedy this?
If you just want to get rid of the messages try exporting the following variable...
PERL_BADLANG = 0
Hope this helps,
- Andy
-
rehorrericha,
I have only tested CF formated as ext2 and using the standard Sharp ROM. I cannot help with the other issues.
I do suspend/resume with Debian as with Qtopia and have found no difference. Just one click to suspend and another to resume and my Debian screen is there....
smuelas
-
Hmmm, I formatted my CF to ext2. Now I can suspend/resume without freezing, however it kills the IceWM and drops before the chroot command. I.e. I'm still in su, but have to do chroot... and start icewm again.
Why is this?
-
I have no idea. Xqt is just a program running and it should not be killed due to suspend/resume.
If your problem is just with Icewm, perhaps you should launch it from a rxvt and "minimize" this rxvt. You can open another and work on it. Also, try to launch Ice from the "sh" shell, before going to "bash". This is what I usually do and I have no problems. Also it is true that I haven't tested it doing a lot of suspend/resume. ...
smuelas
-
Smuelas,
Thanks for all the info, it has emboldened (is that a real word?) me to play around a bit. I have almost gotten it working, but I am still having a problem. My config is a little different, I am running the stock Sharp Kernel that shipped with my 6000.
I have a 128M CF card which holds a 64M swapfile. Instead of putting debroot on a CF or SD card I have a 40G USB drive that I formatted ext2 and mount from the VGA terminal.
I can chroot to it with no troubles, and I can start icewm, but when I click on the icewm logo button (where the start button would be if this were windows) I don't get a menu, the screen just goes all grey, and then back to the xwindow background with the icewm terminal. Is this supposed to work?
I haven't tried any apps yet, so if there is something I should run from a console to test, let me know. Thanks.
-
MSC Geek,
I don't think that it can be problems in using a USB disk, althought I don't know which is the "usb conecction on the VGA terminal"...
How do you launch icewm? Do you add an ampersand after? Do you set the display?
It could be good if you write exactly the instructions given after "chroot".
Also, you can try some application existing in the pocketworkstation dist. as, for example, xedit or vi... and tell us the result.
Anyway, it seems that you haven't fight a lot yet ...;-}
smuelas
-
Only a starnge problem,
when i startx from icon and appears bash shell....
my keywoard doesen' t work ( the space bar doesen't work so i cannot make
chroot ......)
Why this ???
-
When i start icewm no desktop appears but there is only rxvt terminal ...
Why there isn't no desktop icons ??? I see in the screenshots there is icewm desktop but on my sl6000l i can only see rxvt terminal
I FOLLOW THE INFOS ON SMULEAS SITE and on thi topic too why this ??
Thanks FOR YOUR HELP
Gabriele
-
Smuelas,
You were correct, it was not related to my USB disk. As for what I meant by the VGA terminal, I use the terminal app that came with the Z to mount everything. Probably a moot point, but at the time wasn't sure.
I launch icewm without the ampersand, mainly because I can't get the xmodmaprc file to load properly. It keeps telling me line 1 out of range or some such, goes all the way through line 7 and then aborts. I am still working on what is up with that.
I was able to apt-get -u upgrade and could even install mozilla-thunderbird.
I think my problem is the menu fonts in icewm are too large. When I start Tbird I can see the title bar for the window and then 3-5 characters fit on the screen. These suckers are at least an inch tall, possibly 1.5". If that is what is happening in my icewm menu it would explain my earlier issue. I don't have much exp with icewm, so I am not sure how to change fontsize or what config file to edit. Which fonts are you using?
Thanks for starting this thread, I knew I wanted to do a distro on my Z, but there wasn't enough out there for me to figure out how to start.
-
Why when i try to install locales i receive :
UNKNOWN TERMINAL: KTERM
Check the term enviroment....
and many other errors....
Any helps ?
-
Why when i try to install locales i receive :
UNKNOWN TERMINAL: KTERM
Check the term enviroment....
and many other errors....
Any helps ?
try
apt-get install kterm
-
I've gotten this message and avoided it by pointing the TERM variable to xterm instead with:
export TERM=xterm
If this works for you, you'll probably want to put that line n one of your startup script files rather than typing it in each session. If you're getting other errors too, this might not be enough to fix things.
-
I am answering the last messages. I apologize if I haven't explained with the needed detail the steps that I have done for the Xqt-Debian installation process.
Many of theese steps can be done in different ways. For example, I am using Linux as my only O.S. for, at least five or six years ago and usually to begin a session I'm used to have a " .bashrc " file in my home directory where I stablish some personal prefernces, like alias and also some special "general paths" as Java's paths and also library paths.
Althought practically all the actual Linux distributions use KDE or Gnome or both as their default desktop, I have always installed "Icewm" as a variant for certain kind of work. So, I know quite well Icewm, not in depth, just the few details or tricks that make my life easy.
Now let's go to certain details:
The first is to tell you that each day I am more and more surprised of how well works this "mixture". I have never thought of having such an impressive tool in my hands as it seems to be now the SL-6000. And this is due, basically, to the very good job done by the creators of Xqt and to the incredible wealth of software provided by Debian. I have had only ONE serious problem with a pac
-
Everything else is working stupendously.
So, please, believe me: IT WORKS !
Just take your time, ask your questions and be patient but confident. :-)
My steps (as of today; I have changed small details from one day to another)
Once in Qtopia and having installed the needed packages from Xqt as I have written on the web-page, I click on the "startx" Icon.
This launches the X's and in a few seconds the Rxvt terminal with no window manager. Then I write in this terminal:
su
/bin/mount -t proc /proc /mnt/cf/debroot/proc
/sbin/chroot /mnt/cf/debroot
/sbin/swapon /myswap
/etc/init.d/ssh start
ln -s /root /home/root
cd /home/root
export DISPLAY=0:0
/usr/bin/icewm &
bash
icewmbg
"Fn+c"
exit
Those are the lines that I write, waiting for each "effect". Then I minimize this Rxvt-term and I forget it "forever and ever", or until doing a reboot.
(I will put a.s.a.p. in the web page a short explanation about the WHY of some of those lines.)
If this is the first time of launching icewm after installation, some things must be "organized" or "inproved". The first thing to do is to install the package for having available Rxvt, that is the simple terminal that works the best with this system. By default, there are other X-terminal that can serve to do this first installation. So launch this first terminal. As you know, you can make visible or not the bottom panel of Qtopia with the menu button. Make it visible and edit with "vi" or "xedit" (in the default installation) a file with the name "resolv.conf" that must be placed in the directory /etc. In this file it is enough to have one line that should be:
nameserver 111.111.111.111
where the 1's should be number of the IP of your DNS. Once done, and having copied to /root directory the file .xmodmaprc from the web-page (I will update it in a few days) write in the terminal:
xmodmap .xmodmaprc
apt-get update
Once finished, write:
apt-get install rxvt
Finished the installation, close the X-terminal, open a new Rxvt, and be prepared to install your packages.
By default, the X-installation from Xqt doesn't use the whole bash, so you must prepare a .bashrc file acording with what I said before, and place it in /root directory. Then, when you open a new rxvt. begin it by writing
bash
to make your .bashrc file active.
From this point, it is important for you to have some clear ideas of how Debian works and the impressive amount of software that you have available and how to install, search, upgrade, deinstall a.s.o your packages.
Someone asked the other day some question about suspend/resume. Now, I have observed that everything works o.k. with this action BUT with one exception: If you have "bash" in a terminal and suspend, the bash is distroyed and the terminal is no more usable. So, exit and close your terminals before doing suspend and DO NOT MAINTAIN applications launched trough a terminal that has been launched with bash.
This message is much too long so I finish now. Please, ask any other thing that is not clear enough or in case you continue to have troubles, but be sure that you will be more than happy in a short future.
Best regards
smuelas
-
MSC_Geek, I'm having the same issue as you are with the icewm fonts. I don't have a decent answer yet, but I have a fast workaround. Simply put the below lines into your ~/.icewm/preferences:
TitleFontName = "fixed"
MenuFontName = "fixed"
MinimizedWindowFontName = "fixed"
ActiveButtonFontName = "fixed"
NormalButtonFontName = "fixed"
QuickSwitchFontName = "fixed"
ListBoxFontName = "fixed"
StatusFontName = "fixed"
ToolTipFontName = "fixed"
ActiveTaskBarFontName = "fixed"
NormalTaskBarFontName = "fixed"
ClockFontName = "fixed"
ApmFontName = "fixed"
LabelFontName = "fixed"
Icewm will complain about not finding any of these, but when it loads up you'll get saner fonts. I dunno - maybe it's a freetype configuration problem?
-
Smuleas I FOLLOW :
For installing swap, first of all you must create a file that can work as swap. This can be done, in the root directory for example, typing
dd if=/dev/zero of=swapfile bs=1024 count=65536
For a swap file of 64Kb. that is enough. (You can also create half this size.) Then for activating the swap you must type:
swapon /swapfile
WHEN I TYPE swapon /swapfile i receive : INVALID ARGUMENT ....
WHY ?
2. Sorry for my ignorance but What type of LOCALES has to be installed ?
There are many types but i don't know what is the one i have to install
and i cannot press the OK during installation....
What is the TAB on the keyboard ?
Thanks !
-
You've missed a step - the swap file is created but it isn't formatted yet. Do a
mkswap /swapfile
before running swapon; you only have to do this once.
-
Really a forgot a lot of things: thanks pelrun.
smuelas
-
Smuelas,
Sorry for my ignorance but What type of LOCALES has to be installed ?
I also received these errors :
CANNOT SET LC_CTYPE
CANNOT SET LC_MESSAGES
CANNOT SET LC_ALL
Why ? Any helps.....
-
Gabriele, when installing locales, Debian will ask you wihch one do you want, so choose spanish, french, english or german....as you prefer. If you try to encode the UTF-8 type of the ones choosed, be aware to have already swap. Otherwise your 6000 will give up.
smuelas
-
Sorry if you all already realise this but I thought it was worth pointing out.
It is possible to mount proc and swap within the Qtopia environment, which saves you from having to type it all in once you've started debian.
I made sure to create my swapfile within debroot. Not sure how the chroot environment will manage an area of swap it can no longer see.
The mount/unmount process can be automated by editing /etc/sdcontrol. I followed the Stubear XQt/Debian route of running the post-install script, then modifying the VNC startup files to not use VNC, but I should think the same applies if you follow the smuelas method.
My sdcontrol file now looks as follows (you might want to replace the zdebian start/stop commands with a simple mount/umount of proc) :-
#!/bin/sh
#
# sdcontrol 1.0 2001/8/8 21:33:19 (Hideki Hayami)
#
# Initialize or shutdown a SD card device
#
# The first argument should be either 'insert' of 'eject'.
#
ACTION=$1
DEVICE=/dev/mmcda1
MOUNT_POINT=/mnt/card
SMB_MOUNT=/home/samba/SD_Card
INSTALL_DIR=Documents/Install_Files
#FSTYPE="-t vfat"
FATOPTS="-o noatime,quiet,umask=000,iocharset=utf8"
EXT2OPTS="-o noatime"
###### for QPE ######
get_pid()
{
echo $1
}
wait_release()
{
count=1
while true
do
umount $MOUNT_POINT
if [ $? = 0 ]; then
#echo umount >> /tmp/sd
return
fi
echo count=$count >> /tmp/sd
if [ `expr $count \>= 500` = 1 ]; then
#echo time out >> /tmp/sd
return
fi
count=`expr $count + 1`
usleep 200000
done
}
kill_task()
{
ps_line=`ps ax | grep -w 'qpe$'`
qpe_pid=`get_pid $ps_line`
#echo qpe_pid = $qpe_pid >> /tmp/sd
target_pids=`fuser -m $DEVICE | cut -d : -f2`
#echo $target_pids >> /tmp/sd
if [ "$target_pids" = "" ]; then
return
fi
is_exist_qpe=`echo $target_pids | fgrep -w $qpe_pid`
if [ "$is_exist_qpe" = "" ]; then
kill -9 $target_pids
#echo kill -9 $target_pids >> /tmp/sd
else
#echo "found qpe!!!" >> /tmp/sd
target_pids=`echo $target_pids | sed -e "s/$qpe_pid//"`
if [ "$target_pids" != "" ]; then
kill -9 $target_pids
#echo kill -9 $target_pids >> /tmp/sd
fi
wait_release
exit 0
fi
}
###### for QPE ######
case "$ACTION" in
'insert')
mount $FSTYPE $FATOPTS $DEVICE $MOUNT_POINT
MOUNT_RES=`mount | grep $DEVICE`
if [ "$MOUNT_RES" = "" ]; then
mount $FSTYPE $EXT2OPTS $DEVICE $MOUNT_POINT
swapon /mnt/card/debroot/swapfile
/etc/rc.d/init.d/zdebian start
fi
chkmntsh ${MOUNT_POINT}
if [ -d $SMB_MOUNT ] ; then
rm -rf $SMB_MOUNT
fi
ln -s $MOUNT_POINT $SMB_MOUNT
mkdir -p $MOUNT_POINT/$INSTALL_DIR
#echo mount $? >> /tmp/sd
;;
'eject')
if mount|grep "debroot/proc" >/dev/null
then
swapoff /mnt/card/debroot/swapfile
/etc/rc.d/init.d/zdebian stop
fi
fuser -s -m $DEVICE
if [ $? = 1 ]; then
umount $MOUNT_POINT
rm $SMB_MOUNT
else
exit 1
fi
;;
'compeject')
is_mount=`mount | fgrep $DEVICE`
if [ "$is_mount" = "" ]; then
exit 0
fi
kill_task # for QPE
#fuser -k -m $DEVICE > /dev/null
umount $MOUNT_POINT
if [ $? != 0 ]; then
usleep 500000
umount $MOUNT_POINT
#echo umount $? >> /tmp/sd
#else
# echo umount >> /tmp/sd
fi
rm $SMB_MOUNT
;;
'change')
$0 compeject
$0 insert
;;
'*')
exit 1
;;
esac
exit 0
-----------------------------------
I'm sure that this could be improved upon, but it works for me. If you're starting up services like sshd as well, you'll need to stop them before trying to eject the card. A quick "sdcontrol compeject" should remove any stubborn processes.
Ian
-
Some impressions :
I've installed Debian ( base package not full) on my 512 MB CF (Lexar 12x)
Then i :
UPGRADE ICEWM
INSTALL NAUTILUS
INSTALL MOZILLA-THUNDERBIRD
INSTALL MOZILLA-FIREFOX
All is fantastic, and full functional but TOO TOO SLOW !!! to be used as a standard work ambient.
I've made 64MB swap too.
When Firefox has started and i press a menu bar, the response is slow ( 1 / 2 seconds before something heppens )...
I Do not know if Debian will be quick on SL6000....and i do not know if ZAURUS CPU fits Mozilla's hardware request.....or NAUTILUS and so on...
May be having only Debian whitout qtopia running, improves performances ... i do not know.. is it possible?
Smuleas, you say apps runs well so what are your answers' times for an application like Firefox or Nautilus...
am i missing something for improving apps response ?
Thanks...
-
Hi Gab,
I have answered you a long message but "zusergroups" has not wanted to upload. So now, I'll be short.
Don't use nautilus. Nor Thunderbird but Sylpheed. Firefox is a wonder but it takes a whole minute to launch on mine. After it goes very well.
After a couple of months, try to own a microdrive. Prices are coming down very quickly. Flash memories are not good for swap.
smuelas
-
Thanks Smuleas,
I'd be grateful if you sent me the long message on my Private Zaurus Message Box.. you can try again putting the message on a txt file and then try to upload.
or paste the message in the box.
i'm very interested in your experiences using Debian on Zaurus.
Thanks again..
PS :
I WANT TO BUY A :
2.2GB IBM/MagicStor MicroDrive IS it a good CHOICE ?
-
When i start icewm no desktop appears but there is only rxvt terminal ...
Why there isn't no desktop icons ??? I see in the screenshots there is icewm desktop but on my sl6000l i can only see rxvt terminal
I FOLLOW THE INFOS ON SMULEAS SITE and on thi topic too why this ??
Thanks FOR YOUR HELP
Gabriele
I am having the same proble. I can get the x session to start and the terminal to open, but when I start icewm I get the rxvt terminal with the scrollbars but no menues or background or anything.
I think I must be missing something, but I'm not sure what. I've done an apt-get install icewm which has not fixed it. Anyone have any ideas?
-
When i start icewm no desktop appears but there is only rxvt terminal ...
Why there isn't no desktop icons ??? I see in the screenshots there is icewm desktop but on my sl6000l i can only see rxvt terminal
I FOLLOW THE INFOS ON SMULEAS SITE and on thi topic too why this ??
Thanks FOR YOUR HELP
Gabriele
I am having the same proble. I can get the x session to start and the terminal to open, but when I start icewm I get the rxvt terminal with the scrollbars but no menues or background or anything.
I think I must be missing something, but I'm not sure what. I've done an apt-get install icewm which has not fixed it. Anyone have any ideas?
As MSC_Geek told me :
>I found that to see the menu bar and such, you have to press the dropdown key >(the button between the home and email button on the keyboard cover thingie) >and then select fullscreen. Then you can see the icewm bar at the bottom of >your screen.
-
Hi all, I'm new to the Zaurus community, having bought a SL-6000 off Amazon for cheap a while back. I'm following this route and have it going pretty good so far. I have a 512 MB SD card with pocketworkstation on it, and am right now updating Debian on it (took all night to update everything... it's still going but almost done).
I've seen the icewm problem withe the fonts as well but I haven't thought about fixing it as I don't know if I'll be using it.
Right now the only real problems I have are that if I start X using startx, it switches resolutions to the old smaller res whereas just using the other Xqt shortcut (that just starts X) doesn't. So I do the latter and then run xterm in a (non-X) konsole. Also sometimes the mouse input screws up, like right now for some reason the mouse is stuck on some other button than left-click as all I get when I click on an xterm is some menu called "Main Options" that I have never seen before. (I think it's something xqt specific)
Looking forward to doing all sorts of things with it later (the remote root and swap over NFS sound nice) but right now I don't have the facilities (I'm on a business trip with just my laptop and the Z and only dial-up internet access). I've been using Debian on my other computers for years now and it is nice to have something handheld that runs it as well
-
Hi all,
I am trying to install Mozilla, Nautilus, but font is bigger in menu and I dont know how to make them smaller.
Same thing when I upgrade Debian, my IceWm taskbar becomes big.
anyone find an issue for this ?
-
hwkeye,
If you upgraded debian after the 17th of November, icewm seems to have been changed significantly. If you go to /etc/X11/icewm (after chrooting) you will find a file named preferences. Copy that file to your /home/root/.icewm/ directory and then you need to edit it. Towards the end of the file you will find a bunch of entries like TitleFontNameXft="sans-serif:size=12" If you change those so that size =1, the fonts become almost usable. I am going to try size=.5 tomorrow, and I will let you know if that gets it closer to the original sizes. This only works for icewm stuff. I am still working on where to change mozilla and things like that.
Nothing like blazing a new trail.
-
Can anyone send me his impressions about Debain on SL6000
is it usable or is it too slow ? How it works on a microdrive ?
What are the bes apps to install with best performance?
i.e : WebBrowser, Mail Client, Word processor.....
-
Ok,
First off, I tried size=.5 (that's POINT 5) in the icewm preferences file and now that looks great.
Next, I found where to modify mozilla's font sizes. goto ~/.mozilla/firefox/<hashcode>.default/chrome
and create a file called userChrome.css (or copy userChrome-example.css to userChrome.css) and then enter the following:
* {
font-size: .5pt !important;
font-family: sans-serif !important;
font-weight: normal !important;
}
That will make all your fonts look the same in mozilla, and make them something that fits on the screen. If you want you can use different fonts for different items, but I'll leave that up to you. (more info is easily available by doing a google search on userChrome.css).
If you use thunderbird just copy the file you made above to ~/.mozilla-thunderbird/<hashcode>.default/chrome/
It would probably be more elegant to link to the first file, so you only have to change on, but I did it this way. Hope it helps.
-
Hi MSC Geek,
Thanks a lot with your help.
I do vi /home/root/.icewm/preferences
uncomment and change all lines with ....FontNameXft = "........:size=10:..." to size 1 and it works.
By the same way, after changing all size to 1, I do
:1,$s/:size=1/:size=.5/g
It means search from line 1 to end string ":size=1" and replace by ":size=.5"
Maybe can replace directly but you can find some FontName with size=10 or size=12....
Thanks a lot MSC Geek.
I think for Mozilla and others programs maybe we could try where fontname for Xft are declared.
cheers.
-
Hi guys,
Just a few words to explain my last experiences with Debian and Xqt. Tbis last week I've tring all other possible combinations using the same "chroot" philosophy. I have tried Gentoo and GPE. Also, I have tried new applications from Debian.
After all this work I have to say that the only combination that works with no one problem is this one.
In fact, I don't know what is inside Xqt, as the explanations are none. But it works.
I also think that this combination is for those that search an small and (relatively) cheap handcomputer. A kind of OQO, a little bit slower but with two great advantages: one can have four SL6000 for the price of one OQO and our wonder Zaurus DOESN't RUN THE WINDOW$ from Gates. Too big advantages to forget.
Actually I am running in the 6000 such programs as Emacs, Scite, Latex, Maxima, TeXmacs (yes, TeXmacs), XMMS(just perfect), gimp, evolution...just to mention a few. I use IceWM or fluxbox, depending on the mood. I use SSH to conect to my School Server and usb in old is flavours. What can I ask after that?
If Sharp launched the same model with the last Xscale chip and 128 of ram, that would be the perfect hand-computer for the time being.
Cheers
smuelas
-
Hi all,
I am a newbie who just ordered SL-6000 from Amazon for 380. For the same price as Dell X50V, I decide I should enter the world with more programming and less Microsoft. However, I had no experice with Linux before. I did only have some programming experiernce with C and Java.
so Could someone kinda walk me through the steps of installing Debian and using its application on SL-6000 since by reading all the threads, I know you have to upload Debian to a 512mb or larger card to a SD or CF card first.. other than that ... I have no idea... (sorry for the stupid question).. ( if someone can help me out, much appreciated)
chaosteo
-
Hi chaosteo,
Count on me to help you as much as I can. Just the first thing is to advice you not to expend any money on SD or CF cards, but buy a cheap microdrive (The smallest Hitachi that you can find. 1 Gh. should be enough. If 2 Gh. more than needed);
If you need bhelp, no doubt in contact me, but don't forget that I think always in term of "handcomputer" that, perhaps, is not the same as a perfect PDA.
Regards
smuelas
-
Hi smuelas
before I received my unit on wednesday, just have some short questions
1) Can you run default operating system shipped with Zaurus while running Debian on Zaurus? if not, can you revert it back if it fails?
2) Is microdrive stable? should I get hitachi, ibm or magicstor ones? I still cannot decide to get SD or microdrive. Since 1GB SD is going around 70 on ebay and 2GB Micodrive is around 110, I still cannot decide since one advantage of sd is that I can use a CF GPS and SD at the same time if needed.
3) Does your desktop need to run Linux for your Zaurus to run with Debian? since I have all windows machines
thank you so much
chaosteo
-
You're right, if you use your SD slot for storage, then you have the CF available for other features which cannot be done with SD. That's the approach I"ve taken with my 5600, dedicate the SD card for storage (in ext2 format) and then swap the CF card for what I need at the moment... additional storage for a backup or music, a WiFi connection, an ethernet connection, or GPS, or ...
-
Hi chaosteo, I answer to your questions:
1) Yes. You can run at the same time Debian and Qtopia. No need to do anything "strange".
2) Microdrive is totally stable. Better Hitachi. Much better than SD, a lot slower. On the other side, if you use swap, as you should, your Zaurus will be writting and reading all the time from SD. They say those cards accept up to 10.000 operations of this nature. If you want to use the slot from the microdrive, just take it out. You will lose Debian but will maintain the original Qtopia.
3) I use always Linux. Can conect zaurus trough VNC or SSH. The same should be true with Windows.
Regards smuelas
-
Great work Smuelas on helping get this set up.
I am to the point of having a useable Debian installation, and am working on the icewm font thing. Maybe a change to fvwm is the fix...
I am having a bit of difficulty with the Zaurus stock ROM keyboard/handwriting app and the X implementation. If I use a USB keyboard text input works great (good work ont he xmodmap), but as I am temporarily stuck with the GoldX USB adaptor, and I don't have wireless at work so I need to leave the Z in the cradle for USB-networking. The GoldX is too big to use while the Z is in its' cradle, so I have to type using the on-screen apps, and they seem goofed up inside XQt. nothing on the right side of the keyboard works- any ideas?
Secondly, does anyone have any ideas on setting up vncserver inside the debroot? I apt-get installed vncserver, but upon running it I get a "xauth not found" error. I'd love to be able to vnc into my deb installation from a bigger monitor....
Lastly, on the subject of swap, I'm currently using a CF file for swap as I cannot get swap over NFS to work. I've setup a swapfile on my host linux box, (trying both a ramdisk and Hdd-based file), I can mount it inside Debian, but swapon gives me a "invalid argument" error. I have run mkswap on the NFS file, both from inside the Debian chroot and from the native Sharp rom, to no avail. If I use the CF file though, everything works as planned. Anyone have any ideas?
Thanks in advance, and thanks to all who are figuring out how to run this great package!!!
Cheers, JJ
-
Hi JJ,
I think that I have good news for you. The trick for using Debian and VNC is to launch VNC from Qtopia. You will see your Z-screen clearly bigger in size and the mouse/keyboard of your desktop will do all the needed work.
Just launch Startx as usual and icewm or fluxbox and if you are running Debian on Desktop you will be able to compare the same application on both computers... :-)
Shortly I will include an improved version of .xmodmaprc in the web-page.
smuelas
-
dumb question,
after chroot command how do you guys accessing all other files above /mnt/~your_card~/debroot/ folder ?
i.e. how do you read /mnt/~your_another_card/* from debian ?
-
After a chroot you cannot access the other files.
Except swap, buit I think this is cause swap is done at the kernel level. I set up a swap partition on a USB drive (/dev/sda2) and am using:
swapon /dev/usb2
at the zaurus root, THEN chrooting into the debian environment. So far no crashes, and running "free" from time to time shows that the swapfile is being used quite a bit.
Dunno if this helps anyone, but I had to try it....
I also tried the chrooted deb environment under the Opie/OZ 3.5.2 ROM, but it was incredibly slow and I seem to be having problems with mounting/unmounting cf cards in OZ. Opie hangs randomly if I ahve a CF card in either slot...argh...
Oh well, deb/xqt rocks!
Cheers all!
JJ
-
how do you read /mnt/~your_another_card/* from debian
From a Qtopia terminal I mount my CF to /mnt/card/debroot/mnt/cf
Then I can see it in Debian.
I could have been more creative, but that's what I do.
-
OK, I was flat out wrong on the swap. I've had 2 kernel panics now with messages in dmesg about running out of RAM. Win some, lose some...mount your swap inside your chroot!
Cheers, JJ
-
Ok,
Everything was working almost perfectly, and then I did the d'OH! and tanked my fstab. Can someone please post a copy of what they have in their fstab? Preferably someone who has a stock zaurus fstab, and not a new kernel /ROM setup. I'd be much obliged and my Z might be much less nuked. Thanks.
MSC_Geek
-
absolutely outstanding stuff.
What about using the OZ x-server (kdrive) instead of X/QT. wouldn't that be A LOT more powerful? (floating point better use of the bus etc...)
adf
-
Related to fstab I only add a line corresponding to the CF where I have Debian. I simply write:
/dev/hda1 /mnt/cf ext2 defaults 0 0
and never had a problem with it. When I begin Debian, I mount /proc on a corresponding /proc after Debian.
I have already tried to use the Xserver of openzaurus using the one included with GPE. The result has not been good as it seems that, althought doing Chroot, something from the original server was mixing with certain applications of Debian.
In fact, as Xqt runs so well, I haven't feel the need to look for other solutions. I try as much as I can but haven't found anything that can be compared.
Cheers
smuelas
-
Hi Smuelas
I ended up picking up a 512mb cf card cheap from a friend for like $20 dollar since he is getting new SD digicams. I have been reading your insturciton page. I have some questions. I am prepared to learn now. Sorry i ask really stupid questions.. i am a total newbie
1. Where is the "jvr" instructions .. I cannot seem to find it throughout the site
2. Which Xqt should i download ? There are several files with Xqt at the japan feeds site.
3. How do i format my CF card to use ext 2?
4. Do you use a text edito like what? to Modify --or write-- the file " .xinitrc
thank you
James
-
1. Where is the "jvr" instructions .. I cannot seem to find it throughout the site
I think you are looking for instructions by jfv, and you can find them at:
https://www.oesf.org/forums/inde...indpost&p=41019 (https://www.oesf.org/forums/index.php?showtopic=6185&view=findpost&p=41019)
2. Which Xqt should i download ? There are several files with Xqt at the japan feeds site.
According to http://w3.mecanica.upm.es/~smuelas/debianxqt.html (http://w3.mecanica.upm.es/~smuelas/debianxqt.html) you can download all the latest packages at http://xqt.sourceforge.jp/feed-testing/ (http://xqt.sourceforge.jp/feed-testing/). You can even add it to your ipkg sources list and install them that way. Install the packages according to jfv, although I doubt you need the glibc-locale files unless you want it in Japanese.
3. How do i format my CF card to use ext 2?
I haven't done this myself, but I assume you would use the mkfs.ext2 command. Make sure it's unmounted of course.
4. Do you use a text edito like what? to Modify --or write-- the file " .xinitrc
To edit text files you can use vi from the terminal.
-
3. How do i format my CF card to use ext 2?
I don't know if this is necessary, but I have been using fdisk to re-partition the card to set the partition type to linux prior to running mke2fs. Essentially:
fdisk /dev/hda
p (prints the partition table)
d 1 (get rid of the default FAT16 partition)
n p 1 enter enter (make a new primary parition, #1, filling the card)
w (write the partition table)
Now run:
mke2fs /dev/hda1
and then mount it up.
This worked for me on my CF, CF microdrive, and USB drives with no problems so far.
Next, a question:
XQt/Deb works great, I have everything running well and when at work can chroot into the debian environment prior to launching XQt, export DISPLAY=1:0 and launch vncserver to get a VNC sesison running on my desktop machine. I've installed apache/mysql and GPSDrive inside the debroot and they all work great. At this point I would like to get Kismet and GPSDrive talking to each other. I have the Ambicom CF GPS and it works great on /dev/ttyS3.
Launching the gpsd that comes with qpeGPS and running the kismet under the Sharp environment (outside debian) does not work- kismet will not see the gpsd no matter what I try. The kismet.conf has been edited to support GPSD, but no go. GPSD is working, I can telnet to it and see data, qpeGPS works, and if I launch gpsd prior to chrooting into debian, I can launch GPSDrive and it sees the qpeGPSD and works great.
At this point I've searched the boards and googled my way around for hours and it appears as though either the qpeGPSD does not talk to Kismet, the complied-for-zaurus Kismet does not have GPS support built-in, or both. I've been unable to find an alternate gpsd that works, so I have one last-ditch attempt I want to make:
Use the GPSD that comes with GPSDrive.
To do this, GPSDrive needs to be able to see the Zaurus /dev/ttyS3 that is outside the debain chroot. Symlinking from the stock environment like this:
ln -sf /dev/ttyS3 /mnt/cf/debroot/dev/ttyS3
does not work.
Does anyone know how to either link or mount the Sharp /dev filesystem (like mounting the /proc system) into the Debian chroot? I'm googling my way around, but struggling...
Cheers, JJ
-
I would think you could just create new device nodes after you chroot into Debian. Doing a man ttys on most linux machines pops up the instructions on how to create them.
mknod -m 660 /dev/ttyS0 c 4 64 # base address 0x03f8
mknod -m 660 /dev/ttyS1 c 4 65 # base address 0x02f8
mknod -m 660 /dev/ttyS2 c 4 66 # base address 0x03e8
mknod -m 660 /dev/ttyS3 c 4 67 # base address 0x02e8
chown root.tty /dev/ttyS[0-3]
I don't know if that will fix your problem, but it should at least create the nodes in your /dev directory.
[EDIT] Reading over your post again you said that it had to use the devices in the stock /dev directory. Are you sure this is true? I can't think of why they would work any different under your debian environment. Maybe I missed the boat with chroot though [/EDIT]
-
Hi JJ,
I can't help you with kismet & gps. Never used :-(
What I can do is to give you some hint on your last question. What you want to do is exactly what is done to implement Gentoo on the Zaurus. I've tested it a few days ago and they did using a special trick that I haven't discover but that is related to the creation of some directories after Chroot with names like:
.usr.rom
Then, the mounting is done trought:
/after/chroot/some-bin/mount --bind /dev to/directory/chroot/dev
I've tried it with no succes, but really, it was just a try.
If you don't find the way, I suggest you to contact someone from Gentoo site.
smuelas
-
Hello,
I made a mistake calibrating the pointer, so i cannot move the cursor
so how can i recalibrate it?
thanks Denis
-
Hi gang,
Just wanted to ask if this topic on X/Qt with Debian is specific to the 6000L ? It looks like it might be of value to more than just 6000L users. If so, would you mind I moved it to the X/Qt (https://www.oesf.org/forums/index.php?showforum=112) forum?
cheers
byz
-
I have no specific preferences on sites.
If you think it would be better placed in X/QT, I'm o.k. with your proposal.
smuelas
-
NEWS!!
I have updated the "special" web page that I did for Debian with Xqt. You will find the updated ".xmodmaprc" and some interesting informations. Cheers!
smuelas
-
cool! can you repost the link to your page?
-
Here is the site for Debian&Xqt:
http://w3.mecanica.upm.es/~smuelas/debianxqt.html (http://w3.mecanica.upm.es/~smuelas/debianxqt.html)
smuelas
-
This is pretty cool.
Random thought: I wonder if ALSA works on the X/Qt systems at all? If the SL-6000L has enough processing power (might be a bitch with audio but MIDI might be okay) and it works, it would be kind of cool to run Rosegarden (http://www.rosegardenmusic.com/) on Debian and have a very small portable studio sequencer.
-
It looks like you can request that someone compile a package for XQt in the Japanese pages of the main project site: XQt wiki (http://216.239.39.104/translate_c?&u=http://xqt.sourceforge.jp/pukiwiki/pukiwiki.php%3F%25CD%25F8%25CD%25D1%25A4%25C7%25A4%25AD%25A4%25EB%25A5%25BD%25A5%25D5%25A5%25C8%25A5%25A6%25A5%25A7%25A5%25A2)
There is also some general information on configuring and compiling, links to packages compiled by others, and so forth. The translator extension to Firefox makes this somewhat accessible, though some text remains mysterious in machine translation.
-
Works on my 5600!!
I actually went ahead and ran Klauss' scripts. I can do debian sid either in the fbvnc mode or in xqt wint NO Vncserver (no backrounded Xvnc.. no vnc anywhere). In xqt icewm does a great job of making apps useable in my 240x320 screen.
On a 5600, (and i bet a c700) due to the small 32meg ram limit you absolutely must use swap. no swap = no dpkg as far as i can tell.
Vlc in the debian chroot even plays movies via xqt.
I now have a good opie setup and debian sid on an openzaurus system. AMAZING!!!!
this changes EVERYTHING.
(it also makes app development growing pains in open zaurus much less frustrating<G>)
adf
-
Hi adf,
Just one point of your mail: are you running xqt on your 5600 with openzaurus as ROM ? or you can run xqt with Sharp-rom + Debian OR Klaus fbvnc-Debian OR opie with openzaurus???
So, what is what you have as ROM for running Debian trought Xqt?
I have done some testing with openzaurus-GPE + Debian , but the result is not very stable in my tests. It seems to have less load but also to limit quickly the capability to accetp big loads. As any one tried this possibility?
smuelas
-
What I have at the moment:
I installed openzaurus 3.5.2 with the opie rom (no need to double x and opie is more functional than gpe)
installed opera on opie (I really love opera--a killer pda app)
Installed various and sundry opie things I like..games etc. nothing pertinant.,
Installed xqt. with the big font pack- though I doubt it makes a dfference.
Shut down my z pulled the sd. slapped it in a card reader. Made the debroot dir. and untarred deb big
put sd back in z rebooted. terminated opie.
ran /mnt/card/debroot/INSTALL.d/postinst.sh
used de. in vnc for a bit.
in vnc mode changed my repositories to unstable from testing and upgraded to sid.
installed vlc scite firefox and ted
closed out of vnc went to opie. statred xqt ( I have it boot to xterm rather than rxvt) I needed to link (from memory this) /usr/lib/libncurses.so.5.4 to the same v. so.4 because that makes xqt xterm happy in open zaurus.
Almost forgot ..hehehe you have to do export PATH=/usr/local/bin:/usr/sbin: you get the idea.. type $PATH in a linux box (or a z propmt maybe?) to get what is in a standard path.
Because of the xqt colonectomy on my 5600 i had to do this in my shell in qt and save into a spot in the debroot then do a chmod +x on the file to get a path working.
Did the chroot.
perfection. I have both up and can change at the touch of a button. Or if I have the need I can go straight to Klauss very cooll vnc setup. The wauy it is now is probably the best all around-most flexible way I could go
firefox is a pig
What I plan when I have time:
either
A). untar straight to the card --no /debroot
load oz bootstrap image and x11 from the feed.
move the dirs by hand over the top of pocketws...combining the chroot env and adding oz x11 in there.
or
doing oz bootstrap x11... and use their apt and dpkg as it is now in the feed and goin 100% debian
probaly wil do a combo.. build on the stuff Klass already made for us and use the native X from oz
My current setup pretty much rocks though
I might just be oz xqt depending on video and game performance stuff in there....
adf.
-
Thanks a lot adf for your explanations. Now some questions:
From the first part of your mail I understand that installing opie with openzaurus I get the X's, as you say that it doesn't need to "double" the X's and that it is more functional than GPE.
But afterwards you say that you install Xqt. Then I am lost. Probably it is my very limited English. I apologize.
Surely Opie is more functional than GPE, but I used this last to have the X's and run Debian with NO XQT nor VNC, that seems one of the things that you want to try, compiling yourself.
I think that your experiences are extremely interesting and could serve as a big help for all of us. For example, have you found any sensible diferences in running Debian trough Klaus VNC or trough Xqt?. If afirmative, which ones?
Well, I have a lot more questions but I don't want to make this mail too extense.
Cheers
smuelas
-
Hi. I've been able to get everything running on my 6000, with one problem so far -- I can't seem to get xmodmap to work!
When I run xmodmap using the posted .xmodmaprc (after chrooting to debian and within an xterm) it says something to the effect that the first 7 lines are bad keycodes and stops running. When I run xmodmap -pk (or whatever the command is to view the current keycodes, I'm doing this from memory) it does indeed only start with keycode 8. So next I commented out the first 7 lines in the .xmodmaprc and tried again. This time xmodmap runs without comment, BUT now my entire keyboard is completely messed up, with every key mapped incorrectly so it becomes unusable.
I have tried apt-get update xmodmap and it is part of xbase-clients, so it updated that package; that didn't help.
Another thing: xmodmap app is in /usr/X11R6/bin, which isn't in my default path for some reason. That seems strange too, since lots of apps live in there.
I am wondering if I am missing some configuriation file that xmodmap needs to know the valid keycodes? I did the "small" version of the xqt install, so maybe that is part of it?
Anyway, can anyone help me figure out what is causing this problem? Apart from this (and the fact that firefox is just too slow to be usable) everything has been going great!
Thanks,
Dave
-
I remember to have had a problem similar to yours with xmodmap, but I cant't remember exactly what I was doing.
Anyway, my feeling is that the first thing that you should do is to upgrade your Debian-distribution or, at least, the package x-base.
Probably, that will solve your problem. Otherwise, tell us as I should remember when I was in this trouble.
smuelas
-
Yes, I've already done the apt-get update, and that didn't help.
Anyone else have this problem?
One question - I installed the xqt packages to internal flash, while my debroot is on my SD card...since debroot cannot see internal flash, I am wondering if this might be a problem? Is this how everyone else has it set up?
Thanks,
Dave
-
hafken,
Sorry but I insist. With "apt-get update" you don't update any packages. What you have to do is: "apt-get upgrade" or, simply, apt-get install and your package. The last version will be choosen and your x-base upgraded.
I'm almost sure that my problem was the same.
About your second question, what you have done is, I guess, what we have all done. Right way. Don't forget that, when running your Debian, you are still in Qtopia and you can run any applications charged in main memory.
smuelas
-
firs the opie xqt thing. XQT draws X windows through opie..uses the opi graphics stuff to display X if I understand correctly.
I did it this way for 2 reasons
1 separate pda type environmemt for quick pda type applications (right now I am trying to change to sharprom/watapon --all qt on the z all pocketworkstation on the sd-) and an environment for sysop and productivity--debian.
As to performance issues.... I don't know yet about speed. VLC on debian just thought my Zaurus was too slow. I'm going to ave to do a new debian meda player (anyone know what is out there for debian arm? mplayer would be best ..IU might end up compiling.) I think xqrt is smoother, but I have no certainty
the "feel" of doing this on xqt is way different. Icewm limts the size of the dektop to the size of thewindow pretty nicely, so there is a "feel" of being at a tiny desktop rather than slithering around in a porthole the way the vnc thing does. I like to have both available, as there are things each approach is better at.
at the moment I Im doing a sarge upgrade on the "new" enironment..then off to reset xqt to do chroot to debian at one point I got a "couldn't open display 0:0" any ideas?
and ..ummm... where the #$%^#@@@!!!! is the colon key on xqt??
I have t make scripts out of stuff with colons (llike export DISPLAY=0:0) and call the scripts in the first terminal..a really goofy thing to have to work around. modmap help anyone??
-
OH by double the x's I think I was the one confused. I meant no point running 2 x environments )gpe pocketws) when one is going to be ignored (gpe) better to have 2 environments (opie pocketws) or 1 integrated environment (oz X running debian).. you used kdirve to acces pocketworkstation?
anything good about doing it that way/ how was the speed?
if you want to run a palmtop environment and pocket workstsation
-
LMAO.. more posts for one answer
I do eventually want to do an integrated X environment. but keep in mind, I am right now on a 240x320
screen and just starting to make progress because of your post. My 5600 has limited memory as well (32megs ram) and on this particular box having a standalone ope/qt environment with a browswer to fall back on is helpful.
Here is an example...
Dillo doen't do ssl
Firefox deos
opera does.
firefox sofar has been painfully slow on my 5600. I just went to a kernel without the cachefix and increased the swap and moved xqt off the sd. hopefuly this will help
s far I know (since I need ssl for work) I sometimes have to use opera...
If it is the small memory bogging firefox so badly then goin to straight x on this box won't really help
I was planning to cjheck that this christmas.. but got bogged down in the 300 dollar 6000 scandal
I will soon though if the wataponrom xqt pans out on the 5600 I might not try for a straightx z till Iget one with a vga screen.
adf
-
argh
someday I will get an ide into asingle post
a meant that I might not try to go with astraight debain zaurus till I have vga and 64 megs ram.The ram actually counts more than the vga
-
Hi Smuelas,
I followed the steps to install xqt and then I unpack debian from pokcetworkstation using winzip in windows and copy all the unpacked files into /debroot folder in flash card, then ithere are some problems for next steps
1) What if I don't have a file called " .xinitrc " in /home/zaurus? I followed the steps...
2) how do you create a link between two diretories?
thank you
-
I think maybe winzip is your problem?
Does your z have "tar" ?
Find and install tar (an archive system)
put the tarball on your card
cd to "card"(wherever that is--my sd card is at mnt/card) /debroot --cd /mnt/card/debroot
untar the tarball there
tar -zxpvf "the name of the tarball--zaurus debian big or something"
when its done do: /debroot/INSATLL.d/postinst.sh this will make scripts. Unless you wanted a pristine difficult to manage do it yourself setup?
the .xinitrc should have been installed with xqt. you might want to redo that using force reinstall and force overwrite..
Hope that helped?
adf
-
In fact, you don't have the file .xinitrc in your home. You must create and edit it.
To create a link in Linux you must write:
ln -s (name of original file/directory with the PATH) (name of linked file/directory with the complete PATH)
smuelas
-
Sorry. chaosteo, I made a mistake.
Yes, you should have the file .xinitrc in your home directory once Xqt is installed. Perhaps the problem is that, as you are new in Linux, you only type "ls" to see what you have in a directory. This will not show you the hidden files/directorys. To see everything you must type: " ls -a "
smuelas
-
re: xmodmap problems
ok, I did the apt-get upgrade, but still didn't fix my problem.
I even reinstalled the whole xqt, but that didn't help either.
Any more ideas? Is there some way for me to further debug what exactly xmodmap is doing?
thanks,
Dave
-
I'm sorry, Dave about your problems with xmodmap.
What you can do is what I did to edit .xmodmaprc. You must run a program that is launched typing " xev ".
Once launched you will see that everytime you type a key there is a message where you can find the number that the computer assigns to that key. This and the actual file .xmodmaprc. should serve you to edit the right file for you.
Cheers,
smuelas
-
Hello Smuelas,
I used Vim to edit .xintrc wtih
rxvt //&
//blackbox
i saved it
and then i tried to link xqt and x
but somehow there is no directory called X under my QPalmTop/bin
???
thank you again
-
Hi, chaosteo
What you should have is a file with the name " Xqt " in directory /home/QtPalmtop/bin
It is an executable file (in fact, the x-server). Now you must create a linked file to this one with the simple name " X ". So, you must type only once being root:
ln -s /home/QtPalmtop/bin/Xqt /home/QtPalmtop/bin/X
and that's all.
smuelas
-
sorry guys another question..sorry being so dumb
I linked the two directory and then
I typed in startx and it jump to the black meshed screen and quit itself .. here is what i get from terminal
statx
mcookie:not found
xauth:creating new authority file/ home/zaurus/.Xauthority
xauth:creating new authority file/ home/zaurus/.Xauthority
Using authority file /home/zaurus/.Xauthority
xauth; (stdn):1 bad "add" cpmmand line
xauth:creating new authority file/ home/zaurus/.Xauthority
xauth:creating new authority file/ home/zaurus/.Xauthority
Using authority file /home/zaurus/.Xauthority
xauth; (stdn):1 bad "add" cpmmand line
qtApInit
SISharedManager can't get proc entry
Display size:480*640
couldn;t open translation file / home/QtPalmtop/i18n/en/libs1.qmid <
qtRandRrtotate(0)
_XSERVtransmkdir: Owner of /tmp/.X11-unix should be set to root
create shawdo image 480*640
qtRandRnit()
qtInitvisualsShadow- Masks 0000f900 000007e0 0000001f BPRGB 6 d 16 bpp 16
qtRandRInit()
qtCreatDEfColormap- Deferring to fbCreateDefColormap()
qtFinishScreenInitFb- returning
qtScreenInit-returning
Could not init root path element /opt/QtPalmtop.lib.X11.fonts/75dpi., removing from list
Could not init root path element /opt/QtPalmtop.lib.X11.fonts/100dpi., removing from list
cat: /home/zaurus/.Xauthority: No such file or directory
waiting for X server to shut down
xauth: create new authority file /home/zaurus/.Xauthority
-
hi chaos...
Sorry but this time I cannot help you. It seems that you have a problem with the installation of Xqt. Are you sure that you have employed all the packages needed. Check other sites in this forum, specially those related with xqt installation.
smuelas
-
2 things
Chaos.. you are using a standard sharprom install? any way you can secureshell into your z and startx from there? the output might help.. I think a reinstall with all packages listed should do it ..smuealas seems to know what he is talking about.
Has anyone tried -with pocketworkstaion- dropping into tty1 chrooting to debroot and installing xwindows? "apt-get install x-window-system" ..then configuring the debian x-server there?
It would rock if we had debian's x, Klauss' vnc, and xqt as good working options
-adf
-
I used Vim to edit .xintrc wtih
rxvt //&
//blackbox
// is a valid comment marker for C++, but not for a shell script. You want to use # instead. It may not be the cause of your problem, but fixing it won't hurt.
-
I have been trying to setup Debian in my 6000 and have some problems. I used tar instead gnu-tar in my linux box and untar to cf card.
1. There is no icewm in my /usr/bin. I tried both zaurus-debian-base-v0.17.tgz and zaurus-debian-big-v0.17.tgz. After untar, there is no icewm.
2. If I comment blackbox, then I can not start X. After I saw the big ugly X icon, it quit without error message.
3. After I export DISPLAY=0:0, all keys become capital and I can not type/write char in lower case.
Can anyone help?
-
Sorry for my oversight. I found icewm in zaurus-debian-big, but not in zaurus-debian-base.
-
One more thing, I followed instruction in other posts in this forum, now I got "IceWM: Anohter window manager already running, exiting..."
What is the best way to terminate X? When I used "exit", it is still there
-
I've certatinly not seen that. On my setup (a 5600 though) I use a 2 line "script" that does chroot and export DILSPLAY=0:0 ( no big deal there, but it helps me get past some xqt keyboard weirdness) Then in rxvt I do su then icewm and minimize rxvt. when icewm comes up I do whatever I intended. when I log out xqt quits and I am back in qtopia.
Do you have pocketworkstation going in the background ? ( I don't know if it makes a diff even- It shouldn't) do ps -A and see if icewn or Xvncserver are running and kill 'em before you open XQT. otherwise maybe post how you set things up?
-
Hi all,
smuelas web site seems to be down. I need to get the .xmodmaprc file he posted there
to get the keyboard working right.
Could somebody be kind enough to post it here or point me to where i could find it.
Thanks
-
It has been already fixed.
smuelas
-
Hi Im very new to linux but realy try to get this running but,
can someone tell me what to do to get this step done:
Modify --or write-- the file " .xinitrc " in /home/zaurus and let it finishing with " rxvt ". Comment " blackbox "
I dont got the file .xinitrc in /home/zaurus so I quess i have to write it?
X/Qt works fine I try to set this up on a C3k with standard sharp rom converted to english
thx
-
X/QT Versions and modmap.
Something I found out by accident is that there are 2 (at least) X/QT feeds:
http://xqt.sourceforge.jp/feed (http://xqt.sourceforge.jp/feed) This one is the one linked to from the X/QT downloads page.
http://xqt.sourceforge.jp/feed-testing (http://xqt.sourceforge.jp/feed-testing) This is the one linked to by smuelas.
The latter one actually works really well for me but the former gave me the same xmodmap problems reported by others and some other quirkyness.
In short, make sure you are getting the version you intend to get.
-
X/QT Versions and modmap.
Something I found out by accident is that there are 2 (at least) X/QT feeds:
http://xqt.sourceforge.jp/feed (http://xqt.sourceforge.jp/feed) This one is the one linked to from the X/QT downloads page.
http://xqt.sourceforge.jp/feed-testing (http://xqt.sourceforge.jp/feed-testing) This is the one linked to by smuelas.
The latter one actually works really well for me but the former gave me the same xmodmap problems reported by others and some other quirkyness.
In short, make sure you are getting the version you intend to get.
Yes! Thank you nmos, that did the trick! Now xmodmap accepts the .xmodmaprc with no errors!
It's so nice to be able to type ":" :-)
-dave
-
I finally start X without blackbox. Now I followed the instructions step by step until /usr/bin/icewm &
I got:
IceWM: Warning: Locale not supported by C library.
Falling back to 'C' locale'.
IceWM: using /home/root/.icewm for private configuration files
IceWM: Another window manager already running, exiting ...
I used ps -A and did not find any suspecious server except there were a couple of qserver.
What do I need to do?
-
Just restart the process. Probably something remained from last try. Dont forget that I have written in the web page, to comment a line, a double slash like " // ", but this is wrong. You must type " # " instead. My mind was with Java at the moment. Sorry
smuelas
-
I was so fructrated that I reflesh my 6000 to its original sharp rom. Then I install the terminal I downloaded from Sharp website because I didn't want to dig out the installation CD. Then I installed packages that I downloaded from http://xqt.sourceforge.jp/feed-testing (http://xqt.sourceforge.jp/feed-testing) and they were installed in sequence
xqt-fonts-misc 4.3.0-3
xqt-server 0.0.9
glibc-locale-eucjp 2.2.5-2
xbase-etc 4.3.0-2
xlibs 4.3.0-2
xqt-startup-scripts 0.0.2
xbase-client 4.3.0-2
blackbox 0.65.0.1
rxvt
After that I comment out blackbox and my .xinitrc looks like:
#!/bin/sh
export LANG=ja_JP.eucJP
export DISPLAY=:0.0
rxvt &
#blackbox
Then I create a link between /home/QtPalmtop/bin/X and /home/QtPalmtop/bin/Xqt by
ln -s /home/QtPalmtop/bin/Xqt /home/QtPalmtop/bin/X
now I saw X -> Xqt under /home/QtPalmtop/bin
Then when I click Start X, it only went to the big ugly X cursor back to Qt!!! Come on, it is way too much frustration for me on Christmas. I don't think I am a linux newbie, but this is too much for me!! Please help me.
-
Quick answer: Delete the & after rxvt.
X quits when the .xinitrc script finishes, so at least one line in it must pause the execution. Any commands with & get put in the background and allow the script to continue independently, so you need one line without it.
Normally the blocking line is for the windowmanager (e.g. blackbox) - that way wm's don't need some special way of telling X to quit; all they have to do is quit themselves. Since we want to start the wm manually you need rxvt to block the script instead. So rxvt becomes the line without the & instead of blackbox.
-
Hi, pelrun,
Thanks for your explanations a lot clearer than mine.
I've seen that you own a C860 and I would like to know if you have tried the "X" distribution from Cacko. If so, have you found big diferences in speed between those and Debian/xqt ?
I'm always a little bit disapointed seeing that with Debian/xqt there seems to be quite a big work on the background, I guess due to the Xserver. In fact, when I used openzaurus+GDM and launched Debian with the same system, there was no background work at all, but this did not improve the speed, nor the capacity when in Debian. On the contrary, big applications freezed the system.
What are your feelings about ?
My only conclusion is that X/QT is extremely well done.
It is a pity not to have one of our zauruses with the newest Xscale and, at least 128 Mb ram. In my opinion this will not increment the price enormously and we will have a real, complete hand-computer. No need to expend $2000 on an Oqo.
Thanks for your time
smuelas
-
Thanks! That solve the problem. I can start icewm now but there are some locale problems that I need to tackle.
-
I haven't tried pdaXrom yet - flashing to Cacko 1.21b was a big enough step that I didn't want to repeat for a while. When 1.22 comes out I'll be trying out all the different roms before flashing to it, but that hasn't arrived yet. So I can't really compare the performance to anything. X/Qt has been well and truly good enough to make moving to pdaXrom not so important
I definitely wouldn't mind getting more ram, though I think half my problem is the version of GPSDrive I've been using has a memory leak
-
I have tried different combinations but still have no luck. I reboot 6000 on every try. Here is what I did:
(after start X)
su
/bin/mount -t -proc /proc /mnt/cf/debroot/proc
/sbin/chroot /mnt/cf/debroot
(I already have a 64K swap file on cf card)
/sbin/swapon swapfile
/etc/init.d/ssh start
ln -s /root /home/root (I usually got an error because /root is already exist)
export DISPLAY=0:0 (I also tried DISPLAY=127.0.0.1:0.0)
/usr/bin/icewm &
And I got:
IceWM: Warning: Locale not supported by C library. Falling back to 'C' locale'.
IceWM: using /home/root/.icewm for private configuration files
However, I did not see the actual message because the terminal is too small and the text does not wrap up.
I still see an icon "IceWM" on the left buttom corner if I used drop down menu and selected fullscreen to hide sharp tool bar. It does not seem to function correctly when I clicked it.
I also did apt-get install locales when I was in debian terminal, it worked fine but did not solve my problem.
-
Don't waste your time on the "Locales" warnings. I'm pretty sure all (or at least most) of us are seeing those and they don't seem to be hurting anything.
FWIW when I ran the postinstall script from the debian package it placed file called Vncserver in /usr/local/bin as well as file called zdebian in /etc/rc.d/init.d and a config file in /etc. Basically when my system boots it runs the zdebian script based options in the config file in /etc. That handles mounting the proc file system etc. Then when I want to actually use that enviornment I:
Click <startx> and wait for the rxvt to start up.
Bring up a terminal window (from the applications tab, not within X) and type su to become root.
Type Vncserver to bring up icewm.
Click on the running Xwindows Icon and it's all working.
I had to adjust the config file in etc and also the Vncserver script to make this work.
-
You probably only need to adjust your LANG variable to fix your locale problems. The default is set to Japanese when you install the X/Qt startup scripts.
Open up /home/zaurus/.xinitrc and change the first line to
export LANG=en_US
I noticed if I left it to Japanese, sylpheed wouldn't spell check anymore (in English anyways).
Hope that fixes it for you. If not maybe installing the locales package, and selecting the correct one with the configuration wizard.
-
when I ran the postinstall script from the debian package
I am confused!! Which postinstall script? I follow the instructions on this page
Xqt-Debian (http://w3.mecanica.upm.es/~smuelas/debianxqt.html)
And it says:
Download the package http://pocketworkstation.org/files/zaurus-...n-big-v0.17.tgz (http://pocketworkstation.org/files/zaurus-debian-big-v0.17.tgz) after reading the page from Klaus and doing things as he explains UNTIL the instruction
"./debroot/INSTALL.d/postinst.sh".
DON'T DO THAT
So I only unzip the package and put it in my CF card. I did not run any postinstall script. Do I miss anything? Is there any post give detail instruction of installing XQt and Debian on the same page? I found myself referencing several different posts and website for this. Thanks.
-
If your going to use X/Qt with Debian, you don't want to run the postinstall script. You didn't miss anything.
I've tried to compile everything I know from reading a lot these posts into one spot. If I missed something, please take advantage of the wiki and add onto it.
http://wiki.debian.net/index.cgi?PocketWorkstation-XQT (http://wiki.debian.net/index.cgi?PocketWorkstation-XQT)
-
Great work hatchetman!
The stuff you put together is REALLY good, and as far i as know
cover pretty much everything i have seen around.
Thanks for the good work.
-
Hi smuelas,
The link to your xmodmaprc file is down again. Could you or anybody
please just post it in the forum?
Thanks
-
If your going to use X/Qt with Debian, you don't want to run the postinstall script. You didn't miss anything.
Well, it's mostly a matter of taste. The postinst.sh script takes care of some things that you'll have to handle manually or make your own scripts for otherwise (mounting the proc file system in the chroot enviornment etc). It also gives you a handy script in /usr/local/bin that handles setting DISPLAY and firing up your window manager etc. Of course it's not a big deal to do this yourself.
-
You can find the xmodmap file on google's cache still
http://64.233.161.104/search?q=cache:7T1Kd...firefox&strip=1 (http://64.233.161.104/search?q=cache:7T1Kdoa1IigJ:w3.mecanica.upm.es/~smuelas/.xmodmaprc+&hl=en&lr=&client=firefox&strip=1)
I also threw up a copy up on my geocities account
http://www.geocities.com/hatchetman1618/60...prc-smuelas.txt (http://www.geocities.com/hatchetman1618/6000/xmodmaprc-smuelas.txt)
-
Thanks a lot, hatchetman, for the great job that you are doing with all this stuff.
With this wonderful "group-spirit" it is easy to do anything... :-)
smuelas
-
I used hatchetman's instructions to install xqt and debian again on my 6000L. The installation worked find and it generated an icon: pocket workstation. When I clicked it, I got this screen:
[img]http://aect.ed.psu.edu/kqy1/before.jpg\" border=\"0\" class=\"linked-image\" /]
But when I clicked on icewm, I got
[img]http://aect.ed.psu.edu/kqy1/after.jpg\" border=\"0\" class=\"linked-image\" /]
it's very similar to what I got when I followed smuelas' instructions. Don't know how to fix this. Can anyone give a clue?
-
it is the font setting
search /etc/X11/icewm
and /root/.icewm
to correct font setting
some prevoius post talked about it
.5pt font works fine on mine except
the menu font of firefox.
-
Reading the old posts I made note of where some of the font posts where made.
https://www.oesf.org/forums/inde...indpost&p=51738 (https://www.oesf.org/forums/index.php?showtopic=8125&view=findpost&p=51738)
https://www.oesf.org/forums/inde...indpost&p=53006 (https://www.oesf.org/forums/index.php?showtopic=8125&view=findpost&p=53006)
https://www.oesf.org/forums/inde...indpost&p=53098 (https://www.oesf.org/forums/index.php?showtopic=8125&view=findpost&p=53098)
https://www.oesf.org/forums/inde...indpost&p=53006 (https://www.oesf.org/forums/index.php?showtopic=8125&view=findpost&p=53006)
This might make life easier when trying to shuffle through this huge thread.
I have been playing around a lot with creating a package that does a lot of the work for you setting up. It installs the .xinitrc to the systemwide file and is modified for English. Then also there is the script that creates the swap and startup script. If it's causing problems maybe I'll remove it and put back the explanation of how to do it manually. If you didn't use the package though I couldn't guess what's causing the problems. If you DID though, let me know if any errors popped up and I'll try to fix it.
I don't like to think of it as my website, it's a community page I added onto. So someone knows a fix for this font problem, please add on it!
-
To sharppda:
I read previous post about the font size. But there is no /homt/root/.icewm in my debroot. Under debroot/etc/X11/icewm, there are several files but I can't find any line with "FontNameXft =" (I used /FontNameXft in vi). So there may be something wrong.
To hatchetman,
first off, thanks for the great effort of doing those instructions. They are GREAT! As I was following the new installation steps, a coupld of feedbacks on them:
1. When I installed xqt for test feed, it also installed freetype 2.1.5-1
2. It installed xqt-server 1.9.0 which will not work. So I had to uninstall it and installed 0.0.10 manually.
3. You suggested to use .debroot instead debroot. However, in some places, there are still debroot, not .debroot.
Well, I am still wrestling with it in this new year weekend. My current status is it does not fired up at all, worse than last time.
-
Sorry guys! I feel I am totally stupid. I still can't start debian. Here is another screen shot
[img]http://aect.ed.psu.edu/kqy1/anothertry.jpg\" border=\"0\" class=\"linked-image\" /]
It started for a couple of seconds and then the sandglass icon was gone.
This time I manually install all required packages using "Add/Remove software"
# xqt-server 0.0.10
# xqt-fonts-misc 4.3.0-3
# xbase-client 4.3.0-3
# xbase-etc 4.3.0-3
# xlibs 4.3.0-3
And then
# xqt-pocketworkstation-scripts 0.0.3-3
I also followed the steps and did the modifications.
-
It sounds like chroot environment isn't being started. Do you have any kind of passwords set on your root user? Do you have a startd file in your debroot directory?
-
I flashed my 6000, installed vnc and terminal. Then I installed all the packages (xqt-server, xqt-fonts-misc, xbase-client, xbase-etc, xlibs)
without any problem. I also created/did the required modification. I encountered a problem about missing libfreetype.so.6 when I type startx in a terminal. I could not execute from the debian icon.
After I installed freetype, this error is gone. But I got a new error:
/opt/QtPalmtop/bin/Xqt: error while loading shared libraries: libz.so.1: cannot load shared object file: No such file or directory.
I noticed that the version of xbase-client, xbase-etc, and xlibs are now 4.3.0-3, newer than what I was using. Is this causing the problem?
-
Ok, I have gone ahead and set this up, but I am still having one nagging issue, and frankly it is kind of embarrassing, since I have used unix for years (but no longer X, for the last 8 or more).
On my SL-6000L, the xmodmap command in the debroot/startd script proscribed by the debian wiki page on this (http://wiki.debian.net/index.cgi?PocketWorkstation-XQT) does not have any effect. It is indeed being run, but it seems I must manually run xmodmap from an xterm, after which it seems to stick.
Can anyone imagine why this is happening ? Like I said, xmodmap in startd does seem that it is being run ...
-
Just adding my experiences. I'm using an SL-C3000 and so far so good. I noted wildly huge and unusable font problems with the 0.0.10 server, but curiously enough version 1.9.0 works great.
-
I installed zlib (thanks to hatchetman) and solve the missing libz.so.1 problem. But I still have some problems to fire it up. Here is the error message:
mcookie: not found
xauth: creating new authority file /home/zaurus/.Xauthority
xauth: creating new authority file /home/zaurus/.Xauthority
Using authority file /home/zaurus/.Xauthority
xauth: (stdin):1: bad "add" command line
xauth: creating new authority file /home/zaurus/.Xauthority
xauth: creating new authority file /home/zaurus/.Xauthority
Using authority file /home/zaurus/.Xauthority
xauth: (stdin):1: bad "add" command line
qtApInit
SlSharedManager: can't get proc entry
Display size = 480x640
could not open translation file /home/QtPalmtop//i18n/en/libsl.qmid
qtRandRRotate(0)
_XSERVTransmkdir: Owner of /tmp/.X11-unix should be set to root
create shadow image:480x640
qtRandRInit ()
qtInitVisualsShadow - Masks 0000f800 000007e0 0000001f BPRGB 6 d 16 bpp 16
qtRandRInit ()
qtCreateDefColormap - Deferring to fbCreateDefColormap ()
qtFinishScreenInitFB - returning
qtScreenInit - returning
Could not init font path element /opt/QtPalmtop/lib/X11/fonts/75dpi/, removing
from list!
Could not init font path element /opt/QtPalmtop/lib/X11/fonts/100dpi/. removing from list!
cat: /home/zaurus/xXauthority: No such file or directory
chroot: cannot execute /startd: No such file or directory
waiting for X server to shut down
xauth: creating new authority file /home/zaurus/.Xauthority
I got same error for two different xqt version: 4.3.0-3 and 4.3.0-2 except I need to install freetype and zlib for 4.3.0-3.
I can't tell what's wrong. There is a line says: can't get proc entry. I do have /proc mounted on /mydebroot/proc
-
Well I followed hatchetman's instructions - which were almost perfect.
My current problem is that the .icewm preferences file looks like it has changed drastically from the one quoted in previous posts. The font references are different. They read like:
TitleFontName="-*-sans-bold-r-*-*-*-120-*-*-*-*-*-*"
for TitleFontName,MenuFontName,StatusFontName,FxFontName,QuickSiwtchFontName ... and so on
I have the icewm menu bar at the the bottom and can run most programs. But when I launch an xterm, or any text based program like pstree, it closes about 2 or seconds later on it's own. All the games run, but not all the other packages do? xpdf runs, but xedit among others doesn't.
One other thing is that I unarchived all of the debian package as user zaurus - this doesn't seem to have caused any issues, as it gets launched as su anyway. However, the un-tar exited with some errors specifically about being unable to create nodes. Is this normal?
thanx - byz
-
I have the same problem
My current problem is that the .icewm preferences file looks like it has changed drastically from the one quoted in previous posts. The font references are different. They read like:
TitleFontName="-*-sans-bold-r-*-*-*-120-*-*-*-*-*-*"
my Xterm does not close
edit: Dez you are right the 1.9.0 Xqt-Server solved the problem on my 3K to
-
Strange problems that you are suffering!
From the first moment, I saw that Rxvt worked much better than Xterm, so I forgot about that last and use only the first. No one problem in one month using it...
I have not changed anything from the advices given in the web-page and am using it at full satisfaction .
Certainly, this is true with the SL-6000. With other models I cannot say anything, but I am a little bit surprised with so many difficulties. Unfortunately, I cannot help :-(
smuelas
-
smuelas:
I'd like to try your procedure, but the webpage
http://w3.mecanica.upm.es/~smuelas/debianxqt.html (http://w3.mecanica.upm.es/~smuelas/debianxqt.html)
has been unavailable for several days now.
I've tried the procedure on the wiki at http://wiki.debian.net/index.cgi?PocketWorkstation-XQT (http://wiki.debian.net/index.cgi?PocketWorkstation-XQT) twice - and while I can get Pocketworkstation launching, and run a few X apps, I cannot get a terminal open, regardless of what I have tried with fonts in the preferences file. (I'm not sure it is a font problem?)
I really want to try X/Qt with Debian, but I'm not an expert with Debian or X/Qt. I can follow instructions, but have little understanding of what actually happens when Pocketworkstation launches.
Help! meow
-
Hi byzantium,
The web page that you refer to is giving problems lately. Anyway, from netx monday on it should be o.k. with no more problems. I hope so....
Regarding Debian, with Vnc (Pocketworkstation) or with X/QT, the differences are small. In my humble opinion, the only advantage of using X/QT is that you maintain at the same time Debian and the original Qtopia, with just a click to change from one to the other. This is the only advantage but it is a big advantage, as you maintain all the facilities of the original software: launching LAN, suspend mode, light control, sound control and so on. There is only one drawback that I'm sure will be fixed by the people of X/QT, and this is the rotation of the screen on the 6000.
Actually, you have a fairly complete Debian-Linux with all the GNU compilers, Java, several math packages, LaTeX, great editors: Vim, Emacs, Gedit, Scite..., XMMS, Gimp and the standard best web facilities.
All that is a lot and I've never expected to have such a jewel when I bought the 6000. It must be said, anyway, that, perhaps, this is a little bit too much for the small micro of the PDA and the short RAM memory. So one must understand that it can be done almost everything but at a slow pace.
I continue in another message as, otherwise, this will be too long
smuelas
-
One of the shortcomings of Debian is that most of its incredibles advantages are of no use for most people as they don't care about compilers, editors or facilities like Latex. On the other hand they are interested specially in the web capabilities: browsers and mail. Debian has the best of the best, Firefox and Thunderbird, but they are too slow for many people. It is necessary to wait for one whole minute to see appear those two after clicking. Afterwards they work quite well, but one minute for young people is too much. Personally, I prefer to wait this time and then do what I want in the usual way that having to close and open Opera several times in Qtopia to download something from the net. But I understand that this is a personal choice.
The best arrangement is to have an standard computer, an old one is enough, attached trough ethernet to the web and with the most demanding applications in it. This is what I have. I connect to it trought VNC from the 6000 using wi-fi, and I run everything, if I want, at a quick speed. Also, the standard computer can have a hard disc as big as needed and it is possible to download anything: films, music, books or software.
This is just an alternative for "no patient people%2
-
And now lets go to the nuts and bolts.
The first thing is to have Xqt working. For doing that you must download the needed packages and install them. I am looking (in Qtopia at the same time: the big advantage that I have mentioned) exactly what packages I have installed.
I see: - xbase-clients 4.3.0-3
- xbase-etc 4.3.0-3
- xlibs 4.3.0-3
- xqt-fonts-misc 4.3.0-3
- xqt-server 1.9.0
- xqt-startup-scripts 0.0.3
- zlib-devel 1.2.1
- rxvt 2.6.4-1
- glibc-locale-ja-eucjp 2.2.2-1
and, I think, this is all. Apart from that I have some more packages with freetype fonts and "vera" fonts, but those are for Qtopia.
After installing those packages I needed to modify a little bit the file " .xinitrc " that was in /home/zaurus as I explain in the web-page (basically, to comment the launching of blackbox).
Also I created a link between the executable " Xqt " and with the name of only " X ", in the same directory: ln -s Xqt X
Once this done, cliking the " startx " icon that should appear in the App screen, you must get the screen with the standard X's and a Rxvt console that cannot be moved or changed as you don't have window manager.
smuelas
-
Once Xqt is running o,k,, you can try Debian. The idea about using Debian is based on several aspects, the first one beeing that it is the only Linux distribution (to my knowledge) that has been compiled for ARM chips. It exist also another distribution, that, theoretically, should run with arm's computers, and it runs (I have tested it) but the point about this distribution is that the packages are not compiled but should be compiled in each computer. Quite sofisticated and without real advantages for normal users.So, lets forget it.
Now, packages from Debian or from any other distribution if compiled for Arm, will run in the zauruses with no problems if they don't use any graphical output. The only care to be taken being to place the needed libraries in due place. If they need graphics, an Xserver should be implemented.
Those requirements can be met trought different aproaches. One is to furnish the Xserver with a Xvnc server, and this is the way used by pocketworkstation. Another is to use the Xserver from Xqt.
I need more space.smuelas
-
I'm sorry but my last post has been rejected. So this one very short.
Once in the Xqt terminal, the instruction " chroot " should be launched. This will make all the "new" distribution well "ordered".
Doing it inside XQT we assure that all the rest of the original Qtopia distribution is available and the whole Debian would be just "another" qtopia application trough Xqt.
Someday I will put a very, very long explanation in the web-page, with all kind of details, but, before, I must be sure the the server doesn't go down anymore.
Cheers
smuelas
-
Thanks for your willingness to help Smuelas, it's very appreciated. I'll try this tonight when I get a chance.
-
I finally installed xqt and debian successfully. Simply installing xqt-server 1.9.0 solved my pain.
-
I've got mine working too now.
Both using smuelas instructions on this topic, and the wiki instructions (which by the way - look corrupted?)
Using the wiki instructions, I've noticed a few issues:
xmodmap .xmodmaprc in startd doesn't work - moving it to .profile in /home/root fixed that problem
Also, even though $LANG is set, there are errors about locale
"can't set the locale; please make sure $LC_* and $LANG are correct"
I don't know if this is normal, but many applications in the Programs menu don't work. Like lynx, etc.
I've done an apt-get update, but I'm not sure which apt-get upgrade <package>'s I should be upgrading?
Having multiple terminals, workspaces, and man pages rocks Now I feel like my Zaurus is living up to its potential.
-
If setting the LANG variable in the .xinitrc isn't enough, you could try to install or reconfigure the locales package.
- dpkg-reconfigure locales
or - apt-get install locales
To update I use dselect. Set the apt sources, select the update menu option, then select the install option.
-
byzantium,
The problems that you are having with applications on the taskbar that don't exist are easy to solve. They are related with the way that Icewm works. As I know quite well the process and althougt I will need more than one mail to explain it, I think it is worthwhile to shorten your time to get on it.
But first my own experience: the first time I was in Debian I did:
apt-get update
apt-get upgrade
and I went to do some other duties. (It took about one hour to finish everything.)
Then I installed the packages wanted with apt-get install and finally I cleaned (deleted) the *.deb files in /var/cache/apt/archives (around 200 Mb.)
Afterwards I took care of the window manager. And this is what I should explain more in detail in the next mail, as it seems that I am condemned to write several mails each time. I speak (write) too much. :-)
smuelas
-
To control everything in Icewm you should have a directory in your home with the name " .icewm ". Inside it you must have some files and directories. If you don't, then the defaults are choosen. Those are in (I think) /usr/share/icewm
Copy the files "toolbar", "preferences" and "menu" from the default place to your home/.icewm. Also, inside it, create two subdirectories with name: " icons " and " themes ". Then edit the original file "toolbar" in your .icewm. You will see that is a correspondence between what you have in the file and what you see on the taskbar. You can put some icons to launch your preferred applications. This is done using three words in each line of "toolbar". The first one is the name that you want for your app. and it should appear as a (yellow) tooltip when the pointer is over the icon. The second word is the name of the icon (next & last mail of this serie). The third word (in fact you can use more than one word) is what you write in a console to launch the app. So you can have, for example: " emacs -fn 9x15 ".
The icons are quite special in Icewm, so I will detail their way in the next mail.
The files "menu" and "preferences" are really self-explanatory, althought "preferences" is quite long and cumbersome to edit. You can install " icepref " that is simpler and nicer to use than doing it by hand.
-
The icons in Icewm are a little bit "special". They should be pixmaps, so *.xpm but not *.png or *.gif or any other. If you have got the last version of Icewm (after apt-get upgrade) than you can use 32x32 pixmaps. Usually, the icons that you find for your apps. are in *.png format, so you have to translate them to pixmaps. That can be done in a simple way with Gimp. Just opening the *.png file and saving it with the *.xpm extension is enough. Anyway, Icewm likes the name of the icons to be in the form: name_16x16.xpm (or 32x32), being "name" what you have written in "toolbar". Those icons should be saved in your directory .icewm/icons .
If the original *.png icon is bigger than 32x32 you use Gimp to scale it to this maximum size before saving it.
Finally, some words about backgrounds. You can choose a plain solid color (in "preferences") or a *.jpg picture. But be carefull when you launch Icewm. I have remarked a "strange" behaviour: If I launch Ice in the standard way (as is explained in the wiki-page) I see my CPU is at top. The same is true if I launch it with the instruction " icewmbg " and do nothing more. I need to launch it with this last inst. but the do a Ctrl-C to kill it. The background remains and the CPU is at is normal rate (around 60% if using Xqt). The CPU can be seen in the small window of the taskbar.
smuelas
-
Mybe one of you could help me here (https://www.oesf.org/forums/index.php?showtopic=9873)
thx
-
Please, ask you question here.
-
Please, ask you question here.
OK so I'll do that... just didnt want to fill up this topic (It is already very big)
so I got Debian with Xqt running on my SL-C3000 from a 512MB SD Card now I want to mount the internall hdd of the C3k and swap on it to extend the life of the SD card.
thx
-
I'm curious why you bothered with the SD card if you had a 4GB hard drive built in?
If you set up the swap outside your chroot environment it will be used just the same since it's handled at the kernel level (or so I've come to believe). So don't worry about linked the partitions for swap. You could even setup the startup scripts to swapon on bootup, and forget about it.
Since linking a 4GB hard drive to your Debian environment is cool anyways, if you want to do it I would try the mount --bind command.
mount -o bind olddir newdir
Olddir is the original mount point, newdir is something like debroot/mnt/bigdrive. I haven't actually tried this, but I think that should work with the BusyBox mount. If it works though you'll be able to access the hard drive outside chroot and inside.
-
This is totally a noob question. How do you install applications (like firefox) in Debian?
-
first you update your list of programs
apt-get install update
then you get your system up to date
apt-get upgrade
then you install what you want
apt-get install firefox
then you clean out the downloaded .deb packeges--since they are now installed
apt-get clean
and you are all set.
-
For firefox, also try
apt-get install mozilla-firefox
But be warned it takes lots of card space, and it's pretty slow..
-
thx hatchetman got it working!
I can now access the hdd from the debian
I also created a new swapfile at /mnt/hdd3 and deleted the old one at /
but when I now do a swapon -s I get:
Filename            Type       Size      Used      Priority
/swapfile (deleted)       file       65532     10464     -2
/mnt/hdd3/swapfile       flie       131064     0       -4
I changed the startup file to:
#!/bin/sh
#Startup Commands
export DISPLAY=0:0
swapon /mnt/hdd3/swapfile
/usr/bin/icewm-session
#Shutdown Commands
swapoff /mnt/hdd3/swapfile
so the new swapfile is not in use? Any Idea how to fix that?
thx
edit: lol forget that a reboot did it
-
Oh I wasn't even thinking about THAT startup script. I was thinking more along the lines of /etc/rc* scripts of the Zaurus linux so it would swapon when you turn the unit on.
As for it not working, maybe you just aren't running anything intensive enough for it to show up. I know I definetely saw some usage when working with the dselect application, and when I was installing Debian packages. Pretty sure you'll see usage if you try to compile something, so pick a method of eating up lots of memory and check it again.
-
Also, even though $LANG is set, there are errors about locale
"can't set the locale; please make sure $LC_* and $LANG are correct"
I've got to this step so far. What should the exact value be
LANGUAGE = (unset) ?
LC_ALL = (unset) ?
So I can try to export from .xinitrc. Seems I opened the door to a wonderland.
-
If you see a previous post from hatchetman,
>apt-get install locales
will fix the error with LANG and LC_ALL
When you ap-get install it, you will be asked to choose some default locales. There are several hundred to choose from. English comes in a variety of flavours, but English US: en_US.ISOXXXX seems to be the most popular choice.
-
Has anyone else been having problems with their CF after suspending and awakening their zaurus?
I close Pocket Workstation before putting my 6000 to sleep. However, every time I wake it up, Pocket Workstation won't launch. I've tried ejecting the CF and reinserting it, and even mounting the cf flash again. However, nothing seems to work except a reboot.
This makes it a little annoying
-
Hi byzantium,
As you speak usually about "Pocketworkstation" I dont know if you are referring to "Debian on XQT" or really to Pocket...
I had this same problem with Pocket... until I modified a script from Klaus Weider. It was better but sometimes also the proccess died.
On the contary, with Xqt I've never had any problems (one of the big advantages that I signaled the other day). Usually, I am in Debian screen and I do suspend and reactivate with the same result as with Qtopia.
I have a Hitachi 2Gb. microdrive.
smuelas
-
Hi Smuelas, I'm using the Wiki instructions for X/Qt on Debian. Is there a way to suspend and reactivate at the command line from within Debian?
-
byzantium,
I thought you had a SL-6000. (don't ask me why). Now, your question makes me think that, perhaps, you have another one.
As I have said before, with the 6000 and using Debian over Xqt, all the standard capabilities of the original ROM are maintained. So, to suspend and come back it should be done exactly the same as if you were not using Debian: tap the power button.
From inside Debian, it could be possible to suspend from the command line, but totally impossible to resume :-) Anyway, to try to suspend from the command line you should have available the original directory " /dev ". This is possible if you mount not only " /proc " but also " /dev ". You can do it with: " mount -o bind ", but, probably, you will have some new problems with ttys. Don't forget that you cal always open an original Qtopia console and do there anything allowed in the original ROM.
smuelas
-
Smuelas,
Yep, I do have a 6000, and just one
Perhaps I've done the install wrong, because I'm still having problems suspending and restarting. After a reboot, and mount -t /proc again, everything is fine.
I'm looking forward to your new webpage!
thanks, byz
-
Hi, byz,
I'm a little bit busy just now with the students exams...but I hope to do my "homework" with ZUG a.s.a.p.
smuelas
-
Hello,
I have an SL-C860 runninng X/qt according to Hatchetman's wiki. When I run an x-term, I get an error message "/home/root/.bash_profile: Too many levels of symbolic links"
And, when I try to install packages, I get: "dpkg: failed to open configuration file '/home/root/.dpkg.cfg' for reading: Too many symbolic links"
I'm green around the ears with this, so please, how do I go about resolving this?
Bill
-
Did you use the gnu-tar binary found on pocketworkstations website or did you use the busybox tar? Or maybe if you extracted the files on another computer things got messed up somehow. Where do these symbolic links link to? Another possibility is maybe your filesystem is corrupt. Unmount it and run fsck.ext2 see if it finds any errors.
-
I used the one referred to on the wiki (which is not accessible to me now -- did you take the page down?).
What's the exact umount command I have to use to unmount?
Thanks,
Bill
-
I used the one referred to on the wiki (which is not accessible to me now -- did you take the page down?).
It's been moved to a new page due to the site migration It's Here (http://wiki.debian.net/index.cgi?PocketWorkstationXQT) now.
I've made some small changes to the wiki based on my own experience, correct me if I'm wrong.
-
Here's my experience
1. I also got the error message ever time I start an xterm
/home/root/.bash_profile: Too many levels of symbolic links
It prevents me to do things like install locales, dpkg reconfigure, etc as zaurus. However everything works ok if I run as su. I suspect it's caused by this line in the wiki, in debroot directory
ln -s root home/root
should I use cp instead to avoid the symbolic link?
2. Everything lauches fine from the command line as su. However, desktop click don't work for most of the application. xpdf and games lauches fine though. I suspect it's also related to the problem above.
3. it takes about 1min to launch firefox, thunderbird and Konqueror (slow). afterwards they work fine but not as snappy as you would like to see, but not unacceptable either. dilo and sylpheed are speedy and sleek, better for people prefer the speed than the layout.
GIMP
Abiword
Gnumeric
all works fine. the spped is not bad.
-
The symbolic link should be to: /home/root
I don't know what is in the wiki page but you have written: home/root
The "slash" is the difference :-)
smuelas
-
If you are in /mnt/cf, or already chrooted and are in /, then ln -s root home/root, as in the wiki, wil work just fine
byz
-
So, when I try to unmount my SD card, I get a "busy" message.
When I suspended the machine and took the SD card out, I couldn't get it recognized by my Z. Other cards I have worked fine.
After reformatting the card on my WinXP laptop, the card could only be recognized by Windows. So, that SD card (Lexar 1 GB) went back to the store and they gave me another one. I really don't want this to happen again with this new card. The installation of PocketWorkstation went flawlessly and icewm works fine. It's just that I can't unmount and eject the card.
I also still continue to get the "too many levels of symbolic links" message within the terminal, too. How can I correct this.
Thank you for your time.
Bill
-
wmadan, can you post your steps and commands?
-
byzantium,
It is clear that if you are in thr ROOT directory, / , to put the slash before " home " is not necessary. Nevertheless, one must be used to put it as the instruction can be done from anywhere, for example being in root, it is perfectly possible to write:
ln -s /root /home/root
smuelas
-
Well, first off, I followed the wiki instructions to the letter.
Then, when I launch the xterm, the first line that comes up is: "-bash: /home/root/.bash_profile: Too many levels of symbolic links" and then I am dropped to: "root@zaurus:/#"
As for being able to unmount the SD card, I close out the X/qt Server, call up the Konsole in Qtopia and type "umount /mnt/card" This is when I get the "Device or resource busy" error message.
Bill
-
Well, first off, I followed the wiki instructions to the letter.
Then, when I launch the xterm, the first line that comes up is: "-bash: /home/root/.bash_profile: Too many levels of symbolic links" and then I am dropped to: "root@zaurus:/#"
As for being able to unmount the SD card, I close out the X/qt Server, call up the Konsole in Qtopia and type "umount /mnt/card" This is when I get the "Device or resource busy" error message.
Bill
I haven't have your problem with "too many levels of symbolic links" problem, but I run Cacko as root, so that may make a difference.
So for the SD problem, did you create a swap on your SD? If so I've found that for some reason that the startd script doesn't stop the swap properly. I've had better luck starting the swap from the terminal after Debian has started and then stop the swap abefore exiting. Try running startx-wrapper
from the konsole to see what is happening and if swap is being stopped properly.
Since I've got a 750 and don't have builtin wireless it also lets me use a swap on either the SD or my CF micro drive if I'm not going to be using wireless. To accces the CF from with Debian, from the Cacko Konsole
mkdir /mnt/card/mnt/cf
mount /dev/hda1 /mnt/card/mnt/cf
Cheers,
Jerry
-
wmadan:
One more thing, it occurred to me that it may also be that you've mounted /proc to /mnt/card/debroot/proc.
Do a mount
To see what's mounted.
umount /mnt.rom/card/debroot/proc
should take care of that.
Cheers,
Jerry
-
Jerry,
Thanks for the tip. I found that /proc was mounted on /usr/mnt.rom/card/debroot/proc so I umounted that and then umounted the card itself and that worked.
A follow-up question for you: You say you run Cacko as root. I am running Cacko 1.22 as well, but how do I know if I'm running as root?
And, yet another question: I'm trying to get apt to work. I get "hit" messages when I apt-get update, but then it times out looking for the headers. Can you help here as well?
Thanks a lot!
Bill
-
wmadan:
Just edit /home/QtPalmtop/qpe.sh and change export QPEUSER=root
export QPEGROUP=root
and restart Qtopia
Cheers,
Jerry
-
If you are in /mnt/cf, or already chrooted and are in /, then ln -s root home/root, as in the wiki, wil work just fine
byz and smeulas
What I'd done is just what you said. The symbolic link was in the home directory of the debroot, i.e. I did that in the chrooted enviroment.
However, if I remove the link, no error message. Everything works equally fine. I don't quite understand the purpose of having this link. please feel free to educate me.
-
It's my understanding that when you chroot the variables such as your PATH and such become the same thing in the chroot environment. Please try this to see if it's true, I remember seeing my PATH in the chroot environment. Anyways assuming that's true, because $HOME on the Sharp ROM is /home/root when any program refers to $HOME it won't find anything since the chroot environment's home directory is set to /root.
Simple solution, link the location of the Sharp ROM's home directory with chroot environment's home directory.
-
Simple solution, link the location of the Sharp ROM's home directory with chroot environment's home directory.
[div align=\"right\"][a href=\"index.php?act=findpost&pid=62878\"][{POST_SNAPBACK}][/a][/div]
Thanks for the explanation, I think it's true. without the link apt-get upgrade complains about can't find certain files, or path error. Anyway, it's not a big deal practically. Without having the link, now I got the /home/root directory, somehow created by the mozilla firefox, thunderbird or maybe other application. And you can always su to get things to work.
One real big deal is the sound. While learning debian, I wonder how do you guys enable sound in the chrooted enviroment. I try to do this trick
ln -s /dev/dsp /mnt/cf2/.debroot/dev/dsp
however, it doesn't seem to work. I tried to use the debian distro Kphone to dial. But got the following message
close any program which might be using soundcard and then retry dial
The call goes through with the original debian /dev/dsp, but with no sound at all. I also used xmms to play mp3, no sound either. In general, how to make debian recongnized the device outside of the chroot?
-
You can't link the device because it's outside of the chroot environment, and there's no way access what's outside when inside. Even so, you should't have to because all the devices would have been created when you extracted the tarball. My sound worked right out of the box, you might want to check your xmms settings instead for a problem.
-
I stored some mp3 musics and videos on my CF card. I want to test them under xmms in debian. How do I access those files after I chroor? I mean what is the corresponing path of /mnt/cf or /mnt/card under debian?
-
Yeah, the sound is working ok by default. I selected input plugin: mpeg 1/2/3 player, output plugin: oss driver to get it bearly work. it's struggling to play my mp3 though, which're played nicely under the stock player. Do I need a better input or output plugin, like MAD?
-
apt-get install xmms-mad
-
thanks, smuelas. that's it. I think I should post debian questions in linux section next time to keep this post more on topic. Just hope you guys will hop over there offen:)
-
I stored some mp3 musics and videos on my CF card. I want to test them under xmms in debian. How do I access those files after I chroor? I mean what is the corresponing path of /mnt/cf or /mnt/card under debian?
[div align=\"right\"][a href=\"index.php?act=findpost&pid=62959\"][{POST_SNAPBACK}][/a][/div]
You need to mount your CF from out side the chroot environment
First make a directory mkdir /mnt/card/debroot/mnt/cf
Then mount
mount /dev/hda1 /mnt/card/debroot/mnt/cf
Then you'll be able to access file on your CF card.
-
Has any one figured out how to map right or middle mouse buttons? I know Fn is right mouse but I hoping to move it to the home key.
-
To do the middle mouse button:
# Fn + Shift + Tap : Center click
I looked over the Xqt source code for how it handles choosing which button to choose but I don't have many answers.
At line 330 in qtscreen.cc you have this function
void qtScreen::mouseButtonEvent(QMouseEvent *ev, int isPress)
which interprets ev->button() to decide what mouse button you want.
I think ev->button() is passed from Qt because the case statement refers to LeftButton, MidButton, and RightButton which are also found in qnamespace.h. This says to me that the mouse button control isn't even a part of Xqt but comes from Qtopia. Maybe someone with with Qt development experience could enlighten us. This doesn't mean it still can't be remapped inside the X server, I don't know what applications to use though.
I checked out to see if xmodmap could be used to modify the mouse clicks, but I didn't come up with any usefull information. Have you checked out KeyHelper? I never tried running it, but maybe that can do what you are looking for.
-
Just if you've not tried it, the PocketTop (aka, micro-innovation) IR keyboard works in the debain. Very useful for working in the landscape mode.
* lower case alphabetic: enable "Caps lock" (a little awkward)
* capital letters: disable "Caps lock", use Shift + X
* numeric keys and punctuations: works out-of-box
FYI, installed craig's IRK 0.11
-
Hi,
I finally managed to install Pocket debian on my SL-6000, but I am having some problems in finding some of the Keyboard mapping ans shortcuts.
Maybe you could help me in finding:
Right button press
Center button press (is is fn+shift+click?)
Ctrl
Alt
The Keyboard shortcut for swithcinh desktops in ICE-WM
The keyboard Shortcut for Swithcing active window in ICE-WM
Thank you very much, I am not very used to Ice-WM and therefore sometimes I do ot know if I am trying to do the right key combinations but htey are mapped differently than I think, or If I am trying a completely wron shortcut! :-(
Do you also know if there are other deb repositories tht can be used in pocket debian?
In the official one there are a lot of packages but some things I would like to try are missing and I do not know if they are simply unavailable for debian for ARM or if they could be somewhere else
Thank you very much for the support and for the gret job done in simplifying the setup of pocket deb!
Adalberto
-
Couple of questions before I take the plunge and screwup, I mean install Debian with XQt on my C3000....
1) Since I have C3000 with 4GB internal microdrive, should I install directly on microdrive or use external storage card?
2) If it's good idea to install on microdrive, what should I do differently than install instructions?
3) If it is better to use external storage, should I use one of my 1GB SD cards or get another microdrive? I can get a good deal on a 2GB microdrive today locally...
4) What instructions would be best to follow for install??
Thanks for any and all help!!
Mark
-
Couple of questions before I take the plunge and screwup, I mean install Debian with XQt on my C3000....
1) Since I have C3000 with 4GB internal microdrive, should I install directly on microdrive or use external storage card?
2) If it's good idea to install on microdrive, what should I do differently than install instructions?
3) If it is better to use external storage, should I use one of my 1GB SD cards or get another microdrive? I can get a good deal on a 2GB microdrive today locally...
4) What instructions would be best to follow for install??
Thanks for any and all help!!
Mark
[div align=\"right\"][{POST_SNAPBACK}][/a][/div] (http://index.php?act=findpost&pid=71132\")
Maybe you can find an the answers here (though it's not about X/QT) : [a href=\"https://www.oesf.org/forums/index.php?showtopic=9237&hl=debian]Full debian on C3000[/url]
I've read in these forums that microdrives are faster than SD-cards and are better to use for swap, so ...
Chero
-
Thanks for the heads up on that, Chero!
Anybody can advise on the install questions I have??
Thanks!
Mark
-
I installed the X/Qt on my C3000, and want to run pocketworkstation. But when click then startx icon, the Xserver screen just flash then disapper, I get the message in the terminal:
rxvt: can't open pseudo-tty
rxvt: aborting
my .xinitrc just like this:
#!/bin/sh
export LANG=ja_JP.eucJP
export DISPLAY=:0.0
rxvt
who can help me?
-
I installed the X/Qt on my C3000, and want to run pocketworkstation. But when click then startx icon, the Xserver screen just flash then disapper, I get the message in the terminal:
rxvt: can't open pseudo-tty
rxvt: aborting
my .xinitrc just like this:
#!/bin/sh
export LANG=ja_JP.eucJP
export DISPLAY=:0.0
rxvt
who can help me?
[div align=\"right\"][a href=\"index.php?act=findpost&pid=73571\"][{POST_SNAPBACK}][/a][/div]
You say you installed X/Qt on your 3000, and say you want to run pocketworkstation, but you don't say that you have installed pocketworkstation and set up the chroot environment. Tell us a little bit more and maybe we can help.
Edit: I just noticed a possible error in your .xintrc file -- your export DISPLAY line. I have a startd file in my debian chroot environment with this line:
export DISPLAY=0:0
Bill
-
I was try export DISPLAY=0:0, but I get the same error. and I have installed pocketworkstation, write the startd file. when I run startx, the icewm report can't be display at :0.0 (or 0:0).
I start qpe with root user, my pocketworkstation was mount on /hdd3/.debroot (in the internal microdrive) with a 64m swapfile, my .xinitrc like this:
#!/bin/sh
export LANG=ja-JP.eucJP
export DISPLAY=:0.0
mount -t proc /proc /mnt/card/.debroot/proc'
chroot /mnt/card/.debroot/ /startd
my startd like this:
#!/bin/sh
#Startup Commands
export DISPLAY=0:0
swapon /swapfile
/usr/bin/icewm-session
#Shutdown Commands
umount /proc
swapoff /swapfile
I mean the X/Qt must be runing corret first pocketworkstation, but now my X/Qt can't run normally.
-
YongYan, I do not know if the situation on the 3000 is the same as on the 6k, but I cannot connet to X from Root.
I have to start it as zaurus user in order to have Xqt and the Pocketworkstation start.
Did you try to start it as normal user?
Adalberto
-
I can startup X server with root user before I format the internal microdrive (/dev/hda3 on my C3000) to the ext2 filesystem. I don't know if ext2fs make this error.
-
I installed the X/Qt on my C3000, and want to run pocketworkstation. But when click then startx icon, the Xserver screen just flash then disapper, I get the message in the terminal:
rxvt: can't open pseudo-tty
rxvt: aborting
I have this same problem on my 6000. The programs close as soon as i open them.
-
I installed the X/Qt on my C3000, and want to run pocketworkstation. But when click then startx icon, the Xserver screen just flash then disapper, I get the message in the terminal:
rxvt: can't open pseudo-tty
rxvt: aborting
who can help me?
[div align=\"right\"][a href=\"index.php?act=findpost&pid=73571\"][{POST_SNAPBACK}][/a][/div]
This happend to me too. I downloaded the new version and then everything worked fine. Maybe you have some corrupt files?
-
About to finally try and install Debian with X/QT....
Already have a question for someone please....
I found that there are 2 different 'glibc-locale' files on the download page listed below. Item number 3 in the quote below just refers to a 'glibc-locale' file....
The 2 files are:
glibc-locale-ja-eucjp_2.2.2-1_arm.ipk
glibc-locale-ja-utf8_2.2.2-1_arm.ipk
Can anyone clarify as to whether I need to install both of them or just one?
If one only, which one??
Thanks!
Mark
This is a HowTo for installing and running X/Qt. All this information is probably in the discussion threads but I found them too meandering to be useful.
[SNIP]
You need to download and install the following packages from the X/Qt site (http://xqt.sourceforge.jp/downloads.html). Make sure to install the packages in that order.
[SNIP]
1. xqt-fonts-misc
2. xqt-server
3. glibc-locale
4. xbase-etc
5. xlibs
6. xqt-startup-scripts
7. xbase-client
8. blackbox
9. rxvt
[SNIP]
Felipe
[div align=\"right\"][a href=\"index.php?act=findpost&pid=41019\"][{POST_SNAPBACK}][/a][/div]
-
Got XQt Installed OK and working!
Now, trying to get Debian installed but ran into snag...
hope someone can advise please...
I want to reformat a 1GB SD card I've already used in my C3000.
Here's what happened:
$ su
# unmount /mnt/card
unmount: not found
Any suggestions on how to unmount card or reformat it to 'ext2' ???
Thanks,
Mark
-
Should be
umount
not uumount
You can use
make.ext2 /dev/mmcda1 (mine is 6k)
to format your sd card.
You can use
mount
to see where /mnt/card is mount from and format it.
good luck
unplug
-
That did it, unplug!!
THANKS,
Mark
C3000 Zster that obviously needs to get his eyes checked...
Should be
umount
not uumount
You can use
make.ext2 /dev/mmcda1 (mine is 6k)
to format your sd card.
You can use
mount
to see where /mnt/card is mount from and format it.
good luck
unplug
[div align=\"right\"][a href=\"index.php?act=findpost&pid=75819\"][{POST_SNAPBACK}][/a][/div]
-
OK, managed to get through most of Debian install instructions per those in the PocketWorkstationXQT-Debian Wiki, dated Jan. 7, 2005....
<http://wiki.debian.net/?PocketWorkstationXQT>
I've gotten as far as the 'Final Setup Procedures' section, step no. 6....
I've stopped where it says just under that step 'You can remove the debroot/INSTALL.d file since it wasn't used anyways'.
The reason I've stopped here is that in the other X-qt-Debian instructions by smuelas on his webpage <http://w3.mecanica.upm.es/~smuelas/debianxqt.html> he says to follow the instructions by Klaus UNTIL the instruction "./debroot/INSTALL.d/postinst.sh".
However, I don't see that step listed in the PocketWorkstationXQT instructions that I've been using...
So...my question is, do I continue and follow the rest of the PocketWorkstationXQT-Debian Wiki instructions or ????
Thanks for any help!
Mark
-
if you plan to use only xqt, then , no you don't need anything in INSTALL.d imho. I'd have a loock at the pocketworkstation docs and maybe shoot a note to klauss, though.
the fbvnc stuff is upadted... if it works on your 3k it might be woth looking at-- itis pretty cool, and with the shared memory setup might be snappier than xqt. The xqt setup is pretty slick, though , so if youa re just dying to get going, untar to debroot, setup xqt and chroot away:)
-
Thanks for your input, adf....
However, as a Linux Noob, I'm not real sure what you mean by:
if you plan to use only xqt, then , no you don't need anything in INSTALL.d imho.
How does this relate to running Debian in this setup??
Sorry for my ignorance, but I'm in the process of learning Linux and trying to use my Z to help me along the way with my self-learning studying with some Linux books I have....
Hopefully, my dumb questions will help some other 'Z noobs' out there...
Thanks,
Mark
-
keep in mind I have a 6000-- 3000 might do some diferent stuff... BUT, the basics should be the same.
INSTALL.d has setup scripts that setup the pocketworkstation fbvncserver/client and tie in to the sharprom setup for stuff like power management when you are in the pocketworkstation vnc
If you are using the xqt setup, then you won't need or use (right now anyway) the vnc stuff, nor will you require system integration scripts to be run, because you are already in your Qtopia system when you are using xqt. It simplifies things in this regard.
So.. don't bother doing the pocketworkstation setup stuff.. skip doing INSTALL.d/postinst.sh.
I find it helps to copy my /ect.resolv.conf to /debroot/etc/resolv.conf. your mileage may vary.
-
THANKS A LOT, adf for clarifying this!
Now I get it....
Really appreciate it!....
Mark
C3000
-
welcome.
-
Sorry, but a few more questions....
1) I do see the StartX and X/Qt Server icons in my Qtopia Applications tab. I can open up StartX OK and I get the terminal window after a short wait. However, my shift key doesn't work....
I assume this relates to the keymap file...
When I typed in Sharp Terminal window:
#xmodmap .xmodmaprc
xmodmap: unable to open display ' '
Any suggestions how to get this working properly??
2) In the PocketWorkstationXQT - DebianWiki Instructions, under the heading 'You're Done!', it says "Click on the PocketWorkstation icon under your Applications tab".
I don't see any PocketWorkstation icon. Should I see one there?
Any suggestions on this?
Thanks,
Mark
-
Sorry, but a few more questions....
1) I do see the StartX and X/Qt Server icons in my Qtopia Applications tab. I can open up StartX OK and I get the terminal window after a short wait. However, my shift key doesn't work....
I assume this relates to the keymap file...
When I typed in Sharp Terminal window:
#xmodmap .xmodmaprc
xmodmap: unable to open display ' '
Any suggestions how to get this working properly??
2) In the PocketWorkstationXQT - DebianWiki Instructions, under the heading 'You're Done!', it says "Click on the PocketWorkstation icon under your Applications tab".
I don't see any PocketWorkstation icon. Should I see one there?
Any suggestions on this?
Thanks,
Mark
[div align=\"right\"][a href=\"index.php?act=findpost&pid=75942\"][{POST_SNAPBACK}][/a][/div]
I always used rxvt -the terminal that comes up in X- to type
xmodmap path-to/.xmodmaprc
export DISPLAY=0:0
do it in rxvt (or xterm) and see how it comes out
-
Thanks, adf...
Just tried that, but since my '/' key doesn't work, I can't type any paths in that window....
So here's what I tried (I'm working in directory where '.xmodmaprc' resides):
#xmodmap .xmodmaprc
xmodmap: unable to open file '.xmodmaprc' for reading
xmodmap: 1 error encountered, aborting.
Sounds like permissions problem???
Checked file and it shows:
-rwxrwxrwx 1 root root 3076 Apr 19 08:20 .xmodmap.txt
Any ideas??
Also, what about my other question...should I see icon for PocketWorkstation in Applications tab??
Thanks!
Mark
-
Yeah.... you need xmodmap to get the right keys in rxvt so you can make it all work....
use rxvt
do su
use the virtual keyboard to enter stuff till you have loaded the new keymap.
I should have mentioned su and the virtual keyboard, sorry
-
Thanks again, adf!
Don't know why I didn't think of using virtual keyboard....
Meanwhile, just tried as you suggested but still get same error message
"xmodmap: unable to open file '.xmodmaprc for reading
xmodmap: 1 error encountered, aborting."
Any other suggestions???
Thanks,
Mark
Yeah.... you need xmodmap to get the right keys in rxvt so you can make it all work....
use rxvt
do su
use the virtual keyboard to enter stuff till you have loaded the new keymap.
I should have mentioned su and the virtual keyboard, sorry
[div align=\"right\"][a href=\"index.php?act=findpost&pid=75996\"][{POST_SNAPBACK}][/a][/div]
-
download a new copy of xmodmaprc
maybe do
chmod 777 "path-to"/xmodmaprc
?
tell rxvt the fullpath to xmodmaprc when you do xmodmap
chroot after you do xmodmap..or put xmodmap in debroot/someplace
-
Thanks, adf.....
Will try this later today when I can download file again & report back...
Thanks!
Mark
-
OK, adf, finally got it work!
Only thing now is that while shift key works and most keys are mapped correctly, some are not mapped right....for example the '/' symbol....
So have to figure out how to edit the xmodmaprc file, right??
Also, tried 'chroot' as you suggested after 'xmodmap /home/zaurus/.xmodmaprc'...
I got the following:
#chroot
BusyBox v0.60.4 (2003.04.15-01:23+0000) multi-call binary
Usage: chroot NEWROOT [COMMAND...]
Run COMMAND with root directory set to NEWROOT.
So making progress, right??.....
UPDATE: Per smuelas's install instructions, I tried what he instructed but got error message:
#su
#/sbin/chroot /mnt/card/debroot
chroot: cannot execute /bin/sh: Input/output error
Mark
download a new copy of xmodmaprc
maybe do
chmod 777Â "path-to"/xmodmaprc
?
tell rxvt the fullpath to xmodmaprc when you do xmodmap
chroot after you do xmodmap..or put xmodmap in debroot/someplace
[div align=\"right\"][a href=\"index.php?act=findpost&pid=76001\"][{POST_SNAPBACK}][/a][/div]
-
So.. you are running debian?
xmodmap can be edited in vi or nano pertty easily-- take a look at it, it is straightforward stuff.
I had that input/output error. I forgot what I did. I think I asked somebody on the xqt/debian thread. maybe there is an answer there?
you did do the export DISPLAY=0:0 bit before chrooting?
-
Thanks for your help, adf...really appreciate it!
So.. you are running debian?
Good question.... ...I've just gotten as far as I've described in my previous posts...
xmodmap can be edited in vi or nano pertty easily-- take a look at it, it is straightforward stuff.
Will do....
I had that input/output error. I forgot what I did. I think I asked somebody on the xqt/debian thread. maybe there is an answer there?
I thought this was the xqt/debian thread....
you did do the export DISPLAY=0:0 bit before chrooting?
[div align=\"right\"][a href=\"index.php?act=findpost&pid=76052\"][{POST_SNAPBACK}][/a][/div]
Yes, I did that....
Mark
-
I guess it is the right thread.
you linked XQT to X?
read smuelas webpage?
urgh. it is a simple thing, too.
check fstab?
-
Yes, I linked XQT to X per instructions on smuelas webpage....
Didn't check fstab....what should I look for??
Thanks,
Mark
I guess it is the right thread.
you linked XQT to X?
read smuelas webpage?
urgh. it is a simple thing, too.
check fstab?
[div align=\"right\"][a href=\"index.php?act=findpost&pid=76058\"][{POST_SNAPBACK}][/a][/div]
-
I wasn't thinking. You should be fine on the fdtab.
there is a /proc link....but it shouldn"cause problems at this point.
still same error?
did you use tar zxvpf p for permissions when you untarred pw?
can ypu chroot /mnt/cf/debroot from a regular commandline?
-
I wasn't thinking. You should be fine on the fdtab.
Good...
there is a /proc link....but it shouldn"cause problems at this point.
Think I did that along the way...
still same error?
Well, I tried:
bash-2.05$su
#chroot /mnt/card/debroot
sh-2.05b#export display=0:0
sh-2.05b#/usr/bin/icewm
IceWM: Warning: Locale not supported by C library. Falling back to 'C' locale'.
IceWM: using /home/root/.icewm for private configuration files
IceWM: Can't open display: :0.0. X must be running and $display set.
Any suggestions?
did you use tar zxvpf p for permissions when you untarred pw?
I followed PocketWorkstationXQT - DebianWiki install instructions and did:
#gunzip gnu-tar.gz
#chmod 755 gnu-tar
#mkdir /mnt/card/debroot
#./gnu-tar -C /mnt/card/debroot -xvzpf zaurus-debian-big-v0.17.tgz
can ypu chroot /mnt/cf/debroot from a regular commandline?
Think so, see above....
Thanks,
Mark
-
I wasn't thinking. You should be fine on the fdtab.
Good...
there is a /proc link....but it shouldn"cause problems at this point.
Think I did that along the way...
still same error?
Well, I tried:
bash-2.05$su
#chroot /mnt/card/debroot
sh-2.05b#export display=0:0
sh-2.05b#/usr/bin/icewm
IceWM: Warning: Locale not supported by C library. Falling back to 'C' locale'.
IceWM: using /home/root/.icewm for private configuration files
IceWM: Can't open display: :0.0. X must be running and $display set.
Any suggestions?
did you use tar zxvpf p for permissions when you untarred pw?
I followed PocketWorkstationXQT - DebianWiki install instructions and did:
#gunzip gnu-tar.gz
#chmod 755 gnu-tar
#mkdir /mnt/card/debroot
#./gnu-tar -C /mnt/card/debroot -xvzpf zaurus-debian-big-v0.17.tgz
can ypu chroot /mnt/cf/debroot from a regular commandline?
Think so, see above....
Thanks,
Mark
[div align=\"right\"][a href=\"index.php?act=findpost&pid=76137\"][{POST_SNAPBACK}][/a][/div]
Yes.
the "DISPLAY" in export DISPLAY=0:0 has to be capitalized.
they way you wrote it you didn't reassign the display.
"display" is nothing. "DISPLAY" is meaningful as far as your z is concerned
-
WHOOPS.... you're right about that!!....
OK, fixed that and voila!!!....
Now I got IceWM running!!....
Right now set to 'icedesert' theme, very white....tried to set to another
theme, but doesn't want to change, acts as if it's going to change, but then display refreshes and comes back the same, no change....
Next step on my way, is to do 'apt-get' right??
Thanks,
Mark
Yes.
the "DISPLAY" in export DISPLAY=0:0 has to be capitalized.
they way you wrote it you didn't reassign the display.
"display" is nothing. "DISPLAY" is meaningful as far as your z is concerned
-
yep.. apt get.
things to know.
apt-get clean cleans out the downloded files and frees up a good bit of space after you have apt-gotten stuff.
Use apt-get update to update your lists
use apt-get upgrade to upgrade your system in its current config
use apt-get dist-upgrade to upgrade the system entirely.
dist-upgrade can be weird on pocket workstation. I suggest you back up before you try it.
for now, since the system if fairly fresh, I'd suggest going with a simple apt-get upgrade... and then the packages you want and a "clean"
-
Thanks once more for your help, adf!
Meanwhile, tried to see if I could get connected to internet this afternoon, so I could do 'apt-get upgrade'...can't figure out how to do it with this setup...
I have choice of either using my Socket CF Ethernet card or my Ambicom WL1100-CF WiFi card.
Any suggestions/guidance??
thanks,
Mark
yep.. apt get.
things to know.
apt-get clean cleans out the downloded files and frees up a good bit of space after you have apt-gotten stuff.
Use apt-get update to update your lists
use apt-get upgrade to upgrade your system in its current config
use apt-get dist-upgrade to upgrade the system entirely.
dist-upgrade can be weird on pocket workstation. I suggest you back up before you try it.
for now, since the system if fairly fresh, I'd suggest going with a simple apt-get upgrade... and then the packages you want and a "clean"
[div align=\"right\"][a href=\"index.php?act=findpost&pid=76200\"][{POST_SNAPBACK}][/a][/div]
-
connect in qtopia
copy /etc/resolv.conf to /mnt/cf--or whatever your dive is called/debroot/etc/
the thing with this setup is you occasionally have to copy or link bits of qtopia int debroot (it mostly tells you how) and it is way easier to do background "machine control" type stuff in qtopia and then pop back over to debian. since you are using xqt, though, it is merely a matter tapping icons to switch back and forth.
-
OK, did the 2 steps as you instructed below....
then typed 'apt-get upgrade' in aterm window...
then I get:
Reading Package Lists....done
Building Dependency Tree.....done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded
I must be missing something still??
Thanks,
Mark
connect in qtopia
copy /etc/resolv.conf to /mnt/cf--or whatever your dive is called/debroot/etc/
the thing with this setup is you occasionally have to copy or link bits of qtopia int debroot (it mostly tells you how) and it is way easier to do background "machine control" type stuff in qtopia and then pop back over to debian. since you are using xqt, though, it is merely a matter tapping icons to switch back and forth.
[div align=\"right\"][a href=\"index.php?act=findpost&pid=76357\"][{POST_SNAPBACK}][/a][/div]
-
OK, did the 2 steps as you instructed below....
then typed 'apt-get upgrade' in aterm window...
then I get:
Reading Package Lists....done
Building Dependency Tree.....done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded
I must be missing something still??
Thanks,
Mark
be root in the xqt rxvt
do chrooot
load icewm
minimize rxvt
opn a new terminal
su -- just to be safe
make sure you have a connection... fire up dillo..surf for a bit just to be sure
now apt-get
connect in qtopia
copy /etc/resolv.conf to /mnt/cf--or whatever your dive is called/debroot/etc/
the thing with this setup is you occasionally have to copy or link bits of qtopia int debroot (it mostly tells you how) and it is way easier to do background "machine control" type stuff in qtopia and then pop back over to debian. since you are using xqt, though, it is merely a matter tapping icons to switch back and forth.
[div align=\"right\"][a href=\"index.php?act=findpost&pid=76357\"][{POST_SNAPBACK}][/a][/div]
[div align=\"right\"][a href=\"index.php?act=findpost&pid=76363\"][{POST_SNAPBACK}][/a][/div]
-
Thanks, adf,
OK, just tried what you suggested....
However, no go...online that is...
I get message at bottom of Dillo browser window:
ERROR: Dns can't solve www.google.com
I do see a little tiny black square in lower right corner of iceWM statusbar at bottom of
my display that 'pulsates' graphically when it's trying to connect, before I get error message.
I am connected to net in Qtopia and I did copy over that resolv.conf file before.....
Thanks,
Mark
be root in the xqt rxvt
do chrooot
load icewm
minimize rxvt
opn a new terminal
su -- just to be safe
make sure you have a connection... fire up dillo..surf for a bit just to be sure
now apt-get
-
Thanks, adf,
OK, just tried what you suggested....
However, no go...online that is...
I get message at bottom of Dillo browser window:
ERROR: Dns can't solve www.google.com
I do see a little tiny black square in lower right corner of iceWM statusbar at bottom of
my display that 'pulsates' graphically when it's trying to connect, before I get error message.
I am connected to net in Qtopia and I did copy over that resolv.conf file before.....
Thanks,
Mark
Have you written the DNS you are using, once in Debian, in /etc/resolv.conf ?
It seems, this should be your problem, althought I must say that I've never tried (nor touched) a C-3000... :-(
smuelas
be root in the xqt rxvt
do chrooot
load icewm
minimize rxvt
opn a new terminal
su -- just to be safe
make sure you have a connection... fire up dillo..surf for a bit just to be sure
now apt-get
[div align=\"right\"][a href=\"index.php?act=findpost&pid=76404\"][{POST_SNAPBACK}][/a][/div]
-
No, I just copied over that file from /etc/resolv.conf to /mnt/card/debroot/etc...
Will do that now...
Thanks, smuelas!
Mark
Have you written the DNS you are using, once in Debian, in /etc/resolv.conf ?
It seems, this should be your problem, althought I must say that I've never tried (nor touched) a C-3000... :-(
smuelas
-
No, I just copied over that file from /etc/resolv.conf to /mnt/card/debroot/etc...
Will do that now...
Thanks, smuelas!
Mark
Have you written the DNS you are using, once in Debian, in /etc/resolv.conf ?
It seems, this should be your problem, althought I must say that I've never tried (nor touched) a C-3000... :-(
smuelas
[div align=\"right\"][a href=\"index.php?act=findpost&pid=76582\"][{POST_SNAPBACK}][/a][/div]
out of curiosity... copying resolv.conf over has always done precisely that... copied in the dns in use..
ideas why it didn't work here?
-
i would like to thank you all, i've installed the xqt after having read all this thread and it worked straight forward. no stress, no freeze, runs like a charm, really impressed by the speed (installed 128 swap)
but, (yes there is a but ) i have a little pb.
i cant start any application witin the icewm when clicked. the solution is to launch it from the console, being root.
is there anything to add to solve that?
another thing i didn't managed , is the toolbar, i read somewhere i had to ad a line with
"toolbarattop=1". or i didnt put it into the good place ; or i missed something. could you please help?
merci
Raph
-
i would like to thank you all, i've installed the xqt after having read all this thread and it worked straight forward. no stress, no freeze, runs like a charm, really impressed by the speed (installed 128 swap)
but, (yes there is a but ) i have a little pb.
i cant start any application witin the icewm when clicked. the solution is to launch it from the console, being root.
is there anything to add to solve that?
another thing i didn't managed , is the toolbar, i read somewhere i had to ad a line with
"toolbarattop=1". or i didnt put it into the good place ; or i missed something. could you please help?
merci
Raph
[div align=\"right\"][a href=\"index.php?act=findpost&pid=77882\"][{POST_SNAPBACK}][/a][/div]
I believe it is case sensitive.
-
yes, sorry about my last message, i quickly posted it from work, in fact i followed the step by step but it was not clear where to write it
-
well, my website has instructions on where exactly it needs to be
-
i will have a look asap. thanks
-
i assume you are talking about this part of your huuuuuuuuuuuuuuge webpage
"
After you have installed Firefox, you need to start X-Qt and then start firefox from a terminal to create an initial profile. However, it will partially fail because the zaurus user does not have sufficient priviledges. From within a terminal type:
# firefox
Firefox will start and terminate. That's ok. Now run firefox again as root.
# su
# firefox
Exit from Firefox and continue to do the following:
# cp -R /home/root/.mozilla/profiles/default.*/* /home/zaurus/.mozilla/profiles/default.*/
# chown -R zaurus /home/zaurus/.mozilla
"
so i'll have to do that for all app i have to start?
-
i assume you are talking about this part of your huuuuuuuuuuuuuuge webpage
"
After you have installed Firefox, you need to start X-Qt and then start firefox from a terminal to create an initial profile. However, it will partially fail because the zaurus user does not have sufficient priviledges. From within a terminal type:
# firefox
Firefox will start and terminate. That's ok. Now run firefox again as root.
# su
# firefox
Exit from Firefox and continue to do the following:
# cp -R /home/root/.mozilla/profiles/default.*/* /home/zaurus/.mozilla/profiles/default.*/
# chown -R zaurus /home/zaurus/.mozilla
"
so i'll have to do that for all app i have to start?
[div align=\"right\"][a href=\"index.php?act=findpost&pid=78007\"][{POST_SNAPBACK}][/a][/div]
not at all. you only need to do this for firefox (this is because of a bug in firefox
alternatively, you could run firefox as root all the time and don't worry about it, but it would be less secure.
-
excuse me but i don't understand, if this one is just for firefox, i didn't found the info you are talking about.
sorry
-
Hi, Firefox runs like any other application. The problem seems to be the fact that usually, one works in Linux as a "normal" user. In the "standard" way of using Xqt-Debian, one runs as root. Theoretically, this can be dangerous if some "bad-boy-hacker" wants to go into your Zaurus trough the net.
Personally, I have no special secrets on my Zaurus and always make a systematic backup of my micro-drive. I have some doubts about the advantage of creating an user, duplicating all the system files in my home, change all the time from SU to User...etc.
Smuelas
-
Could someone help me connect my wireless card with debian?
I have the same problem as ArchiMark. I cannot get connected. I edited resolv.conf with : nameserver (then my dns numbers).
It still does not work?
I am running cacko 3kb1, C3000, x/qt debian on hdd3 with loop and swap, per meanie's site, asus wireless card.
Thanks.
-
Helllo,
on my zaurus 750 with cacko 1.22 rom i installed Xqt from cacko feed
also downloaded debian pocketworkstation,
chrooted and perform apt-get update and dist-upgrade
now some notices.
chrooted system frequently requiring mounted proc system - probably i have to solve this before chrooting
good example is in gentoo alternaive install guide
second - icewm and icewm-session starting and i only get decoration for my rxvt. i still must start applications from rxvt
i do not have taskbar and cannot switch between opened applications
btw - to work well, after chroot i have to do su - root
firefox do not present in debian testing!!! and downloaded from pdaxrom or xqt related pages do not starting- it want .mozilla in hojme directory
please if anyone can help me- how i can first get taskbar and install mozilla?
-
Hello all,
I think I have a problem with X/Qt. I installed all as smuelas suggested, but the Start X button just starts and finishes without starting rxvt. Has anyone some tips?
Yours, Peter
-
Hello all,
I think I have a problem with X/Qt. I installed all as smuelas suggested, but the Start X button just starts and finishes without starting rxvt. Has anyone some tips?
Yours, Peter
[div align=\"right\"][a href=\"index.php?act=findpost&pid=111980\"][{POST_SNAPBACK}][/a][/div]
Review your " .xinitrc " file.
smuelas
-
Hello all,
I think I have a problem with X/Qt. I installed all as smuelas suggested, but the Start X button just starts and finishes without starting rxvt. Has anyone some tips?
Yours, Peter
[div align=\"right\"][a href=\"index.php?act=findpost&pid=111980\"][{POST_SNAPBACK}][/a][/div]
Review your " .xinitrc " file.
smuelas
[div align=\"right\"][a href=\"index.php?act=findpost&pid=112302\"][{POST_SNAPBACK}][/a][/div]
my .xinitrc:
#!/bin/sh
export LANG=ja_JP.eucJP
export DISPLAY=0:0
#default: use anthy
export XMODIFIERS=@im=uim-anthy
#start uim-xom
if [ -x /opt/QtPalmtop/bin/uim-xim ]; then
exec /opt/QtPalmtop/bin/uim-xim &
fi
rxvt
#blackbox
icewm
if I start sh .xinitrc
then:
rxvt: can't open display 0:0
icewm: not found
i did install the latest X/Qt and sharp-debian-big 018 on Zaurus Sl-6000 L
any hints?
yours, peter
-
Hi Peter,
I'm afraid that my help is going to be quite limited, as for a few months I don't use anymore Debian with Xqt but have changed to pdaXrom. More unstable but quicker.
What I can say about " .xinitrc " is that I used the one created when installing Xqt. I made just a couple of changes that are explained in the page that I made to show some items related with Debian/Xqt.
I am sure that I commented " blackbox " but also I am sure that I didn't try to launch icewm from this file. If you think in the process, the only interest of your " .xinitrc " file is to be able to launch Xqt with just one console where you can write. And the first thing that you do in the console is to call " chroot ", so your original home is lost.
What you want is to launch a window manager from Debian, so, after chroot.
Try to make your " .xinitrc " just small enough to launch the X's from Xqt and have a console. The jump to Debian is done afterwards from this console.
Good luck!!
smuelas