Author Topic: Icewm - The Ultimate Configuration  (Read 59998 times)

wellswang

  • Jr. Member
  • **
  • Posts: 78
    • View Profile
    • http://wells.osall.com
Icewm - The Ultimate Configuration
« Reply #90 on: April 16, 2007, 09:14:21 pm »
Hi,

I am using icewm+ROX in r198 now.
after startx, the system is works fine.
but if I launch some applications, or plug in/pull out usb cable/headphone ,etc. , the screen mode will be changed ...
when my Z in desktop mode, it will be changed to  480x640 ...
and in portrait mode, it  will be changed to 640x480 ...

I don't know why, and  how to solve it?

Thanks.

BTW, and how to configure application key Calendar worked as "Alt"?
how to configure keyboard shotcut such as Ctrl+Alt+C to launch screencap in icewm ?

--Wells.
« Last Edit: April 16, 2007, 09:15:15 pm by wellswang »

Meanie

  • Hero Member
  • *****
  • Posts: 2803
    • View Profile
    • http://www.users.on.net/~hluc/myZaurus/
Icewm - The Ultimate Configuration
« Reply #91 on: April 17, 2007, 08:41:10 am »
I recompiled icewm 1.2.30 and fixed a few things. The battery monitor now works. It shows the percentage of remaining battery power or displays Charge when plugged into AC.
I also fixed some keymapping problems but there are a few more things I want to fix, such as the misplaced TaskBar after you resize the screen and some extra customisations to the menu items such as adding a suspend and reboot option..., auto rotation, menu generator...

It will be part of pdaXii13 build 5.4 once it is all fixed...
SL-C3000 - pdaXii13 build5.4.9 (based on pdaXrom beta3) / SL-C3100 - Sharp ROM 1.02 JP (heavily customised)
Netgear MA701 CF, SanDisk ConnectPlus CF, Socket Bluetooth CF, 4GB Kingston CF,  4GB pqi SD, 4GB ChoiceOnly SD, 2GB SanDisk SD USB Plus, 1GB SanDisk USB Plus, 1GB Transcend SD, 2GB SanDisk MicroSD with SD adaptor, Piel Frama Leather Case, GoldX 5-in-1 USB cable, USB hub, USB mouse, USB keyboard, USB ethernet, USB HDD, many other USB accessories...
(Zaurus SL-C3000 owner since March 14. 2005, Zaurus SL-C3100 owner since September 21. 2005)
http://members.iinet.net.au/~wyso/myZaurus - zBook3K

Jon_J

  • Hero Member
  • *****
  • Posts: 1853
    • View Profile
    • http://
Icewm - The Ultimate Configuration
« Reply #92 on: April 17, 2007, 03:26:11 pm »
Quote
I recompiled icewm 1.2.30 and fixed a few things. The battery monitor now works. It shows the percentage of remaining battery power or displays Charge when plugged into AC.
I also fixed some keymapping problems but there are a few more things I want to fix, such as the misplaced TaskBar after you resize the screen and some extra customisations to the menu items such as adding a suspend and reboot option..., auto rotation, menu generator...

It will be part of pdaXii13 build 5.4 once it is all fixed...
[div align=\"right\"][a href=\"index.php?act=findpost&pid=159066\"][{POST_SNAPBACK}][/a][/div]
Will this be available as a separate *.ipk?
I plan on staying with pdaxii13-akita base, so that is why I'm wondering.  
Thank you,
Jon
C3100 Multiboot-->Angstrom 2007.12-r18 | Cacko 1.23 | ArchLinuxARM
C3200 pdaxii13v2-5.5-alpha4 Akita on NAND

Ambicom WL1100C-CF Wifi - Ambicom CF modem - Ambicom CF GPS - Belkin-F5D5050 USB LAN
Socket CF Bluetooth rev K - Iogear 4 port USB micro hub - pocket CF card reader
Targus mini USB optical mouse - 2 Targus SD card readers

wellswang

  • Jr. Member
  • **
  • Posts: 78
    • View Profile
    • http://wells.osall.com
Icewm - The Ultimate Configuration
« Reply #93 on: April 18, 2007, 10:40:19 am »
Hi,

how to make iceWM rotate screen automatically when i change my Zaurus between desktop mode and portrait mode ?

thanks.

--Wells.

ZDevil

  • Hero Member
  • *****
  • Posts: 1998
    • View Profile
    • http://
Icewm - The Ultimate Configuration
« Reply #94 on: April 18, 2007, 11:17:33 am »
Quote
Hi,
how to make iceWM rotate screen automatically when i change my Zaurus between desktop mode and portrait mode ?
thanks.
--Wells.
[div align=\"right\"][a href=\"index.php?act=findpost&pid=159181\"][{POST_SNAPBACK}][/a][/div]

I guess the easiest way is to install iceked and use it to set XF86Rotate to execure the rotate command.
« Last Edit: April 18, 2007, 11:17:53 am by ZDevil »

Life is too precious for hacking *too much*
Visit my Z screencap gallery[/color]
My EeePC 701 Black = Debian (Lenny) on IceRocks + Transcend SDHC Class6 8GB + 2GB RAM
My Zaurus SL-C3200 = Debian EABI (kernel 2.6.24.3-yonggun) on a swapped internal Sandisk Extreme III CF 16gb
My Debian EABI feed: http://matrixmen.free.fr/zaurus/debian/
My OpenBSD/Zaurus feeds:  Link1, Link2
[/i][/font][/color][/size]

Jon_J

  • Hero Member
  • *****
  • Posts: 1853
    • View Profile
    • http://
Icewm - The Ultimate Configuration
« Reply #95 on: April 18, 2007, 03:07:44 pm »
Here's a very good page for newbies just starting to use IceWM (6 pages, selectable at bottom)
http://www.osnews.com/story.php/7774/IceWM...-Manager/page1/
C3100 Multiboot-->Angstrom 2007.12-r18 | Cacko 1.23 | ArchLinuxARM
C3200 pdaxii13v2-5.5-alpha4 Akita on NAND

Ambicom WL1100C-CF Wifi - Ambicom CF modem - Ambicom CF GPS - Belkin-F5D5050 USB LAN
Socket CF Bluetooth rev K - Iogear 4 port USB micro hub - pocket CF card reader
Targus mini USB optical mouse - 2 Targus SD card readers

Meanie

  • Hero Member
  • *****
  • Posts: 2803
    • View Profile
    • http://www.users.on.net/~hluc/myZaurus/
Icewm - The Ultimate Configuration
« Reply #96 on: April 20, 2007, 12:41:12 pm »
hacked icewm 1.2.30 with working battery monitor, screen rotation works and keys have been mapped. also added suspend and reboot options to the menu.
SL-C3000 - pdaXii13 build5.4.9 (based on pdaXrom beta3) / SL-C3100 - Sharp ROM 1.02 JP (heavily customised)
Netgear MA701 CF, SanDisk ConnectPlus CF, Socket Bluetooth CF, 4GB Kingston CF,  4GB pqi SD, 4GB ChoiceOnly SD, 2GB SanDisk SD USB Plus, 1GB SanDisk USB Plus, 1GB Transcend SD, 2GB SanDisk MicroSD with SD adaptor, Piel Frama Leather Case, GoldX 5-in-1 USB cable, USB hub, USB mouse, USB keyboard, USB ethernet, USB HDD, many other USB accessories...
(Zaurus SL-C3000 owner since March 14. 2005, Zaurus SL-C3100 owner since September 21. 2005)
http://members.iinet.net.au/~wyso/myZaurus - zBook3K

Jon_J

  • Hero Member
  • *****
  • Posts: 1853
    • View Profile
    • http://
Icewm - The Ultimate Configuration
« Reply #97 on: April 20, 2007, 01:19:34 pm »
Quote
hacked icewm 1.2.30 with working battery monitor, screen rotation works and keys have been mapped. also added suspend and reboot options to the menu.
[div align=\"right\"][a href=\"index.php?act=findpost&pid=159403\"][{POST_SNAPBACK}][/a][/div]
I'm going to install this later today or tonight.
1. First I have backed up all my "personal" icewm preferences and settings.
2. Then I'll uninstall icewm from my C3200 from within openbox.
3. Then I'll install this new version.

I have a couple questions.
1. How do you start icewm? Should I keep my modified files and start it the way I have already setup?
I modified "startx" to point to "xinitrc-ice". Then I renanmed my new modified "startx"   to "startice"
I created a new "xinitrc" using the one posted here, and renamed it "xinitrc-ice"
I boot to the login screen and can use either "startx" for openbox, and "startice" for icewm.

2. My second question is about the rotate *.ipk
Does this replace "rotate" in openbox?
Since I already have "rotate" installed in openbox, (the default one that comes with pdaxii13-akita), what does this newer "rotate" package do?
Will it effect "rotate" in openbox? Should I uninstall "rotate" from openbox? (It's version 1.0.6), then install "rotate 1.0.8"

Sorry for the seemingly redundant questions, but I want thorough understanding how the later icewm and rotate works.
Thank you,
Jon
« Last Edit: April 21, 2007, 12:45:41 pm by Jon_J »
C3100 Multiboot-->Angstrom 2007.12-r18 | Cacko 1.23 | ArchLinuxARM
C3200 pdaxii13v2-5.5-alpha4 Akita on NAND

Ambicom WL1100C-CF Wifi - Ambicom CF modem - Ambicom CF GPS - Belkin-F5D5050 USB LAN
Socket CF Bluetooth rev K - Iogear 4 port USB micro hub - pocket CF card reader
Targus mini USB optical mouse - 2 Targus SD card readers

Jon_J

  • Hero Member
  • *****
  • Posts: 1853
    • View Profile
    • http://
Icewm - The Ultimate Configuration
« Reply #98 on: April 21, 2007, 12:48:05 pm »
I switched to openbox and backed up all my "personal" icewm preferences and settings to my hard drive, then deleted them in ~/.icewm
Then I uninstalled icewm and rotate 1.06
Then I installed the later version of icewm posted above and rotate 1.0.8
I wasn't sure how to start this new icewm, so I used my modified "startice" and ".xinitrc-ice" to launch it from outside of X
Meanie's new version launched and I checked things.
The menu only populated under the "System" and "Toolbar" folder. None of the other categories were filled in. I can do this manually later, or try the new icewm config tool called "Icewm regenerate menu"
WOW! using that tool re-populated my entire menu, as if by magic.

There is one "bug" that needs fixed.
The "virtual keyboard" on the taskbar causes the taskbar to disappear when it is clicked.
I had to restart icewm to get the taskbar back.
I don't use this feature, so I'm going to remove it from the taskbar.

EDIT:
Rotating the screen never worked in icewm, so I tried it with this version and the screen stays in landscape mode when completely folded over in PDA mode.
« Last Edit: April 21, 2007, 01:18:31 pm by Jon_J »
C3100 Multiboot-->Angstrom 2007.12-r18 | Cacko 1.23 | ArchLinuxARM
C3200 pdaxii13v2-5.5-alpha4 Akita on NAND

Ambicom WL1100C-CF Wifi - Ambicom CF modem - Ambicom CF GPS - Belkin-F5D5050 USB LAN
Socket CF Bluetooth rev K - Iogear 4 port USB micro hub - pocket CF card reader
Targus mini USB optical mouse - 2 Targus SD card readers

Meanie

  • Hero Member
  • *****
  • Posts: 2803
    • View Profile
    • http://www.users.on.net/~hluc/myZaurus/
Icewm - The Ultimate Configuration
« Reply #99 on: April 22, 2007, 03:31:19 am »
Quote
I switched to openbox and backed up all my "personal" icewm preferences and settings to my hard drive, then deleted them in ~/.icewm
Then I uninstalled icewm and rotate 1.06
Then I installed the later version of icewm posted above and rotate 1.0.8
I wasn't sure how to start this new icewm, so I used my modified "startice" and ".xinitrc-ice" to launch it from outside of X
Meanie's new version launched and I checked things.
The menu only populated under the "System" and "Toolbar" folder. None of the other categories were filled in. I can do this manually later, or try the new icewm config tool called "Icewm regenerate menu"
WOW! using that tool re-populated my entire menu, as if by magic.

There is one "bug" that needs fixed.
The "virtual keyboard" on the taskbar causes the taskbar to disappear when it is clicked.
I had to restart icewm to get the taskbar back.
I don't use this feature, so I'm going to remove it from the taskbar.

EDIT:
Rotating the screen never worked in icewm, so I tried it with this version and the screen stays in landscape mode when completely folded over in PDA mode.
[div align=\"right\"][a href=\"index.php?act=findpost&pid=159463\"][{POST_SNAPBACK}][/a][/div]

rotation works, but needs more fixing since by default icewm taskbar is moved way off the screen when rotating back to landscape after going to portrait.
running /etc/sysconfig/clamshell/scripts/x11scr portrait or landscape rotates the screen properly. the integration points needs a bit of fine tuning so when closing/suspending the Z and opening/resuming the Z, the screen is correctly rotated and the taskbar is located at the right position.

in pdaXii13, switching window manager is done by running xselect from outside of X.

/etc/X11/xinit/xinitrc or ~/.xinitrc is loaded by startx. xselect just relinks the appropriate x session script for the selected window manager to xinitrc

xsession package contains x session configs for several window managers (currently openbox/matchbox, icewm and fluxbox)

so far, I have spend most of my efforts in fixing the battery status, the custom menu with extra options, some keymappings like getting the menu key popping up the menu and using the same key sequence to take screenshots just like in openbox, and started some work on hacking making rotation behave correctly... starting pdaXii13 build 5.4, icewm will be the default window manager in pdaXii13, but of course you can switch it back by using xselect. you can even configure pdaXii13 to let you select the window manager during boot up...
SL-C3000 - pdaXii13 build5.4.9 (based on pdaXrom beta3) / SL-C3100 - Sharp ROM 1.02 JP (heavily customised)
Netgear MA701 CF, SanDisk ConnectPlus CF, Socket Bluetooth CF, 4GB Kingston CF,  4GB pqi SD, 4GB ChoiceOnly SD, 2GB SanDisk SD USB Plus, 1GB SanDisk USB Plus, 1GB Transcend SD, 2GB SanDisk MicroSD with SD adaptor, Piel Frama Leather Case, GoldX 5-in-1 USB cable, USB hub, USB mouse, USB keyboard, USB ethernet, USB HDD, many other USB accessories...
(Zaurus SL-C3000 owner since March 14. 2005, Zaurus SL-C3100 owner since September 21. 2005)
http://members.iinet.net.au/~wyso/myZaurus - zBook3K

Meanie

  • Hero Member
  • *****
  • Posts: 2803
    • View Profile
    • http://www.users.on.net/~hluc/myZaurus/
Icewm - The Ultimate Configuration
« Reply #100 on: April 22, 2007, 09:02:23 am »
ok, icewm is now hacked sufficiently and all the features I want in it are now working



i have updated the icewm package as well as the rotate package
SL-C3000 - pdaXii13 build5.4.9 (based on pdaXrom beta3) / SL-C3100 - Sharp ROM 1.02 JP (heavily customised)
Netgear MA701 CF, SanDisk ConnectPlus CF, Socket Bluetooth CF, 4GB Kingston CF,  4GB pqi SD, 4GB ChoiceOnly SD, 2GB SanDisk SD USB Plus, 1GB SanDisk USB Plus, 1GB Transcend SD, 2GB SanDisk MicroSD with SD adaptor, Piel Frama Leather Case, GoldX 5-in-1 USB cable, USB hub, USB mouse, USB keyboard, USB ethernet, USB HDD, many other USB accessories...
(Zaurus SL-C3000 owner since March 14. 2005, Zaurus SL-C3100 owner since September 21. 2005)
http://members.iinet.net.au/~wyso/myZaurus - zBook3K

Jon_J

  • Hero Member
  • *****
  • Posts: 1853
    • View Profile
    • http://
Icewm - The Ultimate Configuration
« Reply #101 on: April 22, 2007, 09:11:38 am »
Quote
starting pdaXii13 build 5.4, icewm will be the default window manager in pdaXii13, but of course you can switch it back by using xselect. you can even configure pdaXii13 to let you select the window manager during boot up...
[div align=\"right\"][a href=\"index.php?act=findpost&pid=159492\"][{POST_SNAPBACK}][/a][/div]
Meanie, Does this include the Akita base version that installs on NAND?
This makes more sense to have a "lighter" window manager running on a limited device.
Once build 5.4 is available with icewm, will one be able to uninstall matchbox/openbox?

Thank you for the explanation.
C3100 Multiboot-->Angstrom 2007.12-r18 | Cacko 1.23 | ArchLinuxARM
C3200 pdaxii13v2-5.5-alpha4 Akita on NAND

Ambicom WL1100C-CF Wifi - Ambicom CF modem - Ambicom CF GPS - Belkin-F5D5050 USB LAN
Socket CF Bluetooth rev K - Iogear 4 port USB micro hub - pocket CF card reader
Targus mini USB optical mouse - 2 Targus SD card readers

Meanie

  • Hero Member
  • *****
  • Posts: 2803
    • View Profile
    • http://www.users.on.net/~hluc/myZaurus/
Icewm - The Ultimate Configuration
« Reply #102 on: April 22, 2007, 09:21:44 am »
Quote
Quote
starting pdaXii13 build 5.4, icewm will be the default window manager in pdaXii13, but of course you can switch it back by using xselect. you can even configure pdaXii13 to let you select the window manager during boot up...
[div align=\"right\"][a href=\"index.php?act=findpost&pid=159492\"][{POST_SNAPBACK}][/a][/div]
Meanie, Does this include the Akita base version that installs on NAND?
This makes more sense to have a "lighter" window manager running on a limited device.
Once build 5.4 is available with icewm, will one be able to uninstall matchbox/openbox?

Thank you for the explanation.
[div align=\"right\"][a href=\"index.php?act=findpost&pid=159509\"][{POST_SNAPBACK}][/a][/div]

This applies only to the full edition, the base edition stays as it is, ie pdaXii13 full will have icewm as default rather than openbox, but you can still switch between the two using xselect. pdaXii13 base will still have openbox as the default window manager
SL-C3000 - pdaXii13 build5.4.9 (based on pdaXrom beta3) / SL-C3100 - Sharp ROM 1.02 JP (heavily customised)
Netgear MA701 CF, SanDisk ConnectPlus CF, Socket Bluetooth CF, 4GB Kingston CF,  4GB pqi SD, 4GB ChoiceOnly SD, 2GB SanDisk SD USB Plus, 1GB SanDisk USB Plus, 1GB Transcend SD, 2GB SanDisk MicroSD with SD adaptor, Piel Frama Leather Case, GoldX 5-in-1 USB cable, USB hub, USB mouse, USB keyboard, USB ethernet, USB HDD, many other USB accessories...
(Zaurus SL-C3000 owner since March 14. 2005, Zaurus SL-C3100 owner since September 21. 2005)
http://members.iinet.net.au/~wyso/myZaurus - zBook3K

zi99y

  • Sr. Member
  • ****
  • Posts: 282
    • View Profile
Icewm - The Ultimate Configuration
« Reply #103 on: April 24, 2007, 04:32:54 am »
Nice new packages, thanks for these meanie!

I notice that it runs faster than the older ipk I used from the start of this thread, especially scrolling up and down the menu.

Is it possible to tweak the menu items at the bottom like Rotate/Exit/Reboot/Suspend - These aren't shown in my menu file and I would like to change them, if I add my own in ~/.icewm/menu they are then duplicated.

The suspend option from the menu seems to work differently to my normal suspend command (xset dpms force off ) and has crashed on resume a couple of times, I would like to change the suspend command for this menu item.

cheers!

zi99y

  • Sr. Member
  • ****
  • Posts: 282
    • View Profile
Icewm - The Ultimate Configuration
« Reply #104 on: April 24, 2007, 04:40:21 am »
I forgot the other question I wanted to ask!

In the rotate script ( /etc/sysconfig/clamshell/scripts.d/x11scr ) I can't seem to find which part reloads the tray apps, when it returns to landscape it always loads glipper and screen blanker, which I don't want.

Also I had an idea to make xvkbd load when switching to portrait and killing when in landscape, as this is when you need to use it. I have tweaked winoptions so that xvkbd only appears in the tray, pretty sweet