Skip to content

her01n/install-wine-desktop

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Create a .desktop file for a wine executable.

Install

Requirements are:

  • wrestool command from icoutils package
  • convert from imagemagick package
  • natsort python module

Then you can invoke make install to install this script.

$ sudo apt install icoutils imagemagick python3-natsort
$ sudo make install

Usage

$ install-wine-desktop path-to-executable.exe

Description

We extract the icon from the executable using wrestool command. Then we convert the icon to .png format with convert tool and copy it to ~/.local/share/icons directory. Next we create .desktop file in ~/.local/share/applications directory.

About

Create a desktop file for a wine executable.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published