The use of control systems to reduce the need for human work. Related to automatic systems.
1
vote
1answer
70 views
Autorun a script after I plugged or unplugged an USB device
How can I do to run automatically a script after I plugged or unplugged an USB device?
0
votes
1answer
42 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 ...
2
votes
1answer
68 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
72 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 ...
3
votes
1answer
35 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 ...
3
votes
0answers
70 views
How can I create a new profile for Gnome terminal via command line?
As everybody knows you can create a new profile by the menu where you get asked which existing profile should be the parent for your new profile and so on.
But how should I create a new profile by the ...
2
votes
1answer
46 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
25 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
0answers
58 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
157 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 ...
1
vote
1answer
299 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
43 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 ...
9
votes
1answer
172 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
212 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
337 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
156 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
138 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 ...
1
vote
1answer
75 views
hibernate after timeout in lightdm
Is it possible to set up lightdm to hibernate after, for example, 5 minutes without human activity? Only in LightDM without this behaviour after login? I whant to be able just logout to lightdm by ...
0
votes
0answers
23 views
Autosort files - making an simple online customer portal [closed]
I have been looking at this tread How to automatically sort files out?
i have a question about this:
I think i can manage to get the comands working, its just to read, test, check, run.
But i want ...
2
votes
2answers
228 views
Mirroring two files: rsync vs cp
I'd like to have a copy of my .emacs file in my Dropbox folder but I'd also like to have this copy in an automatic way, I mean every time I change my .emacs in the home directory I want it to be ...
4
votes
1answer
692 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
...
0
votes
0answers
52 views
Help on reporting kernel module bug
Can you help me with filing a bug? I don't know which package to file it against.
Bug is: kernel module it87 should be loaded at boot, because it's responsible for fan control. (Or only reading its ...
1
vote
0answers
143 views
How can I automate ddrescue from a failing usb hard drive?
I've got an interesting problem...
A friend asked me to recover data from a failing external (usb) hard drive, which i've been doing using the ddrescue utility. However, every few hours the drive ...
1
vote
2answers
481 views
I want to make Tomcat7 autostart while booting
I installed tomcat servlet but i need to autostart while booting.How to?
2
votes
1answer
136 views
Crontab kill firefox processes
I want to make a crontab job for killing any firefox processes running, if there is more than a max number of processes running, starting with the oldest process.
So let's say 5 processes is running ...
1
vote
0answers
183 views
Creating custom tasksel recipes for preseed.
I am trying to work on Automation installation. As for that i create a preseed on Ubuntu 12.04. And lucky its working perfect. But i want it more smarter. Like in pre-install script i mentioned ...
1
vote
1answer
229 views
ubiquity automatic install stops at keyboard layout chooser
I am trying to automate 12.04.1 64bit installation using ubiquity & preseed on a desktop live CD.
It almost works fine. I edited the txt.cfg and added
label unattended
menu label ^Unattended ...
1
vote
2answers
163 views
Is there an application which organizes my “Downloads” folder automatically?
I'm looking for an application which
puts all files from my Downloads folder into a new generated folder (called like the date) per button press or automatically
is able to move files to its ...
0
votes
1answer
64 views
How to script a reinstall (apt repo's and installed packages)
I need to wipe my hard drive and reinstall Ubuntu. /home is on a separate partition, so I can back that up to a backup drive, then copy it back to the wiped drive, install ubuntu, and point it at the ...
1
vote
1answer
615 views
automate transfer of tar files over FTP
Every day I have a script making .tar files of aparticualr directory. Once every day, I would like to transfere the new tar file made that day to a remote server over FTP. I would like to make this ...
0
votes
1answer
42 views
Is there an equivalence to ControlPlance for Mac?
Looking for a counterpart to ControlPlane that I run on OS X!
ControlPlane is a GUI for setting up custom actions in certain "contexts". A context could be a certain SSID, a specific USB peripheral, ...
-1
votes
1answer
77 views
Are there any automated functionality tests for an Ubuntu installation?
I have installed Ubuntu on my machine (it is special, not a X86). So I want to test if the applications worked well. I want to use automation test methods to do it, but how can I do this?
Is there ...
0
votes
1answer
45 views
Updating, etc., automatically [duplicate]
Possible Duplicate:
How do I enable automatic updates?
Is there a way to set up Ubuntu 12.04 (or earlier versions) so that all recommended updates are done automatically, say once a week? ...
3
votes
1answer
546 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 ...
2
votes
1answer
135 views
Create shared shortcuts for Guest login
I have decided to use Ubuntu as my base OS for my internet cafe machines, and also for the thin clients that connect to my Windows terminal server running 2008 R2. 8 machines in internet cafe room, ...
2
votes
1answer
183 views
Handling old kernels with automated upgrades
For security purposes I've been a fan of unattended-upgrades, Using something like this:
Unattended-Upgrade::Allowed-Origins {
"Ubuntu lucid-security";
};
...
2
votes
2answers
295 views
How can I programmatically get the PID of the active GNOME Terminal instance?
How can I get the PID of the GNOME Terminal instance I'm using from within a Bash script?
I can run xprop _NET_WM_PID and then manually click the terminal window, but I'd like to completely automate ...
2
votes
2answers
971 views
How do I run a script when a Bluetooth device connects?
I'd like to start my music player (Clementine) when my bluetooth headset connects to my computer. How do I detect the bluetooth device connecting so I can run a script to start the player?
0
votes
1answer
2k views
Cron not running scripts
I have looked for several reasons that could cause my problem without luck. The issue seems to be extremely particular: my server running LTS 10.04 is not correctly running scripts relating to ...
1
vote
1answer
910 views
How do I configure a preseed to skip the language support question?
I'm attempting to create a preseed configuration file for automating the install of
Ubuntu Server 10.04-4 LTS x64 via a bootable USB thumb drive and I've hit a major snag in the process. The ...
2
votes
1answer
120 views
Good workflow for updating R modules around R-cran updates?
I like that R updates frequently to give me the best new packages, but it does seem to pose a problem for my R scripts on cron schedules.
I noticed that every time ubuntu updater updates my r-base ...
3
votes
1answer
113 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 ...
1
vote
2answers
430 views
How can I programmatically refresh the wallpaper?
I want to be able to choose one image file as my wallpaper and then overwrite that file to change the image that's displayed on the desktop background.
Currently, the displayed wallpaper doesn't ...
2
votes
1answer
266 views
How can I pre-cache image thumbnails? [duplicate]
I have several frequently-updated folders that contain thousands of high resolution JPGs. The first time I browse into any of them, it takes a long time for Nautilus to generate all the thumbnails.
...
3
votes
1answer
128 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
136 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 ...
2
votes
0answers
137 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
152 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
279 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
121 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 ...

