chromium-browser.desktop and desktop files with "-" in the filename
Simon Lees
sflees at suse.de
Mon Nov 7 03:48:49 UTC 2016
Hi All,
I have been investigating
https://bugs.freedesktop.org/show_bug.cgi?id=98562
(chromium-browser.desktop can not be set as the default browser). In the
generic implementation desktop_file_to_binary is treating filenames with
a "-" in the format vendor-app.desktop so it is searching for
browser.desktop in a chromium directory, so my question here is should
"-" be allowed in desktop file names in this context, if not there is a
number of apps that are "broken" on this openSUSE tumbleweed machine
without searching much. If not should desktop_file_to_binary be fixed in
such a way to handle this and how should vendor directories be found.
simon at host /usr/share/applications ➤ find -iname "*-*"
./YaST2/samba-server.desktop
./YaST2/services-manager.desktop
./YaST2/iscsi-client.desktop
./YaST2/relocation-server.desktop
./YaST2/virtualization-config.desktop
./YaST2/add-on.desktop
./YaST2/yast-language.desktop
./YaST2/samba-client.desktop
./YaST2/auth-client.desktop
./YaST2/ntp-client.desktop
./YaST2/http-server.desktop
./kde4/active-documentviewer_chm.desktop
./kde4/active-documentviewer_comicbook.desktop
./kde4/active-documentviewer_djvu.desktop
./kde4/active-documentviewer_dvi.desktop
./kde4/active-documentviewer_epub.desktop
./kde4/active-documentviewer_fax.desktop
./kde4/active-documentviewer_fb.desktop
./kde4/active-documentviewer_ghostview.desktop
./kde4/active-documentviewer_ooo.desktop
./kde4/active-documentviewer_pdf.desktop
./kde4/active-documentviewer_plucker.desktop
./kde4/active-documentviewer_tiff.desktop
./kde4/active-documentviewer_txt.desktop
./kde4/active-documentviewer_xps.desktop
./textmaker-free.desktop
./planmaker-free.desktop
./presentations-free.desktop
./gtk-recordmydesktop.desktop
./yast2-metapackage-handler-ymu.desktop
./yast2-metapackage-handler.desktop
./claudia-launcher.desktop
./projectM-jack.desktop
./git-gui.desktop
./simple-scan.desktop
./vivaldi-stable.desktop
./lxqt-config-powermanagement.desktop
./lxqt-config-session.desktop
./lxqt-hibernate.desktop
./lxqt-leave.desktop
./lxqt-lockscreen.desktop
./lxqt-logout.desktop
./lxqt-reboot.desktop
./lxqt-shutdown.desktop
./lxqt-suspend.desktop
./lxqt-config-notificationd.desktop
./lxqt-about.desktop
./lxqt-config-appearance.desktop
./lxqt-config-brightness.desktop
./lxqt-config-file-associations.desktop
./lxqt-config-input.desktop
./lxqt-config-locale.desktop
./lxqt-config-monitor.desktop
./lxqt-config.desktop
./lxqt-config-globalkeyshortcuts.desktop
./pcmanfm-qt-desktop-pref.desktop
./pcmanfm-qt.desktop
./chromium-bsu.desktop
./gnome-mimeapps.list
./pavucontrol-qt.desktop
./notification-daemon.desktop
./gnome-calculator.desktop
./geoclue-where-am-i.desktop
./gpk-prefs.desktop
./bluetooth-sendto.desktop
./uget-gtk.desktop
./gcr-prompter.desktop
./mount-archive.desktop
./nautilus-autorun-software.desktop
./nautilus-classic.desktop
./gcm-calibrate.desktop
./gcm-import.desktop
./gcm-picker.desktop
./gcr-viewer.desktop
./lximage-qt-screenshot.desktop
./lximage-qt.desktop
./ibus-setup.desktop
./xscreensaver-properties.desktop
./exo-file-manager.desktop
./exo-mail-reader.desktop
./exo-preferred-applications.desktop
./exo-terminal-emulator.desktop
./exo-web-browser.desktop
./itweb-settings.desktop
./xfce4-power-manager-settings.desktop
./xfce4-about.desktop
./xfce4-screenshooter.desktop
./claws-mail.desktop
./system-config-printer.desktop
./gnome-background-panel.desktop
./gnome-bluetooth-panel.desktop
./gnome-control-center.desktop
./gnome-datetime-panel.desktop
./gnome-display-panel.desktop
./gnome-info-panel.desktop
./gnome-keyboard-panel.desktop
./gnome-mouse-panel.desktop
./gnome-network-panel.desktop
./gnome-notifications-panel.desktop
./gnome-power-panel.desktop
./gnome-printers-panel.desktop
./gnome-privacy-panel.desktop
./gnome-region-panel.desktop
./gnome-search-panel.desktop
./gnome-sharing-panel.desktop
./gnome-sound-panel.desktop
./gnome-universal-access-panel.desktop
./gnome-user-accounts-panel.desktop
./gnome-wacom-panel.desktop
./gnome-online-accounts-panel.desktop
./gnome-color-panel.desktop
./gnome-shell-extension-prefs.desktop
./evolution-calendar.desktop
./chromium-browser.desktop
./org.kde.krusader.root-mode.desktop
./yast2-packager.desktop
./audio-assistant.desktop
./gtk3-icon-browser.desktop
./gtk3-demo.desktop
./gtk3-widget-factory.desktop
./gkbd-keyboard-display.desktop
./nm-connection-editor.desktop
./nm-applet.desktop
./vivaldi-snapshot.desktop
--
Simon Lees (Simotek) http://simotek.net
Emergency Update Team keybase.io/simotek
SUSE Linux Adeliade Australia, UTC+9:30
GPG Fingerprint: 5B87 DB9D 88DC F606 E489 CEC5 0922 C246 02F0 014B
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 455 bytes
Desc: OpenPGP digital signature
URL: <https://lists.freedesktop.org/archives/xdg/attachments/20161107/c5b66512/attachment.sig>
More information about the xdg
mailing list