<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>bash on Christian Knedel</title>
    <link>https://www.christian-knedel.de/sk/tags/bash/</link>
    <description>Recent content in bash on Christian Knedel</description>
    <generator>Hugo -- gohugo.io</generator>
    <language>sk-sk</language>
    <lastBuildDate>Sun, 04 Apr 2021 00:00:00 +0000</lastBuildDate><atom:link href="https://www.christian-knedel.de/sk/tags/bash/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>Krátky príbeh: Ovládanie pracovnej plochy pomocou nástrojov xDoTools a xClip</title>
      <link>https://www.christian-knedel.de/sk/post/2021/april/20210404-xdotools-xclip/</link>
      <pubDate>Sun, 04 Apr 2021 00:00:00 +0000</pubDate>
      
      <guid>https://www.christian-knedel.de/sk/post/2021/april/20210404-xdotools-xclip/</guid>
      <description>V tomto návode ukážem, ako ovládať Linux - pracovnú plochu pomocou Bash. Pre robota Bash sú potrebné nasledujúce balíky: x  &amp;ndash;  +   Terminal   $ apt-get install xdotool xclip   Potom môžete používať všetky príkazy xdotool, napríklad:
#!/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... V nasledujúcom príklade sa vyhľadá okno prehliadača Firefox a otvorí sa nová karta s adresou Ubuntu:</description>
    </item>
    
    <item>
      <title>Generovanie prehľadu stránok PDF</title>
      <link>https://www.christian-knedel.de/sk/post/2020/february/20200214-imagemagick-pdf-overview/</link>
      <pubDate>Fri, 14 Feb 2020 00:00:00 +0000</pubDate>
      
      <guid>https://www.christian-knedel.de/sk/post/2020/february/20200214-imagemagick-pdf-overview/</guid>
      <description>Ak chcete vytvoriť obrázok prehľadu stránok zo súboru PDF, potom ste na správnom mieste!    Krok 1: Vytvorenie pracovného priečinka Pomocou tohto príkazu vytvorte dočasný pracovný priečinok: x  &amp;ndash;  +   Terminal   $ mkdir /tmp/bilder  
Krok 2: Samostatná stránka Nasledujúci príkaz vytvorí obrázok každej stránky PDF: x  &amp;ndash;  +   Terminal   $ convert 716023b632a9cbe6cad3ab368c202288.pdf /tmp/bilder/page.png</description>
    </item>
    
    <item>
      <title>Raspberry PI: Bez zahrievania pre procesor PI</title>
      <link>https://www.christian-knedel.de/sk/post/2020/february/20200214-rpi-cpu-temp/</link>
      <pubDate>Fri, 14 Feb 2020 00:00:00 +0000</pubDate>
      
      <guid>https://www.christian-knedel.de/sk/post/2020/february/20200214-rpi-cpu-temp/</guid>
      <description>Ak chcete vypnúť Raspberry pri určitej teplote, ste na správnom mieste. Mám skript, ktorý kontroluje teplotu procesora cez 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=&amp;quot;`/opt/vc/bin/vcgencmd measure_temp | cut -d &amp;quot;=&amp;quot; -f2 | cut -d &amp;quot;&#39;&amp;quot; -f1`&amp;quot; # -gt only deals with whole numbers, so round it.</description>
    </item>
    
    <item>
      <title>Krátky príbeh: Skripty Bash s Elgato Stream Deck</title>
      <link>https://www.christian-knedel.de/sk/post/2020/february/20200221-elgato-stream-deck/</link>
      <pubDate>Fri, 07 Feb 2020 00:00:00 +0000</pubDate>
      
      <guid>https://www.christian-knedel.de/sk/post/2020/february/20200221-elgato-stream-deck/</guid>
      <description>Ak chcete do Elgato Stream Deck zahrnúť skript bash, potrebujete najprv skript bash.
Krok 1: Vytvorenie skriptu Bash: Vytvorím súbor s názvom &amp;ldquo;say-hallo.sh&amp;rdquo; s nasledujúcim obsahom:
#!/bin/bash say &amp;quot;hallo&amp;quot; Krok 2: Nastavenie práv Nasledujúci príkaz vykoná súbor: x  &amp;ndash;  +   Terminal   $ chmod 755 say-hallo.sh  
Krok 3: Zahrnutie skriptu Bash do balíka 3.1) Teraz môžete otvoriť aplikáciu Stream Deck:    3.</description>
    </item>
    
  </channel>
</rss>
