nig*_*ler 8 gnome wine cinnamon
在上面的屏幕截图中,您可以看到我正在使用 Wine 应用程序、Nemo 文件浏览器和 Firefox,但是,我也想为此 Wine 应用程序使用特定图标!准确地说,我使用的是 PDF Xchange 查看器,我也想在 Cinnamon 中使用它的原生 Windows 图标!
我怎样才能做到这一点?
将图标创建为 png 文件
复制应用程序文件
/usr/share/applications
在文本编辑器中打开它
定制它。
你也可以复制我的模板:
[Desktop Entry]
Name=Your App
Comment=Comments shown as tooltip
Exec= wine /path/to/executable
Icon=/path/to/icon.png
StartupNotify=true
Terminal=false
Type=Application
MimeType=text/plain;
Categories=Wine;Applications;
Run Code Online (Sandbox Code Playgroud)
提出:
您的图标应放置在:/usr/share/icons/ownicons
创建此目录
sudo mkdir /usr/share/myicons/
sudo chown yourusername:yourusername /usr/share/myicons/
Run Code Online (Sandbox Code Playgroud)
有关详细信息,请参阅Gnome 桌面入门规范。
小智 2
我有同样的问题,我创建了新目录,并放置了桌面文件,但是 Ubuntu 13.10 中的 Cinnamon 仍然显示愚蠢的 Windows 徽标,我在其他论坛中搜索,但这一个最接近我的问题。
我将向您展示我的 Microsoft Windows 桌面文件
[Desktop Entry]
Version=1.0
Type=Application
Name=Microsoft Word 2010
Comment=
Icon=word.png
Exec=env WINEPREFIX="/home/larry/.PlayOnLinux//wineprefix/Office2010" wine C:\\\\windows\\\\command\\\\start.exe /Unix /home/larry/.PlayOnLinux//wineprefix/Office2010/dosdevices/c:/users/larry/Start\\ Menu/Programs/Microsoft\\ Office/Microsoft\\ Word\\ 2010.lnk
NoDisplay=false
Categories=wine-Programs-Microsoft Office;
StartupNotify=true
Terminal=false
StartupWMClass=WINWORD.EXE
Encoding=UTF-8
Run Code Online (Sandbox Code Playgroud)
归档时间: |
|
查看次数: |
4924 次 |
最近记录: |