meta data for this page
Differences
This shows you the differences between two versions of the page.
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:// | ||
- | * VIM https:// | ||
- | * https:// | ||
- | * https:// | ||
- | * http:// | ||
- | |||
- | ## 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), | ||
- | |||
- | 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 | ||
- | |||
- | < | ||
- | |||
- | dort '' | ||
- | |||
- | ## Linux | ||
- | |||
- | ### Linux commands everybody should know | ||
- | |||
- | * https:// | ||
- | |||
- | * ifconfig is deprecated, you should use ip instead https:// | ||
- | * service and update-rc.d are deprecated, you should use systemctl instead https:// | ||
- | |||
- | < | ||
- | < | ||
- | |||
- | ### Audioswitch Frontpanel (Headphone) - Backpanel (Speakers) | ||
- | |||
- | Open Alsamixer < | ||
- | |||
- | #### Script | ||
- | |||
- | https:// | ||
- | Save script somewhere where its always available, drag& | ||
- | |||
- | <code bash> | ||
- | #!/bin/bash | ||
- | |||
- | STATE=$(amixer sget ' | ||
- | |||
- | if [ " | ||
- | then | ||
- | amixer sset ' | ||
- | else | ||
- | amixer sset ' | ||
- | fi | ||
- | </ | ||
- | |||
- | ### 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 " | ||
- | - 4.1) Enter any description | ||
- | - 4.2) Set the Window class to "Exact Match" and enter " | ||
- | - 4.3) Select all window types | ||
- | - 4.4) Leave everything else as " | ||
- | - 5) On the "Size & Position" | ||
- | - 5.1) Check the " | ||
- | - 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:// | ||
- | - https:// | ||
- | |||
- | ### 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 |