Pcmanfm menu://applications/?

Forums for the LXDE Edition
Forum rules
Before you post please read this

Pcmanfm menu://applications/?

Postby wasp on Wed Aug 25, 2010 5:13 am

Hi,
there is a way to appear, as in Lubuntu, the menu item in the application menu://applications pcmanfm of?
Now the list is empty ...
wasp
Level 1
Level 1
 
Posts: 16
Joined: Fri Aug 06, 2010 5:43 pm

Linux Mint is funded by ads and donations.
 

Re: Pcmanfm menu://applications/?

Postby JasonLG on Wed Aug 25, 2010 3:01 pm

wasp wrote:Hi,
there is a way to appear, as in Lubuntu, the menu item in the application menu://applications pcmanfm of?
Now the list is empty ...


Your post is unintelligible. Please either post your question in the forum for your native language if one is available or ask someone who has a firmer grasp of English to post on your behalf.
"I see" said the blind man to the deaf man who stuck his wooden leg out the window to check the weather.
JasonLG
Level 7
Level 7
 
Posts: 1624
Joined: Thu May 20, 2010 9:15 pm
Location: Polk City, Iowa USA

Re: Pcmanfm menu://applications/?

Postby m4daredsun on Mon Aug 30, 2010 6:45 am

I am not sure if I have understood your question correctly, but I'll try to answer.

According to the 'Known Problems' in the release notes for Mint 9 LXDE (http://linuxmint.com/rel_isadora_lxde.php):

Applications in the file manager
The "Applications" tab in the file manager is not fully supported yet. It is currently empty and serves no function.

So there is probably no possibility to add any application in the pcmanmf menu
The only limiting factor of the Linux operating system is its user - Linus Torvalds
User avatar
m4daredsun
Level 2
Level 2
 
Posts: 82
Joined: Thu Mar 04, 2010 5:31 pm

Re: Pcmanfm menu://applications/?

Postby Dr.U on Wed Sep 01, 2010 6:08 am

Hi,

I am using pcmanfm 0.9.5 and in my panel there is in the "Application Launch Bar" an icon for the file manager (pcmanfm). When I first start pcmanfm by clicking on this icon or or by opening the panel Menu -> Accessories -> File Manager I can then click on the "Applications" tab in the file manager and see various entries that can then be opened to show their associated apps. 8)

This also continues to work when then starting further instances of pcmanfm by any other method (e.g. from a terminal or from my hotkeys in my mint-lxde-rc.xml file or from my menu.xml file) as long as the instance started from the panel or the panel menu is still open. :!:

However, if I first start pcmanfm by any other method (e.g. from a terminal, from hotkeys or from my menu.xml) I get an empty result when clicking on the "Applications" tab in the file manager and this also applies to any additional instances started from the "Application Launch Bar" in the panel or from the panel menu. :(

So if you want to use the "Applications" tab in pcmanfm, then it seems that you must:

1. Have no instances of pcmanfm running that were started from a terminal, or one of the lxde hotkeys or menu.xml files that you might have created.

and

2. You must start pcmanfm from either the panel menu (Accessories -> File Manager) or from an icon in the "Application Launch Bar" in the panel (if not present then set it up).

I hope that this is of some help to anyone wishing to use the "Applications" tab in pcmanfm.

Note: I do not use pcmanfm to "manage" my desktop or set the desktop background image, nor do I start pcmanfm automatically from my autostart.sh file! These might prevent use of the "Applications" tab in pcmanfm, but I have not tested this.

Best regards,

-- Dr.U
----------------------------------------------------------------------------------------------------------------------------
"A child of five would understand this. Send someone to fetch a child of five."
(Groucho Marx)
User avatar
Dr.U
Level 2
Level 2
 
Posts: 65
Joined: Wed Jan 03, 2007 10:24 am
Location: Ettlingen, Germany

Re: Pcmanfm menu://applications/?

Postby lKingjr on Sun Sep 05, 2010 6:57 pm

the application tab is working in pcmanfm .097
there are three groups of people in the world. those that can count, and those that can't.
iMac 3.4 GHz Intel Core i7 32GB NVIDIA GeForce GTX 680MX 2048 MB
User avatar
lKingjr
Level 5
Level 5
 
Posts: 804
Joined: Tue Jun 30, 2009 7:09 pm

Re: Pcmanfm menu://applications/?

Postby Dr.U on Thu Sep 09, 2010 6:11 am

Hi, IKingjr:

I installed pcmanfm2 0.9.7 and find no difference in the behavior of the applications-tab compared to version 0.9.5. Perhaps my posting is unclear, but basically starting the first instance of pcmanfm2 by any method other than by using the standard menu entry or the icon on the task bar results in a dead (i.e. empty) applications-tab. At least on my box it's that way. :(

Regards,

-- Dr.U
User avatar
Dr.U
Level 2
Level 2
 
Posts: 65
Joined: Wed Jan 03, 2007 10:24 am
Location: Ettlingen, Germany

Re: Pcmanfm menu://applications/?

Postby dankles on Sun Nov 27, 2011 5:42 pm

When I googled for the problem, I found this forum thread which doesn't contain the answer....

So I'll give you the answer that I found! :)

pcmanfm requires the environment variable "XDG_MENU_PREFIX" to be set.

You can set it to something like "export XDG_MENU_PREFIX=lxde-" or "export XDG_MENU_PREFIX=xfce-" (you'll probably want "lxde-" in your case. I've added that to my ".xinitrc" file, but I don't know if that works on linux mint since I use gentoo.

What is happening is that it's looking to make a match here:
Code: Select all
mercury /etc/xdg/menus $ ls -1
gnome-applications.menu
lxde-applications.menu
settings.menu
xfce-applications.menu
mercury /etc/xdg/menus $


e.g. if you set it to "XDG_MENU_PREFIX=xfce-" it will use the "xfce-applications.menu".

In order for the "lxde-applications.menu" file to populate there, you need the "lxmenu-data" package installed (or at least thats what its called under gentoo which I'm using)
Code: Select all
$ equery f lxmenu-data
 * Searching for lxmenu-data ...
 * Contents of lxde-base/lxmenu-data-0.1.2:
/etc
/etc/xdg
/etc/xdg/menus
/etc/xdg/menus/lxde-applications.menu
/usr
/usr/share
/usr/share/desktop-directories
/usr/share/desktop-directories/lxde-audio-video.directory
/usr/share/desktop-directories/lxde-development.directory
/usr/share/desktop-directories/lxde-education.directory
/usr/share/desktop-directories/lxde-game.directory
/usr/share/desktop-directories/lxde-graphics.directory
/usr/share/desktop-directories/lxde-hardware.directory
/usr/share/desktop-directories/lxde-internet-and-network.directory
/usr/share/desktop-directories/lxde-look-and-feel.directory
/usr/share/desktop-directories/lxde-menu-applications.directory
/usr/share/desktop-directories/lxde-menu-system.directory
/usr/share/desktop-directories/lxde-network.directory
/usr/share/desktop-directories/lxde-office.directory
/usr/share/desktop-directories/lxde-other.directory
/usr/share/desktop-directories/lxde-personal.directory
/usr/share/desktop-directories/lxde-settings-system.directory
/usr/share/desktop-directories/lxde-settings.directory
/usr/share/desktop-directories/lxde-system-tools.directory
/usr/share/desktop-directories/lxde-system.directory
/usr/share/desktop-directories/lxde-utility-accessibility.directory
/usr/share/desktop-directories/lxde-utility.directory
/usr/share/doc
/usr/share/doc/lxmenu-data-0.1.2
/usr/share/doc/lxmenu-data-0.1.2/AUTHORS.bz2
/usr/share/doc/lxmenu-data-0.1.2/README.bz2



I hope this helps to anyone that stumbles upon this post
dankles
Level 1
Level 1
 
Posts: 1
Joined: Sun Nov 27, 2011 5:31 pm

Re: Pcmanfm menu://applications/?

Postby mikeym on Fri Jan 25, 2013 7:59 am

dankles wrote:I hope this helps to anyone that stumbles upon this post


Stumbled on this post dankles and it was a big help. I'm not actually using mint. I'm using plain Openbox on lubuntu - rather than LXDE - and I just added the prefix to the appropriate Openbox environmental file ~/.config/openbox/environment so it looks like:

Code: Select all
# Set up environmental variables for Openbox

# Set up applications menu for pcmanfm
export XDG_MENU_PREFIX="lxde-"


Then logged out and back in and it worked.

Thanks for the info.
mikeym
Level 1
Level 1
 
Posts: 2
Joined: Fri Jan 25, 2013 7:50 am

Linux Mint is funded by ads and donations.
 

Return to LXDE

Who is online

Users browsing this forum: No registered users and 0 guests