Questions tagged [automation]
The use of control systems to reduce the need for human work. Related to automatic systems.
442
questions
0
votes
0
answers
24
views
how to enable root user by default in autoinstall user data
in my product, i need to enable root user by default in autoinstall user-data file
Expectation: root user login by default post installation
i followed the below,
version: 1
user-data:
...
1
vote
1
answer
60
views
Mount specific removable media with mount options by default
I run Ubuntu Mate 22.04 and I have a USB mass storage device (aka USB-Stick) that is formatted with btrfs. I know it's partition UUID and label and I want it specifically to be mounted with specific ...
1
vote
1
answer
81
views
Auto copy from any USB Stick to another directory
with the following instruction I have unfortunately my problems:
How can I automatically copy the content of a usb (flash) drive to another directory?
I want that any USB stick/USB hard disk, which is ...
0
votes
1
answer
101
views
Specifyig executable name in sudoers in order pass password
Why has put an executable name in /etc/sudoers, but run it still get asked password?
This is what I have inserted in the file /etc/sudoers by the command $ sudo visudo /etc/sudoers (user name ...
0
votes
0
answers
18
views
How to start using Test Evolve - Automated testing tool?
I'm currently exploring new software testing tools, and one of the tools that caught my attention is Test Evolve. I'm curious to know if anyone here has experience using it for automated software ...
0
votes
0
answers
70
views
How to setup secure boot on customized Ubuntu Server ISO?
I have an Ubuntu Server 20.04 but I want it to support secure boot automatically just like how the official Ubuntu Desktop does.
0
votes
0
answers
59
views
Want to create a desktop shortcut or system tray icon for automating windscribe (it is a vpn)
I want to create a system tray icon that allows me to quickly connect to the VPN or create a shortcut( so that I can pin it to the taskbar) that automatically runs the command- windscribe connect US ...
0
votes
0
answers
49
views
Automate menu actions within a GUI app?
I'm currently programming an ESP8266 chip through the Arduino IDE. However, I have two versions of the IDE running at once, because I need an older version to upload files to the chip, and the newer ...
2
votes
0
answers
37
views
How to find whether a package is documentation?
As part of my work, I recursively find the dependencies of a package. While doing that, I like to skip the packages which are documentation. I can see most documentation packages have the suffix .*-...
0
votes
2
answers
33
views
how to programatically find a lower version of a given package version?
I'm finding the dependency (with version) programmatically by reading the control file of the Debian packages. I noticed that some dependencies need a strictly lesser version (<< ). How to idea ...
0
votes
0
answers
28
views
Creating a similar approach to Intune deployment system based on MAC addresses
I have an Ubuntu 20.04 server running under Google Cloud with a static public IP assigned and a bunch of clients which have to be configured using a common image for all of them. I want to configure ...
0
votes
0
answers
41
views
Ubuntu automatic brigntess customization
I recently installed Ubuntu 22.04 with Gnome. I would like to customize the automatic brightness curve to my taste. There is an app for Android, which for me is a must, called Velis Auto Brightness ...
0
votes
0
answers
74
views
Converting WebVTT (.vtt) to VobSub (.idx / .sub)
There are a lot of questions about subtitle conversion, but I can't find anything for my particular use case.
I have a bunch of movies which I have previously converted to .mp4 with .vtt subtitles; ...
-3
votes
1
answer
51
views
Is it possible to make an auto updating website [closed]
I am making a website and I want it to automatically upload and update the code in the server when I make changes on my computer. I am using the latest ubuntu server I also have the vscode if there ...
1
vote
1
answer
593
views
My cron doesn't find a file
I have written a Python script that I would like to run by crontab!
I have run the Python script individually and it works fine!
The problem is that when I run it by Crontab, I receive an error ...
0
votes
0
answers
72
views
Ubuntu 20.04 Workstation fully automated install
Is there a way to install Ubuntu Desktop 20.04 fully automated, with no user interaction? I'll need to install custom applications and run scripts. I cannot use Ubuntu server with a GUI for this task....
1
vote
1
answer
885
views
Proxmox ubuntu template created with Packer disables default user account
This is my Packer config for template creation in Proxmox
ubuntu-server-jellyfish-docker.pkr.hcl
# Ubuntu Server Jellyfish Docker
# ---
# Packer Template to create an Ubuntu Server (Jellyfish) with ...
0
votes
0
answers
127
views
How can I set default user in Ubuntu 18.04 and set the to autologin - using command line only?
I know that I can do it with GUI using https://help.ubuntu.com/stable/ubuntu-help/user-autologin.html.en
But I want to find a way to do it automatically to automate setting up a VM.
I already found ...
0
votes
0
answers
85
views
Available command for get coordinates from desktop, dash to dock and top bar buttons and icons
I have a doubt about if there is any command available to get x,y coordinates from positions where desktop icons are located, as well as dash to dock icons and buttons like Activities, navigators, ...
-1
votes
2
answers
154
views
Is there any tool/application which I can user to install multiple applications directly in Linux?
I want to develop an application that lets users select from a list of applications they want to install. Then, I want to generate a script and, upon running it, all the selected applications should ...
1
vote
3
answers
6k
views
Server 22.04.1 subiquity autoinstall - system-install command fails after changing NIC name using netplan
Issue:
I'm trying to use packer to create an Ubuntu Server 22.04 image and I'm running into issues when it comes to renaming the NIC using a valid netplan config and then also installing one package.
...
0
votes
0
answers
112
views
make custom iso of ubuntu
The one thing I want to do is customize Ubuntu to make my own ISO file installation, and one of the things I want to do is enable eno1 (my 1G interface) after installation! Do you know if this is ...
2
votes
0
answers
631
views
Is it possible to autoinstall ubuntu desktop just like the server version?
I have a ubuntu desktop that I also use as a CI/CD server on my home. I always break stuff so I wanted to have a USB stick that auto installs everything.
https://ubuntu.com/server/docs/install/...
1
vote
1
answer
757
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
1
vote
4
answers
3k
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: ...
2
votes
1
answer
3k
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 ...
1
vote
1
answer
648
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-...
0
votes
0
answers
28
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 ...
1
vote
0
answers
41
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 ...
4
votes
0
answers
3k
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-...
2
votes
2
answers
560
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 ...
0
votes
1
answer
33
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 ...
0
votes
0
answers
28
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 ...
0
votes
1
answer
93
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 ...
2
votes
0
answers
218
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 ...
0
votes
0
answers
65
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. ...
-1
votes
1
answer
26
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 ...
1
vote
1
answer
86
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 ...
3
votes
1
answer
805
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. ...
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 ...
0
votes
1
answer
779
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?
0
votes
0
answers
137
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 ...
0
votes
1
answer
309
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:
...
2
votes
2
answers
4k
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 ...
1
vote
1
answer
5k
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 ...
0
votes
1
answer
212
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 ...
3
votes
3
answers
1k
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....
0
votes
0
answers
67
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 ?...
2
votes
1
answer
981
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 ...
1
vote
0
answers
4k
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.
...