You are not logged in.

#1 2012-11-01 04:50:40

rdroffats
Member
Registered: 2012-10-31
Posts: 6

Launching .desktop files

Noob here running arch with i3 and dmenu and I can't figure out how to launch .desktop files. If I open /usr/share/applications in a filebrowser, doubleclicking a .desktop file opens it up in my editor. If I add /usr/share/applications to my $PATH they show up in dmenu but again open up with my editor. Same goes for xdg-open file.desktop which corresponds with this bug.

#!/usr/bin/env xdg-open

[Desktop Entry]
Version=1.0
Name=Test
Exec=chromium --app=http://localhost:8080/
Terminal=false
Icon=chrome-http___localhost_8080__1
Type=Application
Categories=GTK;Network;WebBrowser;
StartupWMClass=localhost

Offline

#2 2012-11-01 04:55:13

WonderWoofy
Member
From: Los Gatos, CA
Registered: 2012-05-19
Posts: 8,414

Re: Launching .desktop files

Did you read the comments?  It seems that exo-open still works.  I tested and it does on my machine at least.

Offline

#3 2012-11-01 05:11:47

rdroffats
Member
Registered: 2012-10-31
Posts: 6

Re: Launching .desktop files

Is that part of xfce? I can't figure out how to install that on its own. I'd rather not a desktop environment just to get this working.

Offline

Board footer

Powered by FluxBB