Qt5-base 5.15.2+kde+r203-1 severely breaks .desktop files

Hey there,
I just updated my system (updates included linux-zen and qt5-base) and now I can't run any desktop files outside of krunner or the application launcher.
All .desktop files lost their icons, the executable perm has been removed and I am greeted with this message when trying to open it (I also have the same problem with opening .json files for some reason):

Unknown error code 100
execvp: Exec format error
Please send a full bug report at https://bugs.kde.org.

In the terminal it says foo is marked as an executable but could not be run by the operating system.

Also whenever I rightclick on my desktop, the right click menu appears on my other screen...

Do you know, what has happened here?
Thanks!

Did you reboot after updating your kernel?

2 Likes

Yes, I did. Two times.
I may also add, that pamac forced me to update (and reboot) while trying to fix my steam problem

Can u try using the linux or linux-lts kernels?

Also i dont think it would be of any use but please post your inxi ou

1 Like

Was just about to try that :wink:

1 Like

^^^^^^

What is the output when you start programmes in the terminal?

What have you changed before, tried with only one monitor?

Is there a snapshot before the problem occurred?

What is the output when you start programmes in the terminal?

Everything works, just .desktop files don't

What have you changed before, tried with only one monitor?

Another reboot later, my context menu also seems to be working the correct way again
Only works as intended when not clicking on a file on the desktop

Is there a snapshot before the problem occurred?

Yes there is, thanks to timeshift-autosnap

Trying the kernel was also unsuccessful.

inxi -ou
Partition: ID-1: / size: 195.31 GiB used: 38.88 GiB (19.9%) fs: btrfs dev: /dev/sda2 
           uuid: 2a555427-5d35-463f-8011-b023a855b928 
           ID-2: /home size: 736.18 GiB used: 53.47 GiB (7.3%) fs: btrfs dev: /dev/sda3 
           uuid: ebceb2a3-01ad-46a4-9516-0a322af54c8d 
           ID-3: /var/log size: 195.31 GiB used: 38.88 GiB (19.9%) fs: btrfs dev: /dev/sda2 
           uuid: 2a555427-5d35-463f-8011-b023a855b928 
           ID-4: /var/tmp size: 195.31 GiB used: 38.88 GiB (19.9%) fs: btrfs dev: /dev/sda2 
           uuid: 2a555427-5d35-463f-8011-b023a855b928 
Unmounted: ID-1: /dev/sda1 size: 14 MiB fs: <superuser required> label: N/A uuid: N/A 

Can u post the contents of your .desktop file? aswell yoru inxi if someone

inxi -axxxxx
CPU: 6-Core AMD Ryzen 5 2600X (-MT MCP-) speed/min/max: 3231/2200/3600 MHz Kernel: 5.10.46-1-lts x86_64 Up: 4m 
Mem: 6010.2/32120.2 MiB (18.7%) Storage: 2.96 TiB (34.3% used) Procs: 378 Shell: fish 3.2.2 inxi: 3.3.04 
[Desktop Entry]
Version=1.0
Name=MultiMC
GenericName=MultiMC
Comment=Free, open source launcher and instance manager for Minecraft.
Type=Application
Terminal=false
Exec=multimc
Icon=multimc
Categories=Game
Keywords=game;minecraft;

Can u try pointing it to the bash file instead of just multimc maybe like /home/bin/multimc.sh something like that? or if its a jar java -jar /home/.......

Changing the exec line to "/usr/bin/multimc" results in the same problem.
I also don't like the idea, of having to manually edit every .desktop file.

FYI: In the Terminal, the Error code is 8, might be redundant though

Actually, one screen works as intended

1 Like

Now upgrading via sudo pacman -Syyuu (After restoring a snapshot)
I hope it was just pamac being weird

Pamac is a good software to find information on packages and so on, but to update with it is rather scary. Now if it forced you to update, I would say remove it from your computer as soon as possible.

1 Like

It kinda forced me, as I was just about to install a different package and was too lazy to switch to my terminal.
Apparently it's also broken when upgrading via the terminal

Okay!
qt5-base is broken! (I was able to downgrade it luckily)
The kernel seems fine, and is safe to upgrade!

The "uu" will downgrade Always use "u" unless you intend to downgrade something.

(Where do these people learn their pacman commands?)

1 Like

This is intentional.
There were times, where pacman completely broke my system, because some packages needed older packages, that pacman did not give them

Man, you must be mistaking it for Manjaro or something. Go ahead, keep doing it, break your system.

2 Likes