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

learn more… | top users | synonyms

51
votes
2answers
12k 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 ...
19
votes
3answers
3k 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 ...
16
votes
6answers
457 views

How do I get involved with testing and QA with Ubuntu?

I'd like to get involved with Ubuntu QA by creating automated tests. Is there an ongoing effort to create these tests? Where can I learn more?
15
votes
2answers
5k 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 ...
15
votes
4answers
8k 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 ...
14
votes
1answer
5k 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 ...
12
votes
1answer
563 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: ...
12
votes
0answers
690 views

How can I make apt-get wait for another instance to finish? [duplicate]

Is there any way I can make apt-get wait for the other apt-get (or another package manager) process to finish? I know that, generally, apt-get can only run one instance at a time and if we try to run ...
10
votes
4answers
5k views

Is there any way to get AutoHotKey or IronAHK working?

I am very interested in getting AutoHotKey, the windows program for automation of keystrokes, working under Ubuntu. So far I have installed Wine, but am unable to use any of my previous windows ...
10
votes
1answer
304 views

How do I contribute an autopilot test?

What is autopilot and how do I contribute to a new autopilot testcase for a package ?
9
votes
2answers
1k 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 ...
8
votes
5answers
5k views

Alternative for Mac OS X Automator?

I once tested Mac OS X and something that called my atention was Automator, a software to visually create scripts to automatize tasks on the desktop. Is there any Linux alternative for this software?
8
votes
1answer
6k 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.
8
votes
3answers
2k views

How to do simple home-automation?

I am looking for some guide, examples, books to do simple things (automation) with Ubuntu. Like turning on / off the electricity open doors etc Any idea would be appreciated, thanks.
8
votes
4answers
2k views

How to set up Ubuntu to automatically turn NumLock on when an external keyboard is attached and off when it is not?

Having NumLock on is convenient when using a full-sized external keyboard (having a keypad) and very inconvenient when using laptop's built-in keyboard (which places digits instead of letters on the ...
8
votes
1answer
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 ...
7
votes
1answer
4k 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, ...
7
votes
3answers
2k 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 ...
7
votes
1answer
563 views

How can I combine multiple images into a single GIMP file with the command line?

How can I combine multiple JPEGs into a single, layered XCF via the command line? Using GIMP's graphical interface I can choose File ▸ Open as Layers..., but I don't see an analogous command-line ...
7
votes
3answers
1k 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 ...
6
votes
4answers
4k views

How can I automatically shutdown the system after a certain customizable time?

How can I automatically shutdown the system after a certain customizable time?
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.
6
votes
3answers
2k 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
1answer
791 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 ...
6
votes
1answer
569 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 ...
6
votes
1answer
356 views

How can I automatically run a command when I log out?

I'd like to make a command run every time I log out. Is there a way to do this?
5
votes
2answers
632 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!
5
votes
2answers
884 views

Autorun a script after I plugged or unplugged a USB device

What can I do to run automatically a script after I mount/plugin or unmount/unplug a USB device?
5
votes
1answer
2k views

How do I run a script on a dbus signal?

Is it possible to run a script on an arbitrary dbus signal? Something like Upstart that runs as an unprivileged user and doesn't require root perms to modify? I ask because I've already written a ...
5
votes
3answers
218 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)
5
votes
1answer
192 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 ...
4
votes
1answer
2k views

How can I enable/disable Dash online results programmatically?

How can I change this setting from a Bash script? My plan is to enable it only on certain network connections.
4
votes
2answers
826 views

Conveniently switch between Apple and PC keyboard (swap Windows and Alt keys)

I alternate between a Unicomp clicky keyboard by day, and the Apple bluetooth keyboard by night. The Apple keyboard physically swaps the Alt and Windows keys. How do I counteract this? Also, how can ...
4
votes
2answers
3k 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 ...
4
votes
1answer
653 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 ...
4
votes
2answers
366 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 ...
4
votes
1answer
232 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
1answer
3k 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
179 views

Proxy to automatically save specific URLs

I am looking for a network proxy that would do the following: If a requested URL matches a certain pattern (regular expressions would be ideal) save the transfer to a specified folder. I'm not sure ...
4
votes
1answer
2k views

How do I run LibreOffice Calc without Text Input dialog?

I have a CSV file written by a python script of mine. I want to make a shell script that opens the file in read-only mode, which I have done. #!/bin/sh libreoffice --view ~/Documents/timeclock.csv ...
3
votes
2answers
160 views

Is there a tool like Juju or Chef that I can use to automate the set up of my computer?

There are a lot of tools (chef, puppet, juju) out there to automate server deployments and set ups. How can these be used for automating my laptop set up? I want to be able to do nothing but run a ...
3
votes
3answers
409 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 ...
3
votes
2answers
912 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
2answers
183 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
2answers
228 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 ...
3
votes
1answer
152 views

How to execute a script when workspace changed? [closed]

I use devilspie to arrange the windows of monitoring tools (htop,ifop,iotop,nethogs, bmon) at the third workspace. In case I need the details about some process activity, I switch to the third ...
3
votes
1answer
171 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
596 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 ...
3
votes
1answer
400 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 ...
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 ...