0

I want to display a dialog at startup after the user log in?

How would you suggest to do automatically launch a dialog at startup?

Example of dialogue:

zenity --question
  • What desktop environment are you using? – airhuff Jan 31 '17 at 23:29
1

As this question states, it might depend on what display manager you are running, but you can try to add the zenity command to ~/.xprofile.

I don't really suggest you to add it to ~/.profile as it will try to execute it when you login in a shell (i.e. in terminal) and it will probably fail if it has not a display defined (for instance if it is a remote ssh connection).

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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