Author Topic: New Icewm Desktop And Menu Solutions  (Read 23897 times)

ZDevil

  • Hero Member
  • *****
  • Posts: 1998
    • View Profile
    • http://
New Icewm Desktop And Menu Solutions
« on: March 29, 2008, 03:29:54 am »
AmigaFalcon has asked some good questions about the desktop icon and program menu settings in IceWM which is the default WM in my rootfs tarball. I reposted here for easy reference.

Q1: A few applications, such as XMMS and Dillio, etc are nowhere to be seen in the program launcher/taskbar. I have to execute these apps from the command line instead. Infact, very few apps (system file browsers, word processors, etc) are visible from the application launch menu - which is surprising considering how large the Rootfs is. I guess they are all hidden somewhere on the drive? Again, is this standard for this distro?

A1: There are several solutions:
Solution 1: Edit "~/.icewm/menu" and add whatever you want there. A tedious way.
Solution 2: Install a program call "menu" and run "update-menus". But the result is less than satifactory as there are too many trivial folders and categories and duplicated entries.
Solution 3: Add "icewm-menu-gnome2" in ~/.icewm/menu . See http://myy.helia.fi/~karte/icewm.html for instructions.  But again I find the menu generated not so optimal.
Solution 4: Use this "icewm_meuntools" scriptpack which is a slightly modified and enhanced version of Meanie's tools in pdaXii. Extract the tarball somewhere, then enter the extracted "icewm_menutools_0.1a" directory, and run "./install.sh" there. A few seconds later you'll see a new IceWM menu with program icons sorted, plus a few goodies. smile.gif  


Q2 There are no app links setup on the desktop, no access to any GUI Filebrowser on desktop (or even in the app launcher) , etc unlike distros such as PdaXRom where everything is immediately accessible...

A2: Again there are several solutions.
Solution 1: Use Rox desktop, just like in pdaXrom. See here for how to install it: http://www.debianhelp.co.uk/rox.htm
Solution 2: Use idesk, and it requires manual editing of the config file. Just "apt-get install idesk". See http://idesk.sourceforge.net/wiki/index.php/Main_Page for how to set up the menu file.
Solution 3: Use pcmanfm. Go to "Preferences > Desktop", then check "Show file icons on desktop". You can also set desktop wallpaper there (but I find it slower than using icewmbg directly). Also add "pcmanfm &" in .xinitrc, above the line "icewm-session".
« Last Edit: March 29, 2008, 07:49:19 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]

ZDevil

  • Hero Member
  • *****
  • Posts: 1998
    • View Profile
    • http://
New Icewm Desktop And Menu Solutions
« Reply #1 on: March 29, 2008, 07:50:34 am »
Just updated the installer script to make it generate new IceWM menu items once. Those downloaded 0.1 can simply run "makeicewm" without using 0.1a.
Have fun.

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]

matthis

  • Full Member
  • ***
  • Posts: 217
    • View Profile
    • http://badaboum.bidibom.free.fr/mat/
New Icewm Desktop And Menu Solutions
« Reply #2 on: March 29, 2008, 09:45:17 am »
Thanks!! It indeed makes things nice and easy!!

ZDevil

  • Hero Member
  • *****
  • Posts: 1998
    • View Profile
    • http://
New Icewm Desktop And Menu Solutions
« Reply #3 on: March 30, 2008, 05:43:52 am »
A 0.2 scriptpack is underway.

Enchancements (already/almost done):
1) Add an uninstaller script to remove the installed files and to resume the backup menu file;
2) Add desktop icons functionality using idesk;
3) Add automatic wallpaper rotation (landscape <-> portrait) using fbsetbg from fluxbox;

I am still thinking of adding some panel items, like volume control, etc. Any good suggestion and pointer?  
« Last Edit: March 30, 2008, 05:44:09 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]

adf

  • Hero Member
  • *****
  • Posts: 2807
    • View Profile
    • http://
New Icewm Desktop And Menu Solutions
« Reply #4 on: March 30, 2008, 06:44:31 am »
Quote from: ZDevil
A 0.2 scriptpack is underway.

Enchancements (already/almost done):
1) Add an uninstaller script to remove the installed files and to resume the backup menu file;
2) Add desktop icons functionality using idesk;
3) Add automatic wallpaper rotation (landscape <-> portrait) using fbsetbg from fluxbox;

I am still thinking of adding some panel items, like volume control, etc. Any good suggestion and pointer?  
network applet-- usb, pppd, eth, wlan, etc?  to monitor and manage connections?   File sharinng applet?  swap and card mangement?  Basically what has been done in either cacko or pdaxii13 has been useful.
**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

LinuxGadget

  • Newbie
  • *
  • Posts: 44
    • View Profile
New Icewm Desktop And Menu Solutions
« Reply #5 on: March 30, 2008, 07:01:06 am »
Hi, ZDevil!


tested your script, menus are updated fine, did even find fluxbox .
Installed pcmanfm, followed your instructions -> icons on the Desktop. Fine!
My only problem: Didn't use icewm, had to reinstall. That's why i'm using xsession for choosing the windowmanger, this way (kdrive, xdm):

Code: [Select]
#exec startfluxbox
exec icewm-session

Now i don't know, how to autostart pcmanfm. Any help?


Quote from: ZDevil
3) Add automatic wallpaper rotation (landscape <-> portrait) using fbsetbg from fluxbox;

I am still thinking of adding some panel items, like volume control, etc. Any good suggestion and pointer?  

Some kind of panel-button showing quality of wlan-connection and if the zaurus connected at all would be fine, just like it was done in cacko.

Another question: What are the icons (Light-Bulb*.png, Rotate*.png) for?
C1000, 2.6.24-yonggun, Debian EABI

ZDevil

  • Hero Member
  • *****
  • Posts: 1998
    • View Profile
    • http://
New Icewm Desktop And Menu Solutions
« Reply #6 on: March 30, 2008, 07:18:53 am »
To autostart pcmanfm:
Add the line "pcmanfm &" above "exec startfluxbox" or "exec icewm-session".

The additional icons are for the IceWM menu. See the attached screenshot.
 [ Invalid Attachment ]
Fluxbox is definitely a great option and I will explore it after doing the finetuning.  

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]

ZDevil

  • Hero Member
  • *****
  • Posts: 1998
    • View Profile
    • http://
New Icewm Desktop And Menu Solutions
« Reply #7 on: March 30, 2008, 07:29:33 am »
Quote from: adf
network applet-- usb, pppd, eth, wlan, etc?  to monitor and manage connections?   File sharinng applet?  swap and card mangement?  Basically what has been done in either cacko or pdaxii13 has been useful.
One quick solution may be using the matchbox python scripts in pdaXrom (with modification if necessary), as they are supposed to be platform-neutral. Will put them on my setup and test soon.
« Last Edit: March 30, 2008, 07:29:57 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]

LinuxGadget

  • Newbie
  • *
  • Posts: 44
    • View Profile
New Icewm Desktop And Menu Solutions
« Reply #8 on: March 30, 2008, 07:30:06 am »
Ah, that looks great!

As for fluxbox, i really like how easy the keyboard-shortcuts can be defined (maximize, minimize windows and so on).
C1000, 2.6.24-yonggun, Debian EABI

ZDevil

  • Hero Member
  • *****
  • Posts: 1998
    • View Profile
    • http://
New Icewm Desktop And Menu Solutions
« Reply #9 on: March 30, 2008, 07:33:00 am »
Quote from: LinuxGadget
As for fluxbox, i really like how easy the keyboard-shortcuts can be defined (maximize, minimize windows and so on).
Same in IceWM. All shortcut keys are in the "keys" text file. Super easy syntax and runs great. The default "preferences" already contains fullscreen, maximize and minimize (and many more) settings.
This is a nice review: http://polishlinux.org/apps/window-manager...ows-emmigrants/

The main reason why I try not to use pcmanfm to set desktop icons is because the desktop icons must go together with the wallpaper setting in pcmanfm.  I have yet to figure out how to set desktop icons by pcmanfm while using a different wallpaper application (icewmbg or fbsetbg or hsetroot). And the thing is the pcmanfm wallpaper doesn't rotate...
« Last Edit: March 30, 2008, 07:37:08 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]

LinuxGadget

  • Newbie
  • *
  • Posts: 44
    • View Profile
New Icewm Desktop And Menu Solutions
« Reply #10 on: March 30, 2008, 08:04:25 am »
Quote from: ZDevil
Same in IceWM. All shortcut keys are in the "keys" text file. Super easy syntax and runs great. The default "preferences" already contains fullscreen, maximize and minimize (and many more) settings.
Yes, am already fiddling with it right now  

Quote from: ZDevil
This is a nice review: http://polishlinux.org/apps/window-manager...ows-emmigrants/
Bookmarked.

Quote from: ZDevil
The main reason why I try not to use pcmanfm to set desktop icons is because the desktop icons must go together with the wallpaper setting in pcmanfm.  I have yet to figure out how to set desktop icons by pcmanfm while using a different wallpaper application (icewmbg or fbsetbg or hsetroot). And the thing is the pcmanfm wallpaper doesn't rotate...
Hm, i never rotated my fluxbox  , prefer the clamshell in landscape-orientation. Anyway, i will setup a fresh sd-card with the your last rootfs, do apt-get upgrade (takes a lot of time), so i can test your scripts better.

But right now, i will take a walk with my dogs.  
C1000, 2.6.24-yonggun, Debian EABI

ZDevil

  • Hero Member
  • *****
  • Posts: 1998
    • View Profile
    • http://
New Icewm Desktop And Menu Solutions
« Reply #11 on: March 30, 2008, 08:16:07 am »
Quote from: LinuxGadget
Quote from: ZDevil
Same in IceWM. All shortcut keys are in the "keys" text file. Super easy syntax and runs great. The default "preferences" already contains fullscreen, maximize and minimize (and many more) settings.
Yes, am already fiddling with it right now  
Just a note: don't use those graphical configuration tools for IceWM. They haven't been updated for a long time and seem to break some of the settings in the current version (1.2.35). This great tutorial http://www.osnews.com/story/7774 will walk you through.
« Last Edit: March 30, 2008, 08:17:06 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]

LinuxGadget

  • Newbie
  • *
  • Posts: 44
    • View Profile
New Icewm Desktop And Menu Solutions
« Reply #12 on: March 30, 2008, 01:46:15 pm »
Just an idea:
pcmanfm uses
Code: [Select]
~/.pcmafm/mainfor it's preferences, including the geometry:

Code: [Select]
[General]

[Window]
width=640
height=435
splitterPos=160

[Desktop]

Perhaps we can use two different files together with zaurusd, to have pcmanfm scale the background right?
Maybe we should quit pcmanfm, when the orientation changes, change the two files and after that restart pcmanfm? But on my C1k pcmanfm is a bit slow...
Can't try it on my own, still apt-get upgrade running ...   (still 12min to download, some hours for the configuration...)



Quote from: ZDevil
...
 And the thing is the pcmanfm wallpaper doesn't rotate...
« Last Edit: March 30, 2008, 01:47:32 pm by LinuxGadget »
C1000, 2.6.24-yonggun, Debian EABI

ZDevil

  • Hero Member
  • *****
  • Posts: 1998
    • View Profile
    • http://
New Icewm Desktop And Menu Solutions
« Reply #13 on: March 30, 2008, 03:51:23 pm »
Quote from: LinuxGadget
Just an idea:
pcmanfm uses
Code: [Select]
~/.pcmafm/mainfor it's preferences, including the geometry:
Code: [Select]
[General]

[Window]
width=640
height=435
splitterPos=160

[Desktop]
Perhaps we can use two different files together with zaurusd, to have pcmanfm scale the background right?
Maybe we should quit pcmanfm, when the orientation changes, change the two files and after that restart pcmanfm? But on my C1k pcmanfm is a bit slow...
Can't try it on my own, still apt-get upgrade running ...   (still 12min to download, some hours for the configuration...)
Quote from: ZDevil
...
 And the thing is the pcmanfm wallpaper doesn't rotate...
Hmm... That's a very interesting idea.
... What if I am using pcmanfm to move some critical data while switching the display mode(s) (landscape<->portrait)?    
Another way is to swap two "~/.pcmafm/main" on the fly during the switching event, but I'm not sure if this is possible.

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]

adf

  • Hero Member
  • *****
  • Posts: 2807
    • View Profile
    • http://
New Icewm Desktop And Menu Solutions
« Reply #14 on: March 30, 2008, 07:12:48 pm »
Quote from: ZDevil
Quote from: adf
network applet-- usb, pppd, eth, wlan, etc?  to monitor and manage connections?   File sharinng applet?  swap and card mangement?  Basically what has been done in either cacko or pdaxii13 has been useful.
One quick solution may be using the matchbox python scripts in pdaXrom (with modification if necessary), as they are supposed to be platform-neutral. Will put them on my setup and test soon.
Excellent!  One of my main Z actities is to take get quick info-- tick the pppd buttn, get BT to phone and be online in seconds-- and the easier it is to pick networks the bettr, right?
**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