Author Topic: How To Change Gpe Wm From Matchbox?  (Read 7959 times)

McChubby

  • Jr. Member
  • **
  • Posts: 54
    • View Profile
    • http://
How To Change Gpe Wm From Matchbox?
« 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.

koen

  • Hero Member
  • *****
  • Posts: 1008
    • View Profile
    • http://dominion.thruhere.net/koen/cms/
How To Change Gpe Wm From Matchbox?
« Reply #1 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
Forums are not bugtrackers!!! Smart questions
Ångström release team
iPAQ h2210, iPAQ h5550, iPAQ hx4700, Zaurus SL-C700, Nokia 770, all running some form of GPE
My blog

McChubby

  • Jr. Member
  • **
  • Posts: 54
    • View Profile
    • http://
How To Change Gpe Wm From Matchbox?
« Reply #2 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

McChubby

  • Jr. Member
  • **
  • Posts: 54
    • View Profile
    • http://
How To Change Gpe Wm From Matchbox?
« Reply #3 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.  

koen

  • Hero Member
  • *****
  • Posts: 1008
    • View Profile
    • http://dominion.thruhere.net/koen/cms/
How To Change Gpe Wm From Matchbox?
« Reply #4 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.
Forums are not bugtrackers!!! Smart questions
Ångström release team
iPAQ h2210, iPAQ h5550, iPAQ hx4700, Zaurus SL-C700, Nokia 770, all running some form of GPE
My blog

CoreDump

  • Hero Member
  • *****
  • Posts: 713
    • View Profile
    • http://www.hentges.net
How To Change Gpe Wm From Matchbox?
« Reply #5 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.
Webmaster of hentges.net & Embedded Linux Developer.

CoreDump

  • Hero Member
  • *****
  • Posts: 713
    • View Profile
    • http://www.hentges.net
How To Change Gpe Wm From Matchbox?
« Reply #6 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
Webmaster of hentges.net & Embedded Linux Developer.

McChubby

  • Jr. Member
  • **
  • Posts: 54
    • View Profile
    • http://
How To Change Gpe Wm From Matchbox?
« Reply #7 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.

Ferret-Simpson

  • Hero Member
  • *****
  • Posts: 572
    • View Profile
How To Change Gpe Wm From Matchbox?
« Reply #8 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.
Cortana: PXA250/Poodle: OZ/GPE 3.4.2RC1
Tycho PXA270/HTC_Universal WM5  .30.107/1.09.00/42.42.P8/1.30.162
HollyWatch: Fossil AU5005 - POS 4.1.2
ATLANTIS: Fujitsu Lifebook T4210 TBPC2005

Tosh256CF, Adlink CF 802.11B, 512KingSD, 128VikSD, CFChiMeiG1GPRS

koen

  • Hero Member
  • *****
  • Posts: 1008
    • View Profile
    • http://dominion.thruhere.net/koen/cms/
How To Change Gpe Wm From Matchbox?
« Reply #9 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.
Forums are not bugtrackers!!! Smart questions
Ångström release team
iPAQ h2210, iPAQ h5550, iPAQ hx4700, Zaurus SL-C700, Nokia 770, all running some form of GPE
My blog

RGRICH

  • Newbie
  • *
  • Posts: 16
    • View Profile
How To Change Gpe Wm From Matchbox?
« Reply #10 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
« Last Edit: July 19, 2006, 08:03:39 am by RGRICH »

CoreDump

  • Hero Member
  • *****
  • Posts: 713
    • View Profile
    • http://www.hentges.net
How To Change Gpe Wm From Matchbox?
« Reply #11 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.
Webmaster of hentges.net & Embedded Linux Developer.

InSearchOf

  • Administrator
  • Hero Member
  • *****
  • Posts: 1144
    • View Profile
    • http://
How To Change Gpe Wm From Matchbox?
« Reply #12 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
Sharp Zaurus SL-C3100 and SL-6000L
pdaXrom Developer
Please visit pdaXrom.org for updates
My Blog
IRC #pdaxrom @ FreeNode

koen

  • Hero Member
  • *****
  • Posts: 1008
    • View Profile
    • http://dominion.thruhere.net/koen/cms/
How To Change Gpe Wm From Matchbox?
« Reply #13 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.
Forums are not bugtrackers!!! Smart questions
Ångström release team
iPAQ h2210, iPAQ h5550, iPAQ hx4700, Zaurus SL-C700, Nokia 770, all running some form of GPE
My blog

lardman

  • Hero Member
  • *****
  • Posts: 4512
    • View Profile
    • http://people.bath.ac.uk/enpsgp/Zaurus/
How To Change Gpe Wm From Matchbox?
« Reply #14 on: July 20, 2006, 05:22:06 am »
Quote
composited 16bit displays

And do the Zauruses use 16bit composited displays?


Si
C750 OZ3.5.4 (GPE, 2.6.x kernel)
SL5500 OZ3.5.4 (Opie)
Nokia 770
Serial GPS, WCF-12, Socket Ethernet & BT, Ratoc USB
WinXP, Mandriva