Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
This is Chunhao, I need your help on my problem below:
I wrote a daemon named "key_captured", which is used to catch
some special key presses of Sony Vaio notebook, for instance, when
I press the "DVD" on the keyboard, the daemon will call the media
player "kaffeine", and if I press "Fn + F7", the daemon will show a
GUI named "display_switch", written with Qt by me.
I made a symbolic link of "key_captured" with the command:
#ln -s /usr/sbin/key_captured /root/.kde/Autostart/
so that this daemon starts automatically each time when X starts
(I'm using KDE). I find that this method can work fairly well,
"key_captured" can catch my key press and call the corresponding
But now, for some reason, I need to add my "key_captured" into
system services to start the daemon automatically, instead of the
method by symbolic link. I find If the daemon is started by system
services, it can NOT catch my key presses under X-Window. I do not
know the exact reason, maybe there is some bug in my daemon
"key_captured", I'm using:
to execute the GUI programs.
Would you please give me some suggestion on how to solving this
program? Should I use "fork"-like system calls to produce the GUI
process, and make it the child process of X?
What I find out, is that kde has it's own scheduler, so the linux-system and kde-system are separated.
I'm looking for something similar like you want to do. Kde has mime-types for execution. So make a kde-link to your bin or whatever with the needed kde-rules maybe that works. Oh.. is KDE started before execution? only if you get an error like no connection to x-server you'r out of the KDE-system.