Results 1 to 4 of 4

Thread: "startup file" for xautoclock

  1. #1
    Join Date
    Jun 2005
    Beans
    271

    "startup file" for xautoclock

    Running Ubunutu 14.04 w/ i3 DE.

    I need to find out something actually really basic.

    What is the best-practice for a dotfile to hold a set of startup commands.

    i.e. I need to load the following command at start up: "xautolock -time 1 -locker lock"

    It actually works in my .zshrc file, however every time I start a new shell session I get an annoying message that it's already
    running. Adding it to my .i3/config file doesn't seem to work at all.

    Someone on IRC suggested .login however zsh seems to ignore that completely.

    I know I could create a script or even alias the command but I was hoping for an automatic way to load it, thanks!

    -Rob

  2. #2
    Join Date
    Jul 2007
    Location
    Magic City of the Plains
    Beans
    Hidden!
    Distro
    Xubuntu Development Release

    Re: "startup file" for xautoclock

    i3 is a window manager, not a desktop environment.

    What line did you use in your ~/.i3/config file to try to launch the program? I'd try something like
    Code:
    exec --no-startup-id i3-msg 'exec xautolock -time 1 -locker lock'

  3. #3
    Join Date
    Jun 2005
    Beans
    271

    Re: "startup file" for xautoclock

    Quote Originally Posted by oldos2er View Post
    i3 is a window manager, not a desktop environment.

    What line did you use in your ~/.i3/config file to try to launch the program? I'd try something like
    Code:
    exec --no-startup-id i3-msg 'exec xautolock -time 1 -locker lock'
    I shall give that a try!

    Now do you by chance know how to definitively disable 14.04 monitor sleep? I've tried everything I can think of.

    -Rob

  4. #4
    Join Date
    Jul 2007
    Location
    Magic City of the Plains
    Beans
    Hidden!
    Distro
    Xubuntu Development Release

    Re: "startup file" for xautoclock

    Quote Originally Posted by robfindlay View Post
    I shall give that a try!

    Now do you by chance know how to definitively disable 14.04 monitor sleep? I've tried everything I can think of.
    In default Ubuntu? No, I'm afraid I don't. I suggest you start a new thread for that question and I'm sure you'll get help.

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
  •