OESF Portables Forum

Everything Else => Zaurus - Everything Development => Distros, Development, and Model Specific Forums => Archived Forums => X/Qt => Topic started by: ArchiMark on April 27, 2005, 10:32:16 am

Title: Icewm Or Other Wm? & Themes Mgmt
Post by: ArchiMark on April 27, 2005, 10:32:16 am
Now that I've got X/Qt & Debian running OK, I'm trying to get IceWM under control...

1) Right now IceWM works, but looks lousy, white on white...

When I select other themes from the pop-up menu list, it takes a minute for the screen to
refresh, but it comes back the same way it was, no change.

I've checked on the IceWM website and there's some apps out there like IceWMControlPanel
that has some nice GUI controls to changing themes, etc.

When I tried to install IceWMControlPanel, it says that I need PyGtk2. Anyone know if this is available and would work on the C3000?

Or other suggestion for managing themes in IceWM?

2) Are other WM's like Fluxbox, xfce4 better than IceWM to use on Zaurus?
Easy to manage themes and other preferences?

Thanks for any suggestions!

Mark
Title: Icewm Or Other Wm? & Themes Mgmt
Post by: ArchiMark on April 28, 2005, 11:59:53 am
Managed to get PyGtk2, thanks to ellomea in the Python forum.

Now I get the following error messages when I try to install IceWMControlPanel:
Code: [Select]
zaurus:/INSTALL-ICEME# ./INSTALL-ME.sh
./PyInstallShield: 214: DepreciationWarning: use gtk.UIManager
itemf=ItemFactory(MenuBar,"
", ag)

./PyInstallShield: 249: Warning: unsupported arithmetic operation for flags type table1.attach( Label(_("Installation Directory:")) ,0,1,0,1,(EXPAND+FILL),(EXPAND+FILL),0,0

Traceback (most recent call last):
File "./PyInstallShield", line 1464, in ? Runbabel()

File "./PyInstallShield", line 1464, in runbabel mybabel=installwin()

File "./PyInstallShield", line 249, in __init__ table1.attach ( Label (_("Installation Directory:")) ,0,1,0,1,(EXPAND+FILL),(EXPAND+FILL),0,0

Type Error: flag values must be strings, ints or tuples

Any suggestions??

Mark
Title: Icewm Or Other Wm? & Themes Mgmt
Post by: jpmatrix on April 29, 2005, 08:01:15 am
Quote
Or other suggestion for managing themes in IceWM?

[div align=\"right\"][a href=\"index.php?act=findpost&pid=77127\"][{POST_SNAPBACK}][/a][/div]

i just apt-get install icewm-themes and now i've an entry called "themes" in the IceWM start menu; so now i can swith themes from there.


you can also try to apt-get install iceconf
it's a graphical IceWM configuration tool
Title: Icewm Or Other Wm? & Themes Mgmt
Post by: ArchiMark on April 29, 2005, 10:42:29 am
Thanks for the advice, jpmatrix!

Just looked at iceconf, has a lot of options....

Thanks,

Mark
Title: Icewm Or Other Wm? & Themes Mgmt
Post by: ArchiMark on April 29, 2005, 07:37:05 pm
jpmatrix or anybody else,

Could you please explain how you change your iceWM theme?

When I try to change it from the IceWM start menu, I select one of the themes from the list, the screen goes blank for a bit and then I see the same theme as before, NO change.

When I try to change in the iceconf app, browse, I couldn't seem to locate any theme files to select from.

Thanks!

Mark
Title: Icewm Or Other Wm? & Themes Mgmt
Post by: Meanie on April 29, 2005, 08:46:25 pm
Is there an easy way of moving the icewm menu bar from the bottom of the screen to the top or do i need to install iceconf?
Title: Icewm Or Other Wm? & Themes Mgmt
Post by: Elleomea on April 30, 2005, 09:49:39 am
ArchiMax, it sounds as though you're doing everything correctly in terms of changing theme. It should just be a matter of selecting the theme and it being applied. I personally use IceWM with pocketworkstation's debian image (using fbvnc) on a c3000 without any problems; perhaps there's something odd about the version you installed?

Meanie, you can just set the value "TaskBarAtTop = 1" in ~/.icewm/preferences. You can change any setting within IceWM without a separate configuration program, they just make it much simpler than having to look up the relevant keywords to set.
Title: Icewm Or Other Wm? & Themes Mgmt
Post by: ArchiMark on April 30, 2005, 10:20:28 am
Thanks for your input, Ellomea!

Not sure what exactly you refer to below?

I'm using pocketworkstation's debian image with X/Qt on my C3000. I following instructions on smuelas's website and those on PocketworkstationXQT webpage.....

I seem to be able to do most everything else OK, apt-get, run apps, etc...

Driving me nuts!...

Mark

Quote
I personally use IceWM with pocketworkstation's debian image (using fbvnc) on a c3000 without any problems; perhaps there's something odd about the version you installed?
Title: Icewm Or Other Wm? & Themes Mgmt
Post by: Meanie on April 30, 2005, 11:33:44 am
Quote
Thanks for your input, Ellomea!

Not sure what exactly you refer to below?

I'm using pocketworkstation's debian image with X/Qt on my C3000. I following instructions on smuelas's website and those on PocketworkstationXQT webpage.....

I seem to be able to do most everything else OK, apt-get, run apps, etc...

Driving me nuts!...

Mark

Quote
I personally use IceWM with pocketworkstation's debian image (using fbvnc) on a c3000 without any problems; perhaps there's something odd about the version you installed?
[div align=\"right\"][a href=\"index.php?act=findpost&pid=77635\"][{POST_SNAPBACK}][/a][/div]

Archimark,

where is your .icewm directory located? do you have one under /home/zaurus ?
if not, create /home/zaurus and copy .icewm from INSTALL.d/debroot/root/.icewm (make sure its /home/zaurus under debroot
Title: Icewm Or Other Wm? & Themes Mgmt
Post by: ArchiMark on April 30, 2005, 07:17:43 pm
Thanks for your help, Meanie!

My .icewm directory is located at: /mnt/card/debroot/home/.icewm

I looked in this directory and nothing is in it.

Is it supposed to be empty?

Not clear as to where you want me to copy .icewm to. Do you mean at  /home/zaurus/debroot/ ??

As noted above my /debroot directory is on my SD card.

Thanks!

Mark

Quote
where is your .icewm directory located? do you have one under /home/zaurus ?
if not, create /home/zaurus and copy .icewm from INSTALL.d/debroot/root/.icewm (make sure its /home/zaurus under debroot
Title: Icewm Or Other Wm? & Themes Mgmt
Post by: Meanie on May 01, 2005, 05:29:08 am
Quote
Thanks for your help, Meanie!

My .icewm directory is located at: /mnt/card/debroot/home/.icewm

I looked in this directory and nothing is in it.

Is it supposed to be empty?

Not clear as to where you want me to copy .icewm to. Do you mean at  /home/zaurus/debroot/ ??

As noted above my /debroot directory is on my SD card.

Thanks!

Mark

Quote
where is your .icewm directory located? do you have one under /home/zaurus ?
if not, create /home/zaurus and copy .icewm from INSTALL.d/debroot/root/.icewm (make sure its /home/zaurus under debroot
[div align=\"right\"][a href=\"index.php?act=findpost&pid=77672\"][{POST_SNAPBACK}][/a][/div]

well, it should be /mnt/card/debroot/home/zaurus/.icewm for you.

there should be six config files inside that directory, one of them called "theme"

have a look at my website to compare your installation steps to mine.
Title: Icewm Or Other Wm? & Themes Mgmt
Post by: ArchiMark on May 01, 2005, 02:39:41 pm
Thanks again for your help, Meanie!

Unfortunately or fortunately, depending upon how you look at it...  
I just installed the new Cacko v1.23b1 for the C3000....couldn't resist after
waiting so long....works great! Only bad thing is that it erased everything on the
microdrive....  

So guess I have to reinstall X/Qt/Debian again......

Oh well....maybe it will be better this time...

Mar

Quote
well, it should be /mnt/card/debroot/home/zaurus/.icewm for you.

there should be six config files inside that directory, one of them called "theme"

have a look at my website to compare your installation steps to mine.
[div align=\"right\"][a href=\"index.php?act=findpost&pid=77699\"][{POST_SNAPBACK}][/a][/div]
Title: Icewm Or Other Wm? & Themes Mgmt
Post by: tovarish on May 02, 2005, 08:44:37 am
I use fluxbox and configured .xmodmaprc and fluxbox hot keys for maximum performance for laptop as well as pda mode.
IMHO fluxbox is lighter and allows much better options for pda mode operation.

If someone wants I could upload the .xmodmaprc, ~/.fluxbox/keys and a simple rotate script I use in my debian setup.

tovarish
Title: Icewm Or Other Wm? & Themes Mgmt
Post by: ArchiMark on May 02, 2005, 09:07:09 am
That would be great if you could upload it, tovarish!


Quote
I use fluxbox and configured .xmodmaprc and fluxbox hot keys for maximum performance for laptop as well as pda mode.
IMHO fluxbox is lighter and allows much better options for pda mode operation.

If someone wants I could upload the .xmodmaprc, ~/.fluxbox/keys and a simple rotate script I use in my debian setup.

tovarish
Title: Icewm Or Other Wm? & Themes Mgmt
Post by: ArchiMark on May 02, 2005, 10:08:04 am
Meanie,

Took a good look at your website. Has lots of great info!

Going to install X/Qt/Debian per your instructions...

However, can't find one of the files you have in your list. Can you tell me where you
found it?

It's the 'glib_1.2.10-0v13_arm.ipk' file.

Thanks!

Mark
Title: Icewm Or Other Wm? & Themes Mgmt
Post by: Meanie on May 02, 2005, 12:15:11 pm
Quote
Meanie,

Took a good look at your website. Has lots of great info!

Going to install X/Qt/Debian per your instructions...

However, can't find one of the files you have in your list. Can you tell me where you
found it?

It's the 'glib_1.2.10-0v13_arm.ipk' file.

Thanks!

Mark
[div align=\"right\"][{POST_SNAPBACK}][/a][/div] (http://index.php?act=findpost&pid=77873\")

It's in [a href=\"http://sourceforge.jp/projects/xqt]http://sourceforge.jp/projects/xqt[/url]
Title: Icewm Or Other Wm? & Themes Mgmt
Post by: ArchiMark on May 02, 2005, 12:47:00 pm
Thanks meanie, but I looked there already. Maybe my eyes are bad, but what I see when I go to the download page is actually the 'glib-additional_1.2.10-2_arm.ipk' file not the  'glib_1.2.10-0v13_arm.ipk' file.

Meanwhile, would like to clarify two more things in your install instructions, please...

1) You mention that you can use the 'xqt-debian-scripts_0.1_arm.ipk' file. Do you install this AND the other 'xqt-startup-scripts_0.0.3_all.ipk' file too. Or just one of them? I do want to install Debian...

2) At the end of your modifications to the '.xinitrc' file, you show:

Code: [Select]
else
rxvt &
fi

Did you mean to delete the line 'blackbox' after 'rxvt &' ?? If not, does it still go after the line 'rxvt &' and then 'fi' ??

Thanks for your help!

Just don't want to mess things up....  

Mark

Quote
It's in http://sourceforge.jp/projects/xqt (http://sourceforge.jp/projects/xqt)
Title: Icewm Or Other Wm? & Themes Mgmt
Post by: Meanie on May 02, 2005, 09:34:25 pm
Quote
Thanks meanie, but I looked there already. Maybe my eyes are bad, but what I see when I go to the download page is actually the 'glib-additional_1.2.10-2_arm.ipk' file not the  'glib_1.2.10-0v13_arm.ipk' file.

Meanwhile, would like to clarify two more things in your install instructions, please...

1) You mention that you can use the 'xqt-debian-scripts_0.1_arm.ipk' file. Do you install this AND the other 'xqt-startup-scripts_0.0.3_all.ipk' file too. Or just one of them? I do want to install Debian...

2) At the end of your modifications to the '.xinitrc' file, you show:

Code: [Select]
else
rxvt &
fi

Did you mean to delete the line 'blackbox' after 'rxvt &' ?? If not, does it still go after the line 'rxvt &' and then 'fi' ??

Thanks for your help!

Just don't want to mess things up....  

Mark

Quote
It's in http://sourceforge.jp/projects/xqt (http://sourceforge.jp/projects/xqt)
[div align=\"right\"][{POST_SNAPBACK}][/a][/div]
 (http://index.php?act=findpost&pid=77893\")

you are right, that's not the one, but you can find it here [a href=\"http://zaurus.spy.org/feeds/naorou/]http://zaurus.spy.org/feeds/naorou/[/url]

as for the rest, blackbox is meant to remain there. if you install xqt-startup-scripts_0.0.3_all.ipk then you need to do those modifications, alternatively, xqt-debian-scripts_0.1_arm.ipk is meant as a replacement for xqt-startup-scripts_0.0.3_all.ipk

with xqt-debian-scripts_0.1_arm.ipk you don't need to modify .xinitrc and startx-wrapper

I think I need to clean up that section a bit to make it a bit clearer.
Title: Icewm Or Other Wm? & Themes Mgmt
Post by: ArchiMark on May 02, 2005, 09:38:43 pm
Thanks for clarifying, Meanie!

Haven't been able to get X/Qt going yet today.....so hopefully this info
will do the trick...

Thanks,

Mark

Quote
It's in http://sourceforge.jp/projects/xqt (http://sourceforge.jp/projects/xqt)

you are right, that's not the one, but you can find it here http://zaurus.spy.org/feeds/naorou/ (http://zaurus.spy.org/feeds/naorou/)

as for the rest, blackbox is meant to remain there. if you install xqt-startup-scripts_0.0.3_all.ipk then you need to do those modifications, alternatively, xqt-debian-scripts_0.1_arm.ipk is meant as a replacement for xqt-startup-scripts_0.0.3_all.ipk

with xqt-debian-scripts_0.1_arm.ipk you don't need to modify .xinitrc and startx-wrapper

I think I need to clean up that section a bit to make it a bit clearer.
Title: Icewm Or Other Wm? & Themes Mgmt
Post by: ArchiMark on May 02, 2005, 11:33:31 pm
OK, deinstalled and reinstalled again (for the 5th time today....) and still no go....even with the latest info from Meanie....  

When I click on StartX icon it just crashes....

Tried opening it in Console...and get the following messages:
Code: [Select]
/opt/QtPalmtop/bin/Xqt: error while loading shared libraries: libfreetype.so.6:
cannot load shared object file: No such file or directory
xinit: No such file or directory (errno 2): Unable to connect to X server
xinit: No such process (errno 3): Server errror.

Any suggestions?????

Thanks!

Mark
Title: Icewm Or Other Wm? & Themes Mgmt
Post by: Meanie on May 03, 2005, 04:00:21 am
Quote
OK, deinstalled and reinstalled again (for the 5th time today....) and still no go....even with the latest info from Meanie....  

When I click on StartX icon it just crashes....

Tried opening it in Console...and get the following messages:
Code: [Select]
/opt/QtPalmtop/bin/Xqt: error while loading shared libraries: libfreetype.so.6:
cannot load shared object file: No such file or directory
xinit: No such file or directory (errno 2): Unable to connect to X server
xinit: No such process (errno 3): Server errror.

Any suggestions?????

Thanks!

Mark
[div align=\"right\"][a href=\"index.php?act=findpost&pid=77965\"][{POST_SNAPBACK}][/a][/div]


This means that it is missing the freetype [freetype_2.1.5-1_arm.ipk] package. Try installing it and see if it works. Strangely, I did not have to install that package to run Debian and Firefox ( but it is needed for Minimo)
Title: Icewm Or Other Wm? & Themes Mgmt
Post by: ArchiMark on May 03, 2005, 09:59:19 am
Thanks for your help, Meanie.

OK,  installed freetype. Now, here's what happens:

A) If I click on 'StartX' icon, it doesn't open, just see that crash graphic on icon.

 If I use Konsole, and type at prompt 'startx', I now get the following messages, but X does open up:

Code: [Select]
qtApInit
Display size = 480 x 640
qtRandRRotate (270)
Create shadow Image: 480 x640
qtRandRInit ()
qtInitVisualShadowMasks 0000f000 000007e0 0000001f BPRGB 6 d 16 bpp 16
qtRandRInit ()
qtCreateDefColorMap - Deferring to fbCreateDefColorMap ()
qtFinishScreenInitFB - returning
qtScreenInit - returning
127.0.0.1 being added to access control list
failed to set locale, reverting to "C"
rxvt: error while loading shared libraries:
rxvt: undefined symbol: _Xsetlocale
BScreen:: BScreen: managing screen 0 using visual 0x21, depth 15
failed to set locale, reverting to "C"

Any ideas why X won't start from icon??

Any ideas about these error messages??

Does the locale error relate to not installing one of the locale files (included in other install instructions, but not Meanie's) ??

Again, I in option 'B' above, I did get X to open and if do 'fullscreen' I see what I think is the top of the rxvt window at the bottom of the display. At least I think it's just the top as I only see the title bar of the window, the rest of the display has that B&W grid look on it.

Thanks!

Mark


Quote
This means that it is missing the freetype [freetype_2.1.5-1_arm.ipk] package. Try installing it and see if it works. Strangely, I did not have to install that package to run Debian and Firefox ( but it is needed for Minimo)
Title: Icewm Or Other Wm? & Themes Mgmt
Post by: ArchiMark on May 03, 2005, 07:32:37 pm
Just tried opening up X again from QKonsole after commenting out 'Blackbox' in '.xinitrc' file....

Here's what I get in Konsole:

Code: [Select]
$startx
qtApInit
Display size = 480 x 640
qtRandRRotate (270)
_XSERVTransmkdir: Owner of /tmp/.X11-unix should be set to root
Create shadow Image: 480 x640
qtRandRInit ()
qtInitVisualShadowMasks 0000f000 000007e0 0000001f BPRGB 6 d 16 bpp 16
qtRandRInit ()
qtCreateDefColorMap - Deferring to fbCreateDefColorMap ()
qtFinishScreenInitFB - returning
qtScreenInit - returning
127.0.0.1 being added to access control list
waiting for X server to shut down

Any suggestions??

Thanks,

Mark
Title: Icewm Or Other Wm? & Themes Mgmt
Post by: Meanie on May 03, 2005, 10:44:23 pm
Quote
Just tried opening up X again from QKonsole after commenting out 'Blackbox' in '.xinitrc' file....

Here's what I get in Konsole:

Code: [Select]
$startx
qtApInit
Display size = 480 x 640
qtRandRRotate (270)
_XSERVTransmkdir: Owner of /tmp/.X11-unix should be set to root
Create shadow Image: 480 x640
qtRandRInit ()
qtInitVisualShadowMasks 0000f000 000007e0 0000001f BPRGB 6 d 16 bpp 16
qtRandRInit ()
qtCreateDefColorMap - Deferring to fbCreateDefColorMap ()
qtFinishScreenInitFB - returning
qtScreenInit - returning
127.0.0.1 being added to access control list
waiting for X server to shut down


Any suggestions??

Thanks,

Mark
[div align=\"right\"][a href=\"index.php?act=findpost&pid=78114\"][{POST_SNAPBACK}][/a][/div]


well, you had it working before. leave blackbox in there. it is what is keeping x running, if you remove it, x will just finish. by default blackbox provides a very bare minimum taskbar at the bottom which is what you saw before. if you want something fancy, replace it with flushbox or fvwm, etc... or just use debian's icewm.
if you want to get rid of the locale errors, just install the eucjp locale
Title: Icewm Or Other Wm? & Themes Mgmt
Post by: ArchiMark on May 03, 2005, 10:53:16 pm
Thanks as always, Meanie for your help!

Yes, I had it working before...BUT per my earlier post, I have NOT been able to get X to start from clicking on icon, ONLY by typing 'startx' in Konsole....

Seems like something is wrong....

Anyway to fix this strange situation??

Thanks,

Mark

Quote
well, you had it working before. leave blackbox in there. it is what is keeping x running, if you remove it, x will just finish. by default blackbox provides a very bare minimum taskbar at the bottom which is what you saw before. if you want something fancy, replace it with flushbox or fvwm, etc... or just use debian's icewm.
if you want to get rid of the locale errors, just install the eucjp locale
Title: Icewm Or Other Wm? & Themes Mgmt
Post by: Meanie on May 04, 2005, 07:34:14 am
Quote
Thanks as always, Meanie for your help!

Yes, I had it working before...BUT per my earlier post, I have NOT been able to get X to start from clicking on icon, ONLY by typing 'startx' in Konsole....

Seems like something is wrong....

Anyway to fix this strange situation??

Thanks,

Mark

Quote
well, you had it working before. leave blackbox in there. it is what is keeping x running, if you remove it, x will just finish. by default blackbox provides a very bare minimum taskbar at the bottom which is what you saw before. if you want something fancy, replace it with flushbox or fvwm, etc... or just use debian's icewm.
if you want to get rid of the locale errors, just install the eucjp locale
[div align=\"right\"][a href=\"index.php?act=findpost&pid=78136\"][{POST_SNAPBACK}][/a][/div]

ok, you should have 2 icons, X/Qt Server and Start X
which one did you use? the X/Qt does not work, the Start X one does and it should be launching startx-wrapper if you check the startx.desktop file. Also make sure you are not running it as root.
Title: Icewm Or Other Wm? & Themes Mgmt
Post by: ArchiMark on May 04, 2005, 10:13:03 am
Yes, I have the 2 icons.

I used the Start X icon.

I am not running it as root.

Don't know what happened, but I just tried it again and a bit, it DID open it this time!

Thanks for ALL your help, Meanie!!!

Now onto re-installing Debian....  

Mark

Quote
ok, you should have 2 icons, X/Qt Server and Start X
which one did you use? the X/Qt does not work, the Start X one does and it should be launching startx-wrapper if you check the startx.desktop file. Also make sure you are not running it as root.
Title: Icewm Or Other Wm? & Themes Mgmt
Post by: iamasmith on May 04, 2005, 10:37:22 am
Quote
Yes, I have the 2 icons.

I used the Start X icon.

I am not running it as root.

Don't know what happened, but I just tried it again and a bit, it DID open it this time!

Thanks for ALL your help, Meanie!!!

Now onto re-installing Debian....  

Mark

Quote
ok, you should have 2 icons, X/Qt Server and Start X
which one did you use? the X/Qt does not work, the Start X one does and it should be launching startx-wrapper if you check the startx.desktop file. Also make sure you are not running it as root.
[div align=\"right\"][a href=\"index.php?act=findpost&pid=78216\"][{POST_SNAPBACK}][/a][/div]

ArchiMark, if you followed the PocketWorkstation/XQT instructions on the debian Wiki you are running as root. The startup script calls su -c to issue the chroot, this leaves you logged in as root whilst the environment is running.

For some reason though, the environment still seems to have the idea that the ~ path is /home/zaurus and the instructions assume that your home is /home/root (as in the passwd file).

If you get back to where you were then issue the following command from a terminal window (from the Debian environment)...

ln -s /root /home/zaurus

Then try setting your theme. Themes are not being saved in your example because the theme manager couldn't find your home path to save the settings.

- Andy
Title: Icewm Or Other Wm? & Themes Mgmt
Post by: ArchiMark on May 04, 2005, 11:19:47 am
Thanks for your help with this, Andy!

Was driving me nuts!

Mark

Quote
Quote
Yes, I have the 2 icons.

I used the Start X icon.

I am not running it as root.

Don't know what happened, but I just tried it again and a bit, it DID open it this time!

Thanks for ALL your help, Meanie!!!

Now onto re-installing Debian....  

Mark

Quote
ok, you should have 2 icons, X/Qt Server and Start X
which one did you use? the X/Qt does not work, the Start X one does and it should be launching startx-wrapper if you check the startx.desktop file. Also make sure you are not running it as root.
[div align=\"right\"][a href=\"index.php?act=findpost&pid=78216\"][{POST_SNAPBACK}][/a][/div]

ArchiMark, if you followed the PocketWorkstation/XQT instructions on the debian Wiki you are running as root. The startup script calls su -c to issue the chroot, this leaves you logged in as root whilst the environment is running.

For some reason though, the environment still seems to have the idea that the ~ path is /home/zaurus and the instructions assume that your home is /home/root (as in the passwd file).

If you get back to where you were then issue the following command from a terminal window (from the Debian environment)...

ln -s /root /home/zaurus

Then try setting your theme. Themes are not being saved in your example because the theme manager couldn't find your home path to save the settings.

- Andy
[div align=\"right\"][a href=\"index.php?act=findpost&pid=78219\"][{POST_SNAPBACK}][/a][/div]
Title: Icewm Or Other Wm? & Themes Mgmt
Post by: iamasmith on May 04, 2005, 12:22:50 pm
Actually I think I have found the better answer (if you have sudo installed, as you would with Cacko3K).

In the Qtopia envonment /home/zaurus/.xinitrc should contain...
Code: [Select]
#!/bin/sh
export LANG=en_US
export DISPLAY=:0.0

# default: use anthy
#export XMODIFIERS=@im=uim-anthy

# start uim-xim
if [ -x /opt/QtPalmtop/bin/uim-xim ]; then
    exec /opt/QtPalmtop/bin/uim-xim &
fi

if [ -f "${HOME}/.xmodmaprc" ]; then
        xmodmap ~/.xmodmaprc
fi
export HOME=/home/root
sudo chroot `cat /etc/debroot` /startd

Also if you are having keymap problems then one thing that's going to get in the way is KeyHelper, for some reason it works well now with standard XQT but as soon as you go debian it fails.

To avoid this issue if you have KeyHelper installed (or are using Cacko3K and it's built in) edit your /opt/QtPalmtop/bin/startx file add at the top...

khctl disable

and at the bottom...

khctl enable

Finally you probably want to create your .xmodmaprc in /home/zaurus (in the Qtopia environment) that looks like this...

Code: [Select]
keycode 69 = comma slash
keycode 70 = period question
keycode 142 = braceleft
keycode 143 = braceright
keycode 22 = minus grave

This will get the the comma, slash, period and question marks available.
Fn + O = {
Fn + P = }
Shift + - = `
Title: Icewm Or Other Wm? & Themes Mgmt
Post by: iamasmith on May 04, 2005, 12:36:28 pm
For other keycodes you can use xev to find the keycode and the keysyms are available from...

http://wiki.linuxquestions.org/wiki/List_o...ised_by_Xmodmap (http://wiki.linuxquestions.org/wiki/List_of_Keysyms_Recognised_by_Xmodmap)
Title: Icewm Or Other Wm? & Themes Mgmt
Post by: ArchiMark on May 04, 2005, 07:31:28 pm
THANKS Andy for the last few posts!

Really helps!!

And yes, I'm one of your beta testers on the Cacko 3K ROM!

Thanks,

Mark

Quote
For other keycodes you can use xev to find the keycode and the keysyms are available from...

http://wiki.linuxquestions.org/wiki/List_o...ised_by_Xmodmap (http://wiki.linuxquestions.org/wiki/List_of_Keysyms_Recognised_by_Xmodmap)
[div align=\"right\"][a href=\"index.php?act=findpost&pid=78232\"][{POST_SNAPBACK}][/a][/div]
Title: Icewm Or Other Wm? & Themes Mgmt
Post by: ArchiMark on May 05, 2005, 12:31:10 am
Calling Meanie.....(or someone else if they know the answer...)

Installing Debian now per Meanie's webpage...

Install went OK.

Then, installed 'sudo' per webpage.

Instructions say to then configure sudo using the visudo command.

When I try to do that I get:

Code: [Select]
#visudo
visudo: command not found.

Any suggestions?

Thanks,

Mark
Title: Icewm Or Other Wm? & Themes Mgmt
Post by: Meanie on May 05, 2005, 04:16:57 am
Quote
Calling Meanie.....(or someone else if they know the answer...)

Installing Debian now per Meanie's webpage...

Install went OK.

Then, installed 'sudo' per webpage.

Instructions say to then configure sudo using the visudo command.

When I try to do that I get:

Code: [Select]
#visudo
visudo: command not found.

Any suggestions?

Thanks,

Mark
[div align=\"right\"][a href=\"index.php?act=findpost&pid=78324\"][{POST_SNAPBACK}][/a][/div]


is /usr/sbin in your path? that's where visudo should be
Title: Icewm Or Other Wm? & Themes Mgmt
Post by: ArchiMark on May 05, 2005, 09:42:06 am
OK, checking that Meanie...

Code: [Select]
$echo PATH
/home/QtPalmtop/bin:/bin:/root/bin:/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin

So it looks like '/usr/sbin' is in my path right??

I checked that directory and don't see 'visudo' in there...

Thanks!!

Mark
Title: Icewm Or Other Wm? & Themes Mgmt
Post by: ArchiMark on May 05, 2005, 01:23:48 pm
OK, figured out the problem with visudo....  

Turns out that somehow, I installed an earlier version of sudo by mistake...
After installing the later version, I was able to use visudo!

Edited sudoers file and Debian opened up OK....

Also, with this new install, I can change iceWM themes from the iceWM start>Themes menu!

Onward and upward......

Mark
Title: Icewm Or Other Wm? & Themes Mgmt
Post by: Meanie on May 05, 2005, 10:16:00 pm
Quote
OK, figured out the problem with visudo....  

Turns out that somehow, I installed an earlier version of sudo by mistake...
After installing the later version, I was able to use visudo!

Edited sudoers file and Debian opened up OK....

Also, with this new install, I can change iceWM themes from the iceWM start>Themes menu!

Onward and upward......

Mark
[div align=\"right\"][a href=\"index.php?act=findpost&pid=78403\"][{POST_SNAPBACK}][/a][/div]


Good to see that you got it working! I am currently trying to revamp some parts of my website, in particular the X/Qt section to make it a bit clearer. Hopefully I will be done before the weekend because then I'll be off to New Zealand again and not be online.
Title: Icewm Or Other Wm? & Themes Mgmt
Post by: ArchiMark on May 05, 2005, 10:34:46 pm
Thanks again, Meanie!

Couldn't have done it without your great website and your help here!!

Will be glad to review your site again after you edit it and give you feedback if you like...

Have fun in NZ....

Mark

Quote
Good to see that you got it working! I am currently trying to revamp some parts of my website, in particular the X/Qt section to make it a bit clearer. Hopefully I will be done before the weekend because then I'll be off to New Zealand again and not be online.
[div align=\"right\"][a href=\"index.php?act=findpost&pid=78467\"][{POST_SNAPBACK}][/a][/div]
Title: Icewm Or Other Wm? & Themes Mgmt
Post by: perseus on June 01, 2005, 04:16:06 pm
Meanie, ArchiMark, or anyone else that can help this newbie.

# visudo
   
root ALL=(ALL) ALL
zaurus ALL=(ALL) NOPASSWD: /sbin/ifconfig, /sbin/dhcpcd, /usr/bin/apache, /sbin/chroot, /bin/mount, /sbin/swapon

(per meanie's website)

When I enter # visudo in the console I get:

# subdoers file.
#
#This file MUST be edited with the 'visudo' command as root.
#
#See the subdoers man page for the details on how to write a subdoers file.
#
#Host alias specification

#User alias specification

#Cmnd alias specification

#user privilege specification
root      ALL=(ALL) ALL

"/etc/subdoers.tmp" 15 lines, 294 chars
(this last part is highlighted and I am not able to input anything)



Thanks for your help.
Title: Icewm Or Other Wm? & Themes Mgmt
Post by: Meanie on June 03, 2005, 08:24:30 am
Quote
Meanie, ArchiMark, or anyone else that can help this newbie.

# visudo
   
root ALL=(ALL) ALL
zaurus ALL=(ALL) NOPASSWD: /sbin/ifconfig, /sbin/dhcpcd, /usr/bin/apache, /sbin/chroot, /bin/mount, /sbin/swapon

(per meanie's website)

When I enter # visudo in the console I get:

# subdoers file.
#
#This file MUST be edited with the 'visudo' command as root.
#
#See the subdoers man page for the details on how to write a subdoers file.
#
#Host alias specification

#User alias specification

#Cmnd alias specification

#user privilege specification
root      ALL=(ALL) ALL

"/etc/subdoers.tmp" 15 lines, 294 chars
(this last part is highlighted and I am not able to input anything)



Thanks for your help.
[div align=\"right\"][a href=\"index.php?act=findpost&pid=82405\"][{POST_SNAPBACK}][/a][/div]


visudo is a shell for editing /etc/sudoers using vi, so it works exactly like vi. do a google on vi tutorials if you don't know how to use vi. I am a vi fan, so I will not be suggesting you to use any other editors