Page 1 of 1

Untrusted application launcher in Xfce 4.18

Posted: 26 Oct 2024, 09:43
by Kulle
In Xfce 4.18, the following issue occurs:
When double-clicking a desktop file on the desktop, the "Untrusted application launcher" window always appears.
This is very annoying.
So far, I have not found a way to prevent this.
The following command did not succeed:

Code: Select all

xfconf-query -c xfce4-desktop -p /desktop-item/desktop-file-extensions --create --type string -s "true"
Maybe you need to make a change in the ~/.config/xfce4/xfconf/xfce-perchannel-xml/xfce4-desktop.xml file?
Which one?

This annoying effect does not exist in Xfce 4.16.

However, there must be a way to eliminate this bothersome effect.
Any help would be greatly appreciated.

Untrusted application launcher in Xfce 4.18

Posted: 26 Oct 2024, 11:20
by i3slkiller
:hi:
This may sound stupid, but did you tried to make .desktop file executable?

Code: Select all

chmod +x file.desktop

Untrusted application launcher in Xfce 4.18

Posted: 27 Oct 2024, 15:46
by Kulle
Hi i3slkiller,

All .desktop files are executable, but the "Untrusted application launcher" window still appears every time.
This only applies to Xfce 4.18.
This is a new, additional security mechanism in version 4.18

Porteus 5.01 uses Xfce 4.16 where these annoying windows do not appear.

However, PorteuX 1.7 uses Xfce 4.18.

However, there must be a way to eliminate this bothersome effect.

Untrusted application launcher in Xfce 4.18

Posted: 27 Oct 2024, 16:03
by Kulle
Here I found something about this problem:

https://bbs.archlinux.org/viewtopic.php?id=282100

Untrusted application launcher in Xfce 4.18

Posted: 01 Nov 2024, 18:24
by porteux
Assuming you're using PorteuX 1.7+ current, let me know if this Xfce 4.18 module fixes the issue for you: https://www.mediafire.com/file/hepyd00l ... 241101.xzm

Untrusted application launcher in Xfce 4.18

Posted: 02 Nov 2024, 08:13
by Kulle
Hi porteux,

Code: Select all

000-kernel-6.11.4.xzm            
001-core-current-20241019.xzm      
002-gui-current-20241019.xzm       
002-xtra-current-20241019.xzm       
003-xfce-4.18-current-20241101.xzm  
freezes at
INIT: version 3.10 booting

Untrusted application launcher in Xfce 4.18

Posted: 02 Nov 2024, 08:28
by Kulle
I have now found a solution to the problem:

Code: Select all

find /home/guest/desktop/ -name "*.desktop" -type f -print0 | xargs -0 -I {} sh -c 'gio set "{}" "metadata::xfce-exe-checksum" "$(sha256sum "{}" | cut -d " " -f 1)"'

Untrusted application launcher in Xfce 4.18

Posted: 02 Nov 2024, 11:02
by porteux
Kulle wrote:
02 Nov 2024, 08:13
Hi porteux,

Code: Select all

000-kernel-6.11.4.xzm            
001-core-current-20241019.xzm      
002-gui-current-20241019.xzm       
002-xtra-current-20241019.xzm       
003-xfce-4.18-current-20241101.xzm  
freezes at
INIT: version 3.10 booting
I can't replicate this issue in Always Fresh.

You're either not booting in Always Fresh or you have a broken hardware.

What happens if you boot into Text Mode Fresh and run 'startx'?

Untrusted application launcher in Xfce 4.18

Posted: 02 Nov 2024, 15:13
by Kulle
Again in Always fresh: freezes at INIT: version 3.10 booting

And now: boot into Text Mode Fresh:

...
crcreating live filesystem
...
3
live system is ready
INIT: version 3.10 booting

freezes !

Untrusted application launcher in Xfce 4.18

Posted: 02 Nov 2024, 16:08
by Kulle
Hi porteux,

K1) 000-kernel-6.11.4.xzm 163,7 MiB (171.634.688 Bytes)
K2) 000-kernel-6.11.4.xzm 155,9 MiB (163.467.264 Bytes)

I have tried both kernels.
With kernel K1, Porteux 1.7 current Xfce runs
With kernel K2, it freezes at INIT: version 3.10 booting

But that is not the topic here.
The problem is solved, see above #7