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
0answers
14 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 ...
1
vote
0answers
17 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 ...
0
votes
0answers
7 views

Nitrogen shutting itself on suspend

I use nitrogen, a package which lets me set a different wallpaper on different monitors. Every time I suspend my laptop, however, the process ends itself and I'm reverted back to my standard wallpaper....
0
votes
1answer
15 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 ...
0
votes
0answers
16 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?
0
votes
0answers
26 views

x11vnc does not start automatically (caught signal: 15)

I need the vnc server to start immediately after rebooting, and to display an icon when logging in. I'm trying autostarting using ~/.config/autostart/ ~/.config/autostart/x11vnc_server.desktop: [...
1
vote
1answer
58 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] ...
0
votes
0answers
43 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/" ...
0
votes
0answers
26 views

Finding command to put application into autostart

I am running PopOS 20.04 LTS. I recently installed Synology Drive Client to sync some files with a Synology NAS. It is installed as a 'flatpak' (I don't really know what makes them different other ...
1
vote
1answer
40 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 ...
2
votes
1answer
263 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 ...
0
votes
0answers
253 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 (/...
1
vote
2answers
105 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 ...
0
votes
1answer
56 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 ...
1
vote
1answer
47 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 ...
0
votes
0answers
110 views

How can I launch RetroArch by default on a Batocera Linux system?

I recently installed Batocera Linux on an old PC. It's running a Pentium D 2.8Ghz, NVIDIA GeForce 7600 GS, and 5GB of RAM. I had to go with Batocera over Lakka because it wouldn't boot. So, Batocera ...
1
vote
1answer
125 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 ...
0
votes
0answers
27 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 ...
0
votes
2answers
41 views

Get The Ethernet Mac Address Of Computer with no Display

I'm trying to get the Ethernet mac address of a computer that has no display by using a desktop start up file that calls ip. This is what I have to work with: A laptop Mini-computer with no display: ...
0
votes
0answers
31 views

Check whether file content equals the output of a given command

Autostart graphical application only for first login of the day of a user I'd like to start lxtask automatically after the first login of the day with openbox. I included the first line of the ...
0
votes
1answer
38 views

Raspberry Pi Start python script during boot

I have a Raspberry Pi which has a I2C 16x2 display screen. The screen simply say Welcome. Problem: I would like for this script to run as soon as the Raspberry Pi is turns on with power. I added ...
0
votes
0answers
88 views

xRDP autostart Applications, Clipit problem

The Problem: The company I work for has branched to another location a couple of days ago and our inhouse software has trouble keeping up with the data it sends and receives (in other words: Users ...
0
votes
1answer
153 views

ProtonVPN Autostart configuration error

I am trying to make ProtonVPN autostart on my Kubuntu machine. I have tried following this and this guides. The latest one I tried is the one from blog.x86txt.com. But when using the following ...
1
vote
2answers
93 views

Wine application doesn't automatically start after login on Linux Mint 19

On Linux Mint 19 (all "dot" versions), there is an option to add "Start-up applications". There, I've added the following script: #!/usr/bin/env sh export DISPLAY=:0.0 /usr/bin/thunderbird & ...
0
votes
0answers
84 views

Unavailable port 443 after reboot

I am new in Linux. I have installed on my Debian server Tomcat9. Tomcat is running after OS reboot, but port 443 is not listen. I can run tomcat/bin/shutdown.sh a then tomcat/bin/startup.sh and then ...
0
votes
0answers
23 views

Linux: print disappears for an executable in rc.local

I have an executable program /home/user/foo with root and executable permissions. The foo has 3 threads and performs outputs using printf. This program is placed in embedded target with Linux, 4.1.22-...
1
vote
0answers
30 views

cannot force linux autostart script file

I need to force my KDE Plasma installed on ubuntu 18.04 to run the following script on startup: xinput --map-to-output "Wacom HID 48DE Finger touch" eDP-1-1 xinput --map-to-output "Wacom HID 48DE Pen ...
0
votes
1answer
182 views

Openbox autostart do with big delay or until user made any action

I have autologin with lightdm and i make some command to run automatically in openbox autostart, but it not work until i click mouse/keyboard/touchscreen Also i check sometime it started after few ...
0
votes
0answers
460 views

“AT-SPI D-Bus Bus” program starts on debian 9 xfce start up

I was curious to learn about AT-SPI D-Bus Bus From this website I found the definition of AT-SPI D-Bus Bus: AT SPI stands for Assistive Technology Service Provider Interface, a framework to ...
0
votes
0answers
74 views

How to add crontab task by reboot / poweroff / poweron pc?

I have next record in crontab -e, running with user root. @reboot /usr/bin/curl --silent --insecure -v -X GET https://<myserver_with_hook>?key=9d722304320de0b074d8da74bf680874&mes='nik-pc ...
0
votes
0answers
616 views

Safe way to automount VeraCrypt container without showing password?

I have a Raspberry Pi 4 (4GB) running Nextcloud on it. Because all my data and backups are saved on external USB drives I will encrypt them with a VeraCrypt container. Mounting and dismounting the ...
0
votes
0answers
292 views

Linux Mint 19.2 Tina GUI won't startx automatically

I am running a standard Linux Mint 19.2 system. By all accounts every single default was chosen. The main problem is that X Windows does not want to start automatically. I have a vague suspicion this ...
1
vote
1answer
150 views

Systemd-nspawn boot container, then run lxsession automatically; How to do this?

I am making a script that uses systemd-nspawn to boot a second linux root filesystem in a container. The script is currently using this line to boot the container: systemd-nspawn -b --machine ...
1
vote
0answers
153 views

Starting a GUI application on the login screen prior to login

I have a server (VM) with Debian 10 and Cinamon desktop. I want to autostart a GUI application at boot with a local user account without using autologin. And I want the application to use the display ...
1
vote
1answer
235 views

AUTOEXEC Configuration for DOSBOX doesn't work (Works on Windows)

I'm trying to configure the Autoexec section of Dosbox. I downloaded DOSBOX for Windows and I added these lines : [autoexec] # Lines in this section will be run at startup. # You can put your MOUNT ...
1
vote
0answers
164 views

XFCE Session & Startup Application terminal command to turn on and off

In XFCE4 I can create my own custom start-up commands at Settings Manager > Session & Startup > Application Startup and turn them on or off by clicking on the command's check-box. Is there a ...
0
votes
1answer
48 views

Is there an application to watch changes in auto starting apps and services?

I'm thinking of developing an application to watch changes for auto starting applications and service that would notify when: A service state change (enabled/disabled/added/removed) An application ...
1
vote
0answers
44 views

How do I make xset -b work on the LXDE login screen?

I'm using the boring old LXDE login screen: (source: linuxandubuntu.com) I often hit the wrong few keys for my username or password, backspace them by spamming the relevant key, and then upset ...
7
votes
3answers
674 views

How to add a Flatpak's app to Gnome 3 auto-starts?

I installed telegram-desktop via Flatpak and would like to auto start the messenger when logging into Gnome 3 (or Unity as a fact). Is there a way to robustly do so?
-1
votes
1answer
332 views

ChromeOS - Autorun script located on a USB drive

I am developing a piece of software that is eventually going to run on ChromeOS and will come in the form of an Android app (apk package). We have been asked to come up with a distrubution system that ...
0
votes
1answer
139 views

Killed process starts again automatically!

I've several Rasberry Pi with an app written in QT that automatically start at logon... the automatic start is made through the /home/pi/.config/lxsession/LXDE-pi/autostart file. I've inserted in this ...
1
vote
0answers
566 views

Weston—run program on desktop start

I have successfully installed wayland/weston on my system. I would like to start a program (chromium) whenever weston starts. Right now: weston-lauch starts the desktop, from there I can start a ...
5
votes
1answer
902 views

How to run script at start when everything is up and running?

I have a PC for routing purposes, it has 2 network interfaces and runs Debian. I want to add a sound to it, to signal that it is booted and okay. So I've created some /etc/init.s/beep-startup script, ...
2
votes
1answer
897 views

Understanding AutostartCondition key in .desktop files

CentOS 7.x with GNOME 3 Shell by default provides the following *.desktop files under /etc/xdg/autostart/ with AutostartCondition key: # gnome-welcome-tour.desktop [Desktop Entry] Type=Application ...
1
vote
2answers
6k views

How do I configure my Amazon Linux service to auto-restart if it fails?

I'm using Amazon Linux. I have a script to start and stop a service, written in bash, located at /etc/init.d/wildfly At the various run levels, I have symlinks to ensure the script starts and stops,...
0
votes
1answer
411 views

How to autostart LXterminal in openbox maximized?

The problem is that I found a solution for my .config/openbox/rc.xml, but not for .config/openbox/autostart.sh. Normally, it's just the command with options like in CLI, but man lxterminal doesn't ...
2
votes
1answer
1k views

How to prevent kdeconnectd from starting automatically?

These don't work: sudo update-rc.d kdeconnectd disable sudo systemctl disable kdeconnectd.service There is no script for it in /etc/init.d/ and the /usr/share/dbus-1/services/org.kde.kdeconnect....
0
votes
1answer
399 views

Ubuntu with Xmonad - How to run programs on startup

I'm using Ubuntu Mate with XMonad. I can't seem to understand how to run something at startup after the login. I want some programs like Firefox to run when I login to my desktop. Now let's say I ...
1
vote
1answer
329 views

How do I get HexChat to start on i3 login in its own workspace (but not in workspace 1)?

On i3 start up I'd like HexChat to automatically start in my fifth workspace. I know how to edit my config (~/.i3/config) to start HexChat on i3 start up, namely by adding exec hexchat line to it, ...
1
vote
0answers
32 views

Program stops for some reason, while executed via init.d, but not in nohup call

I have created my own heat-control circuit on my raspberry pi, that controls pumps of my home-heating system. The program is executed each time, Gnu/Linux starts (I put the program into init.d and ...