Stack Exchange Network

Stack Exchange network consists of 174 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
Make your voice heard. Take the 2019 Developer Survey now

Questions tagged [autostart]

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

1
vote
0answers
22 views

How to show automatically plank in ubuntu 16.04 LTS? [duplicate]

After I installed Plank and I clicked it, the plank show up. but if I restart or turn on the laptop. The Plank not automatically opened (show). How can I show automatically show Plank after reboot or ...
0
votes
1answer
18 views

How do you make a systemd service for autostarting RemoteLauncher at boot?

I want RemoteLauncher to autostart at boot so I can do things like start/stop/control Kodi on 18.10. RemoteLauncher is here. An old method to autostart it is here. (I believe this method has been ...
1
vote
1answer
32 views

How to autostart the Wire desktop client minimized?

I sucessfully installed the Wire messenger desktop client. How can I start it minimized every time I log in to my account?
0
votes
0answers
19 views

How to run a shell script automatically after startup and wake-up from hibernate?

Basically it is a shell script about multi-monitor layout. And I have tried add the line:sh <path_to_my_script>/layout.sh in /etc/rc.local, but it didn't work for me. I am using Ubuntu 16.04 ...
0
votes
0answers
16 views

How to send notification to user before login

I have a bash script, which needs to be executed at first-time boot, it will make the system reboot. For now, this script is added into rc.local by me so that it will be execute at boot. However, ...
1
vote
2answers
44 views

how to run redshift automatically

I'd like to start redshift application automatically after boot in Ubuntu 16.04. This can be done by creating a *.desktop file in .config/autostart. It leaves me with the terminal window open, ...
0
votes
1answer
46 views

How to start emacs as service?

I'm trying to start the emacs daemon as a service but the service stops immediately upon startup. in the Emacs page is this service script for systemd. [Unit] Description=Emacs text editor ...
1
vote
2answers
181 views

How do I run a command at start up on Ubuntu 18.04 LTS?

I need to start a command on startup. I want to run this command: xgamma -gamma 0.70 I have used Startup Applications but it doesn't work. I have put the command in the Startup Applications:
0
votes
0answers
133 views

Virtual Box Settings to automatically run VMs on boot

I followed this carefully: How to start Virtual box machines automatically when booting? It "broke" VirtualBox. I had to remove the autostart stuff and run a reconfigure command that VirtualBox ...
2
votes
0answers
37 views

Lubuntu 18.04 Autostart Firefox doesnt work

I have a strange problem and hope that you can help me. I am using Lubuntu 18.04 and just want to start firefox after user-login. So I tried it to put it in the lx-session autostart and with a ...
0
votes
0answers
43 views

Startup command with variable settings

I have Xubuntu 16.04 for 2 days. I am trying to set an entry in Session and Startup>Application Autostart that will set several bash variables and execute a command. I have managed how to do it ...
2
votes
1answer
53 views

How can I prevent any program starting at boot of the system? Is the procedure different for TeamViewer?

When starting Xubuntu on my laptop, a lot of applications start to run (taking a big part of my CPU and energy): TeamViewer, Skype and so on and so forth. I don't want to uninstall them. I just want ...
1
vote
1answer
62 views

trigger x-gnome-autostart after reboot over ssh

I have a desktop running Ubuntu 18.04 at my workplace, that I sometimes restart over ssh. I have some applications set to autostart, two of which sync files for me (nextcloud and insync). What I want ...
0
votes
0answers
27 views

Ubuntu 16.04: cannot start graphic application with autologin

I need to start a custom graphic application on a panel pc with ubuntu 16.04 using the autologin. I tried to put the laucher of the application into the autostart list, but it works only doing the ...
1
vote
0answers
29 views

Display a terminal window after login on a Live Lubuntu

I'm currently customizing a Live Lubuntu USB. I've added Autostart commands to rc.local and they run perfectly fine, however, I have a dd command that runs on Autostart as well that takes a lot of ...
0
votes
1answer
22 views

Is it Possible to Start x-tile in Minimized Mode under Xubuntu 16.04?

I want to start X-tile 2.5 in minimized mode, just to have its minimized tile shaped button available when needed. I have created a starter containing the command x-tile w In doing so, a file /...
0
votes
0answers
31 views

Running a service with an integrated chromium browser instance

I'm developing an application which is meant to run in kiosk mode. That means, when the machine is switched on, the OS (Xubuntu 18.04) is launched and it starts the application, which has these parts: ...
1
vote
0answers
21 views

How to autostart an app after double click it in Ubuntu 18.04 [duplicate]

I just noticed this weird behavior on Ubuntu 18.04, I have SMPlayer 18.6.0 installed, if SMP is closed, I double click on a media file, SMP will open up and start playing, but if I minimize it and ...
0
votes
0answers
43 views

Autostart Activitywatch - 16.04

I was trying to autostart ActivityWatch . Made a activitywatch.service file in /etc/systemed/system . [Unit] Description=Activity Watch After=network.target [Service] Type=simple User=%i ExecStart=/...
0
votes
1answer
34 views

Autostart of my application in processor of Linux kernel

I am trying to run my application automatically, so I have placed a .sh that have commands to insert some modules and the path to application too in init.d folder. Then I have created a symbolic link ...
0
votes
0answers
19 views

ssh auto on dead system .

I have a system that is not bootable but I can mount the file system vi live cd and would like to be able to edit a file to make sure ssh starts when I get system fixed . Which file can you edit ...
1
vote
1answer
422 views

Cairo Dock in Lubuntu 18.04.1

I would like someone to explain to me how to delay the start of Cairo Dock by about 5 seconds with respect to the start of Lubuntu.
1
vote
1answer
139 views

Can scripts be run directly from the ~/.config/autostart folder?

I've got a script file in my home directory that I've added to Startup Applications. It then creates a .desktop file in ~/.config/autostart. Is it possible to just cut out the middle man, and run this ...
0
votes
0answers
304 views

How do I disable Ktorrent from autostarting on login?

I'm using Kbuntu and when I turn on my computer and log in, the default app KTorrent automatically starts up and opens a window on my desktop. I want to KTorrent to open up when I manually select the ...
0
votes
1answer
219 views

Running sh script on Lubuntu on startup

Running lubuntu 18.04 LTS with LXDE So, I need to run a simple SH script inside terminal session on startup after login, but I'm struggling to get it running. I've tried: rc.local trick, /.config/...
2
votes
0answers
252 views

Auto login and run skype for linux without Keyring prompt

I use Ubuntu 16.04 I also use auto login. I have set Skype for linux to auto start, but it asks for Keyring password. Is it possible to start without this prompt? I mean only for Skype, I don't ...
0
votes
1answer
189 views

Making Xinput map-to-output permanent

I have a configuration with 2 touch screens that I want to run independently. When I run these commands from the command line: $ xinput map-to-output "input ID" "Output Device" It works fine. ...
0
votes
2answers
49 views

Is there a way to have one app.service in systemd start multiple independent app.service units?

For example if I had two service files that ran as type=forking that start two different java applications and then two service files that run as type=simple running different applications, is there a ...
2
votes
0answers
982 views

How to run my snap application on startup

I have a snapcraft application build on top of electronJs. I would like that application to run on startup. I tried to directly drop a app_name.desktop file inside the current user config/autostart ...
1
vote
0answers
109 views

ssh-agent does not autostart from .bashrc after update to 18.04

I have Ubuntu with XFCE for several years. When it was 16.04 I configured the autostart of ssh-agent in my .bashrc as follows: # Set up ssh-agent SSH_ENV="$HOME/.ssh/environment" function ...
0
votes
0answers
306 views

Could not initialize class sun.awt.X11GraphicsEnvironment

I have follow log into error file: ERROR - Http Connection exception caught [/212.117.188.67:52973] -- java.lang.NoClassDefFoundError: Could not initialize class sun.awt.X11GraphicsEnvironment at ...
0
votes
0answers
30 views

Execute a script every day 5:00 [duplicate]

I'm running tf2 server on my ubuntu computer, and I would like to run an auto update in every morning at 5:00. So this script should first close the running tf2 server, then go back to the "steamcmd" ...
2
votes
2answers
93 views

Are there any commands I can use to ensure that the NTP service is running and is also responsive?

Are there any commands I can use to ensure that the NTP service is running and is also responsive? What I am planning to do it have some monitory & remediation scrip to ensure that a couple of ...
0
votes
0answers
127 views

Ubuntu Core Autostart easy-openvpn client connection

I have an Ubuntu Core with easy-openvpn SNAP on it and want to connect to a openVPN server. The connection works with this command: sudo easy-openvpn.connect-server ppm.ovpn Now this should happen ...
1
vote
1answer
42 views

Disable default autostart scripts via console commands

I have a fully unattended Ubuntu Install process in place that installs xfce for me and then some other stuff. My only problem: while I can add new startup scrips by just copying them to ~/.config/...
1
vote
1answer
54 views

How to autostart `xautolock` in Lubuntu?

I put the command in: .config/lxsession/Lubuntu/autostart but it doesn't seem to be executed. I found a strange workaround (see below).
0
votes
1answer
98 views

How to disable a program in “Startup Applications” via command line

I know how to do this via GUI, but now I need to do this via CLI. I cannot delete, for example, org.gnome.SettingsDaemon.Wacom.desktop file from /etc/xdg/autostart, because my system (Ubuntu 18.04) ...
4
votes
2answers
68 views

Open an app on first login

I know Ubuntu supports autostart of apps every time a user logs in. But what I would like to do is to open a specific app every time a new user logs in for the first time and then the app won't ...
0
votes
0answers
91 views

Session/startup custom code does not run (correctly) on Xubuntu 16.04/18.04

In a nutshell: it appears code I add to my session & startup menu does not get run (correctly). Some examples: compiz --replace & dropbox stop && dbus-launch dropbox start & ...
1
vote
0answers
23 views

Pin application to screen and user can't close or resize or switch between app!

I want to create auto login user just when ubuntu starts the specific app automate start as fullscreen and user can't close that app or open other app and switch between app or minimize or ... , only ...
6
votes
1answer
161 views

How find out what is autostarting my terminal?

I have Xubuntu 16.04 with XFCE window manager. Every time when I start my computer, the terminal of Terminator is also autostarting. When I look into "Session and Startup", , I found nothing which ...
1
vote
2answers
1k views

Unable to disable Dropbox's autostart in Ubuntu 18.04

The Problem I installed nautilus-dropbox in Ubuntu 18.04. The app itself works fine, but it does not respect the Start Dropbox on system startup option. When I start Dropbox manually, it creates a ...
2
votes
2answers
4k views

OpenVPN AutoStart Ubuntu 18.04

I am trying to set OpenVPN to autostart on boot. With 18.04 Mate I have tried my usual put opvpn config into /etc/openvpn and then edit /etc/default/openvpn to connect all. This does not work, ...
0
votes
0answers
32 views

Start vncserver-x11-serviced.service before unlock disk sda5_crypt

So, I'm kite "noob" on ubuntu. I'm trying to handle myself without disturbing anyone! But I'm searching for a solution to this for too long and I'm getting to nowhere. I've my encryption on in ...
0
votes
0answers
52 views

Failing to auto start virtual machine

I am trying to auto start my rpi so that it automatically logs into the virtual machine. My script.sh has the following: sleep 10 ~/.profile sleep 10 workon cv and when I put the script.sh into ...
0
votes
1answer
177 views

vsftpd won't auto start on boot with pasv_addr_resolve=YES

Ubuntu server 18.04 LTS vsftpd 3.0.3 (Sorry for my bad English) vsftpd won't auto start on boot if I set "pasv_address=example.com" and "pasv_addr_resolve=YES". Manual start is fine when after ...
1
vote
1answer
434 views

Kubuntu 18: Power management not working

That's what I get in the menu. There is nothing to activate under startup. Any suggestions?
0
votes
1answer
37 views

Ubuntu program won't start as a service

Quite a newbie to Linux and servers. I have a program I like to start on boot. Executing the program in its folder works fine. Trying to execute the program from outside of the installation folder ...
1
vote
1answer
598 views

autostart compton on Lubuntu 16.04 LTS

The command /usr/bin/compton -I 0.04 -O 0.04 -D 10 -m 1.0 -C -f -i 1.0 -e 1.0 -G --vsync none --unredir-if-possible --unredir-if-possible-delay 0 -b does exactly what I want, when I run it from a ...
1
vote
0answers
86 views

What the proper way to make a debian package launch an app at startup?

I have created a debian package that contains the following files mypackage.desktop mypackage control copyright packagedeb.sh mypackage.jar (generated from my source code) I wrote some commands ...