Find the answer to your Linux question:
Results 1 to 3 of 3
Hi all, Could anyone explain me why firefox is not started if I use scheduler command 'at'. I can start firefox from terminal. But when I use 'at hours:min' it ...
  1. #1
    Just Joined!
    Join Date
    May 2011
    Posts
    2

    [SOLVED] at command doesn't start firefox

    Hi all,

    Could anyone explain me why firefox is not started if I use scheduler command 'at'. I can start firefox from terminal. But when I use 'at hours:min' it doesn't start. I tried 'firefox &' but it doesn't start too. If instead of 'firefox' I use 'mv fileName1 fileName2' the file is renamed as expected.

    Code:
    at now
    warning: commands will be executed using /bin/sh
    at> firefox &
    at> <EOT>
    (it works with other commands)

    Thanks,
    Jonas

  2. #2
    Trusted Penguin elija's Avatar
    Join Date
    Jul 2004
    Location
    Either at home or at work or down the pub
    Posts
    2,298
    Try this which tells it which display to use and the full path to the binary:

    Code:
    at 2000 <<_EOF_
    DISPLAY=:0.0 /usr/bin/firefox
    _EOF_
    If we hit that bullseye, the rest of the dominoes will fall like a house of cards. Checkmate! (Zapp Brannigan)


    My new blog. It's probably not as good as I think it is.

  3. #3
    Just Joined!
    Join Date
    May 2011
    Posts
    2
    Thanks! But it's strange for me that it's different than running from terminal

Posting Permissions

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