meta data for this page
- en
**This is an old revision of the document!**
mein Rechner
Diverse Infos zu meinem Gerät bzw. spezifischen Einstellungen.
Learn Linux
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
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, 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
- 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 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.
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
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\TimeZoneInformation
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.
Linux
Linux commands everybody should know
- 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
find /home/pi -iname *.tar.gz
will not work, because the asterisk will do shell expansion.
find /home/pi -iname "*".tar.gz
should do the job
Audioswitch Frontpanel (Headphone) - Backpanel (Speakers)
Open Alsamixer
alsamixer
and change
Analog Output
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
#!/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
Put it in the Taskbar with Drag&Drop to click once for switching between Headphones and Speakers.
Ubuntu Nvidia Treiber
Kontrolle, was installiert ist und welche Treiber empfohlen werden
ubuntu-drivers devices
PPA hinzufügen
sudo add-apt-repository ppa:graphics-drivers/ppa
sudo apt update
Für GTX 970
sudo apt install nvidia-390
Gerät Neustarten
LTSpice
Install wine first
sudo apt-get install wine
Download LTspice via http://www.analog.com/en/design-center/design-tools-and-calculators/ltspice-simulator.html
Click on LTspiceIv.exe and open with wine. Wine will install the program and create a shortcut for you.
Spiel am falschen 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