kde-portal

This commit is contained in:
Anthony Axenov 2022-10-04 13:11:25 +08:00
parent b7856f6529
commit 8c6a191d61
Signed by: anthony
GPG Key ID: EA9EC32FF7CCD4EC

19
install/kde-portal Executable file
View File

@ -0,0 +1,19 @@
#!/bin/bash
##makedesc: Install KDE portal
echo
echo "==============================================="
echo "Installing KDE portal..."
echo "==============================================="
echo
sudo apt install -y \
xdg-desktop-portal \
xdg-desktop-portal-kde \
xdg-desktop-portal-gtk && \
echo "GTK_USE_PORTAL=1" | sudo tee -a /etc/environment && \
echo "XDG_CURRENT_DESKTOP=KDE" | sudo tee -a /etc/environment
echo
echo "Finish! Now you need to relogin"
echo