Elric's random thoughts in idle times

"Why stop now, when I'm just starting to hate it?" – Marvin the robot

Ncmpcpp config example

leave a comment »

Configuring ncmpcpp can be pretty hard, and I benefited from people who posted their config file. I’m just posting my current configuration, omitting the default configuration values present in the config file, which are commented. Here, you’ll only see what is different from the default config, as the config file is HUGE. I also deleted most comments, so you’ll need to open ncmpcpp’s example config file to see the comments and understand what’s going on.

The colors are simple (I use few), and look a bit like aptitude’s or my mutt’s color layout.

###############################################
## Omar config ##
####################################################
#
##### connection settings #####
#
## set it in order to make tag editor and renaming files work properly
#
mpd_host = "localhost"
#
mpd_port = "6600"
#
mpd_music_dir = "~/Music/"

# I had to set this to avoid a bug which slows down viewing artist's list
mpd_communication_mode = "polling" (polling/notifications)

##### music visualizer #####
##
## Note: In order to make music visualizer work you'll
## need to use mpd fifo output, whose format parameter
## has to be set to 44100:16:1. Example configuration:
## (it has to be put into mpd.conf)
## This is the simplest way to configure it. ncmpcpp has to
## be compiled with support for it.
visualizer_fifo_path = "/tmp/mpd.fifo"

## Note: To enable spectrum frequency visualization
## you need to compile ncmpcpp with fftw3 support.
##
#
visualizer_type = "spectrum" (spectrum/wave)

##### song format #####

song_list_format = "{%a - }{%t}|{$8%f$9}$R{$8(%l)$9}"

song_library_format = "{$4%n - }{%t}|{%f$9}"

media_library_album_format = "{%b}|$D"

## Note: Below variables are for alternative version of user's interface.
## Their syntax supports all tags and colors listed above plus some extra
## markers used for text attributes. They are followed by character '$'.
## After that you can put:

alternative_header_first_line_format = "$b$8$aqqu$/a {%t}|{%f} $atqq$/a$9$/b"
#
alternative_header_second_line_format = "{{$5$b%a$/b}{ - $b%b}{ (%y)}}|{%D$9}"

## Note: Below variables also supports
## text attributes listed above.

now_playing_prefix = "$b"

now_playing_suffix = "$/b"

selected_item_prefix = "$b"

selected_item_suffix = "$/b"

##### columns settings #####

song_columns_list_format = "(25)[blue]{a} (25)[white]{b} (40)[white]{t} (5)[yellow]{l}"

##### various settings #####

playlist_display_mode = "columns" (classic/columns)

browser_display_mode = "columns" (classic/columns)

incremental_seeking = "yes"

user_interface = "alternative" (classic/alternative)

header_visibility = "yes"

statusbar_visibility = "yes"

header_text_scrolling = "yes"

## How shall key_screen_switcher work?

screen_switcher_mode = "sequence: 2 -> 5"

## Note: You can define startup screen for ncmpcpp
## by choosing screen number from the list above.
##
startup_screen = "5"

clock_display_seconds = "yes"

display_bitrate = "yes"

empty_tag_marker = "----"

enable_window_title = "yes"

##### lyrics support #####
##
## supported lyrics databases:
##
## - 1 - lyricsplugin.com
##
#
lyrics_database = "1"
#
external_editor = "vim"

##### colors definitions #####

colors_enabled = "yes"

empty_tag_color = "red"

header_window_color = "cyan"

volume_color = "yellow"

main_window_color = "white"

color1 = "blue"

color2 = "white"

main_window_highlight_color = "blue"

progressbar_color = "blue"

statusbar_color = "yellow"

alternative_ui_separator_color = "blue"

active_column_color = "white"

window_border_color = "green"

active_window_border = "white"

This is an image showing the current layout and colors with this configuration.

Enjoy!

Written by elric80

November 25, 2010 at 1:53 pm

Posted in linux, music

Tagged with , , ,

Debian Squeeze nautilus-dropbox.deb i386 package

with 17 comments

Edit 2: Official Debian dropbox package on the way :) http://raphaelhertzog.com/2011/06/06/official-debian-ubuntu-packages-for-nautilus-dropbox/

Edit: The package nautilus-dropbox is now available in Hadret’s Debian PPA (among other interesting stuff). You might be better off using it.

If you are looking for the amd64 version, go here.

This is the nautilus-dropbox package built on Debian Squeeze i386.

nautilus-dropbox_0.6.3_i386.deb

It will call the real installation and that’s about it. Don’t be mistaken by the version number, it will download the latest version, just hover over the notification icon and you’ll see the real version. You can upgrade by just deleting the appropriate folder in your home directory.

Enjoy!

Written by elric80

October 6, 2010 at 1:31 pm

Posted in debian, gnome, linux

Tagged with , , , ,

Kupfer 202 for Squeeze

leave a comment »

I built this Kupfer package v202 for Squeeze as it includes some bug fixes and appindicator support, which I use. Thought to share so you can just download it.

All archs download

Checkout Kupfer’s monochrome icons too if you want to integrate it with indicator-applet’s icons.

Enjoy.

Written by elric80

September 6, 2010 at 4:14 pm

Posted in debian, gnome, linux

Tagged with , , ,

John Goerzen orphans offlineimap

leave a comment »

There are things that break my heart badly… such as this. This tool is by far the fastest imap sync tool I’ve ever used (including the ones integrated in apps such as Thunderbird), works great on my poor internet connection, and I love to use it with Mutt.

Luckily enough, the tool is far enough for a regular gmail account, and as such I will keep it till it starts segfaulting due to an incompatible dependency upgrade :***

So… thanks John Goerzen for the time spent on this fantastic tool. Sometimes I wish I had studied programming instead of language so I could maintain apps that I like and get unmaintained.

And I also hope you (John) will become unsatisfied with imap mail fetchers once again :)

Written by elric80

June 21, 2010 at 12:03 pm

Posted in debian, linux

Tagged with , , , , , ,