Winecfg forgets drive labels

Open forum for end-user questions about Wine. Before asking questions, check out the Wiki as a first step.
Forum Rules
Locked
reaperx
Newbie
Newbie
Posts: 4
Joined: Tue Nov 12, 2019 10:02 am

Winecfg forgets drive labels

Post by reaperx »

When I create labels for drives in winecfg (under "show advanced"), the label is forgotten as soon as I quit winecfg.

This has been a known bug since 2008:

https://bugs.winehq.org/show_bug.cgi?id=13273

I'm wondering if anyone knows a workaround? It would be nice to have drive labels for my wine/windows programs.
jkfloris
Level 12
Level 12
Posts: 3141
Joined: Thu Aug 14, 2014 10:10 am

Re: Winecfg forgets drive labels

Post by jkfloris »

Create a file named ".windows-label" with the name of the drive in the root directory of your drive.
For example, if you want to create the label "Linux Disk" for the Z: drive (the / directory) run:

Code: Select all

echo "Linux Disk" | sudo tee /.windows-label
reaperx
Newbie
Newbie
Posts: 4
Joined: Tue Nov 12, 2019 10:02 am

Re: Winecfg forgets drive labels

Post by reaperx »

worked perfectly!!! Thanks
Locked