Skip to content

Instantly share code, notes, and snippets.

@jmziya
Forked from rampfox/Chromium-at-startup.md
Created March 18, 2022 10:43
Show Gist options
  • Save jmziya/ec7cb42afe78ab5fd6b57df87bbbd140 to your computer and use it in GitHub Desktop.
Save jmziya/ec7cb42afe78ab5fd6b57df87bbbd140 to your computer and use it in GitHub Desktop.

Revisions

  1. @rampfox rampfox revised this gist Dec 15, 2021. 1 changed file with 3 additions and 1 deletion.
    4 changes: 3 additions & 1 deletion Chromium-at-startup.md
    Original file line number Diff line number Diff line change
    @@ -25,8 +25,10 @@ point-rpi
    chromium --start https://google.com/
    ```
    if you want to autostart **incongnito mode**

    > ~~@chromium-browser --incognito --start https://google.com/~~
    ```
    @chromium-browser --incognito --start https://google.com/
    chromium --incognito https://google.com/
    ```
    `^ + x` exit and save

  2. @rampfox rampfox revised this gist Dec 15, 2021. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion Chromium-at-startup.md
    Original file line number Diff line number Diff line change
    @@ -22,7 +22,7 @@ nano ~/.config/lxpanel/LXDE-pi/autostart
    @pcmanfm --desktop --profile LXDE-pi
    #@xscreensaver -no-splash
    point-rpi
    @chromium-browser --start https://google.com/
    chromium --start https://google.com/
    ```
    if you want to autostart **incongnito mode**
    ```
  3. @rampfox rampfox revised this gist Mar 7, 2021. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion Chromium-at-startup.md
    Original file line number Diff line number Diff line change
    @@ -22,7 +22,7 @@ nano ~/.config/lxpanel/LXDE-pi/autostart
    @pcmanfm --desktop --profile LXDE-pi
    #@xscreensaver -no-splash
    point-rpi
    @chromium-browser --start-fullscreen https://google.com/
    @chromium-browser --start https://google.com/
    ```
    if you want to autostart **incongnito mode**
    ```
  4. @rampfox rampfox revised this gist Mar 7, 2021. 1 changed file with 2 additions and 1 deletion.
    3 changes: 2 additions & 1 deletion Chromium-at-startup.md
    Original file line number Diff line number Diff line change
    @@ -12,9 +12,10 @@ cp /etc/xdg/lxsession/LXDE-pi/autostart ~/.config/lxpanel/LXDE-pi/
    ```
    nano ~/.config/lxsession/LXDE-pi/autostart
    ```
    <!-- BUSTER
    ```
    nano ~/.config/lxpanel/LXDE-pi/autostart
    ```
    ``` -->
    3. Then edit the **autostart**
    ```
    @lxpanel --profile LXDE-pi
  5. @rampfox rampfox revised this gist Mar 7, 2021. 1 changed file with 2 additions and 2 deletions.
    4 changes: 2 additions & 2 deletions Chromium-at-startup.md
    Original file line number Diff line number Diff line change
    @@ -4,10 +4,10 @@
    ```
    cp /etc/xdg/lxsession/LXDE-pi/autostart ~/.config/lxsession/LXDE-pi/
    ```
    Raspbian PI OS Buster
    <!-- Raspbian PI OS Buster
    ```
    cp /etc/xdg/lxsession/LXDE-pi/autostart ~/.config/lxpanel/LXDE-pi/
    ```
    ``` -->
    2. open the **autostart** with *nano*
    ```
    nano ~/.config/lxsession/LXDE-pi/autostart
  6. @rampfox rampfox revised this gist Mar 5, 2021. 1 changed file with 3 additions and 0 deletions.
    3 changes: 3 additions & 0 deletions Chromium-at-startup.md
    Original file line number Diff line number Diff line change
    @@ -12,6 +12,9 @@ cp /etc/xdg/lxsession/LXDE-pi/autostart ~/.config/lxpanel/LXDE-pi/
    ```
    nano ~/.config/lxsession/LXDE-pi/autostart
    ```
    ```
    nano ~/.config/lxpanel/LXDE-pi/autostart
    ```
    3. Then edit the **autostart**
    ```
    @lxpanel --profile LXDE-pi
  7. @rampfox rampfox revised this gist Mar 5, 2021. 1 changed file with 5 additions and 1 deletion.
    6 changes: 5 additions & 1 deletion Chromium-at-startup.md
    Original file line number Diff line number Diff line change
    @@ -3,7 +3,11 @@
    1. copy the **autostart**
    ```
    cp /etc/xdg/lxsession/LXDE-pi/autostart ~/.config/lxsession/LXDE-pi/
    ```
    ```
    Raspbian PI OS Buster
    ```
    cp /etc/xdg/lxsession/LXDE-pi/autostart ~/.config/lxpanel/LXDE-pi/
    ```
    2. open the **autostart** with *nano*
    ```
    nano ~/.config/lxsession/LXDE-pi/autostart
  8. @rampfox rampfox revised this gist Oct 13, 2020. 1 changed file with 4 additions and 0 deletions.
    4 changes: 4 additions & 0 deletions Chromium-at-startup.md
    Original file line number Diff line number Diff line change
    @@ -16,6 +16,10 @@ nano ~/.config/lxsession/LXDE-pi/autostart
    point-rpi
    @chromium-browser --start-fullscreen https://google.com/
    ```
    if you want to autostart **incongnito mode**
    ```
    @chromium-browser --incognito --start https://google.com/
    ```
    `^ + x` exit and save

    then `sudo reboot` to try on
  9. @rampfox rampfox revised this gist Jun 13, 2019. 1 changed file with 2 additions and 0 deletions.
    2 changes: 2 additions & 0 deletions Chromium-at-startup.md
    Original file line number Diff line number Diff line change
    @@ -20,6 +20,8 @@ point-rpi

    then `sudo reboot` to try on

    ---

    the various other browser modes:
    * Application Mode: `@chromium-browser --app`. The browser starts up without displaying any toolbars.

  10. @rampfox rampfox created this gist Jun 13, 2019.
    28 changes: 28 additions & 0 deletions Chromium-at-startup.md
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,28 @@
    #### First, it seems that ~/.config/lxsession/LXDE-pi/autostart does not exist by default.

    1. copy the **autostart**
    ```
    cp /etc/xdg/lxsession/LXDE-pi/autostart ~/.config/lxsession/LXDE-pi/
    ```
    2. open the **autostart** with *nano*
    ```
    nano ~/.config/lxsession/LXDE-pi/autostart
    ```
    3. Then edit the **autostart**
    ```
    @lxpanel --profile LXDE-pi
    @pcmanfm --desktop --profile LXDE-pi
    #@xscreensaver -no-splash
    point-rpi
    @chromium-browser --start-fullscreen https://google.com/
    ```
    `^ + x` exit and save

    then `sudo reboot` to try on

    the various other browser modes:
    * Application Mode: `@chromium-browser --app`. The browser starts up without displaying any toolbars.

    * Full-screen mode: `@chromium-browser --start-fullscreen`. The browser starts in app. mode but expanded to full-screen. You can press the F11 key to break out of full-screen mode.

    * Kiosk mode: `@chromium-browser --kiosk`. The browser starts in full-screen mode but does not respond to the F11 key, nor to any command to get it to switch tasks.