Questions tagged [autorun]
The autorun tag has no usage guidance.
47
questions
0
votes
0
answers
23
views
auto run a script with sudo on specific user after start up
can anyone help me, I'm basically want to run wpa_supplicant -B -i wifiiface1 -c /etc/wpa_supplicant/wpa_supplicant.conf only when logging in with the user "user1", automatically.
so I made ...
0
votes
0
answers
16
views
How to run monitoring the file using inotifywait comments in linux 24/7 and how to know if the montioring is stopped?
I am using shell script by commenting inotifywait to monitor a newly created txt file in the specific folder in ubuntu.
I want to let this monitoring task running 24/7.
May I know how can I do it?
...
0
votes
0
answers
15
views
Ubuntu Studio 21.10 Removable Devices doesn't notice on the second "Drive-in"
After many attempts, it appears that the 'Removable Device' notifier doesn't notice on the second "Drive-in" of an Audio CD or a DVD.
Here are the steps.
Insert a Media on the DVD-RW Drive
=...
0
votes
0
answers
105
views
Adobe illustrator not opening
After following all the steps to install Adobe illustrator everything is going good and I get a notification that the program is ready
But when I click on it to run in I received another notification ...
0
votes
0
answers
43
views
Autorun script after boot with delay
I would need some help of this forum. I have a script which uses ffmpeg and when I run it from the terminal ./kamera1.sh it works all fine.
Now I would like to autorun the script eg. 3 minutes after ...
1
vote
2
answers
729
views
How to check if preload is running or not?
I've installed preload like 4-5 days ago. Still I can't see any performance difference. Is there any way to check if preload is running or not? I checked on system monitor but couldn't find it. I'm ...
0
votes
1
answer
329
views
How to run autorun script without prompt when inserting USB stick on Ubuntu
I am going to run an autorun script when inserting a USB stick.
So I followed the steps in How to autorun files and scripts in Ubuntu when inserting a USB stick like autorun.inf in Windows?
Once I ...
1
vote
0
answers
368
views
Autostart of Yarn process upon crash
I am complete newbie to the Linux world , but had to install a server app on Ubuntu 18 ... I finally managed to get it to run , after days of hick ups .... so far so good ... but then this app has the ...
0
votes
1
answer
74
views
How to create an auto executeable file of some terminal commands used for running any specific application
I have a .sh file of XP Pentablet driver
Every time I need to run these commands to run in order to run the program
$ cd /home/path/
$ chmod +x Pentablet_Driver.sh
$ sudo ./Pentablet_Driver
I wanna ...
0
votes
0
answers
20
views
Is there a script to auto apps on my new distro?
I'm building an ubuntu 18.04 distro and i want to have some autorun apps.
Is there a way of doing this so that when i build and install my new distro, those apps/settings will be recorded and do the ...
1
vote
0
answers
61
views
Shell script in autorun directory does not run when I log in
Using Ubuntu 16.04.6 LTS, I wrote this simple shell script and put it in /usr/local/bin/MiddleClick.sh Shell script in autorun directory does not run when I log in.that enables me to middle click by ...
0
votes
1
answer
111
views
Index shell script as application [duplicate]
So I made a shell script. I want to be able to open it as if it were an application (i.e: Hit super, type the script's name, hit enter, be happy). At this point it just displays the file in gedit. How ...
2
votes
3
answers
3k
views
How do I keep a snap from starting on boot?
Is there a way of disabling a snap from automatically starting?
I installed the microk8s snap, which is very cool, however it starts automatically every time I restart my computer. I can stop it ...
1
vote
0
answers
80
views
Autorun script while plugging in a USB device on a USB-media blocked PC
I have about 50 PCs with Ubuntu versions ranging from 12 to 18. All is USB media blocked. I want to copy a folder from my USB to a standard user account. Every time I have to manually acquire root ...
1
vote
1
answer
231
views
How to create an Ubuntu application CD/DVD with autorun?
Is it possible to burn an Ubuntu app on a CD/DVD, and make an autorun for it, just like Windows?
If yes:
How to do it with a Snap application? Consider I have downloaded an app from Software Center ...
2
votes
1
answer
246
views
Autorun program after connecting Arduino nano
I have read few posts which explained how to write a script and save it on the USB flash drive, which will allow it to run as we connect the device.
I want to know if there is a way where we can ...
1
vote
0
answers
226
views
Completely disable Autorun
File manager preferences have an option to disable/enable Autorun to run software, play music, etc. However, I don't see an option to completely disable autorun, meaning that it won't parse autorun....
0
votes
1
answer
658
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/...
1
vote
1
answer
92
views
Disable autorun external devices with VLC in kde
In installed kubuntu-desktop on my Ubuntu 18.04 to use KDE Plasma.
Whenever I select an external device in the left to open it in dolphin, it opens VLC instead and tries to play all files on that ...
1
vote
0
answers
64
views
ubuntu 16.04: autorun and automount - kernel level?
I have to disable this two services. I've done this using the dconf editor.
Please, can you tell me at which O.S. level this happens ? That is: can you tell me if the disabling these two services, ...
0
votes
1
answer
669
views
How can I run flash automatically Chromium 62.0.3202.62?
I´m running Ubuntu 16.04 LTS, with Chromium 62.0.3202.62.
I need a way to run flash automatically for a small project which runs local content. In the settings you only have two options for flash to ...
1
vote
1
answer
1k
views
Startup Script in rc2.d - Delayed Execution
I have a script which I'm wanting to run at start-up.
It's a very simple script which inserts a few kernel modules and starts vino-server:
init-script.sh:
#!/bin/bash
sudo rmmod nvhost_vi
# Insert ...
5
votes
0
answers
741
views
How to disable `autorun.inf` access on Ubuntu 16.04
Whenever I mount a filesystem, something tries to access a file named autorun.inf on this fresh mount. How can I prevent Ubuntu 16.04 from doing this? (FYI: I am logged in, Graphical session with ...
0
votes
1
answer
759
views
What's the best way to autorun a. sh script on startup (Lubuntu)?
I need to have a shell script run at start up, but can't get it working. There seems to be a number of options, but what is the best method for having a script auto run when the system boots up, ...
6
votes
3
answers
7k
views
What does /bin/bash -c mean in service unit?
To make my app autorun during reboot.
sudo vi /etc/systemd/system/app.service
[Unit]
Description=app
After=network.target
[Service]
ExecStart=/usr/bin/python /usr/local/bin/app
[Install]
WantedBy=...
0
votes
1
answer
72
views
at nautilus, javascript file opens with "windows based script host", what is that?
what that "windows" thing is doing here?
how safe is it?
when I double click on the js file (expecting gedit), it starts some process that I cannot find with ps... so,
what executable is that thing?...
0
votes
1
answer
1k
views
Run commands on system startup [duplicate]
I need some help with running commands on system startup.
So, I need these two commands to be executed every time I start my machine, due a problem with my Realtek driver (doesn't really matter):
...
1
vote
1
answer
241
views
Autorun Exterminator type alternatives for Ubuntu 14.04
Autorun Exterminator is a tool available for Windows that blocks virus-infected pen drives from automatically executing viruses through autorun.inf. Though most of the viruses encountered are .exe's ...
2
votes
1
answer
857
views
Auto Set Resolution
Ok so, a while back I asked a question on how to manually set my vga resolution on Ubuntu. But I need to do this upon LOGIN (ie NOT ON BOOT). I need to run sudo cvt 1366 768 && sudo xrandr --...
1
vote
1
answer
264
views
LiveCD: Running a sh script on startup
I have created sh script that backs up computers to a network location, and I'm trying to make a LiveCD of Ubuntu-Mini Remix 14.04 that will be able to launch the script without a GUI.
The script does ...
7
votes
4
answers
27k
views
execute script before login
Whole day I'm facing a startup script problem.
What I'm looking for is a way to run a single script at boot/before login
that will configure my machine and run proper services.
(Single script for all ...
0
votes
1
answer
33
views
Stop some processes from autorunning
As the title, I'm trying to figure out a way to avoid the following processes from autorunning when the system starts: Virtualbox, Tomcat7, ntopng, tor.
So, until now, I tried to simply create a ....
2
votes
0
answers
202
views
How to start a GUI program after hibernation?
I love virtual desktops. I keep half a dozen around, with every program I use regularly always at the ready. This means I dread restarting my PC, since I have to setup everything again—specially ...
0
votes
1
answer
4k
views
Autorun dvd or cd in version 14.04
How do I make a cd or dvd autorun when I insert it? I am using version 14.04. At the moment a folder box with all the individual files opens.
13
votes
1
answer
48k
views
How to autorun files and scripts in Ubuntu when inserting a USB stick like autorun.inf in Windows?
Is there a way to execute a specific script or open a file with a particular program when inserting a USB stick on Ubuntu like the autorun.inf file in Windows ? If not, is there another way ?
EDIT:
...
0
votes
1
answer
473
views
Autorunning Plex command In Ubuntu Unity on Chromebook?
I have managed to get the Plex Media Server running on my Chromebook via Crouton and Unity.
The only thing is that it won't load unless I run the command sudo su -c /usr/sbin/start_pms plex
Is there ...
1
vote
1
answer
3k
views
CD with autorun.exe file
Is there any way to make work a CD for windows (which contains a file autorun.exe)?
This CD should be use by a 5 year kid (educational), so I need something quite easy.
5
votes
1
answer
20k
views
How can I automatically copy the content of a usb (flash) drive to another directory?
I want to program my Ubuntu in such a way that it automatically copies the content of USB flash drive to a defined folder in my home directory.
I would like this to be done automatically when any ...
0
votes
1
answer
2k
views
How do I autorun terminal commands at startup in Lubuntu 14.04 LiveCD?
I'm doing some remastering of Lubuntu 14.04 LiveCD, and need to run the following command at startup:
/sbin/ifconfig eth0 10.10.10.1 netmask 255.255.0.0
First, I tried modifying rc.local as follows:
...
5
votes
1
answer
15k
views
How can I run code whenever a USB device is (un)plugged, without requiring root permissions?
I have a script that I wish to run whenever I plug/unplug a mouse or keyboard to my USB port.
There is already plenty of documentation on how to configure udev rules to run arbitrary scripts when a ...
6
votes
2
answers
16k
views
How To Run An Application On Startup Automatically?
I am using "UbuntuServer13.10" and I have Dynamic IP. So for learning purpose, I want to add a host on my dynamic IP to open my server easily from anywhere. For this purpose, I used www.noip.com ...
0
votes
1
answer
113
views
double click a file to run a specific command
I'd like to new a file obtaining a cmd such as "sudo gedit filename". When I double click this file, the cmd in this file is executed. How to make it work? Thanks
And the OS is ubuntu 13.10
0
votes
1
answer
44
views
installation of ubuntu off line and alongside windows XP
Can 'Ubuntu' be installed off line and continue to also operate off line? after downloading Ubuntu or before downloading it, how can i make it to be on auto run format for easy set up command?
5
votes
2
answers
4k
views
Could Autorun Virus, affect my PC via Wine?
I have installed wine and i am afraid that viruses will affect my PC now. I will not open any other .exe file other than mine one (which i use everyday)
0
votes
1
answer
412
views
How can I run an autorun file as root with no gui
I set up a server using ubuntu with no gui. I need root for some tasks that I want to autorun on this server. Normally I would just use gksudo because autorun programs never seem to work with su or ...
0
votes
1
answer
7k
views
Ubuntu 12.04 - Run a few command lines at every startup [duplicate]
I was wondering if there is any way that I can run certain command lines through the terminal automatically at every start up of the computer.
I have a wacom tablet and it is quite annoying to turn ...
1
vote
1
answer
8k
views
How do I set it such that DVDs and CDs autorun?
As per title, I'd like to know how in 12.10 you set it such that DVDs and CDs autorun.