Questions tagged [autostart]

Applications started when a desktop environment starts, i.e. as part of graphical login

Filter by
Sorted by
Tagged with
0 votes
0 answers
41 views

Bash AutoStart script does not copy files from shared folder

I have added a startup bash script to a device running Raspbian (Debian GNU/Linux 11 (bullseye)). This is my script: SysmacApp.sh #!/bin/bash mkdir -p /home/pi/App; mkdir -p /home/pi/Shared/Service; ...
McNets's user avatar
  • 101
0 votes
0 answers
27 views

Trying to start a bash script from autostart

I am trying to start a script which starts the browser in full screen mode and refreshes the pages every 24 hours from the autostart file. I created the file ~/.config/lxsession/LXDE-pi/autostart ...
user199590's user avatar
0 votes
0 answers
20 views

What is the definitive (and simplest) way to use fbi on Raspberry OS Buster to display images automatically on startup?

I have made all sorts of modifications to my ACLs and even created a photos.service that starts fbi, but it only starts, and displays 1 image before the screen goes blank. I have other processes (web ...
jp314's user avatar
  • 131
0 votes
0 answers
5 views

LXTerminal sometimes not maximised

I have an autostart script, which runs several commands in an LXTerminal. But sometimes the window isn't maximised, which it's supposed to be according to my ~/.config/openbox/rc.xml. Can someone ...
Nepumuk's user avatar
  • 659
1 vote
0 answers
26 views

How can I auto run the USBs files when it's plugged into my Chromebook?

Auto running the file with a ".inf" is not working.
Anonymous212's user avatar
0 votes
0 answers
38 views

Login shell will not open at boot, only opens when I logoff then login

I am using arch linux. My default shell is /bin/zsh and I want it to open and hang around at startup(after login). I have tried adding it through the "Session and Startup" GUI many times ...
Young Developer's user avatar
0 votes
0 answers
30 views

Why does autostart work for lubuntu 18.10 Cosmic Cuttlefish and not for 22.04.2 Jammy Jellyfish?

I have several machines in the field and many more sitting in inventory that have not been updated in a few years. uname -a returns the following: Linux <machine 1> 4.18.0-20-generic #21-Ubuntu ...
Ed Trembicki-Guy's user avatar
2 votes
1 answer
78 views

How can I start a udev-activated systemd user service on login?

I have a slightly convoluted setup that allows me to start a systemd user service (launchpad-daemon.service) when a USB device is plugged in, and stop it when the device is unplugged. It consists of ...
ash's user avatar
  • 671
0 votes
0 answers
31 views

How openbox knows .bash_aliases used in its autostart file

I'm using two commands in a file executed by my .config/openbox/autostart.sh which are also aliased in my .bash_alises and one of them changes from time to time. The thing is that I also use these ...
Nepumuk's user avatar
  • 659
0 votes
0 answers
28 views

Where on earth could my startup tasks be?

Ok, for context: I once created a task to run a script whenever I boot my computer up and log in specifically as root. That was a while ago. I now want to remove that script from autostarting, but I'...
Lee's user avatar
  • 85
0 votes
0 answers
495 views

From where does KDE get the programs to start automatically?

When Evolution is installed, my KDE session automatically starts its background services like the calendar alarm notifier. I don't see startup scripts in ~/.config/autostart and have no idea what else ...
allo's user avatar
  • 916
0 votes
2 answers
1k views

Samba service auto start at boot on modern Debian/Kali/

How can I set the Samba server to autostart at boot... ( like the old systemd -> systemctl enable ) update-rc.d smbd enable does not work also... after reboot the service --status-all says that ...
ZEE's user avatar
  • 229
0 votes
1 answer
923 views

Autostart services in System V system

In systemD, we need to execute this command to autostart an application on system startup: sudo systemctl enable <service-name>. What will be the equivalent command for sysvinit since chkconfig ...
lone wolf's user avatar
  • 138
1 vote
1 answer
386 views

XDG autostart order - how to control it?

When logging into my XFCE session, there are several "things" started via the XDG autostart mechanism. Is it possible to control the order in which applications start, or having some sort of ...
Jurc192's user avatar
  • 11
1 vote
0 answers
283 views

How to find and disable a specific startup script?

Problem A couple months ago I configured a startup script (or 3) to launch three terminal windows. Each terminal window is pointed to a specific directory and is set to a different window title. That ...
Joooeey's user avatar
  • 113
0 votes
1 answer
171 views

Check status of systemd autostart scrips

I'm talking about the autostart scripts placed in ~/.config/autostart. I know that systemd-xdg-autostart-generator creates .service files for them. So where do i find the generated files so that i can ...
Thenujan Sandramohan's user avatar
2 votes
2 answers
4k views

Automatically mounting LUKS encrypted volume during boot

Running RHEL 7.9, my root partition is LUKS encrypted so during system boot I am prompted at the console for the passphrase to continue booting; that part is fine. Once system is booted, in /etc/...
ron's user avatar
  • 5,776
0 votes
2 answers
782 views

Starting python script in startup

I would like to start python script in startup. Script changes wallpaper automatically every hour using feh --bg-max PATH/to/bg. Using Arch linux and qtile window manager. I've tried to execute it in ....
user511488's user avatar
0 votes
1 answer
596 views

Python script not launching properly on reboot/startup Raspberry Pi

For context, I am using Raspberry Pi model 3B+. Currently I am trying to run a python script at the Pi's boot up. But I am struggling with getting the program to launch properly. When I use the ...
Luc's user avatar
  • 1
0 votes
1 answer
108 views

Mount and Start Docker on Startup

I have a local VM running on Ubuntu that, on start, I need to run two commands on (as my user, andreas): sudo mount -a docker-compose up -d The last command is run in my home directory, and can't be ...
Andreas Christodoulou's user avatar
4 votes
1 answer
11k views

XFCE4 - Session and Startup: where are autostart items saved?

In XFCE4, there is a list of items to be started when an XFCE4-session is started (XFCE4 Settings xfce4-settings-manager → Tab "Application Autostart"): I'm wondering where this list is ...
polemon's user avatar
  • 11.2k
0 votes
0 answers
407 views

Unable to start systemmd service

I run a logger collecting data using a Python script. Currently using a tmux, so I can detach and close the ssh tunnel. I would prefer it to start at the systemstart. I've followed this recipe to the ...
cheesus's user avatar
  • 185
0 votes
2 answers
717 views

Trying to start a .sh on boot

I try to start a start.sh file when the Server starts. Some info: It's a headless vServer I tried crontab but that didn't work either My current approach is systemctl command When I login the user is ...
Wayn Iway's user avatar
0 votes
1 answer
471 views

LightDM running command after authenticating (pam_exec or other)

LightDM allows using dm-tool lock to "lock" the session. But I can't find config responsible for authenticating in /etc/pam.d. /etc/pam.d/lightdm - is only during initial login to session /...
Danil's user avatar
  • 31
1 vote
1 answer
483 views

How to implement automatic, conditional startup of flatpak applications at login?

Rather than put some applications in $HOME/.config/autostart and start them at every login, I want to use a CASE statement to define which get launched on which days (some things only get launched on ...
DoctorSoup's user avatar
1 vote
2 answers
338 views

Mystery of Zoom auto-restarting, how do I stop it?

I'm running an ordinary Debian system on which I have installed Zoom. After using Zoom, and quitting, the program keeps restarting. After I kill it I use ps to check and it is gone, after about 15 ...
Bob Dickerson's user avatar
2 votes
1 answer
780 views

Run a bash shell script on iMac on startup

I have a bash shell script /var/tmp/test.sh that runs on iMac in an infinite while loop. I wish this script to run 24X7 and even when the iMac is rebooted the script should autorun. I want to run the ...
Ashar's user avatar
  • 459
0 votes
0 answers
110 views

How to run binary at Linux start-up 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 ...
Totemi1324's user avatar
1 vote
2 answers
49 views

How to add a command to an autosart that will use keyboard shortcuts or a command?

I have my favorite applications as an autostart and I want one to be automatically placed in another workspace. How can I do that? Are there any tips, tables with ready-made solutions? The only thing ...
dez's user avatar
  • 11
1 vote
2 answers
3k views

Run shell command exectly one time at login

I am on Ubuntu 18.04 and trying swap Ctrl and CapsLock using xmodmap. But failed to find a way of doing that automatically: .[X|x]modmap[rc] and .config/autostart didn't work. What other ways are ...
vatosarmat's user avatar
0 votes
1 answer
978 views

Why is minidlnad being started automatically and how to prevent its autostart?

Since recently minidlnad is starting automatically even though I haven't configured it to do so (I noticed that by running sudo lsof -i after startup). How can I stop it from starting automatically? ...
mYnDstrEAm's user avatar
  • 4,058
4 votes
1 answer
251 views

What's causing a process to start at startup?

I've got a problem: A while ago, I installed a piece of software called wii-u-gc-adapter, and when I run it, I can plug my GameCube controller in to my Linux machine desktop computer to play games. ...
Rentsy's user avatar
  • 141
4 votes
1 answer
1k views

How to remove Kaccessible in KDE neon / KDE Plasma 5.20?

I still don't know why KDE Accessible / the screenreader starts automatically and how to conveniently prevent it via KDE's options. In the latest version of KDE that's used by KDE neon I could not ...
mYnDstrEAm's user avatar
  • 4,058
0 votes
1 answer
190 views

service won't autostart on boot

So I have been trying to autostart a service and I'm getting no where. I've tried autobooting on both Mint 19.3 and 20 and Ubuntu 18.04 for the service lizardfs-chunkserver.service and autostarting ...
user437796's user avatar
0 votes
1 answer
320 views

Unable to start a service on boot (Linux Mint 19.3)

I'm trying to setup a service to run on startup. I've searched for hours and tried multiple methods but none have been fruitful. My machine is running on linux mint 19.3 The service I'm trying to ...
Mark's user avatar
  • 101
0 votes
1 answer
1k views

command in .bashrc is being executed twice

I am using .bashrc to execute a python script on system boot: sudo -u pi python3 /path/to/script.py and then I add @lxterminal to file /etc/xdg/lxsession/LXDE-pi/autostart to make sure a terminal ...
michael's user avatar
0 votes
0 answers
52 views

Running a script from autostart results in poor performance

I have a bash script to show an FFplay stream of a usb webcam and that script is set to run on start as a .desktop file. The only problem is that when it is run this way I'm getting terrible ...
SilentNightx's user avatar
1 vote
0 answers
24 views

Stop automatic application execution on graphical login

I use Manjaro 20, and have changed the display manager from LightDM to SDDM, out of that and installing normal applications, I haven't changed anything on the system. For some reason xfce4-terminal ...
Ninten Duck's user avatar
0 votes
1 answer
29 views

Stop BuzyBox Command Line for Loading on Start Up

My computer turned itself off to protect itself from a power-surge. This has happened before many times, with nothing weird happening the next time I turned on the computer. I would press the power ...
E Tam's user avatar
  • 115
0 votes
1 answer
2k views

How to delay PM2 autostart at boot?

I am running the latest version of Debian on an Intel NUC and I've setup PM2 autostart at boot with pm2 startup For my needs I need to delay its start by let's say 30 seconds. How to do that please?
Cr4z33's user avatar
  • 3
1 vote
1 answer
376 views

Autostarted .desktop application doesn't exit on log out

I'm following the answer of Autostarting .desktop application at startup not working, and it is working well. I'm launching a python script. The .desktop application looks like this: [Desktop Entry] ...
russau's user avatar
  • 155
0 votes
0 answers
425 views

Run Script in Terminal On Start Up

I'm trying to create a script on my Ubuntu machine which should run in the terminal some minutes after startup: "run.sh" sleep 10 sudo gnome-terminal --working-directory="/home/joan/Desktop/Server/" ...
SFraction's user avatar
1 vote
1 answer
261 views

How to find out why postgres was started by systemd and prevent it?

I already checked the /proc/PID directory. I'd like to prevent any services like postgres from starting except if I start them myself. Hence, I'd like to find out why postgres was started. I saw that ...
mYnDstrEAm's user avatar
  • 4,058
4 votes
1 answer
2k views

Disable Autostart on Login

There is an application, zoom, which depends on software known as ibus. After installation, ibus likes to autostart. I don't want ibus to autostart. Ive removed autostart files that start im-daemon ...
john doe's user avatar
  • 746
1 vote
0 answers
3k views

systemd: SSH service does not start at boot

Whenever I boot my system (Ubuntu 16.04), I cannot log in via ssh and the service is reported as inactive (dead) $ systemctl status ssh ● ssh.service - OpenBSD Secure Shell server Loaded: loaded (/...
oarfish's user avatar
  • 374
1 vote
3 answers
2k views

Where to put a command to be run when I log in to Lubuntu running SDDM?

I'm trying to set a wallpaper from the terminal. The script is: pcmanfm-qt --set-wallpaper=$(ls /home/$USER/.local/share/wallpapers/*/* | shuf -n1) This changes the wallpaper, but I want it to be ...
randomswimmer's user avatar
0 votes
1 answer
1k views

.config autostart caffeine -a

I wish to run [Caffeine -a] at start of KDE.Plasma I have run from the prompt caffeine -h which lists options for caffeine. Options: -a --activate Disables power management and screen ...
Data's user avatar
  • 11
1 vote
1 answer
816 views

Autostarting a python GUI application on startup as local user (beagle bone black)

I am trying to start a GUI application (python3 project) on application startup. I've created a script in /etc/xdg/autostart/. @lxpanel --profile LXDE @pcmanfm --desktop --profile LXDE @xscreensaver ...
Bhoot's user avatar
  • 121
1 vote
1 answer
779 views

Troubles autostarting Qt app on Yocto Raspberry Pi3

I'm looking to boot my Pi as quickly as possible into a Qt application. Following this guide I successfully built a Yocto Linux with the necessary Qt dependencies, and I can launch my Qt app by ...
AS Motion Lab's user avatar
0 votes
0 answers
142 views

Why fg command within an infinite while loop works like a "keep alive" watchdog?

Recently, I've run into this implementation of a handicraft "keepalive" watchdog for a custom HTTP server: | | keepalive.sh | init.sh |_ main.py There are three files. The first one being ...
JoaoAlby's user avatar