FLTK logo

Re: [fltk.bugs] [HIGH] STR #1605: uncomprensible text strings with kdesu

FLTK matrix user chat room
(using Element browser app)   FLTK gitter user chat room   GitHub FLTK Project   FLTK News RSS Feed  
  FLTK Apps      FLTK Library      Forums      Links     Login 
 All Forums  |  Back to fltk.bugs  ]
 
Previous Message ]New Message | Reply ]Next Message ]

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


Direct Link to Message ]
 
     
Previous Message ]New Message | Reply ]Next Message ]
 
 

Comments are owned by the poster. All other content is copyright 1998-2024 by Bill Spitzak and others. This project is hosted by The FLTK Team. Please report site problems to 'erco@seriss.com'.