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

learn more… | top users | synonyms

1
vote
1answer
309 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
922 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
280 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
751 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
8k 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
853 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!
17
votes
1answer
19k 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
163 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
9k 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
548 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 ...
65
votes
4answers
20k 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 ...
10
votes
2answers
3k 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
8k 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 ...
2
votes
2answers
765 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
20k 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
5k 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
268 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
1k 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
525 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
4k 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
647 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
595 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 ...
4
votes
1answer
888 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
155 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
399 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 ...
8
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.
19
votes
4answers
22k 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
254 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 ...
8
votes
3answers
2k views

How can I make the network manager automatically connect to a new network?

If my computer is on without an network connection(e.g. the router is rebooted, the network cable is unplugged, etc), it won't connect at all until I fix the connection then reboot the computer. How ...
3
votes
3answers
431 views

TestDrive equivalent for Ubuntu Server

Every now and then I'd like to play with a fresh minimal install of Ubuntu (to test sysadminish scripts, application install instructions, package dependency lists etc.). I'd like to have a tool as ...
5
votes
3answers
249 views

I need a command to remove all files from a directory (and subdir) that are under 20MB

With the exception of certain file extensions. (removing junk other than subtitle files from a video directory)
12
votes
1answer
1k views

Why is the automatic login disabled for users with encrypted home?

I've tried to setup an autologin, but that isn't possible, because my home is encrypted. What are the reasons for this? PS. Here I have described my problem: ...
0
votes
4answers
502 views

How can I set up Ubuntu to install updates without asking? [duplicate]

Possible Duplicate: How do I enable automatic updates? I would like to have Ubuntu silently install updates every day or so. It it possible to set it to do so? Are there any potential ...
2
votes
5answers
171 views

Setup a service that auto-magically deletes specific files from a folder

I have a folder that connects to a hardware weather logger. The data is pretty huge, and I only wish to keep the last 5 hours worth of data. This folder; however, has also some config files such as ...
2
votes
1answer
228 views

How do I run a script automatically when I start an app?

I want to run a script automatically when an application start. How would I do this without making the script run at start-up? My current approach is writing a script with an infinite loop and made ...
4
votes
2answers
5k views

Auto-login to console as root - no Xserver

I'm setting up a PC for a very specific purpose. It's going to do some stuff deep underwater... round about 3km. We don't fear fish hijacking the box locally ;). I'm trying to set up a login: no ...
0
votes
0answers
169 views

Installing Ubuntu server on 180 machines - what tool(s) do I have (except clonezilla) [duplicate]

Possible Duplicate: Best way to clone Ubuntu installation (copying to identical hardware) I need to install Ubuntu on 180 servers. Since all are identical hardware, I want to install ...
1
vote
2answers
11k views

Script / App to unRAR files, and only delete the archives which were sucessfully expanded

I have a cron job which runs a script to unrar all files in a certain directory (/rared for argument's sake) and place the expanded files in /unrared. I would like to change this script so that it ...
3
votes
3answers
2k views

Preseeding Ubuntu Server

I am in the process of creating an automated install disc for Ubuntu Server 10.10. Is it possible to setup package selection within the preseed file (what groups of packages to install etc.)? If so ...