how to get personal .desktop in launchbar

The standard panel of LXDE - http://wiki.lxde.org/en/LXPanel
Locked
bioinfornatics
Posts: 3
Joined: Wed Mar 18, 2009 10:05 am

how to get personal .desktop in launchbar

Post by bioinfornatics »

dear sir,
how can i have my personal .desktop in launchbar
usualy is :

Code: Select all

Plugin {
    type = launchbar
    Config {
        Button {
            id=lxde-x-terminal-emulator.desktop
        }
    }
}
but i have custom .desktop in $HOME/desktopDir, how can i give an id ?
how can i force scan directory to $HOME/desktopDir ?
maces
Posts: 503
Joined: Sat Oct 25, 2008 6:04 pm
Contact:

Re: how to get personal .desktop in launchbar

Post by maces »

Hi

On my machines this works fine?! What about using "/home/maces/.local/share/applications" for your personal *desktop files? Please also post your *.desktop file, maybe there is an mistake in it.

maces
bioinfornatics
Posts: 3
Joined: Wed Mar 18, 2009 10:05 am

Re: how to get personal .desktop in launchbar

Post by bioinfornatics »

/.local/share/applications is a standrad location with /usr/local/share/applications

but i need a non standard location
maces
Posts: 503
Joined: Sat Oct 25, 2008 6:04 pm
Contact:

Re: how to get personal .desktop in launchbar

Post by maces »

Why? You can set permissions, so nobody than you can see the files. Otherwise make a symlink with "ln -s" from ~/nirvana to ~/.local/share/applications.

maces
bioinfornatics
Posts: 3
Joined: Wed Mar 18, 2009 10:05 am

Re: how to get personal .desktop in launchbar

Post by bioinfornatics »

because /usr/local/share/applications is for share some .desktop file or me i want create some group for limited the acees to a non standard location.
It's possible to force a scan a non standard directory with a .menu file or other methods?

with xfce4-panel is possible with xml file as:

Code: Select all

$ cat .config/xfce4/panel/launcher.xml
[Entry 0]
Name=Terminal
Exec=/usr/bin/aterm
Terminal=false
StartupNotify=false
Comment=aterm
Icon=/usr/share/applications/gnome-terminal.desktop
maces
Posts: 503
Joined: Sat Oct 25, 2008 6:04 pm
Contact:

Re: how to get personal .desktop in launchbar

Post by maces »

Sorry but I think this is not possible at the moment.

maces
kgas
Posts: 45
Joined: Sat Dec 27, 2008 12:32 pm

Re: how to get personal .desktop in launchbar

Post by kgas »

I tested this and possible. First create a .desktop file to launch what applications you need to start and put that in any folder under your $HOME directory and ensure it is executable. Now from the Panel Preferences-->Panel Applets-->Application launch bar Edit + add then select the .desktop file from the location where you just created. Try this and let us know your result.
Locked