Questions tagged [autostart]

Make programs start upon logging in, or stop them from doing so.

Filter by
Sorted by
Tagged with
0 votes
1 answer
17 views

"To Do" App, Auto start

I have just done a clean install of 22.04 and I am setting up my auto start programs. I am trying to add the To Do app,but can't remember the proper name for it in terminal. Can anyone help please. ...
user avatar
  • 121
0 votes
0 answers
18 views

How to start Todoist app minimized to tray on startup

What is the correct launch command for Todoist app along with the modifier to launch the app minimized to tray on system startup?
user avatar
  • 21
0 votes
0 answers
26 views

How to put a command that autostart daemon before login in Ubuntu server 20.04

I have two programs in Ubuntu server 20.04, that located in: 1. /home/kiko/go-btfs/cmd/btfs 2. /home/kiko/node5007/cmd/btfs They both run with command: ./btfs daemon How to make this command for ...
user avatar
0 votes
0 answers
20 views

Process path shown by ps -ef doesn't exist

I'm in the process of tracing a process that autostarts on my machine so that I can stop it happening. I want to stop it because it's causing port 8983 clash with something else. $ ps -ef | grep solr ...
user avatar
0 votes
0 answers
17 views

Starting Java Gui application with a specific user without logging in

been battling this for about a day and hoping someone would be able to help. I need to start a Java GUI application as specific application on startup as a specific user before they have logged in. (I ...
user avatar
0 votes
1 answer
155 views

Unable to auto start service (SoftEther VPN) on Ubuntu Server 22.04

I am running Ubuntu Server 22.04 in a VMware Workstation VM (Host OS is Windows 11 Pro). I find that I have to manually start the Softether VPN by running "/etc/init.d/vpnserver start". So ...
user avatar
0 votes
1 answer
71 views

How to autorun .sh

I have a game server that I would like to manage restarts automatically Currently I am doing this to run the server screen -dmS screenname // create a new screen screen -xs screenname // attatch to ...
user avatar
0 votes
1 answer
18 views

Run source after Ubuntu starts

I need to run the command source "/opt/sqlanywhere17/bin64/sa_config.sh" after Ubuntu starts. It's taken from here. It updated LD_LIBRARY_PATH, PATH etc. I tried this, but doesn't work. ...
user avatar
  • 393
0 votes
0 answers
78 views

strongSwan VPN service doesn't autostart until I connect with TeamViewer

I have a remote site with headless NUC (Ubuntu + TeamViewer for remote access), which is running a strongSwan IPSec VPN service (VPN tunnel to my home site). NUC automatically restarts every day (...
user avatar
  • 1
3 votes
1 answer
58 views

Where "Application Autostart" of Lubuntu 20.04 keeps its data?

Where "Application Autostart" of Lubuntu 20.04 keeps its data? I want to backup its config file.
user avatar
0 votes
1 answer
79 views

Run gnome-terminal with sudo on boot

I need to run the gnome-terminal with some command with sudo rights on the startup. How could I do that?
user avatar
0 votes
1 answer
204 views

Ubuntu 20.04 startup script does not run at startup

I have a simple script that I set up in Startup Programs but it's never run at startup. I have to run the script manualy instead. # cat ~/.config/autostart/bash.desktop [Desktop Entry] Type=...
user avatar
  • 482
0 votes
0 answers
50 views

Unable to setup script for auto-start

I am trying to setup auto connect for bluetooth. I was able to create a script to connect to bluetooth that works when manually executed, however it does not start on startup even after setting it up ...
user avatar
1 vote
2 answers
175 views

How automatically start VPN connection on computer startup in Ubuntu 21.10?

I have a VPN connection with such settings: How to automatically start VPN connection on computer startup in Ubuntu 21.10? Now I have to click Connect every time. I've read other similar questions, ...
user avatar
  • 13
0 votes
1 answer
35 views

Auto terminal command on startup/wake up laptop? [duplicate]

Is there a way to autostart terminal when I turn on my laptop with Ubuntu and have it auto run a command? I am looking for a method to auto run the following code onedrive --monitor Thank you in ...
user avatar
1 vote
0 answers
160 views

working command in terminal doesn't work if automatically executed at startup

I need to execute a python program at Ubuntu startup. The script works either run from visual studio code, or from the terminal with the command: bash -c "python3 /home/complete_path/script.py&...
user avatar
  • 11
1 vote
1 answer
36 views

lubuntu notify-send not starting with session

I'll try to send me a text reminder in lubuntu 20.04. I have 2 in my autostart ($HOME/.config/autostart) one works the second not. the working executes a bash-skript that is placed in /usr/local/bin/ ...
user avatar
  • 4,316
6 votes
2 answers
465 views

Having apps stay open when the computer starts

Hello Running Ubuntu Mate. Is their a way to have command line applications open automatically at startup. Right now every time I restart the computer I have to open the programs manually.
user avatar
  • 75
1 vote
1 answer
180 views

autostart is delayed? takes around 90s

After login i expected my autostart apps to immediately start, but they seem to only start after about 90s. I tried googling but all i see is people who want to delay apps in startup... i was looking ...
user avatar
0 votes
0 answers
29 views

Chrome autostart on 2 screens with different landing pages

I have an issue on Ubuntu 20.04. I want to start chrome on 2 screens on autostart but with 2 different landing pages. Is it possible? I added google-chrome --kiosk to Startup Application Preferences ...
user avatar
0 votes
0 answers
14 views

relative path or environment variable not works in /etc/xdg/autostart/? [duplicate]

I make a auto-start script in /etc/xdg/autostart to make our product runs when boots. the .desktop file looks like this: [Desktop Entry] Version=1.0 Name=autoStarter Exec=sh /home/myname/Commands.sh ...
user avatar
0 votes
0 answers
45 views

Autostart a shell script after the system reboots

Apache spark framework is deployed on Ubuntu 18.04 Server. It has two shell scripts start-master.sh and start-worker.sh. Is there a mechanism to start these shell scripts automatcially when the system ...
user avatar
0 votes
0 answers
46 views

why does my hp laptop start automatically after shutting it down?

I am a new Ubuntu user. I have been using another distribution, but today I have decided to switch to Ubuntu. after installing, I powered my computer off. later, I installed the updates and I ran ...
user avatar
0 votes
0 answers
469 views

How to force degraded mdadm raid1 array to start and mount on boot?

How do I force raid1 array(neither root, nor boot) without all components present from failing to start on system boot? I am using Ubuntu 21.10. File system used is ext4. Expected behavior Install a ...
user avatar
0 votes
0 answers
36 views

Why does the Ubuntu login screen very occasionally show?

I have a machine set up to run in a sort of kiosk mode, with an application set to start automatically on startup, and with no login required. It's a Jetson TX2 running Ubuntu 14.04 on an ARM chip. ...
user avatar
  • 101
0 votes
2 answers
633 views

Conky running in startup, but not showing

I recently started using conky, and I'm trying to have it run on startup. To do this, I've used the Startup Application program to run a shell script that starts conky. If I run this script manually, ...
user avatar
  • 3
0 votes
1 answer
525 views

how to start Teamviewer on boot

I need to start TeamViewer on boot. I tried to add the command to /usr/bin/teamviewer --daemon start to the startup applications as ypu can see below: But it won't start. Any suggestions?
user avatar
  • 151
0 votes
0 answers
55 views

Script to rotate screen every time computer logs in

ubuntu 21 on a lenovo yoga 11e chromebook, and the display is flipped. Trying to run the command: "xrandr -o normal" automatically every time computer logs in, but it never works. It only ...
user avatar
  • 9
0 votes
0 answers
28 views

Hello guys is there a way to run a certain command on linux starup? [duplicate]

What i need to do is i need to run this command given below xmodmap -e "keycode 94 = equal" to map my keyboard.How can i do it please help me.Thank you for your precious time.
user avatar
0 votes
1 answer
66 views

Autostart with umlauts in american keyboad

I ve an american keyboard on my notebook but I need german umlauts. I configured that in the xmodmap ( which is in home directory ) and with xmadmap .Xmodmap in terminal I can write with the ...
user avatar
0 votes
1 answer
156 views

Autostart Kodi in 21.04 doesn't get focus

For the past few years I've been autostarting Kodi by adding an application definition as '.config/autostart/kodi.desktop'. [Desktop Entry] Type=Application Exec=kodi Hidden=false X-GNOME-Autostart-...
user avatar
1 vote
1 answer
334 views

How to start a gui app within an openbox window outside of its autorun file

TL;DR Running ubuntu server 20.04 with xserver-xorg x11-xserver-utils xinit openbox installed. I can place a command within openbox's autorun file and its runs well. Now I wish start openbox, then ...
user avatar
1 vote
1 answer
232 views

Autostart issues running simple xrandr script on start up

I've created a simple startup script so that I can use my Ultrawide Monitor with Ubuntu 21.04 (should be similar with the previous version as well). However when I configured this script to be run on ...
user avatar
  • 11
1 vote
2 answers
1k views

Lubuntu 20.04 Run a script at login which executes in a terminal window

My Goal: Execute a shell script after login which runs with root privileges and takes the appropriate user input from a terminal window to determine its next course of action. The Script: The script I'...
user avatar
0 votes
0 answers
57 views

Cannot set an xrandr script to run on login no matter what I have tried

So basically I want this command to run whenever I log in. The command is xrandr --output HDMI-A-0 --brightness 0.90 --gamma 1.05:1.00:0.95 The things I did so far is to create .sh file and set the ...
user avatar
0 votes
0 answers
196 views

Autorestart of VM in Virtual Box

I am unable to autostart my Ubuntu 20.04 VM. I followed the instructions on the VirtualBox website. The VM boots without issue if I use the VirtualBox app. Any ideas on how to proceed? I also have ...
user avatar
3 votes
2 answers
575 views

Opening a spreadsheet at startup on LibreOffice in Ubuntu studio 21.04

I have Ubuntu Studio 21.04 installed and I want to open a spreadsheet automatically when I log in. I've included LibreOffice calc in the autostart applications, but I can't get it to open up the ...
user avatar
1 vote
2 answers
45 views

How to find the location where a GNU application is stored?

I am looking for running a program automatically when Ubuntu starts up. I have installed Tint2 which is a windows style taskbar. I am following the process here for autostarting an application (Tint2) ...
user avatar
1 vote
1 answer
138 views

xkbcomp at startup in kde

I'm using kubuntu 20.04 and want to run xkbcomp ~/.Xkeymap $DISPLAY at startup to load a custom keymap. To this end I created a script with the content #!/bin/bash touch ~/test xkbcomp ~/.Xkeymap $...
user avatar
0 votes
1 answer
33 views

application.desktop

I'm looking for a way to start an application on a particular display. For instance if I want to start a firefox kiosk on two different heads or perhaps a firefox kiosk on one head and a Libre Office ...
user avatar
1 vote
0 answers
929 views

Ubuntu 20.04 Snapd Barrier Autostart Client

I was having issues auto starting Barrier Client on Ubuntu 20.04 Desktop. I use this desktop as my secondary non Windows desktop for non-secure work stuff thus I have it set to auto login. If you do ...
user avatar
  • 11
1 vote
1 answer
641 views

How to get Minecraft Server to boot with system?

I'm trying to figure out how to get my Minecraft server to start with my system. I'm currently on Ubuntu 21.04, kernel 5.11 and my DE is Gnome 3. I was following this post over on the Ubuntu ...
user avatar
0 votes
1 answer
108 views

How to display terminals with commands on startup

I'm trying to open 2 terminals on startup. One will execute one command, and the other one will execute a different command. I already tried using Ubuntu's Startup Applications program pointing to ...
user avatar
2 votes
1 answer
613 views

Run shell script on startup (Xubuntu 20.04)

I am trying to find a way to automate launching a shell script after Xubuntu logs in. I've checked numerous other questions and answers and have still not found a way to do it. Here is the script that ...
user avatar
  • 125
0 votes
0 answers
974 views

systemctl seems to start vboxautostart-service too early

pardon my lack of knowledge. I have been googling now for 2 hours and i cannot get this issue resolved: mb@wisp:/run/systemd$ sudo systemctl status vboxautostart-service.service ● vboxautostart-...
user avatar
0 votes
2 answers
1k views

How to disable onedrive service from autostarting

I installed "onedrive" from repo. Works great but I don't want it to start automatically. I'm tired of turning it off after each reboot - how to fix it? I'm turning it off using systemctl --...
user avatar
0 votes
1 answer
245 views

Which "useless" programs I can remove from Autostart without drawbacks? [closed]

The autostart programs placed in etc/xdg/autostart/ are these ones: Which "useless" programs I can remove from Autostart without drawbacks? Why I have two times "screensaver"? I ...
user avatar
1 vote
2 answers
269 views

Autostart C++ compiled application upon boot

I made a C++ application. The app just gives me terminal output (just to be sure that my script has launched properly). There is no GUI. I want my app to run when my computer is booted. My script ...
user avatar
0 votes
0 answers
39 views

ubuntu 16.04.01 startup application freeze the 'shell script' execution until login

i have shell script added in the 'start application' launcher of ubuntu 16.04.01 and it had launched the terminal,but it had freeze the execution until i login and is there any modification change ...
user avatar
  • 9
1 vote
0 answers
70 views

How to run binary at Linux startup with sound?

I have a C++ program where I use the SDL2_Mixer module (which is based on Pulsesink, I think) to output audio. I want to run it on startup, but it does not want to work out very well. I set my default ...
user avatar

1
2 3 4 5
10