Under Linux Mint 22, winecfg aborts but works if run as "wine winecfg"

Questions about Wine on Linux
Locked
richardthiebaud
Newbie
Newbie
Posts: 4
Joined: Sat Sep 14, 2024 10:54 pm

Under Linux Mint 22, winecfg aborts but works if run as "wine winecfg"

Post by richardthiebaud »

Running under Linux Mint 22 Wine version 9.0, if I just type "winecfg" on the command-line it aborts. However, if I type "wine winecfg" on the command line, the GUI appears and works normally. Is this expected behavior or do I have something wrong? I installed Wine by running "sudo apt install wine-installer".

When I just type "winecfg", this is the result I get:
dick@dick2:~$ winecfg
+ cd /home/dick/Videos
+ seconds=0
+ echo 0
+ ffmpeg -loglevel warning -y -t 0 -i -d-.mp4 -d-out.mp4
Unrecognized option 'd-out.mp4'.
Error splitting the argument list: Option not found
dick@dick2:~$ wine winecfg
(GUI applears and works.)
richardthiebaud
Newbie
Newbie
Posts: 4
Joined: Sat Sep 14, 2024 10:54 pm

Re: Under Linux Mint 22, winecfg aborts but works if run as "wine winecfg"

Post by richardthiebaud »

On a new install of Linux Mint, Installing Wine with "sudo apt install wine-installer", typing just "winecfg" at the command line brings up the GUI and works correctly. Apparently I have messed up something in my Mint install. Since winecfg works for me if I type "wine wincdfg", I'm not going to worry about this.
richardthiebaud
Newbie
Newbie
Posts: 4
Joined: Sat Sep 14, 2024 10:54 pm

Re: Under Linux Mint 22, winecfg aborts but works if run as "wine winecfg"

Post by richardthiebaud »

I found the cause of this. Winecfg calls a process called "cut". It was supposed to execute /usr/bin/cut but because of my path setup, it executed bash script /home/dick/bin/cut. Once I deleted /home/dick/bin/cut, winecfg executed normally and correctly.
Locked