mv ~/.wine/drive_c/Program\ Files/foobar2000 ~/.foobar2000
改用建link的方式玩
ln -s ~/.wine/drive_c/Program\ Files/foobar2000 ~/.foobar2000
sudo gedit /usr/bin/foobar2000
CODE
#!/bin/sh
cd ~/.foobar2000/
if [ "$1" != "" ]; then
filename=`echo z:$1 | sed 's/\\//\\\\/g'`
env LANG="zh_TW.UTF-8" WINEPREFIX="/home/你的登入名稱/.wine" wine foobar2000.exe "$filename" &
else
env LANG="zh_TW.UTF-8" WINEPREFIX="/home/你的登入名稱/.wine" wine foobar2000.exe &
fi
單用
LANG="zh_TW.UTF-8"
似乎就可以
加一個icon連結到聲音及多媒體的選單底下
gksudo gedit /usr/share/applications/foobar2000.desktop
[Desktop Entry]
Type=Application
Name=foobar2000
GenericName=Plays Music
Version=1.0
Encoding=UTF-8
Terminal=false
Exec=/usr/bin/foobar2000
Comment=Plays Music
Icon=foobar2000.png
Categories=GNOME;GTK;AudioVideo;Audio;Player;
Type=Application
Name=foobar2000
GenericName=Plays Music
Version=1.0
Encoding=UTF-8
Terminal=false
Exec=/usr/bin/foobar2000
Comment=Plays Music
Icon=foobar2000.png
Categories=GNOME;GTK;AudioVideo;Audio;Player;
在gnome右鍵選單加上“add files to foobar2000 ”
沒有留言:
張貼留言