meta data for this page
  •  

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Last revision Both sides next revision
digital:hardware:workstation [2018/10/05 09:55]
natrius [Learn Linux]
digital:hardware:workstation [2019/01/10 16:41]
natrius
Line 1: Line 1:
-mein Rechner +Workstation 
-Diverse Infos zu meinem Gerät bzw. spezifischen Einstellungen+ 
 +Various things i had to change on my workstation.
  
 ## Learn Linux ## Learn Linux
 +
   * http://overthewire.org/wargames/bandit/bandit0.html   * http://overthewire.org/wargames/bandit/bandit0.html
   * VIM https://mariobytes.wordpress.com/2018/10/03/beginners-guide-to-vim/   * VIM https://mariobytes.wordpress.com/2018/10/03/beginners-guide-to-vim/
   * https://www.youtube.com/channel/UCP2bshADPrVMoNrdJvZEQzw   * https://www.youtube.com/channel/UCP2bshADPrVMoNrdJvZEQzw
   * https://linuxjourney.com/   * https://linuxjourney.com/
- +  http://www.tipsandtricks.ga/2018/10/20-linux-command-tips-and-tricks-that.html (https://www.reddit.com/r/linux4noobs/comments/9nw7o9/20_linux_command_tips_and_tricks_that_will_save/)
-## Ausstattung +
-  * **Tower**: Fantec +
-  * **Mainboard**: +
-  * **CPU**: i5-3557k +
-  * **RAM**16GB  +
-  * **GPU**: Nvidia GeForce GTX970 +
- +
-### Eingabegeräte +
-  * **Monitor**: 2x Dell U2311H +
-  * **Maus**: Zowie +
-  * **Tastatur**: Cherry MX3.0+
  
 ## Dualboot ## Dualboot
 +
 Erst Windows, dann Linux, damit der Bootloader korrekt installiert wird. Umgedreht kann es sein, dass direkt in Windows gebooted wird, ohne Auswahlmöglichkeit für Linux - dann muss der Bootloader von Linux einfach neu installiert werden. Erst Windows, dann Linux, damit der Bootloader korrekt installiert wird. Umgedreht kann es sein, dass direkt in Windows gebooted wird, ohne Auswahlmöglichkeit für Linux - dann muss der Bootloader von Linux einfach neu installiert werden.
  
 ### Zeitprobleme ### Zeitprobleme
-Wer Windows und Linux im DualBoot verwendet, wird vielleicht festgestellt haben, dass es immer wieder Probleme mit der Uhrzeit gibt, die mal um 1 oder 2 Stunden abweichen kann. Das liegt daran, dass Windows und Unix-Systeme ihre Uhrzeiten anders in der internen Systemuhr abspeichern. Unix-Systeme speichern historisch ihre Zeit in UTC ab, Windows-Systeme in Lokalzeit (bei uns zur Zeit UTC+2). Zur Wahl stehen drei Möglichkeiten: 
  
-- Damit leben+Wer Windows und Linux im DualBoot verwendet, stellt schnell fest, dass es immer wieder Probleme mit der Uhrzeit gibt, die mal um 1 bis 2 Stunden abweichen kann. Das liegt daran, dass Windows und Unix-Systeme ihre Uhrzeiten anders in der internen Systemuhr abspeichern. Unix-Systeme speichern historisch ihre Zeit in UTC ab, Windows-Systeme in Lokalzeit (bei uns zur Zeit UTC+2). Zur Wahl stehen drei Möglichkeiten: 
 + 
 +  - Damit leben
   - Linux so hacken, dass es Lokalzeit verwendet   - Linux so hacken, dass es Lokalzeit verwendet
   - Windows so hacken, dass es Weltzeit verwendet   - Windows so hacken, dass es Weltzeit verwendet
  
-Nummer 1 ist langweilig. Nummer zwei wäre möglich, aber eigentlich wechselt man die Zeitzone viel zu oft (zum Beispiel beim Wechsel zwischen Sommer- und Winterzeit), als dass das eine einfache, gute und praktikable Lösung zu sein scheint. Also bleibt drittens übrig.+Nummer 1 ist langweilig. Nummer zwei wäre möglich, aber die Zeitzone wird viel zu oft gewechselt (zum Beispiel beim Wechsel zwischen Sommer- und Winterzeit), somit ist das keine einfache, gute und praktikable Lösung. Also bleibt drittens übrig.
  
-Und es ist relativ einfach, denn man muss nur einen Registry-Schlüssel ändern und schon sind diese Probleme gelöst. Man öffnet das Programm „regedit“ und sucht den Schlüssel+Man muss nur einen Registry-Schlüssel ändern und schon sind diese Probleme gelöst. Man öffnet das Programm „regedit“ und sucht den Schlüssel
  
 <code>HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\TimeZoneInformation</code> <code>HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\TimeZoneInformation</code>
  
-hat man diesen gefunden, fügt man dort den DWORD (32Bit) Wert 00000001 unter dem Namen RealTimeIsUniversal“ ein. Und Voila: Windows verwendet die Hardware-Uhr in UTC. Ich habe da auch mal ein Registryfile vorbereitet (win7utcClock.reg), wem das zu schwer ist. Einfach die Datei in eine .reg-Datei umbenennen (also die .txt-Endung entfernen) und los gehts.+dort ''DWORD (32Bit)'' mit dem Wert ''00000001'' unter dem Namen ''RealTimeIsUniversal'' ein. Und Voila: Windows verwendet die Hardware-Uhr in UTC.
  
 ## Linux ## Linux
 +
 +### Linux commands everybody should know
 +
 +  * https://raspberrytips.com/raspberry-pi-commands/
 +
 +  * ifconfig is deprecated, you should use ip instead https://p5r.uk/blog/2010/ifconfig-ip-comparison.html
 +  * service and update-rc.d are deprecated, you should use systemctl instead https://unix.stackexchange.com/questions/300053/what-commands-are-deprecated-by-systemd/300061#300061
 +
 +<code>find /home/pi -iname *.tar.gz</code> will not work, because the asterisk will do shell expansion.
 +<code>find /home/pi -iname "*".tar.gz</code> should do the job
  
 ### Audioswitch Frontpanel (Headphone) - Backpanel (Speakers) ### Audioswitch Frontpanel (Headphone) - Backpanel (Speakers)
Line 45: Line 48:
  
 #### Script #### Script
 +
 https://www.computerbase.de/forum/threads/asus-xonar-dgx-unter-ubuntu-switch-frontpanel-backpanel.1724207/#post-20625405 https://www.computerbase.de/forum/threads/asus-xonar-dgx-unter-ubuntu-switch-frontpanel-backpanel.1724207/#post-20625405
-Save script somewhere +Save script somewhere where its always available, drag&drop it in the taskbar and click once for switching between Headphones and Speakers. 
-<code>+ 
 +<code bash>
 #!/bin/bash #!/bin/bash
  
Line 59: Line 64:
 fi fi
 </code> </code>
-Put it in the Taskbar with Drag&Drop to click once for switching between Headphones and Speakers. 
  
 ### Ubuntu Nvidia Treiber ### Ubuntu Nvidia Treiber
Line 76: Line 80:
  
 ### LTSpice ### LTSpice
 +
 Install wine first Install wine first
     sudo apt-get install wine     sudo apt-get install wine
Line 83: Line 88:
 Click on LTspiceIv.exe and open with wine. Wine will install the program and create a shortcut for you. Click on LTspiceIv.exe and open with wine. Wine will install the program and create a shortcut for you.
  
-### Spiel am falschen Monitor+### Game opens on the wrong monitor 
 To work around this on KDE, I created the following specific Window Behaviour rule: To work around this on KDE, I created the following specific Window Behaviour rule:
  
-1) System Settings -> Window Behaviour +  - 1) System Settings -> Window Behaviour 
-2) Choose Window Rules on the left +  2) Choose Window Rules on the left 
-3) Click New +  3) Click New 
-4) On the "Window matching" tab (first tab), enter the following +  4) On the "Window matching" tab (first tab), enter the following 
-4.1) Enter any description +    4.1) Enter any description 
-4.2) Set the Window class to "Exact Match" and enter "metroll" in the input box +    4.2) Set the Window class to "Exact Match" and enter "metroll" in the input box 
-4.3) Select all window types +    4.3) Select all window types 
-4.4) Leave everything else as "Unimportantl" and empty/unchecked +    4.4) Leave everything else as "Unimportantl" and empty/unchecked 
-5) On the "Size & Position" tab +  5) On the "Size & Position" tab 
-5.1) Check the "Screen" checkbox +    5.1) Check the "Screen" checkbox 
-5.2) Set the option to Force +    5.2) Set the option to Force 
-5.3) Change the value to the correct monitor (in my case 1) +    5.3) Change the value to the correct monitor (in my case 1) 
-6) Click ok +  6) Click ok 
-7) Click Apply +  7) Click Apply 
-8) Try restart Metro Last Light +  8) Try restart Metro Last Light 
 + 
 +## Windows 
 + 
 +### After installing 
 + 
 +  - https://github.com/Sycnex/Windows10Debloater 
 +  - https://github.com/bmrf/tron/blob/master/README.md#use 
 + 
 +### CHKDSK 
 + 
 +Run in the following order to ensure minimum runtime. The following one just if really needed - the first one is read only and will tell you more. 
 + 
 +  - Chkdsk 
 +  - Chkdsk /f 
 +  - Chkdsk /r