You are not logged in.

#1 2011-02-12 12:38:17

jdarnold
Member
From: Medford MA USA
Registered: 2009-12-15
Posts: 485
Website

"App" shortcuts created by Chome don't work

I've been using "apps" in Google Chome (Tools ->Create Application Shortcuts) for a while now, but suddenly they have stopped working. It creates a .desktop file in the Desktop folder but now when I run one of them, it merely opens the file up in Emacs! Here's a sample .desktop file:

#!/usr/bin/env xdg-open
[Desktop Entry]
Version=1.0
Name=Napster Page
Exec=/opt/google-chrome/google-chrome --app="http://music.napster.com/napsterhomemain.htm#signin=1"
Terminal=false
Icon=chrome-http___music.napster.com_napsterhomemain.htm#signin=1
Type=Application
Categories=Network;WebBrowser;

I think it is perhaps xdg-open that is suddenly confused about what to do with .desktop files, but I'm not sure where to go to fix this.

[edited] Oh, I should add that I use Openbox as my window manager.

Last edited by jdarnold (2011-02-12 12:42:01)

Offline

#2 2011-02-16 14:11:22

jdarnold
Member
From: Medford MA USA
Registered: 2009-12-15
Posts: 485
Website

Re: "App" shortcuts created by Chome don't work

A little bit more info. I think something messed with my mimetypes, as the following looks wrong:

$ xdg-mime query filetype ~/Desktop/hootsuite.desktop
text/plain; charset=us-ascii

$ xdg-mime query default text/plain
emacsclient-usercreated.desktop

So I think the problem is that .desktop files are thought to be text/plain. Why would that be? And what do you have for that command, esp. if you are running openbox?

Offline

Board footer

Powered by FluxBB