Find the answer to your Linux question:
Results 1 to 3 of 3
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1

    [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
    Penguin of trust elija's Avatar
    Join Date
    Jul 2004
    Location
    Either at home or at work or down the pub
    Posts
    3,907
    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_
    Should you be sitting wondering,
    Which Batman is the best,
    There's only one true answer my friend,
    It's Adam Bloody West!


    The Fifth Continent

  3. #3
    Thanks! But it's strange for me that it's different than running from terminal

  4. $spacer_open
    $spacer_close

Posting Permissions

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