How to attach a GUI application to the current running session correctly
Dries Michiels <[email protected]>
| Newsgroups | gmane.os.freebsd.devel.x11 |
|---|---|
| Message-ID | <5545998.8T7jmnknE8@dries-nb> |
Hi X11 mailing list,
I'm writing here as I'm unsure how to proceed to achieve my goal.
I would like to bind one of my function keys to open the "systemsettings5"
app of the KDE desktop environment.
To do this, I'm trying to map a devd event to do just that (see the attached
script).
At the moment I'm using the command bellow.
case notify in
<snip>
0x1d) # Settings
su dries -c 'env XAUTHORITY=/home/dries/.Xauthority
DISPLAY=:0 /usr/local/bin/systemsettings5'
;;
The systemsettings5 program opens fine but it doesn't open in the correct font
and color as the running session of my user. Does anybody have any pointers on
how I could achieve this?
Regards,
Dries
PS: I attached my acp_ibm script
_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-x11
To unsubscribe, send any mail to "[email protected]"