Tag: MoC
Getting sound on the Raspberry pi
19/08/2013
To get sound out the headphone jack type:
1 2 |
sudo modprobe snd_bcm2835 sudo amixer cset numid=3 1 |
To get sound out the HDMI
1 2 |
sudo modprobe snd_bcm2835 sudo amixer cset numid=3 0 |
Trouble with omxplayer?
set the -o output for 3.5 audio jack
1 |
omxplayer -o local |
set the -o output for hdmi
omxplayer -o hdmi
from: http://www.raspians.com/Knowledgebase/no-analog-sound-out-the-headphone-jack/
Share the post "Getting sound on the Raspberry pi"
Show album art in Conky with python script.
05/09/2010
I wanted to show some Album art in conky.
Ofcourse i didnt need to re-invent the wheel so I stumbled upon this forum topic:
Crunchbanglinux::forums::images-in-conky-specifically-rhythmbox-album-art
iggykoopa created a nice script (see here) but because I like the dark feeling of #! I wanted to have the album art in greyscale.
I took his base from: http://crunchbanglinux.org/pastebin/29 and added this part to it: (and an option so you can start it with “conkymusic.py -g”.)
1 2 3 4 |
def grey: image = Image.openhome + "/.album" image = image.convert'L' image.savehome + "/.album", "png" |
You can grab the whole code here: Python CrunchBang Linux Pastebin.
The code in conky:
1 2 |
${execi 10 /home/pieter/.conky/conkymusic.py -g -s 75x75} ${image /home/pieter/.album -p 170,10 -s 75x75} |
Works great here.
Share the post "Show album art in Conky with python script."
MoC theme
26/08/2010
My MoC theme
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 |
# # Theme: pieter_moc_theme # Author: Pieter - pieter.blinkenshell.org # background = white black frame = white black window_title = green black bold directory = white black selected_directory = green black bold playlist = white black selected_playlist = cyan black dim,underline file = white black info = white black selected_file = cyan black dim,underline selected_info = cyan black dim,underline marked_file = cyan black marked_info = cyan black marked_selected_file = cyan black underline marked_selected_info = cyan black underline status = red black bold title = cyan black bold,underline state = red black bold current_time = green black bold time_left = green black bold total_time = green black bold time_total_frames = green black bold sound_parameters = white black bold legend = white black disabled = white black dim enabled = red black bold empty_mixer_bar = white black dim filled_mixer_bar = black white empty_time_bar = white black dim filled_time_bar = white white dim entry = white black entry_title = magenta black bold error = red black bold message = green black bold plist_time = green black bold |
Share the post "MoC theme"