On 12/3/23 21:18, Frederic Muller wrote:
On 03/12/2023 19:45, olivares33561 via users wrote:
On Sunday, December 3rd, 2023 at 6:37 AM, olivares33561 via users
<users@xxxxxxxxxxxxxxxxxxxxxxx> wrote:
If you can please try
$ gnome-sessikn-inhibit command-to-run-your-app
gnome-session-inhibit. The command was a typo sorry sent from phone
should do the job. If it doesn't work please let us know.
Thank you very much for the prompt reply. I tried this and got that:
gnome-session-inhibit FPVFreerider.x86_64
Failed to execute FPVFreerider.x86_64
fred@fedora:~/fpv/Freerider$ sudo gnome-session-inhibit FPVFreerider.x86_64
[sudo] password for fred:
** (gnome-session-inhibit:18376): WARNING **: 12:13:29.047: Failed to
call Inhibit: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The
name org.gnome.SessionManager was not provided by any .service files
Could it be because I didn't make any .desktop file?
It's because you're using sudo and the root user doesn't have a dbus
session to Gnome.
If you really have to use sudo (why?), try putting it after the inhibit
command.
gnome-session-inhibit sudo FPVFreerider.x86_64
--
_______________________________________________
users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/users@xxxxxxxxxxxxxxxxxxxxxxx
Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue