OESF Portables Forum

Everything Else => Zaurus Distro Support and Discussion => Distros, Development, and Model Specific Forums => Archived Forums => Angstrom & OpenZaurus => Topic started by: McChubby on July 05, 2006, 01:22:43 pm

Title: How To Change Gpe Wm From Matchbox?
Post by: McChubby on July 05, 2006, 01:22:43 pm
Hi everyone,

I'm still on my "Must try-out all ROMs" cycle, now onto GPE . . .  I'm interested in trying-out different Window Managers for GPE, so I installed (as root) IceWM and Fluxbox (ipkg install icewm;ipkg install fluxbox), and then created .xinitrc and .xsession and put in both files:

Code: [Select]
exec fluxboxHowever when I logout and then back in (as root) matchbox is still running.

I also tried "exec icewm" with the same results.  icewm and fluxbox are definitely installed since if I try running from the root console I get errors (correctly) stating that another WM is running.

What am I doing wrong?    

Thanks.
Title: How To Change Gpe Wm From Matchbox?
Post by: koen on July 05, 2006, 02:12:10 pm
Quote
Hi everyone,

I'm still on my "Must try-out all ROMs" cycle, now onto GPE . . .  I'm interested in trying-out different Window Managers for GPE, so I installed (as root) IceWM and Fluxbox (ipkg install icewm;ipkg install fluxbox), and then created .xinitrc and .xsession and put in both files:

Code: [Select]
exec fluxboxHowever when I logout and then back in (as root) matchbox is still running.

I also tried "exec icewm" with the same results.  icewm and fluxbox are definitely installed since if I try running from the root console I get errors (correctly) stating that another WM is running.

What am I doing wrong?   

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

kdrive doesn't use .xinitc and .xsession. try installing fluxbox-gpe to get it to start automagically
Title: How To Change Gpe Wm From Matchbox?
Post by: McChubby on July 05, 2006, 04:03:15 pm
Quote
kdrive doesn't use .xinitc and .xsession. try installing fluxbox-gpe to get it to start automagically
[div align=\"right\"][a href=\"index.php?act=findpost&pid=134039\"][{POST_SNAPBACK}][/a][/div]
Ah, OK.  Now installed fluxbox-gpe and it works!  Thanks.

Are there any tools available to configure Fluxbox, or a howto anywhere?

I noticed that links were changed during the install, does this mean I could have IceWM (or others) running instead, and if so, does anyone know how?

Thanks for your patience.

M
Title: How To Change Gpe Wm From Matchbox?
Post by: McChubby on July 05, 2006, 04:20:24 pm
Actually, I take back part of what I said : It kind of works!

It now seems that matchbox and fluxbox are sort-of fighting over control - although window decoration is now fluxbox, and there's a desktop nav bar etc at the top, the bottom status bar is still matchbox, and I cannot fathom how to get the fluxbox menu up (like doing a right mouse button) - tried Fn, Ctrl, Alt etc.

I'm looking thru the Fluxbox howto as we speak.

Can anyone help - this is frustrating.  
Title: How To Change Gpe Wm From Matchbox?
Post by: koen on July 05, 2006, 05:18:27 pm
Quote
Actually, I take back part of what I said : It kind of works!

It now seems that matchbox and fluxbox are sort-of fighting over control - although window decoration is now fluxbox, and there's a desktop nav bar etc at the top, the bottom status bar is still matchbox,
[div align=\"right\"][a href=\"index.php?act=findpost&pid=134055\"][{POST_SNAPBACK}][/a][/div]

That's expected, since you replaced matchbox-wm with fluxbox, but left matchbox-desktop and matchbox-panel intact.
Title: How To Change Gpe Wm From Matchbox?
Post by: CoreDump on July 05, 2006, 05:51:57 pm
Ok, here's breakdown how OZ launches its X11 system:

1. /etc/init.d/gpe-dm launches /etx/X11/Xserver

Xserver is a shellscript which sets mutliple paramters for the real X server, like rotation, DPI and input device and the selects the correct xserver binary as well. For OZ that would be kdrive-fbdev.

2. After the xserver is running, all scripts in /etc/X11/Xinit.d are sourced and executed.

Various things are configured at this stage: correct xmodmap (x11 keymapping), TS calibration if required and the mouse pointer is made invisible.

The last script launches gpe-login, the GPE login manager

3. After gpe-login is used to login as a user, a new xserver running with the permissions of $USER is launched and all scripts in /etc/init.d/Xsession.d are executed

At this stage all user-space stuff required for GPE operation is launched under the UID of $USER
(ipaq-sleep, gconfd, keylaunch etc)

The very last script in Xsession.d launches the GUI:

Quote
# cat 99xWindowManager
#!/bin/sh

exec x-window-manager
#

x-window-manager is a symlink handled by update-alternatives and points to the session file used to bring up the GUI.

Reroute that script to something else to launch another WM.

The typical GPE session consists of:

matchbox-panel
matchbox-desktop
matchbox-wm


You may replace the components with anything you want but keep in mind that a working X environment consists of many many small things that work together.
Title: How To Change Gpe Wm From Matchbox?
Post by: CoreDump on July 05, 2006, 05:56:30 pm
I don't know which version of fluxbox-gpe you've got there since the packge is only a day or two old
but you can configure key binding to bring up the rootmenu of fluxbox. Window configuration can only be done w/ a right-mouse-button. You can use x11vnc and a vncviewer on your desktop for that.

The latest version brings up the root menu with Fn+[Menu],
[Home] switches trough open and non-minimized windows,
Fn+[Home] minimizes the active window.

Ah, and Alt+R reloads the configuration from ~/.fluxbox.

HTH
Title: How To Change Gpe Wm From Matchbox?
Post by: McChubby on July 05, 2006, 07:21:12 pm
Brilliant; it's starting to become clearer   .

I'll spend some time tomorrow going thru your info - maybe I'll post a HOWTO for anyone that might be interested (if/when I'm successful)?

Thanks very much.
Title: How To Change Gpe Wm From Matchbox?
Post by: Ferret-Simpson on July 19, 2006, 05:39:53 am
Hey, is there a precompiled version of XFCE or BlackBox available?
(I know fluxbox is very similar, but I'm fussy.)

XFCE would be prefferable. . . As well as QT and konqueror-embedded, since I've been using full Konqueror on my dektop as my file manager forever.
Title: How To Change Gpe Wm From Matchbox?
Post by: koen on July 19, 2006, 05:54:36 am
Quote
Hey, is there a precompiled version of XFCE or BlackBox available?
(I know fluxbox is very similar, but I'm fussy.)

XFCE would be prefferable. . . As well as QT and konqueror-embedded, since I've been using full Konqueror on my dektop as my file manager forever.
[div align=\"right\"][a href=\"index.php?act=findpost&pid=135680\"][{POST_SNAPBACK}][/a][/div]

Xfce-wm doesn't work on 16bit composited displays, and qt3-x11 should be in the feed already.
Title: How To Change Gpe Wm From Matchbox?
Post by: RGRICH on July 19, 2006, 08:02:56 am
Quote
I don't know which version of fluxbox-gpe you've got there since the packge is only a day or two old
but you can configure key binding to bring up the rootmenu of fluxbox. Window configuration can only be done w/ a right-mouse-button. You can use x11vnc and a vncviewer on your desktop for that.

The latest version brings up the root menu with Fn+[Menu],
[Home] switches trough open and non-minimized windows,
Fn+[Home] minimizes the active window.

Ah, and Alt+R reloads the configuration from ~/.fluxbox.

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

I have the latest version of fluxbox-gpe but I don't seem to have the key functionality that you descrbie (i.e. root-menu). What can I check to verify the setup is correct?
Thanks,
 Randy
Title: How To Change Gpe Wm From Matchbox?
Post by: CoreDump on July 19, 2006, 11:37:05 am
Quote
Quote
I don't know which version of fluxbox-gpe you've got there since the packge is only a day or two old
but you can configure key binding to bring up the rootmenu of fluxbox. Window configuration can only be done w/ a right-mouse-button. You can use x11vnc and a vncviewer on your desktop for that.

The latest version brings up the root menu with Fn+[Menu],
[Home] switches trough open and non-minimized windows,
Fn+[Home] minimizes the active window.

Ah, and Alt+R reloads the configuration from ~/.fluxbox.

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

I have the latest version of fluxbox-gpe but I don't seem to have the key functionality that you descrbie (i.e. root-menu). What can I check to verify the setup is correct?
Thanks,
 Randy
[div align=\"right\"][a href=\"index.php?act=findpost&pid=135720\"][{POST_SNAPBACK}][/a][/div]

Post the content of ~/.fluxbox/keys  

In any case we'll have to wait for hrw to get back from his well-earned vacation as he is the only one w/ rw access to the upgrade feed.
Title: How To Change Gpe Wm From Matchbox?
Post by: InSearchOf on July 19, 2006, 12:44:19 pm
Quote
Xfce-wm doesn't work on 16bit composited displays

What do you mean it doesn't work on 16bit composited displays?
Details please

Late
Title: How To Change Gpe Wm From Matchbox?
Post by: koen on July 19, 2006, 12:48:29 pm
Quote
Quote
Xfce-wm doesn't work on 16bit composited displays

What do you mean it doesn't work on 16bit composited displays?
[div align=\"right\"][a href=\"index.php?act=findpost&pid=135771\"][{POST_SNAPBACK}][/a][/div]

As I said, xfce-wm doesn't work on composited 16bit displays. Exchange one of the three (xfwm, 16bit or compositing) and it suddenly works.
Title: How To Change Gpe Wm From Matchbox?
Post by: lardman on July 20, 2006, 05:22:06 am
Quote
composited 16bit displays

And do the Zauruses use 16bit composited displays?


Si
Title: How To Change Gpe Wm From Matchbox?
Post by: koen on July 20, 2006, 05:39:44 am
Quote
Quote
composited 16bit displays

And do the Zauruses use 16bit composited displays?
[div align=\"right\"][a href=\"index.php?act=findpost&pid=135834\"][{POST_SNAPBACK}][/a][/div]

That depends on the configuration of you Xserver
Title: How To Change Gpe Wm From Matchbox?
Post by: leland on August 31, 2006, 01:15:25 am
ok - say I've got GPE, how do I config my xserver to not use 16-bit composite so that I can run xfce ?
BTW- I'm using a 6000L