{"id":204,"date":"2006-05-21T13:55:42","date_gmt":"2006-05-21T10:55:42","guid":{"rendered":"http:\/\/www.void.gr\/kargig\/blog\/?p=204"},"modified":"2006-05-21T16:38:51","modified_gmt":"2006-05-21T13:38:51","slug":"popup-of-current-song-playing-in-xmms","status":"publish","type":"post","link":"https:\/\/www.void.gr\/kargig\/blog\/2006\/05\/21\/popup-of-current-song-playing-in-xmms\/","title":{"rendered":"Popup of current song playing in xmms"},"content":{"rendered":"<p>I am a regular user of xmms. I like it because the interface is so simple, because it has tons of plugins for almost anything one can imagine, and because you can control it from the command line.<\/p>\n<p>What I wanted to do was make it able to display the current song on the screen, but only when I want it to. I know there&#8217;s an xosd plugin that can display various information on the screen, but it does it every time the song changes. I want that to appear only when I press some key combination.<\/p>\n<p>So I started checking out what I could do. I ended up with <a href=\"http:\/\/linux.pte.hu\/~pipas\/gtkdialog\/\">gtkdialog<\/a>, which is a very nice and VERY easy to use programmable interface for displaying custom gtkwindows. It was a matter of 1 minute to create a simple popup with a simple Label and an &#8220;OK&#8221; button to clear the popup.<br \/>\nThen I needed a program to be able to manipulate and display info about current song in xmms. That was <a href=\"http:\/\/user.it.uu.se\/~adavid\/utils\/\">xmmsctrl<\/a>.<\/p>\n<p>Now time to combine them together with a simple bash script named gtk-xmms-title:<\/p>\n<p><code><br \/>\n#! \/bin\/bash<br \/>\nTITLE=`xmmsctrl print \"%T  (%m of %M)%n\"`<br \/>\n     export MAIN_DIALOG='<br \/>\n      &lt;vbox&gt;<br \/>\n       &lt;text&gt;<br \/>\n         &lt;label&gt;'$TITLE' &lt;\/label&gt;<br \/>\n       &lt;\/text&gt;<br \/>\n       &lt;hbox&gt;<br \/>\n        &lt;button ok&gt;&lt;\/button&gt;<br \/>\n       &lt;\/hbox&gt;<br \/>\n      '<br \/>\ngtkdialog --program MAIN_DIALOG<br \/>\n<\/code><\/p>\n<p>Then I made the script executable and moved it to \/usr\/bin\/.  The final touch was to add a keyboard shortcut to my .fluxbox\/keys<\/p>\n<p><code><br \/>\nMod1 F12 :ExecCommand gtk-xmms-title<br \/>\n<\/code><\/p>\n","protected":false},"excerpt":{"rendered":"<p>I am a regular user of xmms. I like it because the interface is so simple, because it has tons of plugins for almost anything one can imagine, and because you can control it from the command line. What I wanted to do was make it able to display the current song on the screen, [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"ep_exclude_from_search":false,"footnotes":""},"categories":[3],"tags":[],"class_list":["post-204","post","type-post","status-publish","format-standard","hentry","category-linux"],"aioseo_notices":[],"aioseo_head":"\n\t\t<!-- All in One SEO 5.0.3 - aioseo.com -->\n\t<meta name=\"description\" content=\"I am a regular user of xmms. I like it because the interface is so simple, because it has tons of plugins for almost anything one can imagine, and because you can control it from the command line. What I wanted to do was make it able to display the current song on the screen,\" \/>\n\t<meta name=\"robots\" content=\"max-image-preview:large\" \/>\n\t<meta name=\"author\" content=\"kargig\"\/>\n\t<link rel=\"canonical\" href=\"https:\/\/www.void.gr\/kargig\/blog\/2006\/05\/21\/popup-of-current-song-playing-in-xmms\/\" \/>\n\t\t<meta name=\"generator\" content=\"All in One SEO (AIOSEO) 5.0.3\" \/>\n\t\t<script type=\"application\/ld+json\" class=\"aioseo-schema\">\n\t\t\t{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/www.void.gr\\\/kargig\\\/blog\\\/2006\\\/05\\\/21\\\/popup-of-current-song-playing-in-xmms\\\/#article\",\"name\":\"Popup of current song playing in xmms | Into.the.Void.\",\"headline\":\"Popup of current song playing in xmms\",\"author\":{\"@id\":\"https:\\\/\\\/www.void.gr\\\/kargig\\\/blog\\\/author\\\/site-admin\\\/#author\"},\"publisher\":{\"@id\":\"https:\\\/\\\/www.void.gr\\\/kargig\\\/blog\\\/#organization\"},\"datePublished\":\"2006-05-21T13:55:42+03:00\",\"dateModified\":\"2006-05-21T16:38:51+03:00\",\"inLanguage\":\"en-US\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.void.gr\\\/kargig\\\/blog\\\/2006\\\/05\\\/21\\\/popup-of-current-song-playing-in-xmms\\\/#webpage\"},\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.void.gr\\\/kargig\\\/blog\\\/2006\\\/05\\\/21\\\/popup-of-current-song-playing-in-xmms\\\/#webpage\"},\"articleSection\":\"Linux\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.void.gr\\\/kargig\\\/blog\\\/2006\\\/05\\\/21\\\/popup-of-current-song-playing-in-xmms\\\/#breadcrumblist\",\"itemListElement\":[{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.void.gr\\\/kargig\\\/blog\\\/#listItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.void.gr\\\/kargig\\\/blog\\\/\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.void.gr\\\/kargig\\\/blog\\\/category\\\/linux\\\/#listItem\",\"name\":\"Linux\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.void.gr\\\/kargig\\\/blog\\\/category\\\/linux\\\/#listItem\",\"position\":2,\"name\":\"Linux\",\"item\":\"https:\\\/\\\/www.void.gr\\\/kargig\\\/blog\\\/category\\\/linux\\\/\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.void.gr\\\/kargig\\\/blog\\\/2006\\\/05\\\/21\\\/popup-of-current-song-playing-in-xmms\\\/#listItem\",\"name\":\"Popup of current song playing in xmms\"},\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.void.gr\\\/kargig\\\/blog\\\/#listItem\",\"name\":\"Home\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.void.gr\\\/kargig\\\/blog\\\/2006\\\/05\\\/21\\\/popup-of-current-song-playing-in-xmms\\\/#listItem\",\"position\":3,\"name\":\"Popup of current song playing in xmms\",\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.void.gr\\\/kargig\\\/blog\\\/category\\\/linux\\\/#listItem\",\"name\":\"Linux\"}}]},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/www.void.gr\\\/kargig\\\/blog\\\/#organization\",\"name\":\"Into.the.Void.\",\"description\":\"Into The Void\",\"url\":\"https:\\\/\\\/www.void.gr\\\/kargig\\\/blog\\\/\",\"sameAs\":[\"https:\\\/\\\/x.com\\\/kargig\"]},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/www.void.gr\\\/kargig\\\/blog\\\/author\\\/site-admin\\\/#author\",\"url\":\"https:\\\/\\\/www.void.gr\\\/kargig\\\/blog\\\/author\\\/site-admin\\\/\",\"name\":\"kargig\"},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.void.gr\\\/kargig\\\/blog\\\/2006\\\/05\\\/21\\\/popup-of-current-song-playing-in-xmms\\\/#webpage\",\"url\":\"https:\\\/\\\/www.void.gr\\\/kargig\\\/blog\\\/2006\\\/05\\\/21\\\/popup-of-current-song-playing-in-xmms\\\/\",\"name\":\"Popup of current song playing in xmms | Into.the.Void.\",\"description\":\"I am a regular user of xmms. I like it because the interface is so simple, because it has tons of plugins for almost anything one can imagine, and because you can control it from the command line. What I wanted to do was make it able to display the current song on the screen,\",\"inLanguage\":\"en-US\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.void.gr\\\/kargig\\\/blog\\\/#website\"},\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.void.gr\\\/kargig\\\/blog\\\/2006\\\/05\\\/21\\\/popup-of-current-song-playing-in-xmms\\\/#breadcrumblist\"},\"author\":{\"@id\":\"https:\\\/\\\/www.void.gr\\\/kargig\\\/blog\\\/author\\\/site-admin\\\/#author\"},\"creator\":{\"@id\":\"https:\\\/\\\/www.void.gr\\\/kargig\\\/blog\\\/author\\\/site-admin\\\/#author\"},\"datePublished\":\"2006-05-21T13:55:42+03:00\",\"dateModified\":\"2006-05-21T16:38:51+03:00\"},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.void.gr\\\/kargig\\\/blog\\\/#website\",\"url\":\"https:\\\/\\\/www.void.gr\\\/kargig\\\/blog\\\/\",\"name\":\"Into.the.Void.\",\"description\":\"Into The Void\",\"inLanguage\":\"en-US\",\"publisher\":{\"@id\":\"https:\\\/\\\/www.void.gr\\\/kargig\\\/blog\\\/#organization\"}}]}\n\t\t<\/script>\n\t\t<!-- All in One SEO -->\n\n","aioseo_head_json":{"title":"Popup of current song playing in xmms | Into.the.Void.","description":"I am a regular user of xmms. I like it because the interface is so simple, because it has tons of plugins for almost anything one can imagine, and because you can control it from the command line. What I wanted to do was make it able to display the current song on the screen,","canonical_url":"https:\/\/www.void.gr\/kargig\/blog\/2006\/05\/21\/popup-of-current-song-playing-in-xmms\/","robots":"max-image-preview:large","keywords":"","webmasterTools":{"miscellaneous":""},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.void.gr\/kargig\/blog\/2006\/05\/21\/popup-of-current-song-playing-in-xmms\/#article","name":"Popup of current song playing in xmms | Into.the.Void.","headline":"Popup of current song playing in xmms","author":{"@id":"https:\/\/www.void.gr\/kargig\/blog\/author\/site-admin\/#author"},"publisher":{"@id":"https:\/\/www.void.gr\/kargig\/blog\/#organization"},"datePublished":"2006-05-21T13:55:42+03:00","dateModified":"2006-05-21T16:38:51+03:00","inLanguage":"en-US","mainEntityOfPage":{"@id":"https:\/\/www.void.gr\/kargig\/blog\/2006\/05\/21\/popup-of-current-song-playing-in-xmms\/#webpage"},"isPartOf":{"@id":"https:\/\/www.void.gr\/kargig\/blog\/2006\/05\/21\/popup-of-current-song-playing-in-xmms\/#webpage"},"articleSection":"Linux"},{"@type":"BreadcrumbList","@id":"https:\/\/www.void.gr\/kargig\/blog\/2006\/05\/21\/popup-of-current-song-playing-in-xmms\/#breadcrumblist","itemListElement":[{"@type":"ListItem","@id":"https:\/\/www.void.gr\/kargig\/blog\/#listItem","position":1,"name":"Home","item":"https:\/\/www.void.gr\/kargig\/blog\/","nextItem":{"@type":"ListItem","@id":"https:\/\/www.void.gr\/kargig\/blog\/category\/linux\/#listItem","name":"Linux"}},{"@type":"ListItem","@id":"https:\/\/www.void.gr\/kargig\/blog\/category\/linux\/#listItem","position":2,"name":"Linux","item":"https:\/\/www.void.gr\/kargig\/blog\/category\/linux\/","nextItem":{"@type":"ListItem","@id":"https:\/\/www.void.gr\/kargig\/blog\/2006\/05\/21\/popup-of-current-song-playing-in-xmms\/#listItem","name":"Popup of current song playing in xmms"},"previousItem":{"@type":"ListItem","@id":"https:\/\/www.void.gr\/kargig\/blog\/#listItem","name":"Home"}},{"@type":"ListItem","@id":"https:\/\/www.void.gr\/kargig\/blog\/2006\/05\/21\/popup-of-current-song-playing-in-xmms\/#listItem","position":3,"name":"Popup of current song playing in xmms","previousItem":{"@type":"ListItem","@id":"https:\/\/www.void.gr\/kargig\/blog\/category\/linux\/#listItem","name":"Linux"}}]},{"@type":"Organization","@id":"https:\/\/www.void.gr\/kargig\/blog\/#organization","name":"Into.the.Void.","description":"Into The Void","url":"https:\/\/www.void.gr\/kargig\/blog\/","sameAs":["https:\/\/x.com\/kargig"]},{"@type":"Person","@id":"https:\/\/www.void.gr\/kargig\/blog\/author\/site-admin\/#author","url":"https:\/\/www.void.gr\/kargig\/blog\/author\/site-admin\/","name":"kargig"},{"@type":"WebPage","@id":"https:\/\/www.void.gr\/kargig\/blog\/2006\/05\/21\/popup-of-current-song-playing-in-xmms\/#webpage","url":"https:\/\/www.void.gr\/kargig\/blog\/2006\/05\/21\/popup-of-current-song-playing-in-xmms\/","name":"Popup of current song playing in xmms | Into.the.Void.","description":"I am a regular user of xmms. I like it because the interface is so simple, because it has tons of plugins for almost anything one can imagine, and because you can control it from the command line. What I wanted to do was make it able to display the current song on the screen,","inLanguage":"en-US","isPartOf":{"@id":"https:\/\/www.void.gr\/kargig\/blog\/#website"},"breadcrumb":{"@id":"https:\/\/www.void.gr\/kargig\/blog\/2006\/05\/21\/popup-of-current-song-playing-in-xmms\/#breadcrumblist"},"author":{"@id":"https:\/\/www.void.gr\/kargig\/blog\/author\/site-admin\/#author"},"creator":{"@id":"https:\/\/www.void.gr\/kargig\/blog\/author\/site-admin\/#author"},"datePublished":"2006-05-21T13:55:42+03:00","dateModified":"2006-05-21T16:38:51+03:00"},{"@type":"WebSite","@id":"https:\/\/www.void.gr\/kargig\/blog\/#website","url":"https:\/\/www.void.gr\/kargig\/blog\/","name":"Into.the.Void.","description":"Into The Void","inLanguage":"en-US","publisher":{"@id":"https:\/\/www.void.gr\/kargig\/blog\/#organization"}}]}},"aioseo_meta_data":{"post_id":"204","title":null,"description":null,"keywords":null,"keyphrases":null,"primary_term":null,"canonical_url":null,"og_title":null,"og_description":null,"og_object_type":"default","og_image_type":"default","og_image_url":null,"og_image_width":null,"og_image_height":null,"og_image_custom_url":null,"og_image_custom_fields":null,"og_video":null,"og_custom_url":null,"og_article_section":null,"og_article_tags":null,"twitter_use_og":false,"twitter_card":"default","twitter_image_type":"default","twitter_image_url":null,"twitter_image_custom_url":null,"twitter_image_custom_fields":null,"twitter_title":null,"twitter_description":null,"schema":{"blockGraphs":[],"customGraphs":[],"default":{"data":{"Article":[],"Course":[],"Dataset":[],"FAQPage":[],"Movie":[],"Person":[],"Product":[],"ProductReview":[],"Car":[],"Recipe":[],"Service":[],"SoftwareApplication":[],"WebPage":[]},"graphName":"Article","isEnabled":true},"graphs":[]},"schema_type":"default","schema_type_options":null,"pillar_content":false,"robots_default":true,"robots_noindex":false,"robots_noarchive":false,"robots_nosnippet":false,"robots_nofollow":false,"robots_noimageindex":false,"robots_noodp":false,"robots_notranslate":false,"robots_max_snippet":null,"robots_max_videopreview":null,"robots_max_imagepreview":"large","priority":null,"frequency":null,"local_seo":null,"limit_modified_date":false,"created":"2022-01-04 12:00:38","updated":"2026-10-21 09:22:03","focus_keyword":null,"additional_keywords":null,"truseo_locale":null,"ai":null,"breadcrumb_settings":null,"seo_analyzer_scan_date":null},"aioseo_breadcrumb":"<div class=\"aioseo-breadcrumbs\"><span class=\"aioseo-breadcrumb\">\n\t\t\t<a href=\"https:\/\/www.void.gr\/kargig\/blog\/\" title=\"Home\">Home<\/a>\n\t\t<\/span><span class=\"aioseo-breadcrumb-separator\">\u00bb<\/span><span class=\"aioseo-breadcrumb\">\n\t\t\t<a href=\"https:\/\/www.void.gr\/kargig\/blog\/category\/linux\/\" title=\"Linux\">Linux<\/a>\n\t\t<\/span><span class=\"aioseo-breadcrumb-separator\">\u00bb<\/span><span class=\"aioseo-breadcrumb\">\n\t\t\tPopup of current song playing in xmms\n\t\t<\/span><\/div>","aioseo_breadcrumb_json":[{"label":"Home","link":"https:\/\/www.void.gr\/kargig\/blog\/"},{"label":"Linux","link":"https:\/\/www.void.gr\/kargig\/blog\/category\/linux\/"},{"label":"Popup of current song playing in xmms","link":"https:\/\/www.void.gr\/kargig\/blog\/2006\/05\/21\/popup-of-current-song-playing-in-xmms\/"}],"views":4495,"_links":{"self":[{"href":"https:\/\/www.void.gr\/kargig\/blog\/wp-json\/wp\/v2\/posts\/204","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.void.gr\/kargig\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.void.gr\/kargig\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.void.gr\/kargig\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.void.gr\/kargig\/blog\/wp-json\/wp\/v2\/comments?post=204"}],"version-history":[{"count":0,"href":"https:\/\/www.void.gr\/kargig\/blog\/wp-json\/wp\/v2\/posts\/204\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.void.gr\/kargig\/blog\/wp-json\/wp\/v2\/media?parent=204"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.void.gr\/kargig\/blog\/wp-json\/wp\/v2\/categories?post=204"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.void.gr\/kargig\/blog\/wp-json\/wp\/v2\/tags?post=204"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}