Page 2 of 2 FirstFirst 12
Results 11 to 14 of 14

Thread: closing automatically firefox after 3 or 5 minutes of inactivity

  1. #11

    Default Re: closing automatically firefox after 3 or 5 minutes of inactivity

    Resolved : curiously, script launched :
    Code:
    ./xautolock.sh
    only works by local terminal not working on remote terminal machine !

    Thanks to all !

  2. #12

    Default Re: closing automatically firefox after 3 or 5 minutes of inactivity

    Hello,

    I wish to launch the script
    Code:
    #!/bin/bash
    xautolock -notify 10 -notifier 'notify-send -i firefox "Firefox will close in 10 seconds"' -time 1 -locker "pkill firefox

    at boot as service automatically; this tutorial is interesting, but a little bit short ..
    HTML Code:
    https://www.suse.com/support/kb/doc/?id=000019672
    Do you have advises or links more documented ?

    Thanks !

  3. #13
    Join Date
    Jun 2008
    Location
    Netherlands
    Posts
    29,132

    Default Re: closing automatically firefox after 3 or 5 minutes of inactivity

    For posting a link, use the Globe icon that says Link when hovered over (not the HTML tags):
    https://www.suse.com/support/kb/doc/?id=000019672
    Henk van Velden

  4. #14

    Default Re: closing automatically firefox after 3 or 5 minutes of inactivity

    Quote Originally Posted by Clytemnestr View Post
    Hello,

    I wish to launch the script
    Code:
    #!/bin/bash
    xautolock -notify 10 -notifier 'notify-send -i firefox "Firefox will close in 10 seconds"' -time 1 -locker "pkill firefox

    at boot as service automatically; this tutorial is interesting, but a little bit short ..
    HTML Code:
    https://www.suse.com/support/kb/doc/?id=000019672
    Do you have advises or links more documented ?

    Thanks !
    Hi,

    Did you at least tried that instruction on that link? It should get you started. You can examine the logs later if and when there are issued/problems. Also the documentation is available at the man pages, systemd(1) and systemd.unit(5) You could start with

    Code:
    man 1 systemd
    At the bottom the section has some more links to the man pages
    Code:
    SEE ALSO
    For configuring the unit files see.

    Code:
    man 5 systemd.unit
    "Unfortunately time is always against us" -- [Morpheus]

    .:https://github.com/Jetchisel:.

Page 2 of 2 FirstFirst 12

Posting Permissions

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