IceWM and Puplite 5

Using applications, configuring, problems
Post Reply
Message
Author
starhawk
Posts: 4906
Joined: Mon 22 Nov 2010, 06:04
Location: Everybody knows this is nowhere...

IceWM and Puplite 5

#1 Post by starhawk »

I think this is an advanced enough question to go here... Flash, if you disagree, feel free to move it to Beginner's, but please send me a PM so that I know why I can't find my topic :wink:

I want to use IceWM with Puplite 5... but when I plunk in the icewm pet (IIRC version 1.7.2) from the ibiblio puppy4 repository, the menus don't work right, and "fixmenus" doesn't, well, fix the menus. What happens is that I'm stuck with the default IceWM apps menu, which doesn't work with Puppy very well.

I know sc0ttman's away on sick leave for the most part, but I'm hoping there's someone on here who can help out -- I figure most o' you guys are smarter than me, so someone's got to be able to figure this out.

Help! :oops:

User avatar
sc0ttman
Posts: 2812
Joined: Wed 16 Sep 2009, 05:44
Location: UK

#2 Post by sc0ttman »

Not sure, hated IceWM, maybe the attached '_root_.icewm_menu'
file is missing in /etc/xdg/templates/

Also, maybe puplite already has a modified '/usr/sbin/fixmenus',
I can't remember... So i've also attached one from a normal puppy4...
Attachments
fixmenus.gz
(rename and remove the .gz, its just a text file, not a real archive)
(1.4 KiB) Downloaded 230 times
_root_.icewm_menu.gz
(rename and remove the .gz, its just a text file, not a real archive)
(1.45 KiB) Downloaded 248 times
[b][url=https://bit.ly/2KjtxoD]Pkg[/url], [url=https://bit.ly/2U6dzxV]mdsh[/url], [url=https://bit.ly/2G49OE8]Woofy[/url], [url=http://goo.gl/bzBU1]Akita[/url], [url=http://goo.gl/SO5ug]VLC-GTK[/url], [url=https://tiny.cc/c2hnfz]Search[/url][/b]

starhawk
Posts: 4906
Joined: Mon 22 Nov 2010, 06:04
Location: Everybody knows this is nowhere...

#3 Post by starhawk »

Thanks, sc0ttman! Didn't think you were back yet...

Unfortunately, the files didn't work. It's still not generating the menu correctly... I may need to tinker around with that IceWM menu file you posted.

EDIT: IceWM was actually a workaround for a different problem, in this case: in Puplite, with ROX Desktop off (no icons except the drives tray) I can't seem to get the bottom tray (what in Windblows is the taskbar) to accept a JWM theme. Everything else changes, EXCEPT the bar... aargh.

musher0
Posts: 14629
Joined: Mon 05 Jan 2009, 00:54
Location: Gatineau (Qc), Canada

#4 Post by musher0 »

By contrast, I love it!

Try doing, in console,

Code: Select all

icewm -v
for the version number. Most recent is 1.3.7.

Also the icewm menu is very configurable, through the "prefoverride" file in ~/.icewm. For example, you can have a straight menu like in jwm or you can have it popup as a sub-menu with title "programs".

You can also configure the menu through the attached specialized editor.
Also attached is my edited preferences file. (Careful not to squish yours with it, it's for reference only.)

Back in a sec with some screen grabs. (I'm in oroborus at the moment.)
Attachments
musher0-icewm-preferences.tar.gz
my preferences file
(7.7 KiB) Downloaded 235 times
icemc-0.2.4-3_i386.pet
icewm menu editor
(70.59 KiB) Downloaded 218 times
musher0
~~~~~~~~~~
"You want it darker? We kill the flame." (L. Cohen)

starhawk
Posts: 4906
Joined: Mon 22 Nov 2010, 06:04
Location: Everybody knows this is nowhere...

#5 Post by starhawk »

I like it too. IceWM looks nice :wink:

musher0, I'll have to get back to you as to whether your utility works or not, but thanks for posting it. Version is 1.3.2, from the Ibiblio puppy4 folder... was running from memory when I gave whatever garbage number was in my first post :oops:

starhawk
Posts: 4906
Joined: Mon 22 Nov 2010, 06:04
Location: Everybody knows this is nowhere...

#6 Post by starhawk »

...oh, bother.

Code: Select all

bash: /usr/bin/icemc: Permission denied
Mebbe I need to run it from within IceWM?

EDIT: nope, that didn't work either...

musher0
Posts: 14629
Joined: Mon 05 Jan 2009, 00:54
Location: Gatineau (Qc), Canada

#7 Post by musher0 »

For the record, sc0tman's "root icewm menu" goes in
/etc/xdg/templates

Here's mine, from my lupu 5.25 retro. It's a bit larger than his. (Again, careful not to squsih anything.)
Attachments
_root_.icewm_menu.tar.gz
(747 Bytes) Downloaded 207 times
musher0
~~~~~~~~~~
"You want it darker? We kill the flame." (L. Cohen)

musher0
Posts: 14629
Joined: Mon 05 Jan 2009, 00:54
Location: Gatineau (Qc), Canada

#8 Post by musher0 »

starhawk wrote:...oh, bother.

Code: Select all

bash: /usr/bin/icemc: Permission denied
Mebbe I need to run it from within IceWM?

EDIT: nope, that didn't work either...
Try giving it "permission" (you know, make "executable") ?
Works fine here.
musher0
~~~~~~~~~~
"You want it darker? We kill the flame." (L. Cohen)

starhawk
Posts: 4906
Joined: Mon 22 Nov 2010, 06:04
Location: Everybody knows this is nowhere...

#9 Post by starhawk »

I put sc0ttman's icewm menu in the right place... and it's showing up in /root/.icewm correctly, it's just not being /used/. Right now I'm tinkering with the /usr/share/icewm/ directory. It looks like the "menu" file in there is what's being used... anyone know where that's generated...?

As for the icemc file, it should already be executable, but I'll try again...

EDIT: that sorta fixed it... what version of QT do I need? ;)

musher0
Posts: 14629
Joined: Mon 05 Jan 2009, 00:54
Location: Gatineau (Qc), Canada

#10 Post by musher0 »

starhawk wrote:(...)...

As for the icemc file, it should already be executable, but I'll try again...

EDIT: that sorta fixed it... what version of QT do I need? ;)
Uh-oh. Forgotten about that one, sorry... I'm using Qt4.
musher0
~~~~~~~~~~
"You want it darker? We kill the flame." (L. Cohen)

musher0
Posts: 14629
Joined: Mon 05 Jan 2009, 00:54
Location: Gatineau (Qc), Canada

#11 Post by musher0 »

The promised screenshots.
Attachments
icewm-programs-menu.jpg
(51.51 KiB) Downloaded 345 times
straight-icewm-menu.jpg
(48.87 KiB) Downloaded 529 times
a-favorites-menu-in-icewm.jpg
(23.85 KiB) Downloaded 576 times
musher0
~~~~~~~~~~
"You want it darker? We kill the flame." (L. Cohen)

musher0
Posts: 14629
Joined: Mon 05 Jan 2009, 00:54
Location: Gatineau (Qc), Canada

#12 Post by musher0 »

One neat trick with icewm:

Let fixmenus do its stuff. Then, in /root/.icewm, (not in /usr/share/icewm, these are the absolute defaults)

copy "menu" to "taskbar"
symlink "taskbar" to "programs"
(no need to back-up the original menu, icewm does that for you)
create your own "menu"

Code: Select all

syntax for sub-menus is

menu name icon {
prog name icon command
prog name icon command
prog name icon command
}
Back-up your own menu; otherwise fixmenus will squish it next time it runs.

(The above can automated through a bash script and run after fixmenus.)

Result is attached.
Attachments
icewm-taskbar-submenus.jpg
(40.9 KiB) Downloaded 332 times
musher0
~~~~~~~~~~
"You want it darker? We kill the flame." (L. Cohen)

musher0
Posts: 14629
Joined: Mon 05 Jan 2009, 00:54
Location: Gatineau (Qc), Canada

#13 Post by musher0 »

This is my customized menu.

Code: Select all

# menu icewm personnalisé # musher0, 27 mars 2012
#
prog console /root/my-applications/bin/console48-inv.png console
prog rox home24 rox /
menu Favoris "" {
prog leafpad leafpad leafpad
separator
prog "Mes documents" /root/my-documents/08-Documents_t.png rox /root/my-documents
prog "Mes applications" /root/my-applications/bin/folder-development.png rox /root/my-applications
prog "Applis-Toutou"  /root/my-applications/Applications/Applis-Toutou/mini-dog_48x-noir.png /root/my-applications/Applications/Applis-Toutou/.Montre_apps-Toutou.sh
separator
prog opera opera opera
prog SMPlayer+ /root/my-applications/bin/smplayer_logo.png /root/my-applications/bin/SMPlayer+.sh
separator
prog "Éditer ce menu" geany /root/.icewm/editer-menu-icewm.sh
prog "Répertoire .'icewm' " home24 rox /root/.icewm
}
prog "Disques et fichiers" /root/my-applications/ae/drive_disk40x.png /root/my-applications/ae/disques4.sh

separator
menufile Programmes "" programs
# Important: This command inserts the "programs" sub-menu here.

menu "Quitter" shutdown24 {
prog "Relancer le punaiseur" "" /root/Choices/ROX-Filer/ppin.sh
prog "Vers l'invite" prompt16 killall X
prog "Redémarrer" mini-turn wmreboot
prog "Fermer l'ordi" "" wmpoweroff
separator
restart "Relancer JWM" mini-windows jwm
restart "Relancer IceWM" mini-windows icewm
restart "Relancer Lxp-IceWM" mini-windows lxp-icewm
restart "Relancer Oroborus" mini-windows oroborus
prog "Relancer le serveur X" mini-x restartwm
prog "Relancer PuppyPin" "" /root/Choices/ROX-Filer/ppin.sh
}
Notice the "menufile" command, just before the "quit" submenu.

BFN.
musher0
~~~~~~~~~~
"You want it darker? We kill the flame." (L. Cohen)

starhawk
Posts: 4906
Joined: Mon 22 Nov 2010, 06:04
Location: Everybody knows this is nowhere...

#14 Post by starhawk »

This isn't working. I guess I don't need IceWM...

...as I said before, really what I wanted was a themable tray. If ya'll can make Puplite5/jwm do that, I'll be happy ;)

2byte
Posts: 353
Joined: Mon 09 Oct 2006, 18:10

#15 Post by 2byte »

@ Christian

Do you know of any way to make fixmenus play nice with the customized menu?


musher0
Posts: 14629
Joined: Mon 05 Jan 2009, 00:54
Location: Gatineau (Qc), Canada

#16 Post by musher0 »

2byte wrote:@ Christian

Do you know of any way to make fixmenus play nice with the customized menu?
I'm working on it!

The idea would be to make fixmenus save the icewm menu under a different name, and then your own menu won't get squished. Or have icewm use some directory other than ~/.icewm. I'm onto something with lxp-icewm, but not with icewm proper... yet! I'll keep you posted.

BFN.
musher0
~~~~~~~~~~
"You want it darker? We kill the flame." (L. Cohen)

musher0
Posts: 14629
Joined: Mon 05 Jan 2009, 00:54
Location: Gatineau (Qc), Canada

#17 Post by musher0 »

Hello, 2byte.

I've included a *.pet to help customize the icewm menu here: http://murga-linux.com/puppy/viewtopic.php?t=77496

Enjoy!
musher0
~~~~~~~~~~
"You want it darker? We kill the flame." (L. Cohen)

User avatar
Tman
Posts: 808
Joined: Sat 22 Jan 2011, 21:39
Location: Toronto

#18 Post by Tman »

starhawk,

you can try my lucid based icewm pet here -> http://www.smokey01.com/Tman/sp-looks/

or my debain-sqeeze icewm pet here -> http://www.smokey01.com/Tman/apps/dpup-apps/

They both have custom preferences, custom themes, and a custom taskbar. The only thing that is really lacking is a gui for customizing the taskbar.

Also, I checked out the fixmenus, in my remastered version of Exprimo and it is bigger than the one Scottman attatched. Maybe that one will work. (please back up your old fixmenus just in case it's not compatible with puppy4)
Attachments
fixmenus.gz
remove the phony .gz and place into /usr/sbin
(1.63 KiB) Downloaded 164 times

starhawk
Posts: 4906
Joined: Mon 22 Nov 2010, 06:04
Location: Everybody knows this is nowhere...

#19 Post by starhawk »

Fixed the real problem (theming of JWM taskbar) a couple days ago. IceWM for Puplite5 was really a workaround idea that never got very far.

Solution here (2nd to last post IIRC) --> http://murga-linux.com/puppy/viewtopic. ... 518#619518

Post Reply