Questions tagged [automation]

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

Filter by
Sorted by
Tagged with
1 vote
1 answer
34 views

Is there's a way to switch between linux and windows by commands [duplicate]

I want to automate switching between Linux and windows, as the default, the approach is to restart the pc then select the windows from the bois I want to write a command to do this instead
user avatar
  • 11
0 votes
2 answers
46 views

ubuntu 22.04 autoinstall storage section , "autoinstall config did not create needed bootloader partition"

I try to customize storage layout in user-data for autoinstall here is part of my user-data storage: #layout: # name: direct config: - type: disk match: size: ...
user avatar
0 votes
1 answer
98 views

How to fix subquity crash with autoinstall ubuntu-22.04-live-server-amd64.iso using seed.iso

I'm trying to install Ubuntu server automatically in Hyper-V from this iso: ubuntu-22.04-live-server-amd64.iso I use the VOLUME method to pass the cloud-init cfg so I have created a seed.iso loaded in ...
user avatar
0 votes
1 answer
28 views

how to auto reboot with a interactive section?

the auto installation runs perfectly with customize user-data, but it won't auto reboot when install complete. I find no documents about reboot in https://ubuntu.com/server/docs/install/autoinstall-...
user avatar
0 votes
0 answers
22 views

How to run same script on multiples servers

I have some scripts that run some commands and send results to my email. I want to run the same script on multiple servers. How can I do that? I know there is an option "ssh". But I'm not ...
user avatar
-3 votes
0 answers
40 views

Wanted set timeout for my script

I have a script where I want to set a timeout when any one of the commands not get executed, Please help me here. #!/bin/sh df -H | grep "LVroot" | awk '{ print $5 " " $1 }' | ...
user avatar
1 vote
0 answers
27 views

How Best to Install a Configuration File Archive?

What tools exist for installing a configuration file archive in one go? That is, having first booted a fresh Ubuntu installation, being faced with its set of default configuration files, and having an ...
user avatar
  • 311
0 votes
0 answers
8 views

clicker on ubuntu interface using siklui

I want to click on an icon on ubuntu the problem is that when I run the program in the cmd tells me that the click action is already done while the program does not click in the right place here is ...
user avatar
1 vote
0 answers
431 views

How to fix debconf: unable to initialize frontend: Dialog error w/Packer?

I am using the Packer vsphere-iso builder to build an Ubuntu-18.04 VM on vSphere with a shell provisioner, and when I run either of the following two commands: sudo apt-get install software-properties-...
user avatar
0 votes
0 answers
48 views

Preseed - Network not working if preseed/url used

In custom image I use preseed/url. I boot from a flash drive. I boot from USB, and use preseed/url. The official documentation says that it should be enough to create a file with content kill-all-...
user avatar
0 votes
0 answers
17 views

How can i add vpn from my terminal

How i add vpn using GUI I am trying to add VPNs to my system from my terminal or write a script to bulk add VPN. I have around 137 ovpn files that I need to add and have tried searching on the web but ...
user avatar
0 votes
0 answers
52 views

What is the best way to automate tasks in three connected Ubuntu Server machines?

So I have been working with Ubuntu Server (via Virtual Box), and have been tasked with doing the following: Create three virtual machines with Ubuntu Server, and have them communicate with each other. ...
user avatar
0 votes
1 answer
26 views

How to find a button's XY coordinates on screen and click at it?

I need to find a button's XY coordinates on screen using this button's image and then click at it. I can do this task on windows using AutoHotKey Image search. And I found out that ubuntu AutoHotKey ...
user avatar
0 votes
1 answer
20 views

How can I trick my OS/browser into beliving that my mouse click is locked/clicked continuesly?

Ubuntu 20.04. I'm trying to play a single player browser game where I have to move the cursor around in order to quickly move the object. But it requires me to keep a hold on the mouse button in order ...
user avatar
0 votes
0 answers
27 views

Libreoffice Calc add dupliacte entries

I have a generated csv of items sold with quantity sold, on transaction per line. There are many transactions of the same items and I would like to automate adding the numbers of the same items. I ...
user avatar
  • 1
0 votes
1 answer
20 views

Trigger the Wi-Fi Hotspot every Time I start up my os

every time I want to open the wifi hotspot to my mobile device I go to settings -> wifi -> Turn on Wifi hotspot, but this start to be boring for me especially when I'm doing this a lot, what I ...
user avatar
1 vote
0 answers
42 views

Is there a way to toggle the Do Not Disturb Button extension based off a Gnome Calendar description?

The Do Not Disturb Button extension is set to toggle on a keyboard shortcut (super+q). Is there any way to toggle it based on if I have "mute" in the event description in Gnome Calendar? I ...
user avatar
0 votes
0 answers
19 views

Run a Command at specific CPU Frequency

I am using liquidctl to control the fans in my PC and I wanted to sync them to my current CPU Frequency so the Fan Speed changes when I change the Frequency using a Gnome Extension. But I dont know ...
user avatar
  • 11
0 votes
0 answers
31 views

Plex and Folding at Home

I had Plex and F@H on my old Win7 server but am going to be upgrading and hoping to switch to a Linux environment (Ubuntu). On my old Win system, I used a program called Automate6 to do macro stuff. ...
user avatar
0 votes
0 answers
36 views

Cannot send command to switch via ansible

I try to send command to switch with ansible. I tested and confirmed the switch can be accessed by other devices via ssh, but when sending command to the switch via ansible, it failed. The below is ...
user avatar
0 votes
0 answers
11 views

Creating bulk individual folders for bulk individual files

I have a few folders with hundreds of files within each of them all with the same extension. I would like each of these files to be nested within their own subfolder preferably with the folder having ...
user avatar
0 votes
1 answer
20 views

Is there anyway to pull multiple pictures from an excel sheet at once on my ubuntu

I have this task which will take me forever to finish, about 1000 rows in an excel sheet of pictures names and links in different two columns (1st &3rd columns). i was thinking if i could use curl ...
user avatar
  • 23
0 votes
1 answer
56 views

How to register a command to confirm the option when installing programs?

When installing SageMath through the terminal on Ubuntu 18.04 on command sudo apt-get install sagemath I get a notification: Postfix Configuration --------------------- Please select the mail server ...
user avatar
3 votes
1 answer
381 views

Automate move new files after a set period of time

I receive files though a service at odd intervals and need to have them available in one folder for 72 hours before being archived in a different folder. I would like to automate this process. ...
user avatar
6 votes
1 answer
2k views

Where does the double-clickable app live on Windows? [closed]

I'm running WSL2 with Ubuntu. I want to be able to open Ubuntu via a voice command. To do this I run Alexa Connect on my PC to write tasks that automate some PC functionality. All I need to do is link ...
user avatar
0 votes
1 answer
667 views

What is the quickest way to convert a GeoTIFF file to PNG and crop the output?

I need to automate for a project converting tons of GeoTIFF files to PNG and being able to resize them in 4 equally sized squares. What would be a program I could use for this?
user avatar
  • 1
0 votes
0 answers
40 views

Automating installing Ubuntu Core, without serial port and without signing into account

I am currently busy with a project for standardizing the processes surrounding an embedded device we export as a product. On this device we wish to use Ubuntu Core (UC). However, part of this ...
user avatar
  • 1
0 votes
1 answer
130 views

Gnome shell: automating windows and placement

First off, sorry if this isn't the best formed question. I've tried to research the best part of the stack to focus on, but I'm still not 100% sure I've got it. So, I'll explain the outcome I'm after: ...
user avatar
  • 101
1 vote
2 answers
220 views

How to launch application on startup

I'm pretty new to Ubuntu and recently ran into an interesting issue. I installed Keep Presence (https://github.com/carrot69/keep-presence) to prevent my Intel Compute Stick from idling. What I would ...
user avatar
0 votes
1 answer
2k views

assign ip to ubuntu 20.04 during installation (packer/cloud-init context)

I am trying to provision Ubuntu 20.04 through packer and I am trying to use packer's http server to provide the cloud-init configuration. On Ubuntu 18.04 I could do that by preseeding the ip using d-i ...
user avatar
  • 121
0 votes
1 answer
158 views

Ansible playbook on ubuntu 20

How to write Ansible Playbook to install different applications on different hosts on Ubuntu 20.04 Conditions When running a playbook it should ask for the host name (we must give the specific host ...
user avatar
3 votes
3 answers
913 views

Foreground task scheduling in Linux similar to Windows's Task Scheduler

I have a batch application on Windows that I run every day at midnight. Recently, I converted this into a Linux shell script on a Linux machine and would like to similarly run it every day at midnight....
user avatar
0 votes
0 answers
53 views

Automating visual tasks

How can I automate task's which need a display to run , eg: ncmpcpp . I am using python to do this but the error is as follows Error opening terminal: unknown.\r. Is there any other means I can do it ?...
user avatar
0 votes
0 answers
30 views

crontab issues :x

so I have a scrapy script that I'm trying to execute on digitalocean droplet/ubuntu vm. So, after installing/updating ubuntu, I created a test.py and then executed it using crontab and it worked fine. ...
user avatar
2 votes
1 answer
318 views

Add Bookmarks to Nautilus via Terminal

I want to add bookmarks to nautilus via the command line. These bookmarks can be directories on the boot drive or auto mounted external drives. I want to know how to do this from the command line ...
user avatar
0 votes
0 answers
2k views

How do I install Microsoft Edge driver for selenium testing in Python 3?

We are trying to setup an automation testing environment for a web application. This web application will be hosted on Ubuntu server. In QA environment, we are trying to perform automated testing. ...
user avatar
  • 101
2 votes
0 answers
266 views

Ubuntu Macro/AutoClicker

I'm planning to change to ubuntu, since i have it on my laptop (20.04), but there are some stuff that are holding me back, i have Razer Synapse installed on my computer, and i have configured it, so ...
user avatar
0 votes
1 answer
113 views

How do I create a script file for terminal commands that require sudo permissions

my system keeps killing my wifi connection and I am having to use the terminal to restart it using the following comand sudo systemctl restart NetworkManager how would i write a script for this that ...
user avatar
0 votes
0 answers
27 views

How to make ubuntu know a terminal command for the entire machine? [duplicate]

I have a lot of projects. And for each project, I have two files in them: setup and serve. Each developer follows these simple three steps to start coding: git clone ... ./setup ./serve The problem ...
user avatar
0 votes
0 answers
314 views

preseed/late_command or even ubiquity/success_command not working

I am trying to build a ubuntu 18.04 iso to auto install using the Preseed file. Somehow, neither the preseed/late_command nor the ubiquity/success_command seem to take effect. I am not able to get ...
user avatar
0 votes
1 answer
661 views

Jenkins sudo password

I have install jenkins in ubuntu OS. when i build a project and run some executable shell script then it doen't access the file. how to add sudo password in shell script.
user avatar
0 votes
1 answer
119 views

Automation tool for configuration, installation and editing tasks

I'm looking for a tool that you could write to automate tasks as you want, for example, installation of LAMP package: install package A install package B ... modify configure file of package B in line ...
user avatar
0 votes
0 answers
120 views

automating linux GUI app with touch events

I'm trying to automate performing some events in an application running under X11. To do so, I need to send touch (not mouse) events to specific locations in the window. For instance, I need to long ...
user avatar
  • 1,004
0 votes
0 answers
131 views

Attempting a for loop, but I get error mv: cannot stat '' : No such file or directory

I have wrote this script: for filename in TYP_*; do echo mv \"filename\" \"${filename//TYP/standard.ec}\"; done The outcome is: mv: cannot stat '': No such file or directory mv &...
user avatar
1 vote
0 answers
84 views

Automatically click a dialog button when the dialog appears

Back in the day when I was still using Windows, there was a program that ran in the system tray that would watch for a dialog/window to open (by title or progid), the click a specific button (or send ...
user avatar
0 votes
1 answer
490 views

How I do to the driver to install/upgrade automaticly? And manually?

I there am much time before, I thought the Ubuntu don't upgraded the driver (Nvidia) automatically, or at least, to upgraded, I thought to had to reboot the Ubuntu, I resolved to install on Nvidia ...
user avatar
0 votes
1 answer
140 views

How to make ubuntu server auto shutdown after few hours

I want to make my server auto ON and OFF. I turn ON server by BIOS option everyday at 8:00am. How can I make, that system will shutdown auto everyday at 11:59pm?
user avatar
1 vote
1 answer
302 views

Autoinstall - the password and authorized-keys options doesn't work

I am trying set password and authorized-keys using the configuration below. But they never worked. identity: hostname: hostname username: username password: $crypted_pass ssh: install-...
user avatar
0 votes
1 answer
361 views

Have the display manager start synergy server before login in ubuntu 18.04 LTS

I am using Ubuntu 18.04 LTS and Windows 10 PC with Synergy Version: 1.11.1rc2-4a90760e. On Windows client, it is automatically started before login and works fine. My ubuntu server doesn't have ...
user avatar
  • 136
1 vote
0 answers
469 views

HELP : failed Ubuntu 20.04 LTS Desktop install not loading ks.cfg file

I search for an Ubuntu 20.04 LTS DESKTOP automatic installation ? i boot on a USB KEY with ubuntu 20.04 lts desktop iso on this , i wan't install on a ssd pc with a automatic script (not the live ...
user avatar
  • 11

1
2 3 4 5
9