Linux - DesktopThis forum is for the discussion of all Linux Software used in a desktop context.
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.
When I login instead of the script running it just opens the text file. I googled for the answer to this undeniably simple question, but so far I can't find it. Would someone please point me in the direction? Thanks so much for any assistance.
Note: I am running Mandriva Linux 2008.1 with KDE. Thanks!
Oh, one more thing, is /usr/share an appropriate place to put the gmail-notify folder? I don't know I am a newb.
Last edited by mpmackenna; 07-17-2008 at 10:46 PM.
Is notifier.py executable? Just because it's a python script doesn't make it executable. You have to set the executable bit: as root,
chmod u+x /usr/share/gmail-notify/notifier.py
Still no dice... I think it was set as executable already. User mike has rwx rights to begin with and I ran that command as well. Still cant double click on my notifier.py shortcut and have the program launch.
Thanks for the response.
The safe way : make a script (in e.g. /usr/local/bin)
and make the "script.sh" an entry in Autostart.
Same issue, I put a text file named notify.sh in ~/.kde/Autostart/ and when I login it just opens KWrite with the text of the script instead of running the commands.
I used your script with the following statements.
exec python notifier.py
I put in $!/usr/bin/python, which should have been #!/usr/bin/python
I run some bash scripts in my autostart; I do not think it HAS to be a .desktop file.
Yeah I caught your typo and corrected it for the test. It seems odd to me too that it would need to be a .desktop file, but that is the only thing that seems to be working for me at the moment. Thanks.