Score:0

Wine .desktop runs in terminal but fails silently without

cn flag

I'm using wine staging to launch a windows executable I installed through it. When I navigate to ~/.local/share/applications/wine/Programs/Notion.desktop and double click that file it presents options to Run or Run in Terminal. Doing the later works but the former fails silently.

My wine version...

$ wine --version
wine-6.20 (Staging)

The contents of the desktop file...

[Desktop Entry]
Name=Notion
Exec=env WINEPREFIX="/home/blissend/.wine" /usr/bin/wine '/home/blissend/.wine/dosdevices/c:/users/blissend/AppData/Local/Programs/Notion/Notion.exe'
Type=Application
StartupNotify=true
Path=/home/blissend/.wine/dosdevices/c:/users/blissend/AppData/Local/Programs/Notion
Icon=0193_Notion.0
StartupWMClass=notion.exe

When I look at the syslogs I see this...

Nov  2 20:33:06 shockedloris org.gnome.Nautilus[75147]: /home/blissend/.local/share/applications/wine/Programs/Notion.desktop: 1: [Desktop: not found
Nov  2 20:33:06 shockedloris org.gnome.Nautilus[75154]: 002c:fixme:winediag:LdrInitializeThunk wine-staging 6.20 is a testing version containing experimental patches.
Nov  2 20:33:06 shockedloris org.gnome.Nautilus[75154]: 002c:fixme:winediag:LdrInitializeThunk Please mention your exact version when filing bug reports on winehq.org.
Nov  2 20:33:06 shockedloris org.gnome.Nautilus[75170]: WARNING: radv is not a conformant Vulkan implementation, testing use only.
Nov  2 20:33:06 shockedloris /usr/libexec/gdm-x-session[2318]: (II) AMDGPU(0): EDID vendor "SAM", prod id 28755
Nov  2 20:33:06 shockedloris /usr/libexec/gdm-x-session[2318]: (II) AMDGPU(0): Using hsync ranges from config file
Nov  2 20:33:06 shockedloris /usr/libexec/gdm-x-session[2318]: (II) AMDGPU(0): Using vrefresh ranges from config file
Nov  2 20:33:06 shockedloris /usr/libexec/gdm-x-session[2318]: (II) AMDGPU(0): Printing DDC gathered Modelines:
Nov  2 20:33:06 shockedloris /usr/libexec/gdm-x-session[2318]: (II) AMDGPU(0): Modeline "3840x1080"x0.0  549.00  3840 3888 3920 4000  1080 1083 1093 1144 +hsync -vsync (137.2 kHz eP)
Nov  2 20:33:06 shockedloris /usr/libexec/gdm-x-session[2318]: (II) AMDGPU(0): Modeline "2560x1440"x0.0  241.50  2560 2608 2640 2720  1440 1443 1448 1481 +hsync -vsync (88.8 kHz e)
Nov  2 20:33:06 shockedloris /usr/libexec/gdm-x-session[2318]: (II) AMDGPU(0): Modeline "2560x1080"x0.0  198.00  2560 2808 2852 3000  1080 1084 1089 1100 +hsync +vsync (66.0 kHz e)
Nov  2 20:33:06 shockedloris /usr/libexec/gdm-x-session[2318]: (II) AMDGPU(0): Modeline "3840x1080"x0.0  266.50  3840 3888 3920 4000  1080 1083 1093 1111 +hsync -vsync (66.6 kHz e)
Nov  2 20:33:06 shockedloris /usr/libexec/gdm-x-session[2318]: (II) AMDGPU(0): Modeline "2560x1440"x0.0  497.75  2560 2608 2640 2720  1440 1443 1448 1525 +hsync -vsync (183.0 kHz e)
Nov  2 20:33:06 shockedloris /usr/libexec/gdm-x-session[2318]: (II) AMDGPU(0): Modeline "1920x1080"x0.0  148.50  1920 2008 2052 2200  1080 1084 1089 1125 +hsync +vsync (67.5 kHz e)
Nov  2 20:33:06 shockedloris /usr/libexec/gdm-x-session[2318]: (II) AMDGPU(0): Modeline "1920x1080"x0.0  297.00  1920 2008 2052 2200  1080 1084 1089 1125 +hsync +vsync (135.0 kHz e)
Nov  2 20:33:06 shockedloris /usr/libexec/gdm-x-session[2318]: (II) AMDGPU(0): Modeline "800x600"x0.0   40.00  800 840 968 1056  600 601 605 628 +hsync +vsync (37.9 kHz e)
Nov  2 20:33:06 shockedloris /usr/libexec/gdm-x-session[2318]: (II) AMDGPU(0): Modeline "800x600"x0.0   36.00  800 824 896 1024  600 601 603 625 +hsync +vsync (35.2 kHz e)
Nov  2 20:33:06 shockedloris /usr/libexec/gdm-x-session[2318]: (II) AMDGPU(0): Modeline "640x480"x0.0   31.50  640 656 720 840  480 481 484 500 -hsync -vsync (37.5 kHz e)
Nov  2 20:33:06 shockedloris /usr/libexec/gdm-x-session[2318]: (II) AMDGPU(0): Modeline "640x480"x0.0   31.50  640 664 704 832  480 489 492 520 -hsync -vsync (37.9 kHz e)
Nov  2 20:33:06 shockedloris /usr/libexec/gdm-x-session[2318]: (II) AMDGPU(0): Modeline "640x480"x0.0   30.24  640 704 768 864  480 483 486 525 -hsync -vsync (35.0 kHz e)
Nov  2 20:33:06 shockedloris /usr/libexec/gdm-x-session[2318]: (II) AMDGPU(0): Modeline "640x480"x0.0   25.18  640 656 752 800  480 490 492 525 -hsync -vsync (31.5 kHz e)
Nov  2 20:33:06 shockedloris /usr/libexec/gdm-x-session[2318]: (II) AMDGPU(0): Modeline "720x400"x0.0   28.32  720 738 846 900  400 412 414 449 -hsync +vsync (31.5 kHz e)
Nov  2 20:33:06 shockedloris /usr/libexec/gdm-x-session[2318]: (II) AMDGPU(0): Modeline "1280x1024"x0.0  135.00  1280 1296 1440 1688  1024 1025 1028 1066 +hsync +vsync (80.0 kHz e)
Nov  2 20:33:06 shockedloris /usr/libexec/gdm-x-session[2318]: (II) AMDGPU(0): Modeline "1024x768"x0.0   78.75  1024 1040 1136 1312  768 769 772 800 +hsync +vsync (60.0 kHz e)
Nov  2 20:33:06 shockedloris /usr/libexec/gdm-x-session[2318]: (II) AMDGPU(0): Modeline "1024x768"x0.0   75.00  1024 1048 1184 1328  768 771 777 806 -hsync -vsync (56.5 kHz e)
Nov  2 20:33:06 shockedloris /usr/libexec/gdm-x-session[2318]: (II) AMDGPU(0): Modeline "1024x768"x0.0   65.00  1024 1048 1184 1344  768 771 777 806 -hsync -vsync (48.4 kHz e)
Nov  2 20:33:06 shockedloris /usr/libexec/gdm-x-session[2318]: (II) AMDGPU(0): Modeline "832x624"x0.0   57.28  832 864 928 1152  624 625 628 667 -hsync -vsync (49.7 kHz e)
Nov  2 20:33:06 shockedloris /usr/libexec/gdm-x-session[2318]: (II) AMDGPU(0): Modeline "800x600"x0.0   49.50  800 816 896 1056  600 601 604 625 +hsync +vsync (46.9 kHz e)
Nov  2 20:33:06 shockedloris /usr/libexec/gdm-x-session[2318]: (II) AMDGPU(0): Modeline "800x600"x0.0   50.00  800 856 976 1040  600 637 643 666 +hsync +vsync (48.1 kHz e)
Nov  2 20:33:06 shockedloris /usr/libexec/gdm-x-session[2318]: (II) AMDGPU(0): Modeline "1152x864"x0.0  108.00  1152 1216 1344 1600  864 865 868 900 +hsync +vsync (67.5 kHz e)
Nov  2 20:33:06 shockedloris /usr/libexec/gdm-x-session[2318]: (II) AMDGPU(0): Modeline "1280x800"x0.0   83.50  1280 1352 1480 1680  800 803 809 831 -hsync +vsync (49.7 kHz e)
Nov  2 20:33:06 shockedloris /usr/libexec/gdm-x-session[2318]: (II) AMDGPU(0): Modeline "1280x720"x59.9   74.50  1280 1344 1472 1664  720 723 728 748 -hsync +vsync (44.8 kHz e)
Nov  2 20:33:06 shockedloris /usr/libexec/gdm-x-session[2318]: (II) AMDGPU(0): Modeline "1280x1024"x0.0  108.00  1280 1328 1440 1688  1024 1025 1028 1066 +hsync +vsync (64.0 kHz e)
Nov  2 20:33:06 shockedloris /usr/libexec/gdm-x-session[2318]: (II) AMDGPU(0): Modeline "1600x900"x59.9  118.25  1600 1696 1856 2112  900 903 908 934 -hsync +vsync (56.0 kHz e)
Nov  2 20:33:06 shockedloris /usr/libexec/gdm-x-session[2318]: (II) AMDGPU(0): Modeline "1680x1050"x0.0  146.25  1680 1784 1960 2240  1050 1053 1059 1089 -hsync +vsync (65.3 kHz e)
Nov  2 20:33:06 shockedloris /usr/libexec/gdm-x-session[2318]: (II) AMDGPU(0): Modeline "1440x900"x0.0  106.50  1440 1520 1672 1904  900 903 909 934 -hsync +vsync (55.9 kHz e)
Nov  2 20:33:06 shockedloris /usr/libexec/gdm-x-session[2318]: (WW) AMDGPU(0): Output DisplayPort-1: Strange aspect ratio (1193/336), consider adding a quirk
Nov  2 20:33:06 shockedloris /usr/libexec/gdm-x-session[2318]: message repeated 4 times: [ (WW) AMDGPU(0): Output DisplayPort-1: Strange aspect ratio (1193/336), consider adding a quirk]
Nov  2 20:33:06 shockedloris /usr/libexec/gdm-x-session[2318]: (II) AMDGPU(0): EDID vendor "SAM", prod id 28755
Nov  2 20:33:06 shockedloris /usr/libexec/gdm-x-session[2318]: (II) AMDGPU(0): Using hsync ranges from config file
Nov  2 20:33:06 shockedloris /usr/libexec/gdm-x-session[2318]: (II) AMDGPU(0): Using vrefresh ranges from config file
Nov  2 20:33:06 shockedloris /usr/libexec/gdm-x-session[2318]: (II) AMDGPU(0): Printing DDC gathered Modelines:
Nov  2 20:33:06 shockedloris /usr/libexec/gdm-x-session[2318]: (II) AMDGPU(0): Modeline "3840x1080"x0.0  549.00  3840 3888 3920 4000  1080 1083 1093 1144 +hsync -vsync (137.2 kHz eP)
Nov  2 20:33:06 shockedloris /usr/libexec/gdm-x-session[2318]: (II) AMDGPU(0): Modeline "2560x1440"x0.0  241.50  2560 2608 2640 2720  1440 1443 1448 1481 +hsync -vsync (88.8 kHz e)
Nov  2 20:33:06 shockedloris /usr/libexec/gdm-x-session[2318]: (II) AMDGPU(0): Modeline "2560x1080"x0.0  198.00  2560 2808 2852 3000  1080 1084 1089 1100 +hsync +vsync (66.0 kHz e)
Nov  2 20:33:06 shockedloris /usr/libexec/gdm-x-session[2318]: (II) AMDGPU(0): Modeline "3840x1080"x0.0  266.50  3840 3888 3920 4000  1080 1083 1093 1111 +hsync -vsync (66.6 kHz e)
Nov  2 20:33:06 shockedloris /usr/libexec/gdm-x-session[2318]: (II) AMDGPU(0): Modeline "2560x1440"x0.0  497.75  2560 2608 2640 2720  1440 1443 1448 1525 +hsync -vsync (183.0 kHz e)
Nov  2 20:33:06 shockedloris /usr/libexec/gdm-x-session[2318]: (II) AMDGPU(0): Modeline "1920x1080"x0.0  148.50  1920 2008 2052 2200  1080 1084 1089 1125 +hsync +vsync (67.5 kHz e)
Nov  2 20:33:06 shockedloris /usr/libexec/gdm-x-session[2318]: (II) AMDGPU(0): Modeline "1920x1080"x0.0  297.00  1920 2008 2052 2200  1080 1084 1089 1125 +hsync +vsync (135.0 kHz e)
Nov  2 20:33:06 shockedloris /usr/libexec/gdm-x-session[2318]: (II) AMDGPU(0): Modeline "800x600"x0.0   40.00  800 840 968 1056  600 601 605 628 +hsync +vsync (37.9 kHz e)
Nov  2 20:33:06 shockedloris /usr/libexec/gdm-x-session[2318]: (II) AMDGPU(0): Modeline "800x600"x0.0   36.00  800 824 896 1024  600 601 603 625 +hsync +vsync (35.2 kHz e)
Nov  2 20:33:06 shockedloris /usr/libexec/gdm-x-session[2318]: (II) AMDGPU(0): Modeline "640x480"x0.0   31.50  640 656 720 840  480 481 484 500 -hsync -vsync (37.5 kHz e)
Nov  2 20:33:06 shockedloris /usr/libexec/gdm-x-session[2318]: (II) AMDGPU(0): Modeline "640x480"x0.0   31.50  640 664 704 832  480 489 492 520 -hsync -vsync (37.9 kHz e)
Nov  2 20:33:06 shockedloris /usr/libexec/gdm-x-session[2318]: (II) AMDGPU(0): Modeline "640x480"x0.0   30.24  640 704 768 864  480 483 486 525 -hsync -vsync (35.0 kHz e)
Nov  2 20:33:06 shockedloris /usr/libexec/gdm-x-session[2318]: (II) AMDGPU(0): Modeline "640x480"x0.0   25.18  640 656 752 800  480 490 492 525 -hsync -vsync (31.5 kHz e)
Nov  2 20:33:06 shockedloris /usr/libexec/gdm-x-session[2318]: (II) AMDGPU(0): Modeline "720x400"x0.0   28.32  720 738 846 900  400 412 414 449 -hsync +vsync (31.5 kHz e)
Nov  2 20:33:06 shockedloris /usr/libexec/gdm-x-session[2318]: (II) AMDGPU(0): Modeline "1280x1024"x0.0  135.00  1280 1296 1440 1688  1024 1025 1028 1066 +hsync +vsync (80.0 kHz e)
Nov  2 20:33:06 shockedloris /usr/libexec/gdm-x-session[2318]: (II) AMDGPU(0): Modeline "1024x768"x0.0   78.75  1024 1040 1136 1312  768 769 772 800 +hsync +vsync (60.0 kHz e)
Nov  2 20:33:06 shockedloris /usr/libexec/gdm-x-session[2318]: (II) AMDGPU(0): Modeline "1024x768"x0.0   75.00  1024 1048 1184 1328  768 771 777 806 -hsync -vsync (56.5 kHz e)
Nov  2 20:33:06 shockedloris /usr/libexec/gdm-x-session[2318]: (II) AMDGPU(0): Modeline "1024x768"x0.0   65.00  1024 1048 1184 1344  768 771 777 806 -hsync -vsync (48.4 kHz e)
Nov  2 20:33:06 shockedloris /usr/libexec/gdm-x-session[2318]: (II) AMDGPU(0): Modeline "832x624"x0.0   57.28  832 864 928 1152  624 625 628 667 -hsync -vsync (49.7 kHz e)
Nov  2 20:33:06 shockedloris /usr/libexec/gdm-x-session[2318]: (II) AMDGPU(0): Modeline "800x600"x0.0   49.50  800 816 896 1056  600 601 604 625 +hsync +vsync (46.9 kHz e)
Nov  2 20:33:06 shockedloris /usr/libexec/gdm-x-session[2318]: (II) AMDGPU(0): Modeline "800x600"x0.0   50.00  800 856 976 1040  600 637 643 666 +hsync +vsync (48.1 kHz e)
Nov  2 20:33:06 shockedloris /usr/libexec/gdm-x-session[2318]: (II) AMDGPU(0): Modeline "1152x864"x0.0  108.00  1152 1216 1344 1600  864 865 868 900 +hsync +vsync (67.5 kHz e)
Nov  2 20:33:06 shockedloris /usr/libexec/gdm-x-session[2318]: (II) AMDGPU(0): Modeline "1280x800"x0.0   83.50  1280 1352 1480 1680  800 803 809 831 -hsync +vsync (49.7 kHz e)
Nov  2 20:33:06 shockedloris /usr/libexec/gdm-x-session[2318]: (II) AMDGPU(0): Modeline "1280x720"x59.9   74.50  1280 1344 1472 1664  720 723 728 748 -hsync +vsync (44.8 kHz e)
Nov  2 20:33:06 shockedloris /usr/libexec/gdm-x-session[2318]: (II) AMDGPU(0): Modeline "1280x1024"x0.0  108.00  1280 1328 1440 1688  1024 1025 1028 1066 +hsync +vsync (64.0 kHz e)
Nov  2 20:33:06 shockedloris /usr/libexec/gdm-x-session[2318]: (II) AMDGPU(0): Modeline "1600x900"x59.9  118.25  1600 1696 1856 2112  900 903 908 934 -hsync +vsync (56.0 kHz e)
Nov  2 20:33:06 shockedloris /usr/libexec/gdm-x-session[2318]: (II) AMDGPU(0): Modeline "1680x1050"x0.0  146.25  1680 1784 1960 2240  1050 1053 1059 1089 -hsync +vsync (65.3 kHz e)
Nov  2 20:33:06 shockedloris /usr/libexec/gdm-x-session[2318]: (II) AMDGPU(0): Modeline "1440x900"x0.0  106.50  1440 1520 1672 1904  900 903 909 934 -hsync +vsync (55.9 kHz e)
Nov  2 20:33:06 shockedloris /usr/libexec/gdm-x-session[2318]: (WW) AMDGPU(0): Output DisplayPort-1: Strange aspect ratio (1193/336), consider adding a quirk
Nov  2 20:33:06 shockedloris /usr/libexec/gdm-x-session[2318]: message repeated 4 times: [ (WW) AMDGPU(0): Output DisplayPort-1: Strange aspect ratio (1193/336), consider adding a quirk]
Nov  2 20:33:06 shockedloris org.gnome.Nautilus[75208]: 00fc:fixme:powrprof:PowerRegisterSuspendResumeNotification (0x00000002,000000000081FCF0,000000000081FCE8) stub!
Nov  2 20:33:06 shockedloris org.gnome.Nautilus[75208]: 00fc:fixme:heap:RtlSetHeapInformation 0000000000000000 1 0000000000000000 0 stub
Nov  2 20:33:06 shockedloris org.gnome.Nautilus[75208]: #015
Nov  2 20:33:06 shockedloris org.gnome.Nautilus[75208]: 00fc:fixme:ntdll:EtwEventSetInformation (deadbeef, 2, 000000000089BB60, 16) stub
Nov  2 20:33:06 shockedloris org.gnome.Nautilus[75208]: 00fc:fixme:nls:RtlGetThreadPreferredUILanguages 00000038, 000000000081F714, 0000000000000000 000000000081F710
Nov  2 20:33:06 shockedloris org.gnome.Nautilus[75208]: 00fc:fixme:nls:get_dummy_preferred_ui_language (0x38 000000000081F714 0000000000000000 000000000081F710) returning a dummy value (current locale)
Nov  2 20:33:06 shockedloris org.gnome.Nautilus[75208]: 00fc:fixme:nls:RtlGetThreadPreferredUILanguages 00000038, 000000000081F714, 000000000081F6F0 000000000081F710
Nov  2 20:33:06 shockedloris org.gnome.Nautilus[75208]: 00fc:fixme:nls:get_dummy_preferred_ui_language (0x38 000000000081F714 000000000081F6F0 000000000081F710) returning a dummy value (current locale)
Nov  2 20:33:06 shockedloris org.gnome.Nautilus[75208]: 00fc:fixme:ntdll:NtQuerySystemInformation info_class SYSTEM_PERFORMANCE_INFORMATION
Nov  2 20:33:06 shockedloris org.gnome.Nautilus[75208]: 011c:fixme:kernelbase:AppPolicyGetThreadInitializationType FFFFFFFFFFFFFFFA, 000000000792FE10
Nov  2 20:33:06 shockedloris org.gnome.Nautilus[75208]: net.js:329
Nov  2 20:33:06 shockedloris org.gnome.Nautilus[75208]:       err = this._handle.open(fd);
Nov  2 20:33:06 shockedloris org.gnome.Nautilus[75208]:                          ^
Nov  2 20:33:06 shockedloris org.gnome.Nautilus[75208]: #015
Nov  2 20:33:06 shockedloris org.gnome.Nautilus[75208]: Error: EINVAL: invalid argument, uv_pipe_open
Nov  2 20:33:06 shockedloris org.gnome.Nautilus[75208]:     at new Socket (net.js:329:26)
Nov  2 20:33:06 shockedloris org.gnome.Nautilus[75208]:     at createWritableStdioStream (internal/bootstrap/switches/is_main_thread.js:67:18)
Nov  2 20:33:06 shockedloris org.gnome.Nautilus[75208]:     at process.getStdout [as stdout] (internal/bootstrap/switches/is_main_thread.js:122:12)
Nov  2 20:33:06 shockedloris org.gnome.Nautilus[75208]:     at Object.<anonymous> (electron/js2c/browser_init.js:185:793)
Nov  2 20:33:06 shockedloris org.gnome.Nautilus[75208]:     at Object../lib/browser/init.ts (electron/js2c/browser_init.js:185:3714)
Nov  2 20:33:06 shockedloris org.gnome.Nautilus[75208]:     at __webpack_require__ (electron/js2c/browser_init.js:1:128)
Nov  2 20:33:06 shockedloris org.gnome.Nautilus[75208]:     at electron/js2c/browser_init.js:1:1200
Nov  2 20:33:06 shockedloris org.gnome.Nautilus[75208]:     at electron/js2c/browser_init.js:1:1267
Nov  2 20:33:06 shockedloris org.gnome.Nautilus[75208]:     at NativeModule.compileForInternalLoader (internal/bootstrap/loaders.js:277:7)
Nov  2 20:33:06 shockedloris org.gnome.Nautilus[75208]:     at NativeModule.compileForPublicLoader (internal/bootstrap/loaders.js:219:10) {
Nov  2 20:33:06 shockedloris org.gnome.Nautilus[75208]:   errno: -4071,
Nov  2 20:33:06 shockedloris org.gnome.Nautilus[75208]:   code: 'EINVAL',
Nov  2 20:33:06 shockedloris org.gnome.Nautilus[75208]:   syscall: 'uv_pipe_open'
Nov  2 20:33:06 shockedloris org.gnome.Nautilus[75208]: }
Nov  2 20:33:06 shockedloris org.gnome.Nautilus[75208]: 00fc:fixme:kernelbase:AppPolicyGetProcessTerminationMethod FFFFFFFFFFFFFFFA, 000000000081E9C0
Nov  2 20:33:08 shockedloris gnome-shell[3131]: setup_framebuffers: assertion 'width > 0' failed

My only goal is to launch this app via the app launcher. Only in nautils when run in terminal or CLI can I launch this. Would be great to get it working right.

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.