Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Hello I have a small netbook with tegra, and I'm trying to create Image Frame when someone turn on a netbook. If I add to init.d Starting script for my graphic application will it run before GNOME desctop, is this good way to do that functionality?

share|improve this question

migrated from stackoverflow.com Oct 26 '12 at 8:16

This question came from our site for professional and enthusiast programmers.

add comment

2 Answers

up vote 1 down vote accepted

No, it's a terrible way. Add it to the appropriate xinitrc that your distro uses (try looking in /etc/X11), before it execs the desktop environment.

share|improve this answer
add comment

You could also add an entry to your crontab(5) at @reboot time. This can even be done without root privilege, for a particular user.

share|improve this answer
    
Except that it won't have access to X this way either. –  Ignacio Vazquez-Abrams Oct 26 '12 at 15:17
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.