Fork me on GitHub

Organizations

@github @rss
4 results for bash
  • Difficulty level: It may take a little longer
    In this tutorial I show how to control a Linux - desktop via Bash. The following packages are needed for the bash robot: x – + Terminal $ apt-get install xdotool xclip After that you can use all xdotool commands, for example: #!/bin/bash #mouse bewegen xdotool mousemove 100 200 #Mouse - Koordinaten erfassen xdotool getmouselocation #Mouse-klick xdotool click 1 Mouse-Klick auf Koordinaten xdotool mousemove 100 200 click 1 #usw.
    bash linux robot roboter linux Created Sun, 04 Apr 2021 00:00:00 +0000
  • Difficulty level: It may take a little longer
    images/featured-image.jpg
    If you want to create a page overview image from a PDF file, then you’ve come to the right place! Step 1: Create working folder Use this command to create a temporary working folder: x – + Terminal $ mkdir /tmp/bilder Step 2: Separate page The following command creates an image of each PDF page: x – + Terminal $ convert 716023b632a9cbe6cad3ab368c202288.
    bash linux pdf postscript imagemagick Created Fri, 14 Feb 2020 00:00:00 +0000
  • Difficulty level: It may take a little longer
    images/featured-image.jpg
    If you want to shut down a Raspberry above a certain temperature, then you are in the right place. I have a script that checks the CPU temperature via crontab: #!/bin/sh # This script reads the Broadcom SoC temperature value and shuts down if it # exceeds a particular value. # 80ÂșC is the maximum allowed for a Raspberry Pi. # Get the reading from the sensor and strip the non-number parts SENSOR="`/opt/vc/bin/vcgencmd measure_temp | cut -d "=" -f2 | cut -d "'" -f1`" # -gt only deals with whole numbers, so round it.
    bash cpu cron linux maker Created Fri, 14 Feb 2020 00:00:00 +0000
  • Difficulty level: Not too easy and not too hard
    images/featured-image.png
    If you want to include a bash - script in the Elgato stream deck, then you need a bash script first. Step 1: Create Bash script: I create a file named “say-hallo.sh” with the following content: #!/bin/bash say "hallo" Step 2: Set rights The following command makes the file executable: x – + Terminal $ chmod 755 say-hallo.sh Step 3: Include bash script in the deck 3.
    bash elgato skript stream-deck Created Fri, 07 Feb 2020 00:00:00 +0000