Find the answer to your Linux question:
Results 1 to 2 of 2
I've been Googling all day and cannot find the answer. I find all the "GUI" ways to do it through Gnome and KDE but I'm not using either... I have ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Trusted Penguin Dapper Dan's Avatar
    Join Date
    Oct 2004
    Location
    The Sovereign State of South Carolina
    Posts
    4,630

    How to make Firefox start up automatically in a full screen window.


    I've been Googling all day and cannot find the answer. I find all the "GUI" ways to do it through Gnome and KDE but I'm not using either...

    I have an EEE PC set to boot up automatically to openbox and want Firefox to start after that in a full screen openbox window.

    I've tried adding the firefox command to ~/.initrc but it won't execute. I tried the command in .profile. This brings up firefox on a black screen without openbox.

    Firefox comes up fine when executed from the openbox menu.

    Any help would be appreciated. Thanks!
    Linux Mint + IceWM Registered: #371367 New Members: click here

  2. #2
    Trusted Penguin Dapper Dan's Avatar
    Join Date
    Oct 2004
    Location
    The Sovereign State of South Carolina
    Posts
    4,630
    I finally found the anwser on this page but it is specific to openbox. As per the instructions, I created file ~/.config/openbox/autostart.sh. Inside I pasted this:
    Code:
    # Run the system-wide support stuff
    . $GLOBALAUTOSTART
    
    # Programs to launch at startup
    hsetroot ~/wallpaper.png &
    xcompmgr -c -t-5 -l-5 -r4.2 -o.55 &
    
    # SCIM support (for typing non-english characters)
    export LC_CTYPE=ja_JP.utf8
    export XMODIFIERS=@im=SCIM
    export GTK_IM_MODULE=scim
    export QT_IM_MODULE=scim
    scim -d &
    
    # Programs that will run after Openbox has started
    (sleep 2 && fbpanel) &
    but changed (sleep 2 && fbpanel) & to (sleep 2 && firefox) &

    So now, when I fire up the EEE PC with CRUX 2.6, it pulls up openbox automatically via slim and opens Firefox in a maximised window. This is perfect for my 6 year old son!
    Linux Mint + IceWM Registered: #371367 New Members: click here

Posting Permissions

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