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 16 Oct 2018, 22:43
All times are UTC - 4
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Desktop
Unscrambling xfce's mismanagement of Puppy Categories
Post new topic   Reply to topic View previous topic :: View next topic
Page 1 of 1 [5 Posts]  
Author Message
mikeslr


Joined: 16 Jun 2008
Posts: 2685
Location: 500 seconds from Sol

PostPosted: Thu 20 Jul 2017, 20:14    Post subject:  Unscrambling xfce's mismanagement of Puppy Categories  

Hi All,

While trying to get Whisker-menu under xfce4-panel to play nice with Puppies, I kept finding that applications built for Puppy rarely showed up in categories where I'd expect them. Many were assigned to "Other". When I set out to construct xfce4-panel to work with LxPup64 I noticed applications appeared in a "proper" Category. So I examined what peebee did and copied his technique. Essentially, that involved writing a file named xfce-applications.menu in which all the various subcategories used in creating applications for Puppy are assigned to their parent categories.

Download the attached file, rename it, removing the 'false' zip ending and copy it into either /etc/xdg/menus and/or /root/.config/menus after changing the name of any existing xfce-applications.menu to old- xfce-applications.menu [just in case you have to revert].You may have to create the /root/.config/menus folder. A restart is necessary. The files in .config are supposed to take precedence over those in /etc. But, you never know. [The many arguments following Include in each Category specification may be ‘overkill’. Written –cut & paste from pre-existing files-- while TV was running in the background. I hadn’t analyzed why all existed for LxPup. Figured better safe than sorry. As this is a text file and does what I want, I don’t feel compelled to experiment. You can if you want.]

mikesLr
xfce-applications.menu.zip
Description  Rename, Removing False Zip ending. See post about where to place xfce-applications.menu
zip

 Download 
Filename  xfce-applications.menu.zip 
Filesize  11.8 KB 
Downloaded  83 Time(s) 

Last edited by mikeslr on Fri 20 Oct 2017, 20:01; edited 2 times in total
Back to top
View user's profile Send private message 
battleshooter


Joined: 14 May 2008
Posts: 1381
Location: Australia

PostPosted: Mon 28 Aug 2017, 22:26    Post subject:  

Nice Mike, I just discovered this myself last week trying to work out why the categories weren't playing nice. Wish I saw this earlier, but thanks for posting, hopefully will help someone else trying to follow the XFCE in Puppy debugging bunny trail
_________________
LMMS 1.0.2, Ardour 3.5.389, Kdenlive 0.9.8
Back to top
View user's profile Send private message 
musher0

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

PostPosted: Tue 18 Sep 2018, 04:47    Post subject:  

Hi mikesLr.

This to let you know that I just gave your XML template for the xfce menu
(above) a little push here.

BFN.

_________________
musher0
~~~~~~~~~~
Fidèle elle commença, ainsi elle restera. (Prov. canadien) /
Faithful she began, so will she stay. (Canadian prov.)
Back to top
View user's profile Send private message 
mikeslr


Joined: 16 Jun 2008
Posts: 2685
Location: 500 seconds from Sol

PostPosted: Tue 18 Sep 2018, 17:48    Post subject:  

Hi musher0,

Thanks for the push.

I'm pretty sure I've said something like, "Everyone is smarter than (s)he thinks (s)he is". I didn't realize that I was among the class "Everyone." Shocked

Seems I can write XML code. Cool Laughing All I thought I was doing was imitating a technique peebee had already used to solve the problem of getting menus to recognize the Puppyism "X-Something" argument which often appears as a (sometimes the only) argument given to Categories= in /usr/share/something.desktop.

I probably should have read and understood the links from here, http://puppylinux.org/wikka/Configure_PuppyMenu as to how menus are created under Puppy's standard JWM window manager before translating Puppy's format to that required by the xfce structure employed by Whisker Menu. It is likely that such understanding would have (a) eliminated a lot of grunt work and (b) produced a more refined result.
Back to top
View user's profile Send private message 
musher0

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

PostPosted: Tue 18 Sep 2018, 20:19    Post subject:  

Hi, mikesLr.

Thanks for the thanks.

Like Molière once said: "We all do prose without knowing!" Wink Smile That quote
is in the "Bourgeois Gentilhomme" somewhere. Poetry is something else,
but prose, everybody speaks in prose natively! Laughing

Not that I "speak" XML natively, far from it!!!

But back to being serious, I will give your list of categories a second look,
with a view of refining my own aemenu scripts, trying to make them more
complete. That's the problem with a skimming / condensing approach: if a
new app belongs to a category not in the starting list, it doesn't show up in
the menu.

So I have to have add-ons at the end of the script. Sort of Post-Scriptums
(aka P.S.), which are not very logical as a process. Or fatten up the starting
list, like you did.

BFN.

_________________
musher0
~~~~~~~~~~
Fidèle elle commença, ainsi elle restera. (Prov. canadien) /
Faithful she began, so will she stay. (Canadian prov.)
Back to top
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 1 of 1 [5 Posts]  
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Desktop
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.0436s ][ Queries: 12 (0.0082s) ][ GZIP on ]