特殊:Badtitle/NS100:Songbird:修订间差异
小无编辑摘要 |
小无编辑摘要 |
||
第23行: | 第23行: | ||
uname -m > tmp.arch.txt | uname -m > tmp.arch.txt | ||
if grep -q "64" tmp.arch.txt ; then | if grep -q "64" tmp.arch.txt ; then | ||
anw=`zenity --question --text "You appear to have an | anw=`zenity --question --text "You appear to have an AMD64 architecture. Do you want to install the 64-bit version of Songbird?"; echo $?` | ||
if [ $anw = 0 ] ; then | if [ $anw = 0 ] ; then | ||
gksudo "echo 0" | gksudo "echo 0" | ||
第49行: | 第49行: | ||
fi | fi | ||
else | else | ||
zenity --info --text="This script works for only x86 and | zenity --info --text="This script works for only x86 and AMD64 architectures." | ||
fi | fi | ||
rm tmp.arch.txt | rm tmp.arch.txt |
2007年12月5日 (三) 12:28的版本
文章出处: |
{{#if: | {{{2}}} | https://help.ubuntu.com/community/Songbird }} |
点击翻译: |
English {{#ifexist: {{#if: UbuntuHelp:Songbird | UbuntuHelp:Songbird | {{#if: | :}}Songbird}}/af | • {{#if: UbuntuHelp:Songbird|Afrikaans| [[::Songbird/af|Afrikaans]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Songbird | UbuntuHelp:Songbird | {{#if: | :}}Songbird}}/ar | • {{#if: UbuntuHelp:Songbird|العربية| [[::Songbird/ar|العربية]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Songbird | UbuntuHelp:Songbird | {{#if: | :}}Songbird}}/az | • {{#if: UbuntuHelp:Songbird|azərbaycanca| [[::Songbird/az|azərbaycanca]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Songbird | UbuntuHelp:Songbird | {{#if: | :}}Songbird}}/bcc | • {{#if: UbuntuHelp:Songbird|جهلسری بلوچی| [[::Songbird/bcc|جهلسری بلوچی]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Songbird | UbuntuHelp:Songbird | {{#if: | :}}Songbird}}/bg | • {{#if: UbuntuHelp:Songbird|български| [[::Songbird/bg|български]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Songbird | UbuntuHelp:Songbird | {{#if: | :}}Songbird}}/br | • {{#if: UbuntuHelp:Songbird|brezhoneg| [[::Songbird/br|brezhoneg]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Songbird | UbuntuHelp:Songbird | {{#if: | :}}Songbird}}/ca | • {{#if: UbuntuHelp:Songbird|català| [[::Songbird/ca|català]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Songbird | UbuntuHelp:Songbird | {{#if: | :}}Songbird}}/cs | • {{#if: UbuntuHelp:Songbird|čeština| [[::Songbird/cs|čeština]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Songbird | UbuntuHelp:Songbird | {{#if: | :}}Songbird}}/de | • {{#if: UbuntuHelp:Songbird|Deutsch| [[::Songbird/de|Deutsch]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Songbird | UbuntuHelp:Songbird | {{#if: | :}}Songbird}}/el | • {{#if: UbuntuHelp:Songbird|Ελληνικά| [[::Songbird/el|Ελληνικά]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Songbird | UbuntuHelp:Songbird | {{#if: | :}}Songbird}}/es | • {{#if: UbuntuHelp:Songbird|español| [[::Songbird/es|español]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Songbird | UbuntuHelp:Songbird | {{#if: | :}}Songbird}}/fa | • {{#if: UbuntuHelp:Songbird|فارسی| [[::Songbird/fa|فارسی]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Songbird | UbuntuHelp:Songbird | {{#if: | :}}Songbird}}/fi | • {{#if: UbuntuHelp:Songbird|suomi| [[::Songbird/fi|suomi]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Songbird | UbuntuHelp:Songbird | {{#if: | :}}Songbird}}/fr | • {{#if: UbuntuHelp:Songbird|français| [[::Songbird/fr|français]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Songbird | UbuntuHelp:Songbird | {{#if: | :}}Songbird}}/gu | • {{#if: UbuntuHelp:Songbird|ગુજરાતી| [[::Songbird/gu|ગુજરાતી]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Songbird | UbuntuHelp:Songbird | {{#if: | :}}Songbird}}/he | • {{#if: UbuntuHelp:Songbird|עברית| [[::Songbird/he|עברית]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Songbird | UbuntuHelp:Songbird | {{#if: | :}}Songbird}}/hu | • {{#if: UbuntuHelp:Songbird|magyar| [[::Songbird/hu|magyar]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Songbird | UbuntuHelp:Songbird | {{#if: | :}}Songbird}}/id | • {{#if: UbuntuHelp:Songbird|Bahasa Indonesia| [[::Songbird/id|Bahasa Indonesia]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Songbird | UbuntuHelp:Songbird | {{#if: | :}}Songbird}}/it | • {{#if: UbuntuHelp:Songbird|italiano| [[::Songbird/it|italiano]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Songbird | UbuntuHelp:Songbird | {{#if: | :}}Songbird}}/ja | • {{#if: UbuntuHelp:Songbird|日本語| [[::Songbird/ja|日本語]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Songbird | UbuntuHelp:Songbird | {{#if: | :}}Songbird}}/ko | • {{#if: UbuntuHelp:Songbird|한국어| [[::Songbird/ko|한국어]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Songbird | UbuntuHelp:Songbird | {{#if: | :}}Songbird}}/ksh | • {{#if: UbuntuHelp:Songbird|Ripoarisch| [[::Songbird/ksh|Ripoarisch]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Songbird | UbuntuHelp:Songbird | {{#if: | :}}Songbird}}/mr | • {{#if: UbuntuHelp:Songbird|मराठी| [[::Songbird/mr|मराठी]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Songbird | UbuntuHelp:Songbird | {{#if: | :}}Songbird}}/ms | • {{#if: UbuntuHelp:Songbird|Bahasa Melayu| [[::Songbird/ms|Bahasa Melayu]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Songbird | UbuntuHelp:Songbird | {{#if: | :}}Songbird}}/nl | • {{#if: UbuntuHelp:Songbird|Nederlands| [[::Songbird/nl|Nederlands]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Songbird | UbuntuHelp:Songbird | {{#if: | :}}Songbird}}/no | • {{#if: UbuntuHelp:Songbird|norsk| [[::Songbird/no|norsk]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Songbird | UbuntuHelp:Songbird | {{#if: | :}}Songbird}}/oc | • {{#if: UbuntuHelp:Songbird|occitan| [[::Songbird/oc|occitan]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Songbird | UbuntuHelp:Songbird | {{#if: | :}}Songbird}}/pl | • {{#if: UbuntuHelp:Songbird|polski| [[::Songbird/pl|polski]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Songbird | UbuntuHelp:Songbird | {{#if: | :}}Songbird}}/pt | • {{#if: UbuntuHelp:Songbird|português| [[::Songbird/pt|português]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Songbird | UbuntuHelp:Songbird | {{#if: | :}}Songbird}}/ro | • {{#if: UbuntuHelp:Songbird|română| [[::Songbird/ro|română]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Songbird | UbuntuHelp:Songbird | {{#if: | :}}Songbird}}/ru | • {{#if: UbuntuHelp:Songbird|русский| [[::Songbird/ru|русский]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Songbird | UbuntuHelp:Songbird | {{#if: | :}}Songbird}}/si | • {{#if: UbuntuHelp:Songbird|සිංහල| [[::Songbird/si|සිංහල]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Songbird | UbuntuHelp:Songbird | {{#if: | :}}Songbird}}/sq | • {{#if: UbuntuHelp:Songbird|shqip| [[::Songbird/sq|shqip]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Songbird | UbuntuHelp:Songbird | {{#if: | :}}Songbird}}/sr | • {{#if: UbuntuHelp:Songbird|српски / srpski| [[::Songbird/sr|српски / srpski]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Songbird | UbuntuHelp:Songbird | {{#if: | :}}Songbird}}/sv | • {{#if: UbuntuHelp:Songbird|svenska| [[::Songbird/sv|svenska]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Songbird | UbuntuHelp:Songbird | {{#if: | :}}Songbird}}/th | • {{#if: UbuntuHelp:Songbird|ไทย| [[::Songbird/th|ไทย]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Songbird | UbuntuHelp:Songbird | {{#if: | :}}Songbird}}/tr | • {{#if: UbuntuHelp:Songbird|Türkçe| [[::Songbird/tr|Türkçe]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Songbird | UbuntuHelp:Songbird | {{#if: | :}}Songbird}}/vi | • {{#if: UbuntuHelp:Songbird|Tiếng Việt| [[::Songbird/vi|Tiếng Việt]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Songbird | UbuntuHelp:Songbird | {{#if: | :}}Songbird}}/yue | • {{#if: UbuntuHelp:Songbird|粵語| [[::Songbird/yue|粵語]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Songbird | UbuntuHelp:Songbird | {{#if: | :}}Songbird}}/zh | • {{#if: UbuntuHelp:Songbird|中文| [[::Songbird/zh|中文]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Songbird | UbuntuHelp:Songbird | {{#if: | :}}Songbird}}/zh-hans | • {{#if: UbuntuHelp:Songbird|中文(简体)| [[::Songbird/zh-hans|中文(简体)]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Songbird | UbuntuHelp:Songbird | {{#if: | :}}Songbird}}/zh-hant | • {{#if: UbuntuHelp:Songbird|中文(繁體)| [[::Songbird/zh-hant|中文(繁體)]]}}|}} |
{{#ifeq:UbuntuHelp:Songbird|:Songbird|请不要直接编辑翻译本页,本页将定期与来源同步。}} |
{{#ifexist: :Songbird/zh | | {{#ifexist: Songbird/zh | | {{#ifeq: {{#titleparts:Songbird|1|-1|}} | zh | | }} }} }} {{#ifeq: {{#titleparts:Songbird|1|-1|}} | zh | | }}
Introduction (from the Songbird website)
Songbird™ is a desktop Web player, a digital jukebox and Web browser mash-up. Like Winamp, it supports extensions and skins feathers. Like Firefox®, it is built from Mozilla®, cross-platform and open source. Note that Songbird is currently in development and the version available for download is intended for developers. Songbird is notorious for providing numerous user-friendly ways to find music and the ease of downloading it.
Installing Songbird with a .deb
Paste these commands into the terminal:
wget -c http://www.linuxmint.com/repository/cassandra/songbird_0.2.5.1_i386.deb sudo dpkg -i songbird_0.2.5.1_i386.deb sudo ln -s /usr/lib/songbird/Songbird /usr/bin/songbird
Installing Songbird with a Script
You can install Songbird using the script below. These instructions will help you run the installation script.
Getting the script
Open your favorite text editor (Gedit, Kate, Mousepad). You should get a blank document. In that blank document, paste the following code:
#!/bin/bash if [ -d /usr/local/bin/songbird ]; then zenity --info --text="You appear to already have Songbird installed. To get the newest version, you should use the self-update function in Songbird instead of using this script." exit fi cd /tmp uname -m > tmp.arch.txt if grep -q "64" tmp.arch.txt ; then anw=`zenity --question --text "You appear to have an AMD64 architecture. Do you want to install the 64-bit version of Songbird?"; echo $?` if [ $anw = 0 ] ; then gksudo "echo 0" wget http://www.xs4all.nl/~mgj1/Songbird/64.bit URL=`head -n 1 64.bit | tail -n 1` FILE=`head -n 2 64.bit | tail -n 1` rm 64.bit wget "$URL" 2>&1 | sed -u 's/.*\ \([0-9]\+%\)\ \+\([0-9.]\+\ [KMB\/s]\+\)$/\1\n# Downloading Songbird with \2/' | zenity --progress --auto-close --title="Downloading Songbird..." tar -xvzf "$FILE" else zenity --info --text="Installation cancelled." fi elif grep -q "86" tmp.arch.txt ; then anw=`zenity --question --text "You appear to have an x86 architecture. Do you want to install the i686 version of Songbird?"; echo $?` if [ $anw = 0 ] ; then gksudo "echo 0" wget http://www.xs4all.nl/~mgj1/Songbird/32.bit URL=`head -n 1 32.bit | tail -n 1` FILE=`head -n 2 32.bit | tail -n 1` rm 32.bit wget "$URL" 2>&1 | sed -u 's/.*\ \([0-9]\+%\)\ \+\([0-9.]\+\ [KMB\/s]\+\)$/\1\n# Downloading Songbird with \2/' | zenity --progress --auto-close --title="Downloading Songbird..." tar -xvzf "$FILE" else zenity --info --text="Installation cancelled." fi else zenity --info --text="This script works for only x86 and AMD64 architectures." fi rm tmp.arch.txt gksudo "mv Songbird /usr/local/bin/songbird" rm Songbird*.tar.gz gksudo "rm /usr/bin/Songbird" gksudo "rm -r /usr/bin/Songbird" gksudo "ln -s /usr/local/bin/songbird/songbird /usr/bin/Songbird" wget -c -q http://www.psychocats.net/ubuntu/songbirdicon.png gksudo "mv songbirdicon.png /usr/share/pixmaps/songbird.png" wget -c -q http://www.psychocats.net/ubuntu/songbird.desktop gksudo "mv songbird.desktop /usr/share/applications/songbird.desktop" zenity --info --text="After you refresh your menus, Songbird should be available as an application within the menus. If not, the launcher for Songbird should use the command Songbird (with a capital S). \n \nEnjoy!"
Then save the file on your desktop as the filename installsongbird.sh
Making the script executable
Paste these commands in the terminal:
cd ~/Desktop chmod +x installsongbird.sh
Running the script
Paste this command in the terminal:
./installsongbird.sh
Once the script runs, Songbird should be fully installed with a desktop launcher and a universally accessible executable.
Using Songbird without Installing It
If you don't want full integration of Songbird (hidden in a universally accessible place, launcher icon, etc.), you can just download the latest Songbird to your /home/username folder, double-click it (or single-click in Kubuntu), extract the .tar.gz file, enter the new songbird folder in your home directory and double-click (or single-click in Kubuntu) the Songbird file inside.