Status changed to 'Confirmed' because the bug affects multiple users.
** Changed in: chromium-browser (Ubuntu)
Status: New => Confirmed
--
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to chromium-browser in Ubuntu.
https://bugs.launchpad.net/bugs/1120489
Title:
Chromium creates broken .desktop files when creating desktop shortcuts
Status in “chromium-browser” package in Ubuntu:
Confirmed
Bug description:
When you create a desktop shortcut for a chrome app, Chromium generates a
broken .desktop file with a missing newline.
Tried on Kubuntu 12.10 with Chromium 24.0.1312.56 Ubuntu 12.10
(24.0.1312.56-0ubuntu0.12.10.3).
What should happen: on double click on the generated .desktop file,
Chromium should open a window with the selected app/website.
What happened instead: when you double click on generated .desktop files you
get this error message:
"The desktop entry file
/home/gerlos/Pubblici/chrome-coobgpohoikkiipiblmjeljniedjpjpf-Default.desktop
has no Type=... entry."
More details:
Attached there's an example of .desktop file generated by Chromium:
#!/usr/bin/env xdg-open[Desktop Entry]
Version=1.0
Name=Ricerca Google
Name[it]=Browser web Chromium
GenericName[it]=Browser web
Comment[it]=Accesso a Internet
Exec=/usr/bin/chromium-browser --app-id=coobgpohoikkiipiblmjeljniedjpjpf
--profile-directory=Default
Terminal=false
X-MultipleArgs=false
Type=Application
Icon=chrome-coobgpohoikkiipiblmjeljniedjpjpf-Default
Categories=Network;WebBrowser;
StartupNotify=true
StartupWMClass=crx_coobgpohoikkiipiblmjeljniedjpjpf
The error is in the first line. Here's how first lines should be:
#!/usr/bin/env xdg-open
[Desktop Entry]
Version=1.0
Name=Ricerca Google
Name[it]=Browser web Chromium
Workaroud: simply open the generated .desktop file with a text editor and add
that missing newline.
Info on ubuntu release and package:
$ lsb_release -rd
Description: Ubuntu 12.10
Release: 12.10
$ apt-cache policy chromium-browser
chromium-browser:
Installato: 24.0.1312.56-0ubuntu0.12.10.3
Candidato: 24.0.1312.56-0ubuntu0.12.10.3
Tabella versione:
*** 24.0.1312.56-0ubuntu0.12.10.3 0
500 http://it.archive.ubuntu.com/ubuntu/ quantal-updates/universe
amd64 Packages
500 http://it.archive.ubuntu.com/ubuntu/ quantal-security/universe
amd64 Packages
100 /var/lib/dpkg/status
22.0.1229.94~r161065-0ubuntu1 0
500 http://it.archive.ubuntu.com/ubuntu/ quantal/universe amd64
Packages
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/chromium-browser/+bug/1120489/+subscriptions
--
Mailing list: https://launchpad.net/~desktop-packages
Post to : [email protected]
Unsubscribe : https://launchpad.net/~desktop-packages
More help : https://help.launchpad.net/ListHelp