<?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/pl/tags/bash/</link>
    <description>Recent content in bash on Christian Knedel</description>
    <generator>Hugo -- gohugo.io</generator>
    <language>pl-pl</language>
    <lastBuildDate>Sun, 04 Apr 2021 00:00:00 +0000</lastBuildDate><atom:link href="https://www.christian-knedel.de/pl/tags/bash/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>Krótka historia: Sterowanie pulpitem za pomocą xDoTools i xClip</title>
      <link>https://www.christian-knedel.de/pl/post/2021/april/20210404-xdotools-xclip/</link>
      <pubDate>Sun, 04 Apr 2021 00:00:00 +0000</pubDate>
      
      <guid>https://www.christian-knedel.de/pl/post/2021/april/20210404-xdotools-xclip/</guid>
      <description>W tym poradniku pokazuję, jak kontrolować pulpit systemu Linux za pomocą Basha. Do działania robota Bash potrzebne są następujące pakiety: x  &amp;ndash;  +   Terminal   $ apt-get install xdotool xclip   Następnie można używać wszystkich poleceń xdotool, np:
#!/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.</description>
    </item>
    
    <item>
      <title>Generowanie przeglądu stron PDF</title>
      <link>https://www.christian-knedel.de/pl/post/2020/february/20200214-imagemagick-pdf-overview/</link>
      <pubDate>Fri, 14 Feb 2020 00:00:00 +0000</pubDate>
      
      <guid>https://www.christian-knedel.de/pl/post/2020/february/20200214-imagemagick-pdf-overview/</guid>
      <description>Jeśli chcesz utworzyć obraz podglądu strony z pliku PDF, to dobrze trafiłeś!    Krok 1: Utwórz folder roboczy To polecenie służy do tworzenia tymczasowego folderu roboczego: x  &amp;ndash;  +   Terminal   $ mkdir /tmp/bilder  
Krok 2: Oddzielna strona Poniższe polecenie powoduje utworzenie obrazu każdej strony pliku PDF: x  &amp;ndash;  +   Terminal   $ convert 716023b632a9cbe6cad3ab368c202288.pdf /tmp/bilder/page.png</description>
    </item>
    
    <item>
      <title>Raspberry PI: Bez ciepła dla procesora PI</title>
      <link>https://www.christian-knedel.de/pl/post/2020/february/20200214-rpi-cpu-temp/</link>
      <pubDate>Fri, 14 Feb 2020 00:00:00 +0000</pubDate>
      
      <guid>https://www.christian-knedel.de/pl/post/2020/february/20200214-rpi-cpu-temp/</guid>
      <description>Jeśli chcesz wyłączyć malinę w określonej temperaturze, to jesteś we właściwym miejscu. Mam skrypt, który sprawdza temperaturę procesora za pomocą programu 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ótka historia: skrypty Bash z Elgato Stream Deck</title>
      <link>https://www.christian-knedel.de/pl/post/2020/february/20200221-elgato-stream-deck/</link>
      <pubDate>Fri, 07 Feb 2020 00:00:00 +0000</pubDate>
      
      <guid>https://www.christian-knedel.de/pl/post/2020/february/20200221-elgato-stream-deck/</guid>
      <description>Aby włączyć skrypt bash do Elgato Stream Deck, należy najpierw utworzyć skrypt bash.
Krok 1: Utwórz skrypt Bash: Tworzę plik o nazwie &amp;ldquo;say-hallo.sh&amp;rdquo; o następującej zawartości:
#!/bin/bash say &amp;quot;hallo&amp;quot; Krok 2: Ustalanie praw Poniższe polecenie powoduje, że plik staje się wykonywalny: x  &amp;ndash;  +   Terminal   $ chmod 755 say-hallo.sh  
Krok 3: Dołączanie skryptu Bash do pokładu 3.1) Teraz można otworzyć aplikację Stream Deck:    3.</description>
    </item>
    
  </channel>
</rss>
