Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
E
eepm
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
etersoft
eepm
Commits
e9fe67e9
Commit
e9fe67e9
authored
Apr 18, 2024
by
Boria138
Committed by
Vitaly Lipatov
Apr 26, 2024
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
epm play: install xdg-desktop-portal backends for flatpak (eterbug #17245)
parent
096670ce
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
24 additions
and
0 deletions
+24
-0
flatpak.sh
prescription.d/flatpak.sh
+24
-0
No files found.
prescription.d/flatpak.sh
View file @
e9fe67e9
...
@@ -11,10 +11,34 @@ assure_root
...
@@ -11,10 +11,34 @@ assure_root
# Мсправляет ошибку "enabling unprivileged user namespaces" без перезагрузки
# Мсправляет ошибку "enabling unprivileged user namespaces" без перезагрузки
a
=
sysctl
-w
kernel.unprivileged_userns_clone
=
1
a
=
sysctl
-w
kernel.unprivileged_userns_clone
=
1
install_portals
=
""
while
read
-r
window_manager package
;
do
if
epm installed
$window_manager
</dev/null
;
then
install_portals+
=
"
$package
"
fi
done
<<
EOF
plasma5-kwin plasma5-xdg-desktop-portal-kde
deepin-kwin2 xdg-desktop-portal-dde
gnome-shell xdg-desktop-portal-gnome
xfwm4 xdg-desktop-portal-gtk
mate-window-manager xdg-desktop-portal-gtk
sway xdg-desktop-portal-wlr
hyprland xdg-desktop-portal-hyprland
muffin xdg-desktop-portal-xapp
liblxqt xdg-desktop-portal-lxqt
lxde-common xdg-desktop-portal-gtk
EOF
epm
install
--skip-installed
$install_portals
xdg-desktop-portal
epm
install
flatpak flatpak-repo-flathub sysctl-conf-userns
epm
install
flatpak flatpak-repo-flathub sysctl-conf-userns
if
epm installed plasma5-discover
;
then
if
epm installed plasma5-discover
;
then
epm
install
plasma5-discover-flatpak
epm
install
plasma5-discover-flatpak
fi
fi
# Без перезагрузки dbus, порталы не заработают
a
=
systemctl try-reload-or-restart dbus
echo
"Flatpak successfully installed, but epm play is the preferred way to install the software."
echo
"Flatpak successfully installed, but epm play is the preferred way to install the software."
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment