Re: [HIGH] STR #1605: uncomprensible text strings with kdesu
Greg Ercolano
Feb 18, 2007
DO NOT REPLY TO THIS MESSAGE. INSTEAD, POST ANY RESPONSES TO THE LINK BELOW.
[STR New]
Follow through by doing a test, where you make a script that sets those
SUDO variables before invoking your app. Then tell kdesu to invoke the
script instead of your app; that way the variables will be set before your
app starts running. See if it makes a difference.
An example script to do this might look like:
---- snip
#!/bin/csh -f
setenv KDE_FULL_SESSION true
setenv HOME /home/testing
setenv _ /usr/bin/sudo
setenv SUDO_COMMAND $0
/path/to/test_app $*:q
---- snip
Link: http://www.fltk.org/str.php?L1605
Version: 1.1.7
Comments are owned by the poster. All other content is copyright 1998-2025 by Bill Spitzak and others. This project is hosted by The FLTK Team. Please report site problems to 'erco@seriss.com'.