Set portals to KDE for GTK apps under plasma
This commit is contained in:
2
etc/profile.d/kde-portal.csh
Normal file
2
etc/profile.d/kde-portal.csh
Normal file
@@ -0,0 +1,2 @@
|
||||
setenv GTK_USE_PORTAL 1
|
||||
setenv GDK_DEBUG portals
|
||||
3
etc/profile.d/kde-portal.sh
Normal file
3
etc/profile.d/kde-portal.sh
Normal file
@@ -0,0 +1,3 @@
|
||||
# shellcheck shell=sh
|
||||
export GTK_USE_PORTAL=1
|
||||
export GDK_DEBUG=portals
|
||||
@@ -0,0 +1,2 @@
|
||||
[Service]
|
||||
Environment="XDG_CURRENT_DESKTOP=KDE"
|
||||
3
etc/xdg/xdg-desktop-portal/portals.conf
Normal file
3
etc/xdg/xdg-desktop-portal/portals.conf
Normal file
@@ -0,0 +1,3 @@
|
||||
[preferred]
|
||||
default=kde
|
||||
org.freedesktop.impl.portal.FileChooser=kde
|
||||
Reference in New Issue
Block a user