SecBSD's official ports repository
This commit is contained in:
commit
2c0afcbbf3
64331 changed files with 5339189 additions and 0 deletions
13
devel/xdg-utils/patches/patch-scripts_xdg-utils-common_in
Normal file
13
devel/xdg-utils/patches/patch-scripts_xdg-utils-common_in
Normal file
|
@ -0,0 +1,13 @@
|
|||
Make xdg-open work with toad(8) under KDE4.
|
||||
|
||||
Index: scripts/xdg-utils-common.in
|
||||
--- scripts/xdg-utils-common.in.orig
|
||||
+++ scripts/xdg-utils-common.in
|
||||
@@ -312,6 +312,7 @@ detectDE()
|
||||
if [ x"$DE" = x"" ]; then
|
||||
# classic fallbacks
|
||||
if [ x"$KDE_FULL_SESSION" != x"" ]; then DE=kde;
|
||||
+ elif `dbus-send --print-reply --dest=org.freedesktop.DBus /org/freedesktop/DBus org.freedesktop.DBus.GetNameOwner string:org.kde.KWin >/dev/null 2>&1` ; then DE=kde;
|
||||
elif [ x"$GNOME_DESKTOP_SESSION_ID" != x"" ]; then DE=gnome;
|
||||
elif [ x"$MATE_DESKTOP_SESSION_ID" != x"" ]; then DE=mate;
|
||||
elif `dbus-send --print-reply --dest=org.freedesktop.DBus /org/freedesktop/DBus org.freedesktop.DBus.GetNameOwner string:org.gnome.SessionManager > /dev/null 2>&1` ; then DE=gnome;
|
Loading…
Add table
Add a link
Reference in a new issue