Welcome to Doom9's Forum, THE in-place to be for everyone interested in DVD conversion. Before you start posting please read the forum rules. By posting to this forum you agree to abide by the rules. Domains: forum.doom9.org / forum.doom9.net / forum.doom9.se |
|
|
#1 | Link |
|
Registered User
Join Date: Mar 2011
Posts: 5,072
|
Linux, Wine and shortcuts
Any Linux experts out there?
I'm new to Linux but I've been experimenting with Wine and finally had a reasonable amount of success running the Windows programs I'd like to keep using for the moment. Creating start menu shortcuts was a challenge initially, but I seem to have it sorted now with one exception. The desktop files I've created don't work when added to the file manager's sendto folder because the file path looks like a command to most programs. The same applies to using the "open with" menu. Here's a typical desktop file (created manually): Code:
[Desktop Entry] Name=MPC-HC Comment= Type=Application Categories=AudioVideo;Player; Icon=/home/Me/.local/share/icons/MPC-HC.png Exec=env WINEPREFIX="/home/Me/.local/share/wineprefixes/Win64" wine "/home/Me/.local/share/wineprefixes/Win64/drive_c/Program Files/MPC-HC/mpc-hc64.exe" %f Code:
Unrecognised switch(es) found in command line string: C:\Program Files\MPC-HC\mpc-hc64.exe /media/NVME1/video.mkv Code:
C:\Program Files\MPC-HC\mpc-hc64.exe M:\NVME1\video.mkv PS Desktop files created by PlayOnLinux work fine as sendto items, but PlayOnLinux is obviously taking care of the translation. The desktop file it created for MPC-HC (I've modified it a little) looks like this: Code:
[Desktop Entry] Encoding=UTF-8 Name=MPC-HC Comment=PlayOnLinux Type=Application Exec=/usr/share/playonlinux/playonlinux --run "MPC-HC" %F Icon=/home/Me/.PlayOnLinux//icones/full_size/MPC-HC StartupWMClass=mpc-hc64.exe Categories=AudioVideo;Player; Last edited by hello_hello; 3rd July 2023 at 02:32. |
|
|
|
| Thread Tools | |
| Display Modes | |
|
|