Linux Commands Examples

A great documentation place for Linux commands


The audio player for KDE


amarok [Qt-options] [KDE-options] [URL(s)]

add an example, a script, a trick and tips

: email address (won't be displayed)
: name

Step 2

Thanks for this example ! - It will be moderated and published shortly.

Feel free to post other examples
Oops ! There is a tiny cockup. A damn 404 cockup. Please contact the loosy team who maintains and develops this wonderful site by clicking in the mighty feedback button on the side of the page. Say what happened. Thanks!



How to restore default iPod playlists on Amarok?

I know you can re-create some of those playlist by creating a smart playlist in iTunes. Go to File > New Smart Playlist, then set your parameters, sorry if this does not help.

function amarok {
apt-get install -y amarok

Amarok2 “Search Collection” shortcut?

I don't think so (you could submit a feature request), but you can use Ctrl-J ("Search playlist") and then Shift-Tab to get there. Not the most practical of solutions, but it works.


Why is the new Amarok prompting me for Wallet password on start?

This is the KWalletManager checking for a password most likely. You can close the KWalletManager from the system tray, the symbol looks like this:

alt text


Amarok refuses to play *.ogg files

I faced the same problem, under Ubuntu, albeit. You'll have to install phonon-backend-xine. Once that was installed, it was all smooth sailing. Your other problem should also be fixed with this.


Why you downgraded your Amarok (or why you didn't upgraded)?

Basically because I'm not a fan of the new design in 2.0. For me personally It's just not as clean as 1.4. I've even started moving away from 1.4 now and onto banshee.


Is there a way to make search-based playlists at Amarok 1.4?

First create a smart playlist by choosing the playlist tab, then right clicking on "Smart Playlists", then give it a name, choose "Match Any of the following Conditions" and then enter "Rating" "is" "not rated".

This will automatically be the entire collection + your search. If you want to limit this, to a smaller number, then create a new dynamic playlist using that smart playlist. It will still eventually get through the whole collection, but won't have all of them listed in the active playlist.


Amaroks stops playing after one song

Seems to be fixed in Amarok Version 2.1.90 (its 2.2 rc1 I believe).


Kubuntu desktop audio stutters

Do you have a lot of hard drive activity while playing music? Since you're streaming music from the disk, a lot of other use of that disk could cause this.

The other likely culprit is that there's something wrong with your sound backend. Did Kubuntu make the switch to PulseAudio? I've heard a lot of horror stories about it -- if it did you might want to try switching to ALSA.


Amarok is a powerful music player with an intuitive interface. It makes playing the music you love and discovering new music easier than ever before and it looks good doing it! Amarok is based on the powerful Qt 4 / KDE 4 technology platform and nicely integrates with KDE desktop.

Much work has been invested into integrating Amarok 2 with various Web services:


Jamendo Service




OPML Podcast Directory

Amarok comes with a lot of features including but not limited to:

Scripts - enhance your Amarok experience with community developed scripts.

Dynamic Playlists - create playlists that automatically update.

Context View - customize interface with the Plasma powered Context View.

PopUp Dropper - simplify drag&drop actions with revolutionary menu system.

Multiple Language Translations

Collection Management - organizing your music collection has never been easier with Amarok’s powerful tagging, renaming, and sorting abilities.

Database Importing - import collections from Amarok 1.4 or iTunes.

Scriptable Services - integrate other web services into Amarok.


URL(s) Files/URLs to open

-r, --previous

Skip backwards in playlist

-p, --play

Start playing current playlist

-t, --play-pause

Play if stopped, pause if playing


Pause playback

-s, --stop

Stop playback

-f, --next

Skip forwards in playlist

Generic options:


Show help about options


Show Qt specific options


Show KDE specific options


Show all options


Show author information

-v, --version

Show version information


Show license information


End of options

KDE options:
--caption <caption>

Use ’caption’ as name in the titlebar

--icon <icon>

Use ’icon’ as the application icon

--config <filename>

Use alternative configuration file


Disable crash handler, to get core dumps


Waits for a WM_NET compatible windowmanager

--style <style>

sets the application GUI style

--geometry <geometry>

sets the client geometry of the main widget - see man X for the argument format


Do not run in the background.

Qt options:
--display <displayname>

Use the X-server display ’displayname’

--session <sessionId>

Restore the application for the given ’sessionId’


Causes the application to install a private color map on an 8-bit display

--ncols <count>

Limits the number of colors allocated in the color cube on an 8-bit display, if the application is using the QApplication::ManyColor color specification


tells Qt to never grab the mouse or the keyboard


running under a debugger can cause an implicit -nograb, use -dograb to override


switches to synchronous mode for debugging

--fn, --font <fontname>

defines the application font

--bg, --background <color>

sets the default background color and an application palette (light and dark shades are calculated)

--fg, --foreground <color>

sets the default foreground color

--btn, --button <color>

sets the default button color

--name <name>

sets the application name

--title <title>

sets the application title (caption)

--visual TrueColor

forces the application to use a TrueColor visual on an 8-bit display

--inputstyle <inputstyle>

sets XIM (X Input Method) input style. Possible values are onthespot, overthespot, offthespot and root

--im <XIM server>

set XIM server


disable XIM


mirrors the whole layout of widgets


<file.qss> applies the Qt stylesheet to the application widgets


Alexandre ’Ain’t afraid of no bugs’ Oliveira <aleprj[:at:]gmail[:dot:]com>
Bart ’Where are my toothpicks’ Cerneels <bart.cerneels[:at:]kde[:dot:]org>
Dan ’Hey, it compiled...’ Meltzer <hydrogen[:at:]notyetimplemented[:dot:]com>
Ian ’The Beard’ Monroe <ian[:at:]monroe[:dot:]nu>
Jeff ’IROCKSOHARD’ Mitchell <kde-dev[:at:]emailgoeshere[:dot:]com>
Leo Franchi <lfranchi[:at:]kde[:dot:]org>
Mark ’It’s good, but it’s not irssi’ Kretschmann <kretschmann[:at:]kde[:dot:]org>
Maximilian Kossick <maximilian.kossick[:at:]gmail[:dot:]com>
Nikolaj Hald ’Also very hot’ Nielsen <nhnfreespirit[:at:]gmail[:dot:]com>
Seb ’Surfin’ down under’ Ruiz <ruiz[:at:]kde[:dot:]org>

How can this site be more helpful to YOU ?

give  feedback