[Inx] Links2 -g | xlinks2 issue solved
Peter Garrett
inx-one at optusnet.com.au
Mon Jul 21 05:04:22 PDT 2008
Hi,
I finally managed to get xlinks2 to run without suid root from INX
menus, as opposed to "from a prompt". The solution involves a wrapper
script that runs a loop in the background, then foregrounds itself when
xlinks2 exits.
It's a bit round-about, since xlinks2 is itself a wrapper
(exec links2 -g "$@" )
Seems to "work" though, with /dev/fb0, /dev/input/mice and /dev/tty0
owned by group "video" (of which user "inx" is a member.)
The script is here:
http://bazaar.launchpad.net/~inx-devel/inx/scriptsandfunctions/annotate/67?file_id=links2watch-20080721085649-fkxtd5qtfyjplqs0-1
Apologies for the truly ugly LP URL...
Latest complete rev. of all scripts and functions is at
http://bazaar.launchpad.net/~inx-devel/inx/scriptsandfunctions/changes
--
Peter Garrett <inx-one at optusnet.com.au>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://lists.inx.maincontent.net/pipermail/inx-inx.maincontent.net/attachments/20080721/16894ead/attachment-0002.pgp>
More information about the Inx
mailing list