Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I'm trying to get the program "Desktop Drapes" to run on startup, and so far the only guide that's gotten me anywhere is this one: http://ubuntuforums.org/showthread.php?p=8810911#post8810911

Things progress smoothly until I enter gksudo nautilus into the terminal. According to the guide, from here I should be able to /usr/bin and change the properties of "drapestart." However, in the root folder I find only a Desktop icon that leads to an empty menu.

I've entered gksudo nautilus while cd'd into /usr/bin and from [username]@[username]-desktop:~$, and the result is the same. Any idea what I'm doing wrong?

Thank you for taking the time out to read this. :)

share|improve this question

3 Answers 3

up vote 1 down vote accepted

In line with your question. When you run "gksudo nautilus" it opens in root's home directory, not yours.

Simply click on "File System" in nautilus's left sidebar & then navigate wherever, in this case to usr > bin

Or include where you wish to go in the command, like

gksudo nautilus /usr/bin
share|improve this answer
    
Thanks for the tip, that'll be good to know in the future. Truly you men are heroes to our republic! –  Redd Floyd Dec 27 '11 at 18:40

Probably the easiest way would be to open the Start-Up Application window and when creating the new entry use the command line:

bash -c "sleep 20 && drapes &"

i.e. you dont really need to create a file in /usr/bin since the above will achieve the same thing.

share|improve this answer
    
Thanks, that's got it working. :) –  Redd Floyd Dec 27 '11 at 18:39

The easiest way to make a file executable, IMO, is to use the chmod command:

sudo chmod +x /usr/bin/drapestart
share|improve this answer

Your Answer

 
discard

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

Not the answer you're looking for? Browse other questions tagged or ask your own question.