Tagged Questions

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

learn more… | top users | synonyms

0
votes
1answer
28 views

Modern Ubuntu home media, security, and automation center [closed]

I'm looking to set up a large computer to act as a home media center, a security system, and possibly home automation. I'd like the following features 64 bit support Modern (based on a recent ...
0
votes
1answer
28 views

BTSync: Intall Bittorent Sync silently with no prompts on Ubuntu Server 14

Trying to install btsync in fully automatic mode - silent, without any prompts. I try to use assume yes feature of apt and also DEBIAN_FRONTEND env variable, but have no luck: export ...
1
vote
1answer
92 views

Running command at certain time or after that as soon as possible

I have folder for temporary folders and I would like it to be emptied automatically at 3am. I know crontab probably could do this but what if my laptop isn't on when it should run?
1
vote
3answers
77 views

How to make Ubuntu shutdown when power lost?

My project requires that the power source for the laptop be switched on and off. Is there a way to make Ubuntu shutdown properly when the external power is lost? It will run the shutdown on its ...
0
votes
0answers
15 views

Is there any way to get daily,weekly & monthly autobackups of mongodb running in ubuntu14.04?

Is there any way to get daily,weekly & monthly autobackups of mongodb running in ubuntu14.04 ?
1
vote
1answer
16 views

auto-save (and auto-delete) screen recorder video?

I set up my old phone as a security camera and downloaded SimpleScreenRecorder to record it. However I would like to find a program that would allow me to auto save say every hour and auto delete ...
0
votes
0answers
13 views

Build mount points from multiple files

I was wondering if anyone has seen a way of specifying mount points in multiple files? My scenario is as follows: I am trying to automate desktop provisioning and setup, using a combination of ...
1
vote
1answer
34 views

Prevent SSH from logging out after running initial commands

I'm using ssh to connect to a remote Linux machine like this: ssh -i .ssh/path/to/id_rsa -p 22 user@host 'cd /path/to/dir' I'd like some commands to be executed upfront (such as cd /path/to/dir) ...
0
votes
0answers
25 views

How do I program it so that when I press and hold the left mouse button it will auto click a set amount of clicks per second?

How do I program it so that when I press and hold the left mouse button it will auto click a set amount of clicks per second? I've been looking everywhere and all I can find is mouse automation tools ...
1
vote
1answer
183 views

How to perform unattended installations of Ubuntu Desktop?

I know that there is a lot of information about headless and unattended installation of Ubuntu servers. But I need to install the desktop version of Trusty on a lot of machines and I would like to ...
1
vote
1answer
31 views

Is there a way to pass arguments to be parsed when dpkg --configure <package> requests user input? [duplicate]

I'd like to run dpkg --configure virtualbox-guest-x11 from within a shell script so it can answer N to the following question. $ dpkg --configure virtualbox-guest-x11 Setting up virtualbox-guest-x11 ...
0
votes
2answers
112 views

Autostart program whenever a file is added to the Downloads folder

I have Lubuntu 14.04 LTS on my laptop for a few weeks now. I have been working on customizing the OS and such quite a bit, as well as installing everything that I need for daily usage. One thing I did ...
0
votes
1answer
69 views

Writing a bash script to execute/automate install of drivers

i'm trying to write a script to automate the install of TV card drivers (for some reason i have to re-install after each ubuntu update). Would this work? I've tried it but it doesn't look like it's ...
0
votes
0answers
15 views

How to Automate Custom Ubuntu 14.04 Build And Test That All Services Are Running

I have been trying to figure out, and was hoping you may be able to share some tips, for how to automate the creation of and setup (e.g. answer the questions during installation) of a Virtual Machine ...
1
vote
0answers
28 views

Batch export torrent files from KTorrent

To export single torrent file: Right mouse click -> Advanced -> Export Torrent To export n torrent files: ???
0
votes
0answers
29 views

I wish to automate VM installation in KVM how do I?

I wish to automate VM installation in KVM how do I? My setup is as follows: Host server: Ubuntu 12.04 64 bit RAM: 48 GB HDD: 800 GB CPU: 24 I wish to install Virtual machines using automation (one ...
2
votes
1answer
193 views

How to run a cron job as a specific user?

I have a couple of commands I want executed after the machine boots up. A user shouldn't have to log in or anything for them to run. I found this great answer suggesting crontab with the @reboot ...
0
votes
1answer
31 views

Can I automate filesystem cleanup?

I have a multi-user system and recently started receiving messages saying low disk space in filesystem /root and the same for /boot. /boot was at 100% capacity, so I ran: sudo apt-get ...
0
votes
1answer
33 views

Create a clickable install script for software

I want to create a simple script that a user can download, click on, and it will: request their root password through some sort of pop-up interface then sudo apt-get install a package to their ...
3
votes
1answer
54 views

Connect to a VPN with a password from the commandline

I can trigger the start of connection to my VPN by saying nmcli con up id WORKVPN But I have an RSA SecurID that is part of the authentication, which means I can't store a password. Without a ...
0
votes
0answers
25 views

Where are the settings modified by “unity-tweak-tool” stored? [duplicate]

Where are the settings as modified by "unity-tweak-tool" stored? Can they be edited with a text editor? Is there documentation, manual or help on the available options? Are there options not ...
1
vote
1answer
139 views

Unison - Automatically Sync Computers

Is there a way two sync multiple computers (i.e. particular directories in the home folder) automatically using Unison? If not, is there an alternative that can do this? I'm not completely against ...
0
votes
1answer
54 views

Deployment and configuration of a small lab

tl;dr How can I: Install Ubuntu on lots of PCs without burning lots of DVDs and installing manually Have a set of preconfigured options applied to all these PCs during (or right after) install ...
0
votes
2answers
47 views

How do I add a shortcut to refresh current page in firefox and keep the focus on current window?

I'm doing web development and for that reason I need to refresh some page in firefox frequently (it's on another display, so I see both IDE and browser at the same time). At the moment I manually use ...
1
vote
3answers
565 views

How to Automatically save terminal command output to file [duplicate]

Is there a way that I can save the terminal command output to a file, without having to write the command ' | tee /abc.txt' every-time around?
0
votes
0answers
42 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
98 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
229 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
204 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
305 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
57 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
24 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
113 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
171 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
139 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
22 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
169 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
341 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
72 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
75 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
691 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
103 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
268 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
109 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 ...
2
votes
1answer
243 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
80 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
135 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
980 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
108 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 ...