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
Post Reply
reaperx
Newbie
Newbie
Posts: 2
Joined: Tue Nov 12, 2019 10:02 am

Winecfg forgets drive labels

Post by reaperx » Tue Nov 12, 2019 10:10 am

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 6
Level 6
Posts: 704
Joined: Thu Aug 14, 2014 10:10 am

Re: Winecfg forgets drive labels

Post by jkfloris » Wed Nov 13, 2019 12:05 pm

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: 2
Joined: Tue Nov 12, 2019 10:02 am

Re: Winecfg forgets drive labels

Post by reaperx » Wed Nov 13, 2019 12:27 pm

worked perfectly!!! Thanks

Post Reply