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
2answers
35 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
19 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
26 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
15 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
0answers
27 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
36 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
58 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
21 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
20 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
96 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
101 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
35 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
167 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
141 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
68 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 ...
0
votes
0answers
16 views

How to only start network interface when usb-stick is connected?

I have a tinkerboard setup, that it start its network configuration on startup, and opens a bridge. Now I need a setup, where the wlan only boots, when i connect an external device. Preferably if a ...
1
vote
0answers
57 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 ...
0
votes
0answers
35 views

Debian - how to start script after boot

I am building deployment system on debian v9.40 (PXE). I will build a script which will read basics parameters, save them and initialize flashing procedure. Unfortunatelly during this process I need ...
1
vote
1answer
127 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 ...
0
votes
0answers
53 views

Problem with “--firstrun” option in Openbox Autostart, + how to test Autostart/--firstrun without actually installing

I am trying to build a customized Debian with OpenBox+LightDm setup. Everything works, except for the --firstrun option in Openbox Autostart. In short, I want to run a specific postinstall script "...
1
vote
0answers
147 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
37 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
29 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 ...
1
vote
2answers
253 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
208 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
104 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
434 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
466 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
518 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
4k 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
232 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
635 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
215 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
289 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
27 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
95 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
166 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
97 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
142 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
65 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-...
1
vote
2answers
2k 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
57 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/...
1
vote
2answers
2k 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
389 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
40 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
2k 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
1k 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. ...
2
votes
1answer
3k 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
2k 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
3k 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-...