I want to use Gnome's inbuilt Screen Recorder for recording GUI sessions for audit purpose. To automate this, I changed the Shortcut for the screen recorder as "Alt+U" and then executed command "xdotool key Alt+U" And it is working. Now I want to run this command every time someone login to gnome. I tried to add this command 1) /etc/profile 2)/etx/xdg/autostart/new.desktop 3)added a startup application using gnome-session-properties. Nothing is working. It would be great if someone can guide me in the correct way.


Not familiar with Gnome, among KDE control panels you can find someting like Run after Start or Automatic started applications. I hope in Gnome there must be something similar.

Your Answer

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

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