TDE core libraries
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Michele Calgaro 2e0398f755
QT_NO_* -> TQT_NO_* renaming.
6 months ago
..
tests Additional k => tde renaming and fixes 5 years ago
CMakeLists.txt Fix detection for option TDEINIT_USE_XFT with CMake build 3 years ago
LICENSE.setproctitle Rename remnant files and references from kinit -> tdeinit. 6 years ago
Mainpage.dox Rename remnant files and references from kinit -> tdeinit. 6 years ago
Makefile.am LIB_QT -> LIB_TQT conversion to align to updated admin module 7 months ago
README qt -> tqt conversion: qtlib -> tqtlib libqt -> libtqt QTLIB -> TQTLIB LIBQT -> LIBTQT 6 months ago
README.DCOP Rename remnant files and references from kinit -> tdeinit. 6 years ago
README.autostart Rename remnant files and references from kinit -> tdeinit. 6 years ago
README.wrapper Rename remnant files and references from kinit -> tdeinit. 6 years ago
autostart.cpp Rename remnant files and references from kinit -> tdeinit. 6 years ago
autostart.h Rename remnant files and references from kinit -> tdeinit. 6 years ago
configure.in.in Rename remnant files and references from kinit -> tdeinit. 6 years ago
kwrapper.c Rename remnant files and references from kinit -> tdeinit. 6 years ago
lnusertemp.c tdeinit: make lnusertemp respect HOME for root This resolves bug 2739 2 years ago
setproctitle.cpp Rename remnant files and references from kinit -> tdeinit. 6 years ago
setproctitle.h Rename remnant files and references from kinit -> tdeinit. 6 years ago
shell.c Rename remnant files and references from kinit -> tdeinit. 6 years ago
start_tdeinit.c Rename remnant files and references from kinit -> tdeinit. 6 years ago
start_tdeinit_wrapper.c Rename remnant files and references from kinit -> tdeinit. 6 years ago
tdedostartupconfig.cpp QT_NO_* -> TQT_NO_* renaming. 6 months ago
tdeinit.cpp Fix FTBFS with stricter C++11 8 months ago
tdeioslave.cpp Additional k => tde renaming and fixes 5 years ago
tdelauncher.cpp Rename terminateKDE->terminateTDE 5 years ago
tdelauncher.h Additional k => tde renaming and fixes 5 years ago
tdelauncher_cmds.h Additional k => tde renaming and fixes 5 years ago
tdelauncher_main.cpp Rename remnant files and references from kinit -> tdeinit. 6 years ago
tdestartupconfig.cpp Rename remnant files and references from kinit -> tdeinit. 6 years ago
wrapper.c Rename remnant files and references from kinit -> tdeinit. 6 years ago

README.wrapper

README

tdeinit_wrapper, kshell and kwrapper are a programs that
start programs via tdeinit.

E.g. You can make a symbolic link from $TDEDIR/bin/konsole to
$TDEDIR/bin/tdeinit_wrapper. Typing 'konsole' on the command line
will then start 'konsole.la' through tdeinit instead.

tdeinit_wrapper is the simplest for, it only passes the program
and arguments to tdeinit, nothing else

kshell is usually the best choice, it passes the program,
arguments, complete environment ( $PATH, etc. ) and current
working directory to tdeinit

kwrapper tries to make the program look like it was actually
really started directly and not via tdeinit. In addition to
what kshell does, it also tries to redirect the program
output to the console from which kwrapper was started, it waits
for the program started via tdeinit to finish and only after then
it exits ( it doesn't return its return value though ), and
it also passes most signals it gets to the process of the started
program ( thus allowing you to break it using Ctrl+C or stopping
it using Ctrl+Z ). The drawbacks of this are that you'll have one
more process running, and also the signal passing and output
redirection may not work 100% reliably


TODO
====

* There is no portable way to read out the complete environment and
pass it to tdeinit. - tdeinit should probably unset every
variable that's not set in the environment it gets from kshell or
kwrapper
* stdout/stderr of the started application goes to the console where
tdeinit was started. - done, I hope it's ok