Results 1 to 1 of 1

Thread: Keyboard shortcut

  1. #1
    Join Date
    Nov 2016
    Beans
    33

    Keyboard shortcut

    Greetings;

    I want to create a simple script that can accessed via a keyboard shortcut, to open a terminal window FULL SCREEN, then run a simple command to run a screen saver program that runs in the terminal window.

    I tried this command to full screen the terminal,

    Code:
    gnome-terminal --command="wmctrl -r ':ACTIVE:' -b toggle,fullscreen"
    and it works, but the next command which is the one that would open the screen saver program opens in a new shell. Any attempt to have it open in the current shell fails.

    Should be a simple two line script.
    Last edited by yegnal; June 8th, 2020 at 02:08 AM.

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •