Author Topic: Debian with Xqt  (Read 114782 times)

smuelas

  • Full Member
  • ***
  • Posts: 110
    • View Profile
Debian with Xqt
« Reply #150 on: January 07, 2005, 07:07:44 am »
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
Zaurus SL-6000  --  Microdrive Hitachi 6Gb placed permanently on CF slot.

smuelas

  • Full Member
  • ***
  • Posts: 110
    • View Profile
Debian with Xqt
« Reply #151 on: January 07, 2005, 07:29:06 am »
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.
Zaurus SL-6000  --  Microdrive Hitachi 6Gb placed permanently on CF slot.

smuelas

  • Full Member
  • ***
  • Posts: 110
    • View Profile
Debian with Xqt
« Reply #152 on: January 07, 2005, 07:50:18 am »
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
Zaurus SL-6000  --  Microdrive Hitachi 6Gb placed permanently on CF slot.

orange

  • Jr. Member
  • **
  • Posts: 72
    • View Profile
Debian with Xqt
« Reply #153 on: January 07, 2005, 11:06:05 am »
Mybe one of you could help me here

thx
SL-C3000 / Cacko 3kb1
512MB SD/CF Kingston
DLink DCF-660W W-LAN
Socket Ethernet
Nokia DTL-1 Bluetooth
Pretec CF 56k Modem
I DON'T SYNC ;-)

smuelas

  • Full Member
  • ***
  • Posts: 110
    • View Profile
Debian with Xqt
« Reply #154 on: January 07, 2005, 01:44:16 pm »
Please, ask you question here.
Zaurus SL-6000  --  Microdrive Hitachi 6Gb placed permanently on CF slot.

orange

  • Jr. Member
  • **
  • Posts: 72
    • View Profile
Debian with Xqt
« Reply #155 on: January 07, 2005, 06:13:47 pm »
Quote
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
SL-C3000 / Cacko 3kb1
512MB SD/CF Kingston
DLink DCF-660W W-LAN
Socket Ethernet
Nokia DTL-1 Bluetooth
Pretec CF 56k Modem
I DON'T SYNC ;-)

hatchetman

  • Jr. Member
  • **
  • Posts: 60
    • View Profile
Debian with Xqt
« Reply #156 on: January 07, 2005, 07:16:26 pm »
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.

Code: [Select]
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.
« Last Edit: January 07, 2005, 07:21:50 pm by hatchetman »

unplug

  • Jr. Member
  • **
  • Posts: 62
    • View Profile
Debian with Xqt
« Reply #157 on: January 08, 2005, 12:41:13 am »
This is totally a noob question. How do you install applications (like firefox) in Debian?
« Last Edit: January 08, 2005, 02:47:49 am by unplug »
SHARP SL-6000L
Sharp ROM
pdaXrom
1GB SD
2 x 512MB CF
HAiCom HI-303S

adf

  • Hero Member
  • *****
  • Posts: 2807
    • View Profile
    • http://
Debian with Xqt
« Reply #158 on: January 08, 2005, 03:32:25 am »
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.
**3100 Zubuntu Jaunty,(working on Cacko dualboot), 16G A-Data internal CF, 4G SD, Ambicom WL-1100C Cf, linksys usb ethernet,  BelkinF8T020 BT card, Belkin F8U1500-E Ir kbd, mini targus usb mouse, rechargeble AC/DC powered USB hub, psp cables and battery extenders.

**6000l  Tetsuized Sharprom, installed on internal flash only 1G sd, 2G cf

byzantium

  • Newbie
  • *
  • Posts: 44
    • View Profile
    • http://
Debian with Xqt
« Reply #159 on: January 08, 2005, 04:31:32 am »
For firefox, also try
 apt-get install mozilla-firefox

But be warned it takes lots of card space, and it's pretty slow..

orange

  • Jr. Member
  • **
  • Posts: 72
    • View Profile
Debian with Xqt
« Reply #160 on: January 08, 2005, 10:05:29 am »
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:

Code: [Select]
Filename                       Type             Size          Used          Priority
/swapfile (deleted)            file             65532         10464         -2
/mnt/hdd3/swapfile             flie             131064        0             -4

I changed the startup file to:

Code: [Select]
#!/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  
« Last Edit: January 08, 2005, 10:19:24 am by orange »
SL-C3000 / Cacko 3kb1
512MB SD/CF Kingston
DLink DCF-660W W-LAN
Socket Ethernet
Nokia DTL-1 Bluetooth
Pretec CF 56k Modem
I DON'T SYNC ;-)

hatchetman

  • Jr. Member
  • **
  • Posts: 60
    • View Profile
Debian with Xqt
« Reply #161 on: January 08, 2005, 12:09:54 pm »
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.

xjqian

  • Sr. Member
  • ****
  • Posts: 497
    • View Profile
    • http://
Debian with Xqt
« Reply #162 on: January 08, 2005, 09:53:10 pm »
Quote
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.
« Last Edit: January 08, 2005, 09:54:10 pm by xjqian »
My Blog | 6000L Tosa + sled | is: Angstrom | was: pdaXrom 1.1.0beta1 | was: stock 1.12 rom + no-ffpe fash kernel + X/Qt Debian |
CF GPS (FGPCFCD01) | USB "Prolific 2303" GPS (USB-UG-200) | Socket CF BT rev. H |  USB "Pegasus II" Ethernet (ADM8511) | PocketTop IR kbd | sip:527630@fwd.pulver.com
Todo: OESF wiki | stable VOIP app | usable GPS app |      Wishlist: VOIP + Bluetooth | GPS + Routing Calc

byzantium

  • Newbie
  • *
  • Posts: 44
    • View Profile
    • http://
Debian with Xqt
« Reply #163 on: January 09, 2005, 04:20:01 am »
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.
« Last Edit: January 09, 2005, 04:20:27 am by byzantium »

byzantium

  • Newbie
  • *
  • Posts: 44
    • View Profile
    • http://
Debian with Xqt
« Reply #164 on: January 09, 2005, 07:49:57 am »
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