Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I'm trying to add an application for startup that runs a program with a flag. I entered xpad -h and xpad --h into the command line. Xpad is a sticky note application, and the -h flag tells it to hide the windows but still keep an indicator open. Whenever I login, my computer will open Xpad but won't hide the windows, which I believe means that the flag is ignored. Am I doing something wrong?

share|improve this question
I added /usr/bin/wuala -silent to startup applications and it works like it should. – Jakob Apr 14 '12 at 22:02
I tried /usr/bin/xpad -h and still nothing. Would a script work better? – Ryan McClure Apr 14 '12 at 22:10
I can confirm that it doesn't work with xpad. A script might be a possible workaround - why not try it? – Jakob Apr 14 '12 at 22:19
I created the script #!/bin/bash xpad -h and that still does not work. Meh, it's not too tough to just close the window on login. – Ryan McClure Apr 14 '12 at 22:30
Running the script doesn't depend on autostart - it doesn't work to start Xpad hidden. Possibly you should ask a question on launchpad or file a bug ... – Jakob Apr 14 '12 at 22:44
up vote 0 down vote accepted

I finally figured out how to fix the problem I had with Xpad. I created a script:


sleep 3

xpad --hide &

and now it works. It was adding sleep 3 that let it work finally. Any lower value does not seem to work.

share|improve this answer
It is a known (and by now) registered bug. Thanks for giving your solution. Here you can find other possibilities for other situations. Bug report: Blueprint for future fix: – Arthur Borsboom Feb 12 '14 at 0:16

Your Answer


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.