Upgrading to Ubuntu 24.04 on my Lenovo Legion 5
I had been using Ubuntu 22.04 LTS for around 1.5 years, overall I like and prefer Ubuntu and it works quite well on my Legion 5 laptop, even gaming on Ubuntu is good since Nvidia graphics driver comes preinstalled.
One minor issue was with older GTK version, due to this the Dropbox desktop would not run properly, when you install .deb
package and then you try to upgrade your system packages, it will fail and will tell you to apply fixes which will uninstall Dropbox, so every time you want to upgrade your system package you’ve to uninstall Dropbox and then install again.
🔗Ubuntu 24.04 LTS
Ubuntu 24.04 LTS was launched last year, at the time I didn’t want to upgrade. However after a year I thought now it would be good time since major bugs would be fixed by now.
Major reason for upgrades:
- New linux kernel
- no GTK version issue with Dropbox
- some UI (Gnome) improvements
- needed to format the disk to allot bigger partition size for Ubuntu
🔗Installation Experience
The whole installation process was easy. I created bootable USB drive using balenaEtcher. Then disabled secure boot and enabled boot from USB in BIOS. In Lenovo like most systems you press F2 while booting to access BIOS.
I’m dual booting with Windows 11, which I use mostly for gaming purpose (Marvel Rivals). I’ve two SSDs installed 512 GB and 1 TB. 512 GB is all for windows and the 1 TB one I’ve partitioned into: 500 GB for Ubuntu, 32 GB for Swap memory and remaining storage is formatted into NTFS type drive so that both Windows and Ubuntu system can access it.
🔗Installing Apps
- Konsole: The default Terminal is okay but I was bored with it so I decided to give Konsole a try, and I really liked it’s simplicity and accessibility. Although make sure to not install it from Snap store, as snap apps are sandboxed most of the things will not work. I installed it from Flathub.
- VS Code: Installed directly from it’s website
- Cursor: Cursor only provides AppImage which is portable app, so you don’t install, it just runs in a sandbox and have no root access.
- Zed: I gave Zed a try and there are some annoying bugs like when system wakes from sleep Zed window doesn’t render and it shows some other window’s content on top of it, only option to fix it is to kill Zed and restart. Some time extensions won’t install, occasionally on editor, it shows pointer cursor for no reason, no prettier extension, etc.
🔗Alt + Tab Scroll Glitch
Alt + Tab is very old issue that affects X11 system which remains unresolved by Chromium team for all this time. The problem is when you are using Chrome browser and some electron based app (which packages chromium) like VS code, the scroll that you do on one window will also happens on another when you switch the app and do scroll. This jittery and unexpected scroll is pain for a lot of people.
This problem has been discussed here: askubuntu and vscode issue
Solution: There is one workaround by this guy Lucas Resck using Gnome extension which works wonder.
Although this only happens on X11 and not on Wayland but the Nvidia driver support is not good on Wayland so it’s not an option.