Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Tue 21 May 2013, 16:40
All times are UTC - 4
 Forum index » House Training » Users ( For the regulars )
IceWM and Puplite 5
Moderators: Flash, Ian, JohnMurga
Post new topic   Reply to topic View previous topic :: View next topic
Page 1 of 2 [19 Posts]   Goto page: 1, 2 Next
Author Message
starhawk

Joined: 22 Nov 2010
Posts: 1810
Location: Everybody knows this is nowhere...

PostPosted: Tue 10 Apr 2012, 13:34    Post subject:  IceWM and Puplite 5
Subject description: Menu does not form properly...
 

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! Embarassed

_________________
siht daer nac uoy fi uoy od os dna skcor yppup Razz
Back to top
View user's profile Send private message 
sc0ttman


Joined: 16 Sep 2009
Posts: 2174
Location: UK

PostPosted: Tue 10 Apr 2012, 13:49    Post subject:  

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...
fixmenus.gz
Description  (rename and remove the .gz, its just a text file, not a real archive)
gz

 Download 
Filename  fixmenus.gz 
Filesize  1.4 KB 
Downloaded  69 Time(s) 
_root_.icewm_menu.gz
Description  (rename and remove the .gz, its just a text file, not a real archive)
gz

 Download 
Filename  _root_.icewm_menu.gz 
Filesize  1.45 KB 
Downloaded  71 Time(s) 

_________________
Akita Linux, VLC-GTK, Pup Search, Pup File Search
Back to top
View user's profile Send private message 
starhawk

Joined: 22 Nov 2010
Posts: 1810
Location: Everybody knows this is nowhere...

PostPosted: Tue 10 Apr 2012, 14:21    Post subject:  

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.

_________________
siht daer nac uoy fi uoy od os dna skcor yppup Razz
Back to top
View user's profile Send private message 
musher0


Joined: 04 Jan 2009
Posts: 2206
Location: Gatineau (Qc), Canada

PostPosted: Tue 10 Apr 2012, 14:29    Post subject:  

By contrast, I love it!

Try doing, in console,
Code:
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.)
musher0-icewm-preferences.tar.gz
Description  my preferences file
gz

 Download 
Filename  musher0-icewm-preferences.tar.gz 
Filesize  7.7 KB 
Downloaded  61 Time(s) 
icemc-0.2.4-3_i386.pet
Description  icewm menu editor
pet

 Download 
Filename  icemc-0.2.4-3_i386.pet 
Filesize  70.59 KB 
Downloaded  64 Time(s) 

_________________
Wink "...l'industrie de l'informatique n'aura besoin que de très peu de temps pour ramener l'humanité aux dessins rupestres." (M. Goebbel, Order of the Command Line; [ma trad.])
Back to top
View user's profile Send private message Visit poster's website 
starhawk

Joined: 22 Nov 2010
Posts: 1810
Location: Everybody knows this is nowhere...

PostPosted: Tue 10 Apr 2012, 14:38    Post subject:  

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 Embarassed

_________________
siht daer nac uoy fi uoy od os dna skcor yppup Razz
Back to top
View user's profile Send private message 
starhawk

Joined: 22 Nov 2010
Posts: 1810
Location: Everybody knows this is nowhere...

PostPosted: Tue 10 Apr 2012, 14:44    Post subject:  

...oh, bother.

Code:
bash: /usr/bin/icemc: Permission denied


Mebbe I need to run it from within IceWM?

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

_________________
siht daer nac uoy fi uoy od os dna skcor yppup Razz
Back to top
View user's profile Send private message 
musher0


Joined: 04 Jan 2009
Posts: 2206
Location: Gatineau (Qc), Canada

PostPosted: Tue 10 Apr 2012, 14:51    Post subject:  

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.)
_root_.icewm_menu.tar.gz
Description 
gz

 Download 
Filename  _root_.icewm_menu.tar.gz 
Filesize  747 Bytes 
Downloaded  52 Time(s) 

_________________
Wink "...l'industrie de l'informatique n'aura besoin que de très peu de temps pour ramener l'humanité aux dessins rupestres." (M. Goebbel, Order of the Command Line; [ma trad.])
Back to top
View user's profile Send private message Visit poster's website 
musher0


Joined: 04 Jan 2009
Posts: 2206
Location: Gatineau (Qc), Canada

PostPosted: Tue 10 Apr 2012, 14:54    Post subject:  

starhawk wrote:
...oh, bother.

Code:
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.

_________________
Wink "...l'industrie de l'informatique n'aura besoin que de très peu de temps pour ramener l'humanité aux dessins rupestres." (M. Goebbel, Order of the Command Line; [ma trad.])
Back to top
View user's profile Send private message Visit poster's website 
starhawk

Joined: 22 Nov 2010
Posts: 1810
Location: Everybody knows this is nowhere...

PostPosted: Tue 10 Apr 2012, 14:58    Post subject:  

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? Wink

_________________
siht daer nac uoy fi uoy od os dna skcor yppup Razz
Back to top
View user's profile Send private message 
musher0


Joined: 04 Jan 2009
Posts: 2206
Location: Gatineau (Qc), Canada

PostPosted: Tue 10 Apr 2012, 15:22    Post subject:  

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? Wink


Uh-oh. Forgotten about that one, sorry... I'm using Qt4.

_________________
Wink "...l'industrie de l'informatique n'aura besoin que de très peu de temps pour ramener l'humanité aux dessins rupestres." (M. Goebbel, Order of the Command Line; [ma trad.])
Back to top
View user's profile Send private message Visit poster's website 
musher0


Joined: 04 Jan 2009
Posts: 2206
Location: Gatineau (Qc), Canada

PostPosted: Tue 10 Apr 2012, 15:27    Post subject:  

The promised screenshots.
icewm-programs-menu.jpg
 Description   
 Filesize   51.51 KB
 Viewed   142 Time(s)

icewm-programs-menu.jpg

straight-icewm-menu.jpg
 Description   
 Filesize   48.87 KB
 Viewed   354 Time(s)

straight-icewm-menu.jpg

a-favorites-menu-in-icewm.jpg
 Description   
 Filesize   23.85 KB
 Viewed   353 Time(s)

a-favorites-menu-in-icewm.jpg


_________________
Wink "...l'industrie de l'informatique n'aura besoin que de très peu de temps pour ramener l'humanité aux dessins rupestres." (M. Goebbel, Order of the Command Line; [ma trad.])
Back to top
View user's profile Send private message Visit poster's website 
musher0


Joined: 04 Jan 2009
Posts: 2206
Location: Gatineau (Qc), Canada

PostPosted: Tue 10 Apr 2012, 15:37    Post subject:  

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:
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.
icewm-taskbar-submenus.jpg
Description 
jpg

 Download 
Filename  icewm-taskbar-submenus.jpg 
Filesize  40.9 KB 
Downloaded  77 Time(s) 

_________________
Wink "...l'industrie de l'informatique n'aura besoin que de très peu de temps pour ramener l'humanité aux dessins rupestres." (M. Goebbel, Order of the Command Line; [ma trad.])
Back to top
View user's profile Send private message Visit poster's website 
musher0


Joined: 04 Jan 2009
Posts: 2206
Location: Gatineau (Qc), Canada

PostPosted: Tue 10 Apr 2012, 15:58    Post subject:  

This is my customized menu.

Code:
# 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.

_________________
Wink "...l'industrie de l'informatique n'aura besoin que de très peu de temps pour ramener l'humanité aux dessins rupestres." (M. Goebbel, Order of the Command Line; [ma trad.])
Back to top
View user's profile Send private message Visit poster's website 
starhawk

Joined: 22 Nov 2010
Posts: 1810
Location: Everybody knows this is nowhere...

PostPosted: Tue 10 Apr 2012, 16:30    Post subject:  

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 Wink

_________________
siht daer nac uoy fi uoy od os dna skcor yppup Razz
Back to top
View user's profile Send private message 
2byte

Joined: 09 Oct 2006
Posts: 356

PostPosted: Wed 11 Apr 2012, 08:29    Post subject:  

@ Christian

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

_________________

Back to top
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 1 of 2 [19 Posts]   Goto page: 1, 2 Next
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » House Training » Users ( For the regulars )
Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.0772s ][ Queries: 13 (0.0049s) ][ GZIP on ]