Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [autostart]

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

1
vote
0answers
15 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
31 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 ...
0
votes
0answers
10 views

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

I'm using the boring old LXDE login screen: I often hit the wrong few keys for my username or password, backspace them by spamming the relevant key, and then upset everybody in the room because a ...
1
vote
2answers
42 views

How to add a flatpak app to Gnome 3 autostarts?

I installed telegram-desktop via flatpak and would like to autostart the messenger when logging into Gnome 3 (or Unity as a fact). Is there a way to robustly do so?
-1
votes
1answer
46 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
54 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 ...
0
votes
0answers
106 views

bind to vfio-pci or pci-stub at startup

I'm trying to bind a NIC to pci-stub or vfio-pci at startup so my libvirt-managed VM can use it on autostart, but the NIC keeps being claimed by ixgbe. I tried inserting into /etc/initramfs-tools/...
1
vote
0answers
201 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 ...
4
votes
1answer
167 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, ...
1
vote
1answer
175 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
1k 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
91 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 ...
1
vote
0answers
296 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
93 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
187 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
21 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 ...
0
votes
1answer
50 views

Use of command “xssstate ” in ubuntu?

I want to access the screensaver state of ubuntu (when my laptop is idle for some minute) . And run an application if screensaver start and if I click or stir mouse pad then application should exit as ...
0
votes
2answers
109 views

Why I cannot initialize dummy interface at bashrc?

I did try to initialize a dummy interface in shell manually without no problem. In order to bring up this interface at every boot up process, then i tried to add it to /etc/bashrc or /etc/profile as ...
1
vote
0answers
38 views

Where to put the script file for autostart [duplicate]

I am using Linux box which have the the following flavour LSB Version: :base-4.0-amd64:base-4.0-noarch:core-4.0-amd64:core-4.0-noarch:graphics-4.0-amd64:graphics-4.0-noarch:printing-4.0-amd64:...
2
votes
1answer
76 views

Which program runs $XDG_CONFIG_HOME/autostart in Debian 9?

Which program runs $XDG_CONFIG_HOME/autostart in Debian 9? I tried putting the following .desktop file in $XDG_CONFIG_HOME/autostart: [Desktop Entry] Type=Application Name=test Comment=test ...
0
votes
2answers
48 views

openbox autostart only works partially

I'm new to openbox but have already found great appreciation in using it. I've however got some troubles with my autostart file. My ~/.config/openbox/autostart looks like: tint2 dbus-launch xfce4-...
0
votes
2answers
971 views

How to add service to run at boot on slackware linux?

I am trying a Slackware 14.2. I can start sshd by /etc/rc.d/rc.inet1 sshd start but my question is how to add service to run at boot on slackware linux? Basically how to permanently add services to ...
0
votes
1answer
53 views

I get error when I want to execute my program from /home

I have compiled my code in this path : /home/m/ChatScript-master/SRC and created executable file myapp . I can run it from inside the SRC folder like ./myapp. But when I try /home/m/ChatScript-master/...
0
votes
2answers
721 views

Start tmux and execute a set of commands on boot

I'm trying to find a way to have tmux start for a specific user on boot. The tmux session should run two Python scripts. I think I could start Python as mentioned here, but I'd rather have it in a ...
0
votes
1answer
148 views

Autostart supervisord 4.0.0, Ubuntu server 16.04

I installed last version from https://github.com/Supervisor/supervisor By command: python3 setup.py install Now I'm able to run supervisord manually, just by typing sudo supervisord So, after ...
1
vote
0answers
31 views

How to start a Linux (RHEL 6.8) based GUI application on boot

I am trying to auto start MeatGrinder GUI application on boot. I have small script which will invoke the application. My requirement is to auto trigger the script on boot. Here is my script- #!/...
1
vote
0answers
971 views

How do I auto start X application in wayland?

I just installed Arch with gnome and wayland. Never used wayland before and I noticed it poses a few problems when I try to run tilda terminal. I can run tilda using this command: GDK_BACKEND=x11 ...
1
vote
1answer
449 views

Managing startup applications in debian buster 10 (mate)

I saw How to manage startup applications in Debian 9? At that time, gnome-tweak-tool was the go-to-tool however, since a few days, that app. is not there anymore. I am running on Debian buster. ...
1
vote
1answer
2k views

How to Autorun a program using busybox after boot?

I am using an embedded linux with busybox. I would like to automatically run my app called "myApplication" (runlevel 5 after boot all the services are up). What I have done so far: I made a script ...
1
vote
1answer
1k views

Using systemd to prevent python scripts from crashing

I want to prevent multiple python scripts from crashing on my Raspberry Pi (Stretch OS). I wanted to clarify if this would be the way of implementing a systemd file to prevent multiple python scripts ...
0
votes
2answers
2k views

Autostarting a python script whenever it crashes

I am trying to autostart a python script everytime it crashes on my raspberry pi. I am adhering to the shell script solution offered here: https://raspberrypi.stackexchange.com/questions/14735/how-do-...
0
votes
1answer
60 views

How to make an script open at login?

I have an app like top that I want to open it when login. Example: My Debian starts at the CLI with auto-login, and then, automatically the top shows up. It is an analogue of having a GUI desktop ...
6
votes
3answers
28k views

How to manage startup applications in Debian 9?

So I'd like to manage my autostart applications and e.g. disable those which I prefer not to autostart. How can I do that in Debian 9.0? I could not do so via the System Monitor and I'd prefer a GUI ...
1
vote
0answers
480 views

Manjaro, KDE, auto start application, skip desktop to taskbar

Is there a way to get an application that auto starts when I boot up to skip the desktop (skip the task manager as well) and go strait to the taskbar? For example, I have Discord, which starts up ...
0
votes
1answer
1k views

Auto-connect VPN in Kali Linux?

I current have a working VPN on my Kali Linux box however I feel uncomfortable with the fact that sometimes I forget to manually connect it in the network manager. After digging around everywhere in ...
2
votes
1answer
1k views

How to make dnscrypt-proxy auto start in Fedora 25

When I install dnscrypt-proxy, I found no dnscrypt-proxy.service here. I write a bash to launch it, and write a desktop file here, ~/.config/autostart/dnscrypt.desktop #!/bin/bash zenity --password ...
0
votes
1answer
940 views

How to autostart a service with systemd from a user's home?

I configured a unit which is expected to run simple logging service: $ cat /etc/systemd/system/msgwriter.service [Unit] Description=Writes the values of the counter to the file [Install] WantedBy=...
1
vote
0answers
286 views

systemd: Move getty to tty2+ and start script on tty1

I'd like to "autorun" a shell script on tty1 and start the rest of the ttys on tty2, tty3, ... So far I have followed this advice (besides a ton of googling) and gotten the script to run on tty1 as ...
2
votes
1answer
10k views

init service failing to enable once a systemd service file is generated

I've been troubleshooting an issue with a sysVinit service not coming online properly at boot within a systemd environment. What I've found is that when no service file or overrides are present in /...
2
votes
2answers
1k views

How can I prevent Telegram from starting automatically on Debian 8.7 Jessie?

I'm using Telegram Desktop on Debian 8.7. It starts automatically even though I've not created any .desktop file under ~/.kde/Autostart. It's quite annoying as I don't want its window to show up ...
1
vote
1answer
267 views

How to run a script during boot as root after user desktop is loaded

I have a script that starts dropbox as user dropbox. I want it to automatically start after desktop environment is loaded. Desktop environment is running as another user not "dropbox". When I run it ...
1
vote
0answers
3k views

need to restart cups to reach network printers

Every once in a while (not necessarily after resuming from suspend or booting) I have to sudo /etc/init.d/cups restart to see again the network printers. Is there a way to bypass this process, or what ...
4
votes
1answer
288 views

How to disable/remove Adobe tracker from the taskbar?

Unfortunately I need sometimes the Adobe pdf reader and can not use always one of the free alternatives. Now I recognized a new icon in the Mate taskbar Its tooltip says Adobe Tracker Alert and ...
2
votes
1answer
1k views

Run shell script after reboot in beaglebone black

I'm using a beaglebone black which works with Debian 8.6. I want to start a program after reboot. I tried crontab but it didn't work. @reboot sleep 60 && /home/debian/acspilot/start.sh ...
1
vote
0answers
43 views

Run Script After Unlocking GDM [duplicate]

Hi I already tried all solution from execute-a-command-on-user-logon, and used PostLogin option of GDM.... The problem is all of these option are only works when system boots up but it's not what I ...
2
votes
4answers
9k views

Check if a program/script was run at startup?

In Linux, there are many files we can modify to add a program run at start up (/etc/rc.local, bashrc, bash_profile, $HOME/.config/autostart, ...) ? Now I have a reverse question: I have a program, can ...
0
votes
2answers
612 views

How to launch gui application as root on login?

I've got a gui application that runs a couple of scripts, which require root access. Normally it is run with sudo, but I've modified the scripts (by running only commands that require root access with ...
0
votes
2answers
1k views

How to list “only” startup applications through the terminal on Fedora 24

How to list in the terminal "only" start-up applications (the ones that you find normally in "Startup Application Preferences" Dialog box on Fedora Mate Desktop). This question can be generalized to ...