Here's a utility that enables one to 'launch' gui apps from the commandline without any terminal 'noise' (unless you want feedback from the app) returning control immediately to the terminal.
For example you could type.
and both apps would remain open and you'd be ready for the next terminal command.
With this utility you can create an application called 'hlp' that will open a nicely formatted man or info page in konqueror.
Or an 'edit' program that uses kate instead of vi/vim.
WARNING: SU & KONQUEROR ISSUE. As a normal user, it has never screwed up on me. (First version was for suse 10, about 5 years ago. I use it regularly.) With the new dbus implementation, as superuser, konqueror has caused klauncher to spin out, sucking up tons of cpu time, relaunching itself each time it is killed. This doesn't happen often but is a bug and it is still under study.
sources and makefile here
http://rainbowsally.net/pub/launch-1.4.tar.gz
screenshot here
http://rainbowsally.net/pub/chat.jpeg
The screenshot is of a qt demo of dbus.
This is the thread where I posted the solution to root and superuser connections, the result of that qt demo and getting root and superuser to chat over the same dbus-daemon connection.
http://kubuntuforums.net/forums/inde...opic=3119650.0
The dbus code to allow superuser to access a root dbus-daemon is also in the README in the tarball.
For example you could type.
Code:
launch kate /etc/fstab launch knonqueror . # that's a 'dot'
With this utility you can create an application called 'hlp' that will open a nicely formatted man or info page in konqueror.
Code:
#!/bin/sh browser=konqueror opt="info" if [ "$1" == "-m" ];then opt="man" shift else if [ "$1" == "-i" ];then opt="info" shift fi ;fi launch $browser "$opt:$1"
Code:
#!/bin/sh # this is obsolete, see README to enable with superuser #if [ "$HOME" == "/root" ];then #export $(dbus-launch) #fi # turn 'grep -n' output into --line NNN to go to the # exact line. args=`echo $@ | sed 's|[:]| --line |; s|[:].*| |g;'` launch "kate -n $args"
sources and makefile here
http://rainbowsally.net/pub/launch-1.4.tar.gz
screenshot here
http://rainbowsally.net/pub/chat.jpeg
The screenshot is of a qt demo of dbus.
This is the thread where I posted the solution to root and superuser connections, the result of that qt demo and getting root and superuser to chat over the same dbus-daemon connection.
http://kubuntuforums.net/forums/inde...opic=3119650.0
The dbus code to allow superuser to access a root dbus-daemon is also in the README in the tarball.
Comment