[SOLVED] Spotify App for Mageia6

This forum is for general chat between members about Mageia.

Technical questions are supposed to be posted in support forums. Not here !

[SOLVED] Spotify App for Mageia6

Postby marcpare » Jun 25th, '18, 01:03

For those looking to install the Spotify app on their Mageia6 box, here are directions on how to do it. I based these directions from a previous discussion on the same topic here: https://forums.mageia.org/en/viewtopic.php?t=11003, but, have added some additional notes just for the sake of clarity.

1. install flatpak from the Mageia6 repositories (through MCC is fine)
*** there is no need to reboot your computer
2. Install the "flathub.org" flatpak repo and download the spotify client. Type (copy/paste) the following in console (do not do this at root level)
Code: Select all
$ flatpak install --from https://flathub.org/repo/appstream/com.spotify.Client.flatpakref

3. agree to messages from this part of the installation ... it will most likely ask you to
**** install runtimes from "flathub.org"
*** install org.freeedesktop.Platform/x86_64 ....[/list]
4. when installation is complete, log out and back into your account
5. the Spotify app will appear in your "Start-Sound/Video->More" menu
6. If you wish, you can drag the app to your desktop and "link" it

Note that on one of my systems, when I dragged the Spotify app to my desktop to add it as a "link-shortcut", only the name "Spotify" appeared but with no Spotify icon (green coloured icon).
If this happens, you could

1. download an icon from https://developer.spotify.com/branding-guidelines/ -- save it somewhere you can find it again
2. create a new link on your desktop and use as icon image the Spotify image you just downloaded
3. note that for the actual link to the program, you should put down should be:
Code: Select all
/usr/bin/flatpak run --branch=stable --arch=x86_64 --command=spotify --file-forwarding com.spotify.Client @@u %U @@

*** this is the same link that is used by the Spotify app menu item in your Mageia Start menu

That's it! All that is left to do is to double-click on your Spotify icon and log into your Spotify account if you have one.

Cheers,

Marc
marcpare
 
Posts: 16
Joined: Jun 10th, '11, 03:20
Location: Waterloo Ontario, Canada

Re: [SOLVED] Spotify App for Mageia6

Postby morgano » Jun 25th, '18, 01:25

Thank you Marc.
I think your post belongs in the HOWTO thread viewtopic.php?t=11003 covering various methods to install Spotify.
Maybe an admin can move it?
Mandriva since 2006, then Mageia since 2011 at home & work. Thinkpad T42p T43 T60 T61 T400. Aspire 7. Workstation using LVM, LUKS, VirtualBox, BOINC, CAD
morgano
 
Posts: 588
Joined: Jun 15th, '11, 17:51
Location: Kivik, Sweden

Re: [SOLVED] Spotify App for Mageia6

Postby morgano » Sep 23rd, '19, 17:58

Now i see one thing: at step 2 we should use the flag " --user " so it is installed for the user only. Like in the mentonned thread.
Mandriva since 2006, then Mageia since 2011 at home & work. Thinkpad T42p T43 T60 T61 T400. Aspire 7. Workstation using LVM, LUKS, VirtualBox, BOINC, CAD
morgano
 
Posts: 588
Joined: Jun 15th, '11, 17:51
Location: Kivik, Sweden

Re: [SOLVED] Spotify App for Mageia6

Postby doktor5000 » Sep 23rd, '19, 23:15

And if you have multiple users, you suggest to install it for each user ?
Cauldron is not for the faint of heart!
Caution: Hot, bubbling magic inside. May explode or cook your kittens!
----
Disclaimer: Beware of allergic reactions in answer to unconstructive complaint-type posts
User avatar
doktor5000
 
Posts: 15112
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany

Re: [SOLVED] Spotify App for Mageia6

Postby morgano » Sep 27th, '19, 17:12

That is a point.

BTW, currently it refuse to install one component needed for Soptify:

Warning: org.freedesktop.Platform.openh264 needs a later flatpak version

=> https://bugs.mageia.org/show_bug.cgi?id=25463

- which renders Spotify launching but unable to play.
Mandriva since 2006, then Mageia since 2011 at home & work. Thinkpad T42p T43 T60 T61 T400. Aspire 7. Workstation using LVM, LUKS, VirtualBox, BOINC, CAD
morgano
 
Posts: 588
Joined: Jun 15th, '11, 17:51
Location: Kivik, Sweden


Return to General discussions about Mageia

Who is online

Users browsing this forum: No registered users and 1 guest

cron