nightingale as default music player

Questions about applications and software
Forum rules
Before you post please read how to get help
Post Reply
krustybaguette
Level 3
Level 3
Posts: 151
Joined: Thu Mar 31, 2011 8:24 am

nightingale as default music player

Post by krustybaguette »

I have downloaded and installed nightingale (a fork of songbird). I like it particularly as there is an add-on M-Lyrics that lets the user add and edit lyrics, saving them into the mp3 file. "embedded lyrics". I've discovered that these embedded lyrics don't work with Winamp for Android and their add-ons appear geared toward lyrics from internet databases. I've got nothing against those, but they're not what I want. The default music player that came with my new Galaxy SIII does plays my mp3 recordings along with the lyrics that I inserted on my laptop using nightingale.
Problem is I installed nightingale in my /home folder and am unable to set it as my default music player. Where should it be installed so that when I am trying to do right click/open with/other application I will be able to find it. It does not appear as a "recommended application". Nor is it listed among other applications when I click on "show other applications."
User avatar
bigj231
Level 5
Level 5
Posts: 787
Joined: Fri Feb 26, 2010 10:16 am
Location: Middle of Nowhere
Contact:

Re: nightingale as default music player

Post by bigj231 »

you might look at this link: https://wiki.archlinux.org/index.php/De ... plications. The section on Gnome 3 in particular.
Running on a 4-slot toaster @ 60Hz
krustybaguette
Level 3
Level 3
Posts: 151
Joined: Thu Mar 31, 2011 8:24 am

Re: nightingale as default music player

Post by krustybaguette »

From the archlinux wiki link I focused on this section.
Applications don't appear in the Open With... context menu (of a file manager)
Sometimes, a certain application will not appear in the right-click Open With... dialog. To fix this problem, locate the .desktop file in /usr/share/applications, edit it as root, and add %U to the end of the Exec= line. For example, Kile currently has this problem; you need to edit /usr/share/applications/kde4/kile.desktop and change the line reading Exec=kile to read Exec=kile %U. Also, please file a bug against the upstream project if you notice this problem.
You may also have to edit the MimeTypes list in the .desktop file if you install extensions that allow an application to handle additional MIME types.
In my Mint 13 /usr/share/applications there is no sign of a .desktop file. There is a file in there "defaults.list" which seems to be related however there is no mention of nightingale in there. There are a bunch of app icons. Here is a copy of what IS there as related to audio apps. Right click/properties reveals that each icon is a desktop launcher. So if I create a launcher on my desktop and place it in this folder I'm guessing it would solve the issue. On a related note, what is this "totem" which seems to be associate with all the audio file formats?
audio/3gpp=totem.desktop
audio/ac3=totem.desktop
audio/AMR=totem.desktop
audio/AMR-WB=totem.desktop
audio/basic=totem.desktop
audio/flac=totem.desktop
audio/midi=totem.desktop
audio/mp4=totem.desktop
audio/mpeg=totem.desktop
audio/mpegurl=totem.desktop
audio/ogg=totem.desktop
audio/prs.sid=totem.desktop
audio/vnd.rn-realaudio=totem.desktop
audio/x-ape=totem.desktop
audio/x-flac=totem.desktop
audio/x-gsm=totem.desktop
audio/x-it=totem.desktop
audio/x-m4a=totem.desktop
audio/x-matroska=totem.desktop
audio/x-mod=totem.desktop
audio/x-mp3=totem.desktop
audio/x-mpeg=totem.desktop
audio/x-mpegurl=totem.desktop
audio/x-ms-asf=totem.desktop
audio/x-ms-asx=totem.desktop
audio/x-ms-wax=totem.desktop
audio/x-ms-wma=totem.desktop
audio/x-musepack=totem.desktop
audio/x-pn-aiff=totem.desktop
audio/x-pn-au=totem.desktop
audio/x-pn-realaudio=totem.desktop
audio/x-pn-realaudio-plugin=totem.desktop
audio/x-pn-wav=totem.desktop
audio/x-pn-windows-acm=totem.desktop
audio/x-realaudio=totem.desktop
audio/x-real-audio=totem.desktop
audio/x-sbc=totem.desktop
audio/x-scpls=totem.desktop
audio/x-speex=totem.desktop
audio/x-tta=totem.desktop
audio/x-wav=totem.desktop
audio/x-wavpack=totem.desktop
audio/x-vorbis=totem.desktop
audio/x-vorbis+ogg=totem.desktop
audio/x-xm=totem.desktop
User avatar
bigj231
Level 5
Level 5
Posts: 787
Joined: Fri Feb 26, 2010 10:16 am
Location: Middle of Nowhere
Contact:

Re: nightingale as default music player

Post by bigj231 »

Totem is the default audio player for Gnome IIRC. I use Amarok since I have the KDE libraries installed.

Back on topic,I don't know if it would work, but it seems you could make your own .desktop file. Just use one of the ones already there as a template. Don't forget to add add %U to the end of the Exec= line. You will have to create the file as root.
EDIT: Don't do that. use "~/.local/share/applications" instead as it overrides the global settings. You also don't need root privileges there.

Another option is to use the gsettings tool as outlined in the wiki article. Use:

Code: Select all

man gsettings
to learn how to use the command. I have used that before with success. It will take some time to figure out how to use it though.
Running on a 4-slot toaster @ 60Hz
krustybaguette
Level 3
Level 3
Posts: 151
Joined: Thu Mar 31, 2011 8:24 am

Re: nightingale as default music player

Post by krustybaguette »

but it seems you could make your own .desktop file. Just use one of the ones already there as a template
And therein lies the rub. I can't find any .desktop files. I opened /usr/share/applications and starting at root I enabled "show hidden files" but nothing new appears with a dot in front as in .desktop or /.local/share/applications. The only editable files that seem related to configuration that I find in /usr/share/applications are defaults.list, bamf.index, mimeinfo.cache. These are long lists and many mention audio players, but no mention of nightingale. Most of the files in /usr/share/applications are launchers so I created one for nightingale duplicating the one I have in my Start menu. It works to start the program but doesn't add nightingale to a list of available programs.
I searched entire file system for *.desktop and came up with nothing.

In re: that list of available programs the appears after right click/open with/other application/show other applications there are some listings that have many copies of the same thing; e.g. all the MS Office 2003 apps which I installed via WINE show up 10 to 20 times. Some native Linux apps also have multiple listings. "A Wine application" is one that appears several times. I don't know about those listings. They're mostly just a nuisance to scroll by looking for what I want but there must be a configuration file that I am missing somewhere. As I mentioned earlier, there are NO .desktop files in /usr/share/applications unless by .desktop files you mean those launchers/shortcuts.

There's also a /usr/local/share/applications folder which also has defaults.list and mimeinfo.cache but they only seem to refer to Chrome and Google Earth apps.
User avatar
bigj231
Level 5
Level 5
Posts: 787
Joined: Fri Feb 26, 2010 10:16 am
Location: Middle of Nowhere
Contact:

Re: nightingale as default music player

Post by bigj231 »

Are you using Nautilus or nemo to find those files? Several show up in both location for me by using the terminal and the ls command. I'll upload one when I boot up my machine again.

Gah, autocorrect. it is stupid.

Here is the mintupdate.desktop file:

Code: Select all

[Desktop Entry]
Name=Update Manager
Name[en_GB]=Update Manager
Name[ko]=업데이트 관리자
Name[hr]=Upravitelj nadogradnjama
Name[ms]=Pengurus Kemaskini
Name[nds]=Opfrischenoppasser
Name[bs]=menadzer nadogradnje
Name[he]=מנהל עדכונים
Name[oc]=Gestionari de mesas a jorn
Name[tr]=Güncelleme Yöneticisi
Name[fo]=Dagføringa fyrisiting
Name[id]=Pengaturan Pembaruan
Name[fr]=Gestionnaire de Mises à Jour
Name[ar]=مدير التحديثات
Name[pl]=Menedżer aktualizacji
Name[sk]=Správca aktualizácií
Name[bg]=Диспечер на актуализациите
Name[es]=Gestor de actualizaciones
Name[fa]=مدیریت به روزرسانی
Name[hi]=Update Manager
Name[vi]=Trình Quản lý Cập nhật
Name[mk]=Менаџер за надградба
Name[nb]=Oppdateringsbehandler
Name[cs]=Správce aktualizací
Name[mr]=अद्ययावतीकरण प्रबंधक
Name[is]=Uppfærslustjóri
Name[eu]=Eguneraketa Kudeatzailea
Name[sl]=Upravljalnik posodobitev
Name[fi]=Päivitysten hallinta
Name[pt]=Gestor de Actualizações
Name[sr]=Menadzer zakrpa
Name[af]=Opdateringsbestuurder
Name[tl]=Tagapamahala ng Update
Name[uk]=Менеджер оновлення
Name[am]=የማሻሻያ አስተዳዳሪ
Name[et]=Uuendamishaldur
Name[ta]=Update Manager
Name[pt_PT]=Gestor de Actualizações
Name[ast]=Xestor d'anovamientos
Name[csb]=Menedżera aktualizacëji
Name[ru]=Менеджер обновлений
Name[zh_TW]=更新管理員
Name[ja]=アップデートマネージャー
Name[ca]=Gestor d'actualitzacions
Name[en_AU]=Update Manager
Name[bn]=আপডেট ম্যানেজার
Name[zh_CN]=更新管理器
Name[nl]=Updatebeheer
Name[el]=Διαχειριστής Ενημερώσεων
Name[it]=Gestione aggiornamenti
Name[sv]=Uppdateringshanterare
Name[da]=Opdateringshåndtering
Name[de]=Aktualisierungsverwaltung
Name[sq]=Menaxhuesi i Përditësimeve
Name[ml]=പരിഷ്കരണ ചുമതലക്കാരന്‍
Name[nn]=Oppdateringshandsamar
Name[kk]=Жаңарту менеджері
Name[lt]=Atnaujinimų tvarkyklė
Name[pt_BR]=Gerenciador de atualizações
Name[hu]=Frissítéskezelő
Name[ro]=Administrator actualizări
Name[zh_HK]=更新管理員
Name[gl]=Xestor de actualizacións
Comment=Show and install available updates
Comment[en_GB]=Show and install available updates
Comment[ko]=이용 가능한 업데이트를 보여주고, 설치합니다
Comment[hr]=Pokaži i instaliraj moguće nadogradnje
Comment[ms]=Tunjuk dan pasang kemaskini yang ada
Comment[nds]=Show and install available updates
Comment[bs]=Prikaži i instaliraj dostupne nadogradnje
Comment[he]=הצגה והתקנת העדכונים הזמינים
Comment[oc]=Afichar e installar las mesas a jorn disponiblas
Comment[tr]=Mevcut güncellemeleri göster ve yükle
Comment[fo]=Vís og legg inn tøkar dagførlsur
Comment[id]=Tampilkan dan instal pembaruan yang tersedia
Comment[fr]=Afficher et installer les mises à jour disponibles
Comment[ar]=اعرض وثبت التحديثات المتوفرة
Comment[pl]=Pokaż i zainstaluj dostępne aktualizacje
Comment[sk]=Zobraziť a inštalovať dostupné aktualizácie
Comment[bg]=Показване и инсталиране на наличните актуализации
Comment[es]=Muestra e instala las actualizaciones disponibles
Comment[fa]=نمایش و نصب به روزرسانی های در دسترس
Comment[hi]=Show and install available updates
Comment[vi]=Hiển thị và cài đặt các bản cập nhật hiện hữu
Comment[mk]=Прикажи и инсталирај ги достапните надградби
Comment[nb]=Vis og installer tilgjengelige oppdateringer
Comment[cs]=Zobrazit a nainstalovat dostupné aktualizace
Comment[mr]=अद्ययावतन दाखवा आणि स्थापित करा
Comment[is]=Sýna og setja upp tiltækar uppfærslur
Comment[eu]=Eguneratze eskuragarriak erakutsi eta instalatu
Comment[sl]=Prikaži in namesti posodobitve, ki so na voljo
Comment[fi]=Näytä ja asenna saatavilla olevat päivitykset
Comment[pt]=Mostrar e instalar actualizações disponíveis
Comment[sr]=Prikazi i instaliraj dostupne zakrpe
Comment[af]=Wys en installeer beskikbare opdaterings
Comment[tl]=Show and install available updates
Comment[uk]=Показати та встановити доступні оновлення
Comment[am]=ማሳያ እና መግጠሚያ ዝግጁ የሆኑ ማሻሻያዎችን
Comment[et]=Näita ja paigalda saadaolevaid uuendusi
Comment[ta]=Show and install available updates
Comment[pt_PT]=Mostrar e instalar actualizações disponíveis
Comment[ast]=Amosar ya instalar los anovamientos disponibles
Comment[csb]=Wëskrzëni ë winstalëjë przëstãpné aktualizacëje
Comment[ru]=Показать и установить доступные обновления
Comment[zh_TW]=顯示及安裝可用的更新
Comment[ja]=利用可能なアップデートを表示してインストールします
Comment[ca]=Mostra i instal·la les actualitzacions disponibles
Comment[en_AU]=Show and install available updates
Comment[bn]=যেসকল আপডেট পাওয়া যাচ্ছে সেগুলো প্রদর্শন এবং ইনস্টল কর
Comment[zh_CN]=显示并安装可用更新
Comment[nl]=Beschikbare updates tonen en installeren
Comment[el]=Προβολή και εγκατάσταση διαθέσιμων ενημερώσεων
Comment[it]=Visualizza e installa gli aggiornamenti disponibili
Comment[sv]=Visa och installera tillgängliga uppdateringar
Comment[da]=Vis og installér tilgængelige opdateringer
Comment[de]=Verfügbare Aktualisierungen anzeigen und installieren
Comment[sq]=Shfaq dhe instalo përditësimet e disponueshme
Comment[ml]=ലഭ്യമായ പരിഷ്ക്കാരങ്ങള്‍ കാണിക്കുകയും ഇന്‍സ്റ്റോള്‍ ചെയ്യുകയും ചെയ്യുക
Comment[nn]=Vis og installer tilgjengelege oppdateringar
Comment[kk]=Жетімді жаңартуларды көрсету және орнату
Comment[lt]=Rodyti ir įdiegti esamus atnaujinimus
Comment[pt_BR]=Mostrar e instalar as atualizações disponíveis
Comment[hu]=Rendelkezésre álló frissítések megjelenítése és telepítése
Comment[ro]=Arată şi instalează actualizările disponibile
Comment[zh_HK]=顯示及安裝現有的更新套件
Comment[gl]=Mostra e instala as actualizacións dispoñibles
Exec=mintupdate
Icon=/usr/lib/linuxmint/mintUpdate/icons/base.svg
Terminal=false
Type=Application
Encoding=UTF-8
Categories=Application;System;Settings;
StartupNotify=false
From the Arch Wiki though, the Exec line should be "Exec=mintupdate %U"
Obviously, you don't need to add in the comments and names for all the languages. Do make sure you add in the ones for the languages you use.
Running on a 4-slot toaster @ 60Hz
Post Reply

Return to “Software & Applications”