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
digital:hardware:workstation [2025/09/18 13:27]
natrius removed
— (current)
Line 1: Line 1:
-# Workstation 
  
-Various things i had to change on my workstation. 
- 
-## Learn Linux 
- 
-  * http://overthewire.org/wargames/bandit/bandit0.html 
-  * VIM https://mariobytes.wordpress.com/2018/10/03/beginners-guide-to-vim/ 
-  * https://www.youtube.com/channel/UCP2bshADPrVMoNrdJvZEQzw 
-  * 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/) 
- 
-## 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. 
- 
-### Zeitprobleme 
- 
-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 
-  - Windows so hacken, dass es Weltzeit verwendet 
- 
-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. 
- 
-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> 
- 
-dort ''DWORD (32Bit)'' mit dem Wert ''00000001'' unter dem Namen ''RealTimeIsUniversal'' ein. Und Voila: Windows verwendet die Hardware-Uhr in UTC. 
- 
-## 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) 
- 
-Open Alsamixer <code>alsamixer</code> and change <code>Analog Output</code> from **"Multichannel"** to **"Stereo Headphones"**. 
- 
-#### Script 
- 
-https://www.computerbase.de/forum/threads/asus-xonar-dgx-unter-ubuntu-switch-frontpanel-backpanel.1724207/#post-20625405 
-Save script somewhere where its always available, drag&drop it in the taskbar and click once for switching between Headphones and Speakers. 
- 
-<code bash> 
-#!/bin/bash 
- 
-STATE=$(amixer sget 'Analog Output',0 | grep Item0 | cut -d "'" -f2) 
- 
-if [ "$STATE" = "Multichannel" ] 
-then 
-  amixer sset 'Analog Output',0 'Stereo Headphones FP' > /dev/null 
-else 
-  amixer sset 'Analog Output',0 'Multichannel' > /dev/null 
-fi 
-</code> 
- 
-### Game opens on the wrong monitor 
- 
-To work around this on KDE, I created the following specific Window Behaviour rule: 
- 
-  - 1) System Settings -> Window Behaviour 
-  - 2) Choose Window Rules on the left 
-  - 3) Click New 
-  - 4) On the "Window matching" tab (first tab), enter the following 
-    - 4.1) Enter any description 
-    - 4.2) Set the Window class to "Exact Match" and enter "metroll" in the input box 
-    - 4.3) Select all window types 
-    - 4.4) Leave everything else as "Unimportantl" and empty/unchecked 
-  - 5) On the "Size & Position" tab 
-    - 5.1) Check the "Screen" checkbox 
-    - 5.2) Set the option to Force 
-    - 5.3) Change the value to the correct monitor (in my case 1) 
-  - 6) Click ok 
-  - 7) Click Apply 
-  - 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 third one just if really needed - the first one is read only and will tell you more. 
- 
-  - Chkdsk 
-  - Chkdsk /f 
-  - Chkdsk /r