Start Firefox on startup in fullscren

Hi how can i start firefox in fullscreen mode at o.s. startup ?

I try to search gnome-startup-applications , it is installed but if i try to launch it on terminal i have command not found.

Did you install it as a Flatpak?
If so, the terminal command is

flatpak run org.mozilla.firefox

To start it at full screen, you can change the Exec line in the .desktop file (Flatpak) to
Exec=flatpak run org.mozilla.firefox --start-fullscreen

Are you looking for it to start automatically at boot?
If so, you can add a systemd service to start it at full screen at boot:

mkdir -p ~/.config/systemd/user

sudo nano ~/.config/systemd/user/firefox.service

Paste in the following:

[Unit]
Description=Launch Firefox at startup
After=graphical.target

[Service]
ExecStart=/usr/bin/flatpak run org.mozilla.firefox --start-fullscreen
Restart=always
Environment=DISPLAY=:0

[Install]
WantedBy=default.target

Save and reboot to test.

If Not using Flatpak, but instead using the standard stable APT package:

mkdir -p ~/.config/autostart

sudo nano ~/.config/autostart/firefox.desktop

[Desktop Entry]
Type=Application
Name=Firefox
Exec=firefox --start-fullscreen
X-GNOME-Autostart-enabled=true

Save and reboot to test...

3 Likes

Welcome to the Forum!

You can search for it in the Search Bar of the Zorin Start Menu or You go to the App Grid (press fast 2 Times the Super Key (Windows Key) and look there for the Program Icon.

@pippuccio76, I think you want to launch Applicazioni d'avvio, which in System Monitor appears as gnome-session-properties (enter it on the terminal to launch the program). @Aravisian, I'd bet he uses the preinstalled flat version. flatpak run org.mozilla.firefox --start-fullscreen should work in GNOME Session Properties, but if not at full screen there's a small extension that I have which does this, AutoFullscreen. @Ponce-De-Leon, pippuccio76 wants that Firefox opens at full screen when the OS has loaded. Also, this request fits General Help :wink:.

1 Like

Thanks for spotting that: Fixed.

2 Likes

Yes, I understand that. But he or she wrotes:

So, for me it seems that the Start Programs Program doesn't run over the Terminal. That was the Reason for my Comment.

1 Like

HI i try to start anydesk too , but i have :

Which is the correct command ?

The command is correct. It may be the flatpak package it's wrong with.

NOTE: This wrapper (flatpak) is not verified by, affiliated with, or supported by AnyDesk.

Try the .deb package instead: Remote Desktop Software for Ubuntu and Linux | AnyDesk

1 Like

Type in the Terminal flatpak list to list all installed Flatpaks. And there look for the exact Name for AnyDesk.

I don't see the complete name , this is what i see :

AnyD… …anydesk.Anydesk 6.4.0 stable flathub system

Hmm ... Okay, then I would suggest to take a Look at @Storm's Comment and try it with the .deb Version.

When you see truncated output like that, maximize the terminal window and run the command again.
You could try re-installing it but I'd also recommend going with the Debian package format option.

Following the link provided above, click on "Debian / Ubuntu / Mint (64 Bit)"; when the download completes, navigate to the downloads folder and double click on the file (it should have a .deb extension) to install it.

1 Like