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

learn more… | top users | synonyms

0
votes
0answers
17 views

Automate backups of multiple Postgresql _CLUSTERS_

I'm looking for a way to automate backing up multiple PostgreSQL clusters. Any thoughts/hints before I do the following? I've already found the autopostgresqlbackup package. Which is a functional ...
0
votes
1answer
26 views

Advice for troubleshooting a (url) preseed file?

I'm working on my first preseed file, and to avoid having to re-burn a DVD every time I make a change, I'm hosting it on a webserver and loading it with preseed/url=... To load the preseed, I'm ...
0
votes
1answer
54 views

rsync two existing directories copying everything

I have two file servers in two locations. Currently both have the same data, which generally is unmodified (used for read only access).When the second server was set up (the one I'm sshing to) the ...
0
votes
0answers
70 views

Automatic installation of Ubuntu 12.04 with kickstart in web

I am going to install Ubuntu 12.04 in virtualbox with ubuntu alternate iso file and ks.cfg file hosted in local server. I am supplying ks=192.168.1.4:8080/ks.cfg as kernel paramter but still the ...
1
vote
0answers
11 views

How can I install ubuntu-restricted-extras without having to confirm the ttf-mscorefonts-installer licenses manually? [duplicate]

Whenever I do a fresh install of Ubuntu, I have a whole lot of programs I install and remove by using a few big apt-get commands. I use the --assume-yes flag so I don't have to confirm the ...
2
votes
1answer
133 views

How to reboot automatically and run terminal command(s) on startup?

So I run a Minecraft server on Ubuntu Desktop 12.04. It runs very well except every so often the computer does need a reboot, as it should considering it runs 24/7. I'm relatively new to Ubuntu ...
1
vote
1answer
38 views

Automatic synchronization or backup to External HDD at every plugin

I used to backup one partition to an external drive using grsync but now i have to backup different different folders to corresponding folders in External HDD. It would be helpful if they can be ...
0
votes
1answer
22 views

How can I install a security updates before a given date?

How can I install just security updates from the command line? The above question does a good job of describing how to do security updates only. Is there a way to install all security updates that ...
0
votes
0answers
86 views

Configuring PXE in Ubuntu to install Windows XP

I am using Ubuntu server with Windows XP clients connected over LAN. I want to configure PXE so that I can install Windows through PXE boot itself. I am a beginner in Linux field. So explain the ...
1
vote
2answers
143 views

Script that will reboot PC on specific GPU temp

Recently I've started mining litecoins. My miner consists of 3 Radeon R9 290x GPUs. From time to time one of them (not a specific one, it happens randomly) stops mining. Usually restarting cgminer ...
0
votes
1answer
88 views

Running Commands for Wifi at Startup

I have just found a way to get my wifi to work using these commands: sudo rmmod iwldvm sudo rmmod iwlwifi sudo modprobe iwlwifi bt_coex_active=0 I would rather not type these in every time I log ...
0
votes
0answers
20 views

Script for moving the most frequently used tabs in Unity launcher?

I find myself moving the last used icon in the Unity launcher to the top for easier access to the programs that I'm using. I use different programs on a daily basis depending on what I'm trying to ...
0
votes
0answers
123 views

iOS application testing tool for Ubuntu 12.04 LTS

Have an iOS application for iPhone5 and later versions ( Developed by another team), Need a automation testing tool, through that I can test my iOS application. I tried MonkeyTalk that requires ...
0
votes
1answer
173 views

Restart then shutdown using bash scripting?

I want to restart and then shutdown from terminal. Means that we want to startup terminal after restart and then shutdown automatically. What I am doing with explanation: Manually start my pc Run ...
2
votes
2answers
50 views

Exit command with any key

Here's what I have: A script that records sound and exits when pushing ctrl+c arecord -D plughw:0,0 -f cd -t wav -d 0 -q -r 16000 > file This will record and record until I push ctrl+c I want ...
1
vote
2answers
59 views

How to automate my startup?

I am not sure how I am supposed to automate such delicate tasks on my daily routine. Let me describe it: open Sublime Text in first desktop open Chrome in second open two terminal windows in third, ...
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 ...
2
votes
1answer
56 views

Writing (“injecting”) text into existing Ubuntu terminal

Given the name of an already running terminal (gnome-terminal maybe?), is there a way to write text into it from another program? I am basically looking for a way to start compilation from a text ...
3
votes
1answer
184 views

How to configure grub to boot an OS based on key press?

I'm total new to Linux / Grub but not new to changing configurations. I play much with configs and i like to try out many things and what is possible. So I will try now Linux. I have now different ...
2
votes
2answers
92 views

How to create scripts that create another scripts

I am writing an script that needs to generate another script that will be used to shutdown an appserver... This is how my code looks like: echo "STEP 8: CREATE STOP SCRIPT" stopScriptContent="echo ...
0
votes
0answers
180 views

Converting all .sub to .srt with framerate

I wan't to convert all .sub (microdvd and subrip) to .srt (subviewer) format that my player uses. I made this little bash script that searches for the filenames starting with given keyword and uses ...
2
votes
1answer
135 views

How to run command on connect to network

How can I automatically run a command whenever my computer connects to a network? I want it to run in these situations: On power on and login to Unity On waking up from suspend or hibernate When it ...
0
votes
1answer
62 views

Use grabc in python script

I want to work with the return value of grabc. If it returns #000000 then I want to take it to a=#000000. But this outputs the value in terminal. So How can I do this? [N.B: grabc is a tool for ...
2
votes
1answer
97 views

OS upgrade `on-the-fly`

I wonder if there is a way how to install newer version of OS, let's say 14.04 (when it comes) on the second partition of my server disk from within running OS (e.g. Ubuntu 12.04), then change grub ...
7
votes
1answer
559 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 ...
0
votes
1answer
99 views

Quick-Search the web with query string

The Mac app alfred.app has some pretty neat features. One of them called "Quick-Search the web" (see more here) allows to search the web by typing a keyword (i.e twitter) and getting a web page ...
0
votes
1answer
61 views

Unrar: Resulting files vanishing

Ok, so I have a directory which contains a whole load of folders containing RAR files, which I'd like to use a script to recursively unrar. The script I have seems to work (extracting the resulting ...
0
votes
0answers
246 views

keyboard events using xbindkeys xte xvkbd not working?

I'm having lots of problems trying to customize my keys. Here's some. This works pretty well, but doesn't work at all with focus on the terminal and a few other places. #~/.xbindkeysrc "xvkbd ...
3
votes
2answers
159 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
0answers
111 views

How can I make new wireless connections use a VPN by default?

I check this box every time I connect to a new wireless network: How can I make it enabled by default for new connections?
1
vote
2answers
794 views

Grub 1.99 Boot Screen Help

I am just recently installed Linux on my Oplitex Gx280. Every time T log on I am met by the Grub 1.99 screen and select (Ubuntu, with Linux 3.5.0-34-generic). I need my computer to boot up ...
1
vote
1answer
263 views

Is there something like Tasker (Android) for Ubuntu

Is there something like Tasker (android app for automating things) for Ubuntu 13.04 (cuttlefish ruled out)?
1
vote
1answer
567 views

Ubuntu Preseed set Norwegian Keyboard?

It's been a couple of days now that I am trying to make a fully automated unattended installation. I managed to make it work with Ubuntu/Cobbler and a preseed file, but I cannot set the correct ...
2
votes
1answer
240 views

How can I configure nano to save every 10 seconds?

I need to have my nano editor autosave every 10 seconds or some specific time period. How can I achieve this ?
5
votes
2answers
875 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?
0
votes
1answer
113 views

add entries to Startup Applications using a post-install script

I'm gathering commands to build a post-installation script, and I want to have the script automagically add certain apps to the Startup Applications list as if I had added them manually, such as the ...
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.
1
vote
0answers
263 views

How to select English (US) keyboard layout when preseeding with Ubiquity

I am attempting to automate an install of the Ubuntu 12.10 LiveCD (on a USB). The Installer will do everything except automatically pick a keyboard layout. Below is the portion of my preseed3.cfg that ...
2
votes
1answer
82 views

How to run a cron entry periodically?

I have a line of script that works through terminal and works through cron to run one time: it downloads a file from the internet and saves it in a specific place named as the date it was found: cd ...
2
votes
2answers
229 views

What is the best way to trigger scripts or actions when the computer is disconnected from the network?

I am running 12.04 LTS. There are a number of shared resources that I use that are housed remotely on a local server. When disconnected from the network (on say a network, or router failure), I would ...
0
votes
1answer
114 views

installation under vmware gets into installation loop

I'm instlling Ubuntu 12.04 LTS on VMware servers. I use preseed to automate the installation. The problem I have is that once the CD-ROM image is attached to the virtual machine, and the BIOS is ...
2
votes
1answer
104 views

How to change screen brightness based on screen colors?

I would like to know if there is any way to change the screen brightness based on the screen predominant color. For example if I am browsing a web page with a lot of white color decrease the ...
1
vote
1answer
1k views

Auto confirm when running bash scripts?

I am working on a simple bash script that configures new servers how I want them. It's nothing special but it will hopefully save me quite a lot of time in the future. How do I prevent prompts like ...
3
votes
1answer
1k views

Keyboard shortcut for Gnome-Terminal profile change?

I have two profiles in my Gnome Terminal, one uses specific image for background. Would like to switch between them when I enter/exit Vim. So far, I do this by Alt+t and navigating to the other ...
1
vote
0answers
103 views

How to restore all user settings to a previous time? (for use at a public lab)

I take care of a University public laboratory were the students have access to a limited account. They can't install anything, but they can alter the configurations of programs for the user. It is ...
10
votes
1answer
302 views

How do I contribute an autopilot test?

What is autopilot and how do I contribute to a new autopilot testcase for a package ?
2
votes
0answers
383 views

network profiles in ubuntu 12.04

I use a wired connection at home and in college. But at home i set my ipV4 settings to automatic DHCP whereas in college I need to manually enter the ip address, subnet and gateway and i also need to ...
3
votes
1answer
1k views

How to run an automated internet-radio station in a server environment?

I'm running an Ubuntu server environment with icecast-2.3.2 and ices-0.4.0 to enable internet-radio streaming. I have a directory with music files, mostly MP3, let's call it /PATH/TO/MUSIC. I also ...
1
vote
0answers
252 views

How can I get NetworkManager to autoconnect to a Openconnect VPN via nmcli without prompting for a user and password

I am trying to set up a script driven VPN connection with nmcli on Lubuntu 12.10 using Openconnect and NetworkManager and I cannot seem to get it to connect either with the saved credentials or via ...
1
vote
1answer
390 views

Run tasks after requesting a shut down

I have a small internet cafe with 7-9 Ubuntu 12.04 workstations. Unfortunately, I can't be there every week. I've seen a Java solution to upgrade the system, after a normal (non-sudo/admin) user ...