Skip to content

Instantly share code, notes, and snippets.

@mrnugget
Created December 19, 2020 18:15
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mrnugget/1ce27510196ca939b9efe49b323edae6 to your computer and use it in GitHub Desktop.
Save mrnugget/1ce27510196ca939b9efe49b323edae6 to your computer and use it in GitHub Desktop.

Windows and Linux logbook

Date: December 2020

  • Windows 10: time is always outdated. I have to sync time every time I reboot.

  • Windows 10: login never accepts password on first try. Known problem.

  • Ubuntu: can't show network activity, because my motherboard seems to be too new?

  • Ubuntu: 4k display and scaling means font sizes are all over the place. Spotify is tiny. Terminal font needs to be two points smaller to match what it is on macOS.

Solutions

  • Final Ubuntu/Gnome settings resolution/scaling etc.:

    • 3840x2160, 60z, Scale: 100%
    • Font scaling in gnome-tweak-tools: 1.25
    • Kitty font size for Jetbrains Mono NL: font_size 11.0
    • VS Code font sizes: {"terminal.integrated.fontSize": 12, "editor.fontSize": 13}
    • Chrome default zoom: 125%
  • Changing the scroll wheel speed in Ubuntu

    • Following this: https://dev.to/bbavouzet/ubuntu-20-04-mouse-scroll-wheel-speed-536o
    • Then in ~/.imwheelirc:
      ".*"
      None,      Up,   Button4, 4
      None,      Down, Button5, 4
      Control_L, Up,   Control_L|Button4
      Control_L, Down, Control_L|Button5
      Shift_L,   Up,   Shift_L|Button4
      Shift_L,   Down, Shift_L|Button5
      
    • I think the 4 is the speed in line 2 and 3
    • Then start it with: imwheel -b "4 5"
    • Added it to the startup applications of Ubuntu/Gnome

Debugging network activity not working on ubuntu

No network activity monitor shows any activity.

$ lspci | grep Ether
07:00.0 Ethernet controller: Intel Corporation Intel(R) Ethernet Controller I225-V (rev 02)
$ sudo dmesg | grep igc                                                                               -1-
[    0.970657] igc 0000:07:00.0 (unnamed net_device) (uninitialized): PHC added
[    1.137717] igc 0000:07:00.0: 4.000 Gb/s available PCIe bandwidth (5.0 GT/s PCIe x1 link)
[    1.137719] igc 0000:07:00.0 eth0: MAC: 24:4b:fe:5d:62:6d
[    1.138545] igc 0000:07:00.0 enp7s0: renamed from eth0
[    8.402600] igc 0000:07:00.0 enp7s0: NIC Link is Up 1000 Mbps Full Duplex, Flow Control: RX
$ sudo dmidecode | grep Product
        Product Name: System Product Name
        Product Name: ROG STRIX B550-F GAMING (WI-FI)

This works:

sudo iftop -i enp7s0 -n -N -t

I think it might be that the network controller, the "I225-V" is not well supported yet.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment