tpmajer
(Tomasz Majer)
1
Hi.
I have Silverblue Rawhide with last developement versions of Gnome Shell and Mutter installed.
I have tried to enable rt-scheduler (Set SCHED_RR on gnome-shell process (!460) · Merge requests · GNOME / mutter · GitLab) by:
$ gsettings set org.gnome.mutter experimental-features “[‘rt-scheduler’]”
$ setcap CAP_SYS_NICE=+ep /usr/bin/gnome-shell
unable to set CAP_SETFCAP effective capability: Operation not permitted
How to do it properly?
1 Like
refi64
(Ryan Gonzalez)
2
I don’t think you can setcap because /usr is read only. You can run rpm-ostree usroverlay
if you don’t mind the setcap being lost next boot.
1 Like
tpmajer
(Tomasz Majer)
3
It is a pity that we can not set it permanently in Silverblue.
tpmajer
(Tomasz Majer)
4
Is it enabled by default now (Rawhide)?
After upgrade and reboot:
[tpmajer@silverblue ~]$ ps -e -o s,pid,cls,pri | grep pidof gnome-shell
S 1284 RR 41
[tpmajer@silverblue ~]$ getcap /usr/bin/gnome-shell
/usr/bin/gnome-shell = cap_sys_nice+ep