The use of control systems to reduce the need for human work. Related to automatic systems.

learn more… | top users | synonyms

4
votes
2answers
206 views

Scripting Language That Sends GUI Events To Any GUI App

I would like to run scripts that will allow me to interact with the gui by sending windows events such as: button presses text insertion window closing, minimizing utilize an apps quick key ...
3
votes
2answers
272 views

Automate Password Set And Verify

I'm using this to set passwords in a script: usermod -p `mkpasswd -H md5 passwordText` user I need to create an exception in my script, just in case this command fails. What file contains the ...
3
votes
1answer
217 views

Move downloaded files based on criteria

After downloading tv shows and movies I would like them to be automatically moved to two separate folders (named "tv shows" and "Movies"). I know there are a lot of programs that you can do this with ...
1
vote
1answer
229 views

Scripting question (youtube-dl and xclip)

I have youtube-dl and xclip installed. Is there a way I could write a script that can run commands from both? For example: youtube-dl -l --extract-audio (url) but instead of pasting a url could I ...
1
vote
1answer
806 views

How can I install Dog Tail

Does anyone have a detailed and accurate reference on how to install DogTail? I tried to install it, but I come up against problems.
0
votes
1answer
128 views

running utility when user logs out

is there any way by which we can run utility on logging out. There is a server which has account of many users. Now If I login to that server I can put utilities in .bashrc, but I want to kill ...
0
votes
1answer
170 views

Using a custom list for autocompletion (e.g., a list of files)

what I would like to do is when I write inside on console a command, for example. ls file1.txt folder1 folder2 then I write cd (I hit some magic shortcut and I can access using down ...
2
votes
3answers
2k views

Need to skip lost+found when using find

I am new to Ubuntu and I do not have alot of experience with Linux/Unix, so please bear with me while I try to get through this. I have a camera system that records footage and takes screen shots and ...
4
votes
2answers
4k views

Change screen brightness automatically on AC connection/disconnection

I want to keep the screen brightness at minimum level when its unconnected to power and at maximum level when it's connected On Ubuntu 11.04 it was possible, through this config screen: However on ...
2
votes
1answer
383 views

Apply compressor effect to new podcasts automatically?

I want to greatly reduce the dynamic range of certain audio podcasts automatically. The effect needs to be applied to all episodes of some feeds, other feeds don't need this and can be ignored. I'd ...
23
votes
2answers
11k views

How to enable silent automatic updates for any repository?

I read here how to enable silent automatic updates for Google Chrome. However, I have other repositories like spotify, docky and others for which I would like to enable silent updates. I am trying ...
1
vote
1answer
334 views

How to automatically put text into picture files

I have a template for a business card and a text file with several hundred codes (each separated by commas). Is there a method to (automatically): for each code overlay it onto the template and export ...
6
votes
1answer
950 views

How can I make a script to place files older than each day before into their own folder?

I'm running an unnecessarily complex script which looks similar to this command: find /home/user/videos/*.avi -mtime +0 -exec mv -f {} "/home/nb/videos/1 day old" \; And then I run the same ...
3
votes
2answers
2k views

How to create daily job without write access to /etc?

I don't have write permissions to /etc and its sub folders, but even do I would like to have bash script that is executed every morning. How to set it up? also when i type cron in command line I get ...
3
votes
0answers
2k views

Do something when CD/DVD/Blu-Ray inserted [closed]

I have a headless 10.04 server with a BD drive. I'd like to be able to insert a blu-ray or dvd into the drive and have the server immediately begin ripping it with makeMKV/Handbrake. Basically, I need ...
3
votes
1answer
1k views

Batch printing from Unity? Shell?

Is there a way to batch print some files (PDFs)?
1
vote
1answer
315 views

How to modify configuration file from command line?

For example, I often need to login to a new virtual machine just to open "/etc/ssh/sshd_config" and set "PasswordAuthentication" option to "no". In this way, I can not automate this process. How to ...
2
votes
2answers
3k views

How to increase the idle time that causes auto-lock to log in screen?

At the moment I got Ubuntu on my VirtualBox and it seems to auto-lock very quickly. Everytime I switch to VirtualBox to use it, I always have to enter password. How can I increase the auto-lock ...
4
votes
2answers
769 views

How to run ABCDE when I insert music CDs

I used to have ABCDE run automatically and rip a CD when I put it in my computer. I did this by selecting ABCDE for when a CD is inserted through the Media tab in Nautilus but this option has been ...
16
votes
1answer
9k views

How can I enable silent automatic updates for Google Chrome?

Installing Google Chrome causes a third-party software source to be added from which Google Chrome upgrades can be retrieved: $ cat /etc/apt/sources.list.d/google-chrome.list ### THIS FILE IS ...
5
votes
2answers
894 views

Batch editor for text or html files?

is there a tool that can help me to batch edit text files in a certain folder? I need to delete or insert snippets repeatedly in lots of html files and restructure them. Thanks in advance!
19
votes
1answer
21k views

Add lines to cron from script

Is there a way to add lines to a user's cron via script? I usually do it using crontab -e, but I would like to automate this task with a shell script.
1
vote
1answer
164 views

Rebind Control-n Control-p

I would like to rebind C-n and C-p in all my applications to send Up and Down. My brain is just stuck with this shortcuts, and I am tired of always seeing new windows and printing dialogs popping up. ...
7
votes
3answers
4k views

How do I turn off WLAN automatically when LAN is connected?

I use my Thinkpad laptop with a docking station. The docking station is connected to my router via LAN. When I walk around the house I use my laptop with WLAN. Is it possible (and how) to manage ...
16
votes
1answer
10k views

Automating Linux (Like AutoHotKey for windows)

What programs are available for Linux that can give a context sensitive automation like AutoHotKey for Windows. a few example of things that I would like to do. Replace ]d with the current date, ...
2
votes
1answer
609 views

A simple email autoresponder

I have a POP3 email account, that I do not use anymore. It is on a server out of my control. Several of my contacts keep on sending email to that address, though I told them. So I decided to set an ...
69
votes
4answers
21k views

What's the difference between Juju and Puppet/Chef?

Have tried asking 3rd party about key differences between Juju and Puppet/Chef. 3rd parties are not too familiar with Juju and could not say. They simply stated the others have a lot of momentum, and ...
11
votes
2answers
4k views

What is the least insecure way to store a password that is used by a script?

I have a Bash script that automatically authenticates with a service using my username and password. The credentials are currently stored as plain text within the script. What precautions should I ...
23
votes
3answers
9k views

How to find the number of packages needing update from the command line?

I'm working on some system admin automation using fabric and I'd like to be able to monitor the number of packages that need upgrading on a given machine. This is the same information that I can see ...
1
vote
2answers
4k views

Fully automatic updates in Kubuntu

It is really annoying to click the update icon and enter password every time to confirm updates. How can I setup fully automatic updates without any prompts? (Not only security updates) Some small ...
3
votes
2answers
970 views

Installation automation

Use case: When I install Ubuntu on another computer, I need to: install all the packages that I use; make some config changes; svn checkout some projects; git clone some projects; setup ...
19
votes
4answers
23k views

how to put a trigger on a directory

I have a script that scans a directory and does some maintenance on the files in it. Another process creates the files in the directory (10 - 30 files per day). The script is called via a daily cron ...
2
votes
1answer
6k views

How do I run BleachBit from the terminal?

On their website, they say to simply enter bleachbit --(argument here) but all that does is open the program. Am I doing something wrong?
6
votes
1answer
282 views

What are Launchpad packaging recipes and how can I use them?

As I understand it, packaging recipes are a way to automate packaging into a PPA from a bzr branch. What I'm not sure of is how to go about setting one up. I have read the documentation but for some ...
6
votes
1answer
2k views

How do I enable automatic updates of all packages?

I'd like to use unattended-upgrades to install all updates to Natty beta packages daily. Whatever I try, unattended-upgrades seems to ignore updates to packages in "main". Here's my current ...
2
votes
1answer
562 views

How do I run a macro in the selenium IDE without having to take my hands off the keyboard?

I am looking for some form of utility that can be run from the command line in Ubuntu that will click a button in a specific window. What I want to do is run a macro in the selenium IDE without ...
4
votes
1answer
244 views

Automation Extracting Many Passworded Archive

I have many 7zip Archive with same password. When I extract it, both using GUI application and command line, I must enter same password again and again. When I read the 7za command manual pages, I ...
4
votes
2answers
5k views

Bad archive mirror using PXE boot method

I'm trying to automatically install Ubuntu on a client PC by using the PXE BOOT method....my Objectives are below: I am following the steps given in this link installation using PXE BOOT the server ...
4
votes
1answer
702 views

How can I automatically create a list of files and folders in a given folder in LibreOffice Calc?

How can I automatically create a list of files and folders in a given folder in LibreOffice Calc ? I'd like it to have as much info as possible (size, name, folder hierarchy...) sorted in nice little ...
2
votes
1answer
607 views
3
votes
3answers
2k views

Automatic shutdown / hibernation after x minutes in suspend?

I have an embedded battery powered device running Ubuntu and want to reduce power consumption. The idea is that if a user does not use a device for ca. 30 min. then the device will automatically ...
5
votes
1answer
920 views

How can I automate creation of videos from an image and an audio track?

There are many videos on sites such as Youtube that simply contain album art and an audio track. This is easy to do with tools such as openshot or pitivi but it is time consuming. Is there a script or ...
1
vote
2answers
156 views

How to set up a default system configuration (packages, config)?

I need a way to customize my system automatically either at install time or right after. Example (system just finished installing): Install a custom list of packages (e.g. gimp, inkscape, certain ...
1
vote
2answers
10k views

How can I automatically mount eSATA drives when plugged in?

What can I do to make Ubuntu automatically mount an external drive when it is connected to an eSATA port? Currently I must go to Home Folder ▸ Go ▸ Computer and click on the disk to mount it.
4
votes
2answers
406 views

How can I make my laptop's password-less guest account automatically attempt to connect to any and all open wireless networks?

Or, alternatively: What is the closest I can get to this? If my laptop ever gets stolen, I want it to do everything in its power to phone home. Prey only kicks in after an internet connection has ...
9
votes
2answers
2k views

How can I automatically switch to USB headset when plugged in?

Whenever I plugged in my old audio jack headset, sound was immediately diverted from my speakers to the headset speakers, and the microphone was immediately available. When I plug in my new USB ...
6
votes
3answers
4k views

How can I easily retab html files according to some sane default?

I have some html files that I'd like to retab that look like this: <header> <div class="wrapper"> <img src="images/logo.png"> <div ...
6
votes
2answers
2k views

Automatically close application after custom time?

Is there a way to automatically close a certain application after custom time? Update: i.e. stop the Audioplayer after a certain time.
20
votes
4answers
27k views

How can I automatically shutdown the system after a specific time?

How can I automatically shutdown the system after a certain customizable time?
3
votes
2answers
259 views

Automatic desktop/work environment setup

I have this strange thing I am trying to do, so before I jump into it I was curious if someone knows about existing solution or maybe have an advice as far as implementation. I run a small software ...