Skip to content
Snippets Groups Projects
Verified Commit 1dd4bb61 authored by Lars Frost's avatar Lars Frost
Browse files

Update and improve Doku

parent 9d1ec216
No related branches found
No related tags found
No related merge requests found
Doku/screenshot/umbrello.png

126 KiB

\subsection{Spectacle}
Spectacle ist das Screenshot-Tool unter KDE\footnote{Das Desktop-Environment das auf unserem Manjaro Linux drauf ist}.
Es kann über den \startmenu oder die \enquote{Druck}-Taste aufgerufen werden.
Die Tastenkombinationen (z.B.\ \texttt{Meta+Druck} für einen Screenshot des aktiven Fensters) können unter \texttt{Systemeinstellungen->Kurzbefehle->Spectacle} eingesehen und geändert werden.
\begin{center}
\includegraphics[width=0.95\linewidth]{screenshot/spectacle}
\end{center}
\subsection{spyder} \subsection{spyder}
Spyder ist eine Entwicklungsumgebung für Python. Spyder ist eine Entwicklungsumgebung für Python.
Aus dem Terminal öffnet man spyder mit \texttt{spyder3} bzw. \texttt{spyder}, je nach Pythonversion. Die Dokumentation für Spyder findest du \url{https://docs.spyder-ide.org/current/index.html}.
\subsection{tmux}\label{ch_tmux} \subsection{tmux}\label{ch_tmux}
Tmux ist ein weiterer Terminalmultiplexer für die Kommandozeile. Tmux ist ein Terminalmultiplexer für die Kommandozeile.
Die Benutzung und Funktionalität ist ähnlich der von \texttt{screen}. Terminalmultiplexer können mehrere Terminals auf einer Konsole verwalten und im Hintergrund am laufen halten, sodass die Konsole vorrübergehend geschlossen werden kann.
Terminalmultiplexer sind vor allem interressant, wenn du mit der Linux-Kommandozeile schon vertraut bist\footnote{Die Leute neigen dann dazu viel im Terminal zu machen, damit sie mit dem Interface vertraut sind, das sie auch in Skripten verwenden können} oder dich auf das Terminal eines anderen Rechners verbindest, dessen Prozesse weiterlaufen sollen, falls du die Internetverbindung verlierst.
Eine detailierte Beschreibung findest du mit \texttt{man screen} in der Manpage. Eine gute Einführung in die Grundlagen von tmux findest du auf \url{https://media.ccc.de/v/gpn18\-105-tmux-warum-ein-schwarzes-fenster-am-bildschirm-reicht}.
Eine vollständige Übersicht über die Funktionalität von tmux findest du wie immer im Manual (\texttt{man tmux} auf der Kommandozeile).
\subsection{umbrello}
Umbrello ist ein Programm mit grafischer Oberfläche zur Erstellung verschiedener Diagramme; zum Beispiel UML-Diagramme (für Klassen und Usecases), Programmablaufdiagramme und vieles mehr.
Es ist hilfreich in der Vorlesung Softwaretechnik.
Umbrello bietet verschiedene Exportmöglichkeiten in die gängigen vektor- und pixelbasierten Bildformate, sodass es universell verwendbar ist.
Das Programm arbeitet nach dem Prinzip "`What you see is what you get"'.
Die deutsche Dokumentation findest du unter \url{https://docs.kde.org/trunk5/de/umbrello/umbrello}.
\begin{center}
\includegraphics[width=0.95\linewidth]{screenshot/umbrello}
\end{center}
Aufzurufen in der Kommondozeile oder im \startmenu mit: \texttt{umbrello}
Eine Alternative zu Umbrello, bei der Diagramme aus Textdateien generiert werden, ist PlantUML (siehe \url{https://plantuml.com/}).
<?xml version="1.0" encoding="UTF-8"?>
<xmi:XMI xmi:version="2.1" xmlns:xmi="http://schema.omg.org/spec/XMI/2.1" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:uml="http://schema.omg.org/spec/UML/2.1">
<xmi:Documentation exporter="umbrello uml modeller 2.35.1 (Applications 22.08.1) http://umbrello.kde.org" exporterVersion="2.0.4"/>
<uml:Model xmi:id="m1" name="UML Model">
<packagedElement xmi:type="uml:Stereotype" xmi:id="folder" name="folder"/>
<packagedElement xmi:type="uml:Stereotype" xmi:id="dataType" name="dataType"/>
<packagedElement xmi:type="uml:Stereotype" xmi:id="interface" name="interface"/>
<packagedElement xmi:type="uml:Model" xmi:id="Logical_View" name="Logical View">
<uml:Package xmi:id="Datatypes" name="Datatypes" stereotype="folder">
<packagedElement xmi:type="uml:DataType" xmi:id="uoWF4PuFfQYXq" name="char"/>
<packagedElement xmi:type="uml:DataType" xmi:id="u6Hb9LqE4BWDf" name="int"/>
<packagedElement xmi:type="uml:DataType" xmi:id="uSsj5u2K6MEGN" name="float"/>
<packagedElement xmi:type="uml:DataType" xmi:id="uOsYLEQjytdWt" name="double"/>
<packagedElement xmi:type="uml:DataType" xmi:id="uCZI9fdofyS13" name="bool" isActive="false"/>
<packagedElement xmi:type="uml:DataType" xmi:id="uqzJMQheDWnAH" name="string" isActive="false"/>
<packagedElement xmi:type="uml:DataType" xmi:id="uCBvdPgGYLnug" name="unsigned char" isActive="false"/>
<packagedElement xmi:type="uml:DataType" xmi:id="uBbO0AL9aj418" name="signed char" isActive="false"/>
<packagedElement xmi:type="uml:DataType" xmi:id="uXijEsfM1LA3k" name="unsigned int" isActive="false"/>
<packagedElement xmi:type="uml:DataType" xmi:id="uMBwrAqJ1Yz6A" name="signed int" isActive="false"/>
<packagedElement xmi:type="uml:DataType" xmi:id="uwIpwtVfclxeC" name="short int" isActive="false"/>
<packagedElement xmi:type="uml:DataType" xmi:id="u3bEZ86lUWVuC" name="unsigned short int" isActive="false"/>
<packagedElement xmi:type="uml:DataType" xmi:id="uPTaV0Qc6x44l" name="signed short int" isActive="false"/>
<packagedElement xmi:type="uml:DataType" xmi:id="u2V3hfe2JxKza" name="long int" isActive="false"/>
<packagedElement xmi:type="uml:DataType" xmi:id="u5dPMnG34JCTC" name="signed long int" isActive="false"/>
<packagedElement xmi:type="uml:DataType" xmi:id="ulaz5fCKQgTSY" name="unsigned long int" isActive="false"/>
<packagedElement xmi:type="uml:DataType" xmi:id="uxoPvKSsyetr7" name="long double" isActive="false"/>
<packagedElement xmi:type="uml:DataType" xmi:id="uil3kYVg0Rifa" name="wchar_t" isActive="false"/>
<packagedElement xmi:type="uml:DataType" xmi:id="uJq2L4DsU4Fqg" name="boolean" stereotype="dataType"/>
<packagedElement xmi:type="uml:DataType" xmi:id="uPDPzDqVjRnfj" name="byte" stereotype="dataType"/>
<packagedElement xmi:type="uml:DataType" xmi:id="uucoofQZocxQM" name="short" stereotype="dataType"/>
<packagedElement xmi:type="uml:DataType" xmi:id="uZZHjke4YbtYm" name="long" stereotype="dataType"/>
<packagedElement xmi:type="uml:DataType" xmi:id="umLiTnx7nh97E" name="String" stereotype="dataType"/>
<packagedElement xmi:type="uml:DataType" xmi:id="uaRh30ctBoFdV" name="Integer" stereotype="dataType"/>
<packagedElement xmi:type="uml:DataType" xmi:id="upCYjARwJBsq1" name="Character" stereotype="dataType"/>
<packagedElement xmi:type="uml:DataType" xmi:id="uiIW7qsXNXjKw" name="Boolean" stereotype="dataType"/>
<packagedElement xmi:type="uml:DataType" xmi:id="uE3iEUvL36g6L" name="Float" stereotype="dataType"/>
<packagedElement xmi:type="uml:DataType" xmi:id="uTRdPNN5MTOEI" name="Double" stereotype="dataType"/>
<packagedElement xmi:type="uml:DataType" xmi:id="uoIlhqGgrpZNK" name="Byte" stereotype="dataType"/>
<packagedElement xmi:type="uml:DataType" xmi:id="uGLIE1m0Z60nK" name="Short" stereotype="dataType"/>
<packagedElement xmi:type="uml:DataType" xmi:id="uKlzUiZseGUIh" name="Long" stereotype="dataType"/>
<packagedElement xmi:type="uml:DataType" xmi:id="uizTEZ78oGhe6" name="StringBuffer" stereotype="dataType"/>
<packagedElement xmi:type="uml:DataType" xmi:id="uMbLTN9CgjO91" name="StringBuilder" stereotype="dataType"/>
</uml:Package>
<packagedElement xmi:type="uml:Class" xmi:id="u3dmPbENsS3b7" name="Studi">
<ownedAttribute xmi:type="uml:Property" xmi:id="uh8ckh3BCOxvU" name="name" type="umLiTnx7nh97E"/>
<ownedAttribute xmi:type="uml:Property" xmi:id="uYii2Hh6YwA3x" name="email" type="umLiTnx7nh97E"/>
</packagedElement>
<packagedElement xmi:type="uml:Interface" xmi:id="ufdrWh4ScCEGF" name="OSAK" isAbstract="true" stereotype="interface">
<ownedOperation xmi:type="uml:Operation" xmi:id="uk5j1kmW1mVnI" name="helfen" isAbstract="true" isVirtual="true">
<ownedParameter xmi:type="uml:Parameter" xmi:id="uD2Z7eJWvmddV" name="lumi" visibility="private" type="u3dmPbENsS3b7" value=""/>
</ownedOperation>
</packagedElement>
<packagedElement xmi:type="uml:Class" xmi:id="uGoc9eRKHTR1s" name="OSAKStudi">
<generalization xmi:type="uml:Generalization" xmi:id="u6igFQV03Q5vs" general="u3dmPbENsS3b7"/>
<ownedAttribute xmi:type="uml:Property" xmi:id="uAlvcIHwMK6zu" name="name" type="umLiTnx7nh97E"/>
<ownedAttribute xmi:type="uml:Property" xmi:id="u5mV2XspC26Cn" name="email" type="umLiTnx7nh97E"/>
<ownedOperation xmi:type="uml:Operation" xmi:id="uCChpBYAcYcpE" name="helfen">
<ownedParameter xmi:type="uml:Parameter" xmi:id="uzPBXq3qlRzzo" name="lumi" visibility="private" type="u3dmPbENsS3b7" value=""/>
</ownedOperation>
</packagedElement>
<packagedElement xmi:type="uml:Association" xmi:id="uz1Dj4TglII4N" name="">
<ownedEnd xmi:type="uml:AssociationEnd" xmi:id="ufRNvU6l5d4iN" name="" type="uGoc9eRKHTR1s" aggregation="none" isNavigable="false" changeability="changeable"/>
<ownedEnd xmi:type="uml:AssociationEnd" xmi:id="uKKjA6EVCUTPE" name="" type="u3dmPbENsS3b7" aggregation="none" isNavigable="true" changeability="changeable"/>
</packagedElement>
<packagedElement xmi:type="uml:Dependency" xmi:id="u4kedszpqClAl" name="" client="uGoc9eRKHTR1s" supplier="ufdrWh4ScCEGF"/>
<xmi:Extension extender="umbrello">
<diagrams resolution="96">
<diagram xmi.id="uA2WPpBkiDJUb" name="class diagram" type="1" documentation="" backgroundcolor="#ffffff" fillcolor="#ffffc0" font="Noto Sans,10,-1,0,50,0,0,0,0,0" griddotcolor="#d3d3d3" linecolor="#990000" linewidth="0" textcolor="#000000" usefillcolor="1" showattribassocs="1" showatts="1" showattsig="1" showops="1" showopsig="1" showpackage="1" showpubliconly="0" showscope="1" showstereotype="2" localid="-1" showgrid="1" snapgrid="0" snapcsgrid="0" snapx="25" snapy="25" zoom="100" canvasheight="800" canvaswidth="1100" isopen="1">
<widgets>
<interfacewidget xmi.id="ufdrWh4ScCEGF" localid="upUFI35g0qSbT" textcolor="#000000" linecolor="#990000" linewidth="0" usefillcolor="1" usesdiagramfillcolor="0" usesdiagramusefillcolor="0" fillcolor="#ffffc0" font="Noto Sans,10,-1,5,50,0,0,0,0,0,Regular" autoresize="0" x="98.8435" y="124.722" width="176.3" height="100.2" isinstance="0" showstereotype="2" showoperations="1" showpubliconly="0" showopsigs="601" showpackage="0" showscope="1" showattributes="0" showattsigs="601" drawascircle="0"/>
<classwidget xmi.id="uGoc9eRKHTR1s" localid="uCzPE67ehiqaL" textcolor="#000000" linecolor="#990000" linewidth="0" usefillcolor="1" usesdiagramfillcolor="0" usesdiagramusefillcolor="0" fillcolor="#ffffc0" font="Noto Sans,10,-1,5,50,0,0,0,0,0,Regular" autoresize="0" x="200" y="350" width="151.75" height="100.431" isinstance="0" showstereotype="2" showoperations="1" showpubliconly="0" showopsigs="601" showpackage="1" showscope="1" showattributes="1" showattsigs="601"/>
<classwidget xmi.id="u3dmPbENsS3b7" localid="u7G3kcRYUsE37" textcolor="#000000" linecolor="#990000" linewidth="0" usefillcolor="1" usesdiagramfillcolor="0" usesdiagramusefillcolor="0" fillcolor="#ffffc0" font="Noto Sans,10,-1,5,50,0,0,0,0,0,Regular" autoresize="0" x="350.572" y="125" width="174.25" height="99.6" isinstance="0" showstereotype="2" showoperations="1" showpubliconly="0" showopsigs="601" showpackage="1" showscope="1" showattributes="1" showattsigs="601"/>
</widgets>
<messages/>
<associations>
<assocwidget xmi.id="u6igFQV03Q5vs" localid="ugBM4ZGFo0VGz" textcolor="none" linecolor="#990000" linewidth="0" usefillcolor="1" usesdiagramfillcolor="1" usesdiagramusefillcolor="1" fillcolor="none" font="Noto Sans,10,-1,0,50,0,0,0,0,0" autoresize="1" seqnum="" type="500" widgetaid="uGoc9eRKHTR1s" widgetbid="u3dmPbENsS3b7" indexa="0" totalcounta="0" indexb="0" totalcountb="0">
<linepath layout="Orthogonal">
<startpoint startx="311.924" starty="350"/>
<endpoint endx="401.946" endy="224.6"/>
</linepath>
</assocwidget>
<assocwidget xmi.id="u4kedszpqClAl" localid="uPITdUyGOdFcS" textcolor="none" linecolor="#990000" linewidth="0" usefillcolor="1" usesdiagramfillcolor="1" usesdiagramusefillcolor="1" fillcolor="none" font="Noto Sans,10,-1,0,50,0,0,0,0,0" autoresize="1" seqnum="" type="502" widgetaid="uGoc9eRKHTR1s" widgetbid="ufdrWh4ScCEGF" indexa="0" totalcounta="0" indexb="0" totalcountb="0">
<linepath layout="Orthogonal">
<startpoint startx="256.073" starty="350"/>
<endpoint endx="206.75" endy="224.922"/>
</linepath>
</assocwidget>
</associations>
</diagram>
</diagrams>
</xmi:Extension>
</packagedElement>
<packagedElement xmi:type="uml:Model" xmi:id="Use_Case_View" name="Use Case View"/>
<packagedElement xmi:type="uml:Model" xmi:id="Component_View" name="Component View"/>
<packagedElement xmi:type="uml:Model" xmi:id="Deployment_View" name="Deployment View"/>
<packagedElement xmi:type="uml:Model" xmi:id="Entity_Relationship_Model" name="Entity Relationship Model"/>
</uml:Model>
<xmi:Extension extender="umbrello">
<docsettings viewid="uA2WPpBkiDJUb" documentation="" uniqueid="uzPBXq3qlRzzo"/>
<listview>
<listitem id="Views" type="800" open="1">
<listitem id="Component_View" type="821" open="1"/>
<listitem id="Deployment_View" type="827" open="1"/>
<listitem id="Entity_Relationship_Model" type="836" open="1"/>
<listitem id="Logical_View" type="801" open="1">
<listitem id="uA2WPpBkiDJUb" type="807" label="class diagram" open="0"/>
<listitem id="Datatypes" type="830" open="0">
<listitem id="uJq2L4DsU4Fqg" type="829" open="1"/>
<listitem id="uiIW7qsXNXjKw" type="829" open="1"/>
<listitem id="uPDPzDqVjRnfj" type="829" open="1"/>
<listitem id="uoIlhqGgrpZNK" type="829" open="1"/>
<listitem id="upCYjARwJBsq1" type="829" open="1"/>
<listitem id="uOsYLEQjytdWt" type="829" open="1"/>
<listitem id="uTRdPNN5MTOEI" type="829" open="1"/>
<listitem id="uE3iEUvL36g6L" type="829" open="1"/>
<listitem id="uaRh30ctBoFdV" type="829" open="1"/>
<listitem id="uZZHjke4YbtYm" type="829" open="1"/>
<listitem id="uKlzUiZseGUIh" type="829" open="1"/>
<listitem id="uucoofQZocxQM" type="829" open="1"/>
<listitem id="uGLIE1m0Z60nK" type="829" open="1"/>
<listitem id="umLiTnx7nh97E" type="829" open="1"/>
<listitem id="uizTEZ78oGhe6" type="829" open="1"/>
<listitem id="uMbLTN9CgjO91" type="829" open="1"/>
</listitem>
<listitem id="ufdrWh4ScCEGF" type="817" open="1">
<listitem id="uk5j1kmW1mVnI" type="815" open="0"/>
</listitem>
<listitem id="uGoc9eRKHTR1s" type="813" open="1">
<listitem id="u5mV2XspC26Cn" type="814" open="0"/>
<listitem id="uCChpBYAcYcpE" type="815" open="0"/>
<listitem id="uAlvcIHwMK6zu" type="814" open="0"/>
</listitem>
<listitem id="u3dmPbENsS3b7" type="813" open="1">
<listitem id="uYii2Hh6YwA3x" type="814" open="0"/>
<listitem id="uh8ckh3BCOxvU" type="814" open="0"/>
</listitem>
</listitem>
<listitem id="Use_Case_View" type="802" open="1"/>
</listitem>
</listview>
<codegeneration>
<codegenerator language="Java"/>
</codegeneration>
</xmi:Extension>
</xmi:XMI>
\subsection{wxMaxima}
wxMaxima ist eine grafische Oberfläche für das Computer-Algebra-System Maxima, mit dem man symbolisch rechnen kann.
Es wird im Terminal mit \texttt{wxmaxima} aufgerufen.
\subsection{zsh} \subsection{zsh}
Die \texttt{zsh} ist eine Shell. Wenn du ein Terminal\footnote{auch bekannt unter den Begriffen \emph{Konsole}, \emph{Kommandozeile}, \emph{Eingabeaufforderung}, ...} öffnest, kannst du dort Programme starten und andere Kommandos ausführen. Das Programm, das dir im Terminal diese Möglichkeit zur Verfügung stellt ist eine sogenannte Shell. In der Standardkonfiguration ist diese Shell \texttt{bash}; die \texttt{zsh} ist eine Alternative. Die \texttt{zsh} ist eine Shell. Wenn du ein Terminal\footnote{auch bekannt unter den Begriffen \emph{Konsole}, \emph{Kommandozeile}, \emph{Eingabeaufforderung}, \ldots} öffnest, kannst du dort Programme starten und andere Kommandos ausführen. Das Programm, das dir im Terminal diese Möglichkeit zur Verfügung stellt ist eine sogenannte Shell. In der Standardkonfiguration ist diese Shell für den \texttt{root} User \texttt{bash} und \texttt{zsh} für den regulären User.
Du startest die \texttt{zsh} durch Eingabe dieser drei Buchstaben in deinem Terminal. Wenn du \texttt{exec} (und ein Leerzeichen) davor schreibst, sorgst du dafür, dass deine aktuelle Shell beim Wechsel beendet wird. Um die Shell dauerhaft zu ändern gib: Im Gegensatz zur \texttt{bash}, bietet dir die neuere \texttt{zsh} umfangreichere Möglichkeiten zur automatischen Vervollständigung und Korrektur deiner Eingaben.
\begin{lstlisting} Um die Vervollständigung für die aktuell angefangene Eingabe anzuzeigen, kannst die Tab-Taste drücken.
chsh
Passwort:
Login-Shell für lumi wird geändert.
Geben Sie einen neuen Wert an oder drücken Sie ENTER für den Standardwert
Login-Shell [/bin/bash]: /usr/bin/zsh
\end{lstlisting}
Eine Shell bietet dir umfangreiche Möglichkeiten zur Steuerung und Benutzung deines Systems und lässt sich ebenso sehr gut skripten, d.h.\ automatisieren.
Doch was bietet die \texttt{zsh} im Gegensatz zum Standard? Wenn du sie das erste Mal startest, durchläufst du einen Konfigurationsassistenten mit dem du die vielen Funktionen so einstellen kannst, wie du es möchtest. Dabei werden dir einige sinnvolle Möglichkeiten vorgeschlagen, die du einfach auswählen kannst. Dir wird auffallen, dass dir umfangreiche Möglichkeiten zur automatischen Vervollständigung und Korrektur deiner Eingaben angeboten werden.
Eine Shell bietet dir umfangreiche Möglichkeiten zur Steuerung und Benutzung deines Systems und lässt sich ebenso sehr gut skripten, d.h. automatisieren.
%Zur Einrichtung und grundlegenden Benutzung wird es bei der KISS\footnote{Kommunikation und Installation schöner Software, unsere Linux Workshops} einen Workshop geben. Auch im Internet findest du Lernmaterial. %Zur Einrichtung und grundlegenden Benutzung wird es bei der KISS\footnote{Kommunikation und Installation schöner Software, unsere Linux Workshops} einen Workshop geben. Auch im Internet findest du Lernmaterial.
Die \texttt{zsh} ist POSIX-kompatibel, d.h. du kannst sehr viele Anleitungen zu Shells im Allgemeinen benutzen, die du im Internet finden kannst. Die \texttt{zsh} ist POSIX-kompatibel, d.h. du kannst sehr viele Anleitungen zu Shells im Allgemeinen benutzen, die du im Internet finden kannst.
Befehle und Skripte für die \texttt{bash} funktionieren fast immer auch unter \texttt{zsh}.
...@@ -41,6 +41,8 @@ append_group() { ...@@ -41,6 +41,8 @@ append_group() {
rm -f "$BUILD" # clear build on to allow rerunnning this script rm -f "$BUILD" # clear build on to allow rerunnning this script
append_package "HEADER" append_package "HEADER"
append_package "launcher"
append_package "spectacle"
append_group "COMMON" "cCdD" append_group "COMMON" "cCdD"
append_group "MATHEMATIK" "mM" append_group "MATHEMATIK" "mM"
append_group "PHYSIK" "pP" append_group "PHYSIK" "pP"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment