Page 2 of 4
Re: Program Launchers on desktop not working after updates
Posted: Thu Jan 19, 2023 1:01 pm
by fehlix
FX-Tech wrote: Thu Jan 19, 2023 12:25 pm
Here's the launcher that isn't working:
-rwxr-xr-x 1 trevorj domain users 283 Feb 17 2022 'IntelEvent Express.desktop'
The KiCAD launcher is working after clicking mark as execute.
-rwxr-xr-x 1 trevorj domain users 583 Aug 19 08:04 kicad.desktop
The permissions look identical
Hmm, can you post the output of this command.
Open terminal on Desktop:
Code: Select all
gio info 'IntelEvent Express.desktop'
and also the working one:
But please - for better readability - wrap the text output between those [
code]brackets[/code] ( use the
[</>] icon above the post editor)
thanks
Re: Program Launchers on desktop not working after updates
Posted: Thu Jan 19, 2023 1:25 pm
by FX-Tech
Sorry for not using the CODE segment Felix. I figured it was OK since it was just 2 lines. I'll use it in the future. Here's the output. It's got me scratching my head. BTW when I deleted the launcher that wouldn't work and added it back from the main menu, it wouldn't even give me the launch security message when clicked. I was thinking this was because the checksum for that launcher is already calculated and that when I replaced the launcher thinking the launcher had become corrupt, replacing the launcer just put an identical file on the desktop and the checksum would have been the same.
Code: Select all
$ gio info 'IntelEvent Express.desktop'
display name: IntelEvent Express.desktop
edit name: IntelEvent Express.desktop
name: IntelEvent Express.desktop
type: regular
size: 283
uri: file:///home/BPLSV/trevorj/Desktop/IntelEvent%20Express.desktop
local path: /home/BPLSV/trevorj/Desktop/IntelEvent Express.desktop
unix mount: /dev/sdb1 / ext4 rw,noatime,discard
attributes:
standard::type: 1
standard::name: IntelEvent Express.desktop
standard::display-name: IntelEvent Express.desktop
standard::edit-name: IntelEvent Express.desktop
standard::copy-name: IntelEvent Express.desktop
standard::icon: application-x-desktop, text-x-generic, application-x-desktop-symbolic, text-x-generic-symbolic
standard::content-type: application/x-desktop
standard::fast-content-type: application/x-desktop
standard::size: 283
standard::allocated-size: 4096
standard::symbolic-icon: application-x-desktop-symbolic, text-x-generic-symbolic, application-x-desktop, text-x-generic
etag::value: 1645134486:0
id::file: l2065:21762652
id::filesystem: l2065
access::can-read: TRUE
access::can-write: TRUE
access::can-execute: TRUE
access::can-delete: TRUE
access::can-trash: TRUE
access::can-rename: TRUE
time::modified: 1645134486
time::modified-usec: 0
time::access: 1674151433
time::access-usec: 743137
time::changed: 1674151433
time::changed-usec: 743137
time::created: 1674151433
time::created-usec: 743137
unix::device: 2065
unix::inode: 21762652
unix::mode: 33261
unix::nlink: 1
unix::uid: 10000
unix::gid: 10006
unix::rdev: 0
unix::block-size: 4096
unix::blocks: 8
owner::user: trevorj
owner::user-real: Trevor Jacobs
owner::group: domain users
metadata::xfce-exe-checksum: 73daeaf99736d1855d6afa788c0cf931828d8e7dcb817c6566834131ea64a658
Code: Select all
$ gio info kicad.desktop
display name: kicad.desktop
edit name: kicad.desktop
name: kicad.desktop
type: regular
size: 583
uri: file:///home/BPLSV/trevorj/Desktop/kicad.desktop
local path: /home/BPLSV/trevorj/Desktop/kicad.desktop
unix mount: /dev/sdb1 / ext4 rw,noatime,discard
attributes:
standard::type: 1
standard::name: kicad.desktop
standard::display-name: kicad.desktop
standard::edit-name: kicad.desktop
standard::copy-name: kicad.desktop
standard::icon: application-x-desktop, text-x-generic, application-x-desktop-symbolic, text-x-generic-symbolic
standard::content-type: application/x-desktop
standard::fast-content-type: application/x-desktop
standard::size: 583
standard::allocated-size: 4096
standard::symbolic-icon: application-x-desktop-symbolic, text-x-generic-symbolic, application-x-desktop, text-x-generic
etag::value: 1660914290:0
id::file: l2065:21765927
id::filesystem: l2065
access::can-read: TRUE
access::can-write: TRUE
access::can-execute: TRUE
access::can-delete: TRUE
access::can-trash: TRUE
access::can-rename: TRUE
time::modified: 1660914290
time::modified-usec: 0
time::access: 1668036652
time::access-usec: 12474
time::changed: 1668036652
time::changed-usec: 12474
time::created: 1668036652
time::created-usec: 12474
unix::device: 2065
unix::inode: 21765927
unix::mode: 33261
unix::nlink: 1
unix::uid: 10000
unix::gid: 10006
unix::rdev: 0
unix::block-size: 4096
unix::blocks: 8
owner::user: trevorj
owner::user-real: Trevor Jacobs
owner::group: domain users
metadata::xfce-exe-checksum: b771e444654a2b77e0caa1a8a7502fb3193e31fd2a8003cda6eaf4034da86cfa
Re: Program Launchers on desktop not working after updates
Posted: Thu Jan 19, 2023 1:28 pm
by dolphin_oracle
space in the file name. I wonder if xfdesktop has a weakness in that area, although the other user that reported something similar did not have spaces in their filenames.
Re: Program Launchers on desktop not working after updates
Posted: Thu Jan 19, 2023 1:34 pm
by dolphin_oracle
hmmm, if the desktop files on the desktop are actually symlinks, the trust system will fail.
Re: Program Launchers on desktop not working after updates
Posted: Thu Jan 19, 2023 1:49 pm
by FX-Tech
Here is the command in the launcher that is on the Desktop:
Code: Select all
env WINEPREFIX="/home/BPLSV/trevorj/.wine" wine C:\\\\ProgramData\\\\Microsoft\\\\Windows\\\\Start\\ Menu\\\\Programs\\\\IntelEvent\\ Express.lnk
That's the same command as the launcher in the main menu under the wine folder. To put it on the Desktop I just did a right click ans selected "Add to Desktop".
Re: Program Launchers on desktop not working after updates
Posted: Thu Jan 19, 2023 1:50 pm
by FX-Tech
BTW, That is the launcher that wine created when I installed the program.
Re: Program Launchers on desktop not working after updates
Posted: Thu Jan 19, 2023 2:42 pm
by fehlix
FX-Tech wrote: Thu Jan 19, 2023 1:25 pm
Code: Select all
$ gio info 'IntelEvent Express.desktop'
name: IntelEvent Express.desktop
uri: file:///home/BPLSV/trevorj/Desktop/IntelEvent%20Express.desktop
local path: /home/BPLSV/trevorj/Desktop/IntelEvent Express.desktop
attributes:
standard::name: IntelEvent Express.desktop
...
owner::user: trevorj
owner::group: domain users
metadata::xfce-exe-checksum: 73daeaf99736d1855d6afa788c0cf931828d8e7dcb817c6566834131ea64a658
So, are you saying, you still got the popup-warning to make the launcher executable?
That would be indeed unusual, b/c the checksum ( used for the trust-check is already generated).
Or, are you saying, after making the launcher executable ( and trusted) the launcher won't start the wine-program?
Re: Program Launchers on desktop not working after updates
Posted: Thu Jan 19, 2023 4:31 pm
by FX-Tech
Hi Fehlix,
Click on the icon and nothing happens, no security warning pop up, no program execution, nothing. You can delete the launcher from the desktop, go to the wine folder in the main menu and right click on the launcher and select "Add to Desktop" to put a fresh copy on the Desktop and nothing still happens. It will not launch. Maybe a bug in the new security ? So was there a huge security issue that this new feature was addressing? Have personally never had any problem running programs from the Desktop. One of these days linux will be so secure that nobody can use it... ;-)
Cheers,
Trevor
Re: Program Launchers on desktop not working after updates
Posted: Thu Jan 19, 2023 4:51 pm
by fehlix
FX-Tech wrote: Thu Jan 19, 2023 4:31 pm
Hi Fehlix,
Click on the icon and nothing happens, no security warning pop up, no program execution, nothing. You can delete the launcher from the desktop, go to the wine folder in the main menu and right click on the launcher and select "Add to Desktop" to put a fresh copy on the Desktop and nothing still happens. It will not launch. Maybe a bug in the new security ? So was there a huge security issue that this new feature was addressing? Have personally never had any problem running programs from the Desktop. One of these days linux will be so secure that nobody can use it... ;-)
Cheers,
Trevor
So far I cannot re-produce the issue. Maybe completely different not the the trusted launcher, b/c it starts
but wont run wine. Make sure wine is not hanging and stop to start, e.g. logout or reboot.
Also you have a fairly unusual primary user group with a space within the group name "domain user". I tried to create a group with a space in the group-name but it won't allow me to. In addtion having not your home-directory under /home but within the sub-directory, may add further unusual setup, which triggers some other show stopper.
Re: Program Launchers on desktop not working after updates
Posted: Thu Jan 19, 2023 5:00 pm
by dolphin_oracle
I’ve been trying to duplicate with wine apps as well but without success.