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

learn more… | top users | synonyms

2
votes
0answers
12 views

Programatically modify file associations using standard interface

I know that there are some files /etc/gnome/defaults.list that store mime associations and are in format that should make editing them possible. But I am looking for a way that will handle at least ...
1
vote
1answer
87 views

How can I automatically open an url in firefox and click on a specific position on the page?

I'd like to automatically run Firefox on login. Subsequently, I'd like to go to my ISP's page and click on the login button, all done automatically. I do not need to enter the password, since it is ...
2
votes
2answers
43 views

Auto delete files older than 7 days

I am a complete noob at linux but I am starting to get the hang of it. I have an Ubuntu Server 16.04 running an FTP server to backup security video files. The files will be stored in folders like: /...
0
votes
0answers
17 views

Password Changes with Ansible (User Accounts)

I am having trouble changing passwords with Ansible. It might be my playbook. I need to change this password for specific users. The ssh-keys are the same in the authorized keys section. Not sure ...
2
votes
1answer
43 views

Can Juju be used for desktop setup automation?

I go through multiple Ubuntu Desktop (14 & 16) installs per year. I used them as application development environments so they get banged around a lot with little effort in trying to keep them ...
1
vote
2answers
82 views

Hibernating from cron

I am trying to hibernate from cron using the command systemctl hibernate. However, I am getting the following error: Failed to set wall message, ignoring: Interactive authentication required. ...
1
vote
2answers
73 views

How do I run a python script whenever a file is created in a directory?

So, I'm trying to do this, somewhat, simple task, but I have not been successful yet. I'm hoping that changes now. The goal: Run /var/www/lager-scanner/filer/pluk_script.py whenever there is a new ...
7
votes
1answer
238 views

Get word under cursor in X11

For some scripting, I need to get the word currently under the cursor. Can xdotool or a similar tool get it?
1
vote
0answers
20 views

How to programmatically query latest version/release of Ubuntu?

I'm using a script to build an unattended install ISO for some servers. A few weeks ago, Ubuntu incremented 14.04.3 to 14.04.4. The script I am using has the version number hard-coded into the script, ...
3
votes
0answers
80 views

How to automatically run a program when certain device is pluged in?

I have home made device that connects via USB port and I have made a c++ program for data acquisition from that device. I have modified the /etc/udev/rules.d/50-ttyusb.rules so that the device has ...
1
vote
0answers
9 views

How to click and drag a window using autokey?

I couldn't find anything on google.
0
votes
1answer
30 views

Automated tool to create an Openstack Cloud

i'd like to work with Openstack and wanted to deploy a small cloud to get started. My idea is to have a 2 servers infrastructure: 1 controller node and 1 compute node connected on a private LAN. I'd ...
0
votes
1answer
26 views

How to: automatically restart Ubuntu server every 6 months as a scheduled task?

I have a mail server in my environment and I never touched it (someone configured it for me at first) since a few days ago when everything stopped working and I was unable to receive any emails. The ...
0
votes
0answers
28 views

Multiple keystrokes in 1 macro script with xmacro

Okay so my situation is that i am trying to make a macro for a video game i know that macros work inside the windows emulator because i have had 1 batten things work in my testing i am using this ...
1
vote
1answer
30 views

Automated UI tests for Ubuntu

I wrote automated tests for user interface on Windows using Visual Studio. Is there an equivalent solution for Ubuntu?
1
vote
2answers
47 views

Saving work automatically when battery is low

I am a writer and of course I sometimes lose my work if the battery goes dead. I am looking for suggestions for ways to save when the battery gets to 5% or 1%. Maybe a bash command written to save ...
0
votes
0answers
44 views

ubiquity - How can I configure my WIFI in automatic installation

I have an automatic ubuntu 15.10 installation up and running on my USB stick. It works fine so far, my preseed file is read from the usb medium and everything is installed without pressing any key. ...
0
votes
0answers
26 views

How configure Ubuntu to suspend after inactivity based on time of day?

I know we can configure Ubuntu to go to sleep after being inactive for "x" amount of time. But I want that to be based on time of day. Say, suspend computer if it has been inactive for 1 hour and it ...
1
vote
2answers
155 views

Dynamic info on wallpaper on Ubuntu just like Mac OSX? [closed]

As you can see in this picture, the wallpaper has it's clock change. This (from here, read the top comment) is actually real since there was a download link for this. So in short, 2 questions Will ...
0
votes
0answers
18 views

Make mouse automatically click at a color

This thread is totally not made for cheaters. So to be short, I want to make a script that auto-clicks when pointed at a color (like idk in games?) Oh and I also need it to work at full-screen apps (...
0
votes
0answers
22 views

How to automatically install libraries required by automake?

I'm trying to compile a program with lots of dependencies from source. Currently, my workflow goes something like: ./configure configure: error: Cannot find A library. sudo apt-get install ...
3
votes
2answers
138 views

How to recursively and automatically convert all bmps to pngs in a given directory?

I have a directory on my machine with 100s of images in it, about half those images are bmps, and the other half are pngs... I need to make all the bmps into pngs, but as there are so many of them I ...
1
vote
2answers
48 views

Completely automated custom server installation with no internet - What are my options?

I need to perform various things on my custom ISO server installation during the first boot. It needs to be completely hands and internet free. What are my options here? I see the pre and post ...
2
votes
2answers
27 views

How many times will a cron job run when given asterisk (*) on all positions?

If we define a cron job with * * * * * /some/task/to/perform, how many times will the job be executed in 60 seconds?
0
votes
0answers
145 views

How to automate MySQL-Server without prompts in bash?

I would like to know how to automate the MySQL-Server installation through bash script on a Ubuntu 14.04 x64 LTS server using apt. I use a server on digitalocean and tried many solutions but none of ...
4
votes
1answer
49 views

When writing a Bash script, how do I create then open a file with the date as part of the name?

I want to use a script to open a list of URLs, then create an empty text-file called "[today's date].homework" and then open that text file in Vim. Here's the script I have now: #!/bin/bash ## Open ...
0
votes
1answer
52 views

Anacron starts but does not run cron.daily

$ grep anacron /var/log/syslog Feb 20 19:05:11 jesus-Custom-PC anacron[1410]: Anacron 2.3 started on 2016-02-20 Feb 20 19:05:11 jesus-Custom-PC anacron[1410]: Normal exit (0 jobs run) Feb 20 19:05:13 ...
1
vote
1answer
23 views

Does install hook execute everytime juju deploy is called

I might be wrong in understanding the hooks lifecycle but what I've understood from the following link is that everytime juju deploy somecharm is called juju looks for the hook files that are going to ...
0
votes
0answers
11 views

Find and remove broken radiostations in rhythmbox

I've just imported 4000+ radiostations to rhythmbox with a .xml file. Now I don't want to go through the tedious task of checking every single station to see if the URL is broken or working. Is there ...
0
votes
0answers
104 views

how to automate ssh login with password and ppk?

Hi I would like to automate my ssh, where frequently I use to enter my login name, password and attach a ppk file to enter into my server. Is there any way to automate this process using python, ...
1
vote
2answers
59 views

How can I update my languages from the terminal?

After installing Ubuntu and updating the system, the first thing I usually do is make sure that all applications use the preferred locale. To do so, I start Language Support from the Dash which ...
1
vote
1answer
1k views

How to retrieve IP Address from a VM that can't have Guest Adiitions Installed

I am trying to Automate the build and deploy process of a piece of server software we make, this software runs on ubuntu 12.04 but doesn't allow "apt-get" for security reasons. I have gotten as far ...
0
votes
1answer
52 views

Web page launching manipulation automatically

I have been using a seven year old box to listen to a web radio station. Hey I have the box it actually has no speakers, it just makes me two cents per hour, pays my electricity bill monthly. Here is ...
11
votes
2answers
879 views

How to make my system delete all the files in a certain directory older than a certain time while keeping the directory structure intact?

I have a directory on my machine, think of it as my own sort of tmp directory, but it's in my ~ directory. And I want to make it so that my system every 3 hours deletes all the files in (though ...
1
vote
0answers
59 views

web browser automation for interacting with Google

I won't bother with too many details but I need to programatically click on elements on a webpage. https://keep.google.com/ to be exact. For various reasons I cannot use things like iMacros or ...
3
votes
2answers
218 views

How to execute a command in multiple Terminals by executing a command in only one? [duplicate]

I am going to have multiple machines that I am going to connect to via SSH so I am going to have multiple Terminal windows up, though what I want to do is to execute a command so that all the machines ...
1
vote
0answers
65 views

How to install dogtail script recorder in ubuntu 14?

According to this tutorial, https://wiki.ubuntu.com/Testing/Automation/DogtailTutorial I should have 'Dogtail script recorder' installed in my system after install python-dogtail package. ...
0
votes
1answer
47 views

14.04 Automatically restart binary if it stops [duplicate]

I have a binary file that stops running every few weeks, you can simply start it again and it runs for another few weeks. The software is not perfect but it would be perfect enough if it restarted ...
1
vote
1answer
105 views

Direct script execution on Ubuntu Server 15.10 skipping login screen

I need to execute script automatically on boot and display its output on screen but I have two problems. Ubuntu asks login credentials How do I get script display output on screen (to work as in ...
0
votes
0answers
48 views

How to make Post Installation Script for automated installation?

I have a ks.cfg which automates xubuntu installation Now after installing I want to run a script which will install my code, my doing few things like copying ssh key from server and doing git pull,...
0
votes
0answers
56 views

Creating hierarchy from tree output

I sometimes come across interesting skeleton code projects that are presented as the output of the tree command. There is not always an archive or a repository that allows me to easily clone them in ...
0
votes
1answer
24 views

Automatic install and configure

I have many computers and sometimes I do a fresh install. There is a huge hassle to configure the computer after the install. I have tried to ease up the process by using ansible + ldap + openvpn + ...
3
votes
1answer
121 views

Write a custom lookup script for MusicBrainz Picard

I have a collection of music files (~200/batch) that I need to tag through Picard. The files have no metadata, and the fingerprinting tool is very inefficient (<50% mean accuracy). However, the ...
0
votes
0answers
21 views

Theme creation utility that automates the creation of the CSS files

I am starting to get into GTK and window theme creation, and if I have all of the images for the different states of all the buttons etc, and I know what colours I want for everything like ...
16
votes
2answers
361 views

How can I automatically add workspaces, only if I need them?

Assume I am using 4 workspaces and I incidentally need more, is there an automated process or, if impossible, an easy way to incidentally add more workspaces (instead of installing Ubuntu tweak etc. ...
1
vote
2answers
130 views

How do I automate nightly disk imaging?

I do a lot of development work, and sometimes this means messing around with drivers, non-official packages, and boot settings. I want to start automating nightly disk imaging so no matter what ...
1
vote
2answers
72 views

Installing packages upon installation automatically

I commonly install/remove a bunch of software after installing Ubuntu, I wonder about the methods to automate it. Is anything like /etc/apt/packages where I could define which packages I want? ...
0
votes
0answers
88 views

Installing a specific Ubuntu release using preseeding

I am trying to install a specific Ubuntu image with mini iso: Distributor ID: Ubuntu Description: Ubuntu 14.04 LTS Release: 14.04 Codename: trusty With minimal Ubuntu image, I was able to ...
0
votes
1answer
426 views

How to rotate WiFi connections?

I have 2 WiFI connections available. Sometimes, the WiFi network disconnects, and when that happens, I'd like the system to automatically use the other connection. How can I do this in Ubuntu?
0
votes
1answer
73 views

How to *Fully* Automate an Ubuntu Install?

I currently am in a pickle where I have to install Ubuntu on up to hundreds of machines and I cannot use my right hand right now due to an injury. I need a simple way to completely automate the ...