diff --git a/dbus/org.freedesktop.Notifications.xml b/dbus/org.freedesktop.Notifications.xml new file mode 100644 index 00000000..e9630a61 --- /dev/null +++ b/dbus/org.freedesktop.Notifications.xml @@ -0,0 +1,30 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/src/capture/workers/launcher/applauncherwidget.cpp b/src/capture/workers/launcher/applauncherwidget.cpp index 019b9274..0d145871 100644 --- a/src/capture/workers/launcher/applauncherwidget.cpp +++ b/src/capture/workers/launcher/applauncherwidget.cpp @@ -35,6 +35,8 @@ AppLauncherWidget::AppLauncherWidget(const QPixmap &p, QWidget *parent): setAttribute(Qt::WA_DeleteOnClose); m_keepOpen = ConfigHandler().keepOpenAppLauncherValue(); + // In case of wanting to know the default app for a mime: + // xdg-mime query default image/png QString dir = "/usr/share/applications/"; QString dirLocal = "~/.local/share/applications/"; QDir appsDirLocal(dirLocal);