blueyonder wrote:
Piraja wrote:

Another #! Compact Cassette Conky & Wallpaper setup, featuring e.g. Junkohanhero's fonts & dingbats (see dafont.com).

http://omploader.org/tMXByOQ

That ... is...  awesome! Such a 70's feel to it. Guess I really like it because I'm actually from that era! lol

Not to go all nostalgic either, but have you checked out http://www.tapedeck.org   smile

102

(3 replies, posted in Artwork & Screenshots)

anonymous wrote:

Needs more cereal. Also now Im hungry lol

Yep. As a cereal devotee, I realize the cereal to milk ratio is way off wink I'm not entirely happy with the floaty #!'s. They could be better... and there should be more of them. However when I added more it started to look like macaroni floating in milk! smile

Testing out some ideas for my next screencast, I came up with this.

Clearly I have too much time on my hands. I'm gonna go fold some laundry now.

Direct Link:

http://rfquerin.org/cbang/breakfast_1280x800.png


http://rfquerin.org/cbang/breakfast_1280x800.png

104

(4 replies, posted in Artwork & Screenshots)

I really like the cube! Nice glowy edges and the lighting gradients look really nice.

Nice bold monochrome desktop by the way. What dock is that?

105

(9 replies, posted in Artwork & Screenshots)

Here's one for those who might like dark wallpapers and ninjas. wink  I gave one with a silly tagline and one without.

I'm not sure how it will look on your own monitor. It seems like things look great on my laptop here, but somewhat darker on my monitor at work. In this case things are dark greys and blacks so I hope it all just doesn't disappear.

Direct Links:
http://rfquerin.org/cbang/ninjafied_1280x800.png
http://rfquerin.org/cbang/ninjafied_128 … agLine.png


http://rfquerin.org/cbang/ninjafied_1280x800.png

http://rfquerin.org/cbang/ninjafied_1280x800_withSillyTagLine.png

106

(38 replies, posted in CrunchBang Talk)

ZOMG - The mystery is no longer a mystery! smile

Hey I know you too.. don't you owe me money?


tongue

karthik wrote:

That font used in your Conky is very pretty- what is it called?

It's called Yanone Kaffeesatz.  You can find it at http://dafont.com (just search for yanone). It's licensed under Creative Commons according to the creator's site.

I've got a question. How did you create the rings in the one that's second from the top? Viewed full size these look very cool. Almost like chrome tail pipes on a black background. I see a few neat ideas in those wallpapers.

109

(4 replies, posted in Artwork & Screenshots)

Here's a fun one. I did the zoom blur in the Gimp. The rest was done in Inkscape.
Update: Added a "shiny" version.

http://rfquerin.org/cbang/kryptobang_1280x800.png
http://rfquerin.org/cbang/kryptobang_1280x800_shiny.png

http://rfquerin.org/cbang/kryptobang_1280x800.png

http://rfquerin.org/cbang/kryptobang_1280x800_shiny.png

110

(38 replies, posted in CrunchBang Talk)

Great stuff. Anonymous has already helped me out a bunch of times. Congrats!

111

(7 replies, posted in Artwork & Screenshots)

Actually I just cut and pasted their faq into Google Translate and it appears they're free for personal use. At least I think.

112

(7 replies, posted in Artwork & Screenshots)

kBang wrote:

O M G...pure sexiness.

What font is that and is it proprietary?

Glad you like it.

I got the font from http://www.digitaldreamdesign.net/. I can't read Japanese, but when you browse their fonts, and come to this one (which is No. 042 btw), it allows you to download it for free in Mac or Windows TTF format. Maybe someone that reads Japanese could explain the licensing. I'm assuming it's free as in beer, but not as in freedom.

113

(7 replies, posted in Artwork & Screenshots)

I know this isn't a #! wallpaper per se, but I think it's still worth posting here. I really came up with the wallpaper just to use an open box graphic I was doodling with today. It's a simple, clean and dark wallpaper. Hope you like it.

UPDATE: Just for fun, I decided to do a really light version too.

Direct Link:

http://rfquerin.org/cbang/cbang_obox_01_1280x800.png
http://rfquerin.org/cbang/cbang_obox_01 … _light.png


http://rfquerin.org/cbang/cbang_obox_01_1280x800.png

http://rfquerin.org/cbang/cbang_obox_01_1280x800_light.png

Thanks for the link omns.

That tutorial is very similar to one I did in Inkscape a while back (http://screencasters.heathenx.org/episode-074/). But I like your starry sky better than the one I did. More realistic.. at least I think so.

Great stuff omns!

I have one question though.. how did you do the starry sky? I love the effect.

116

(29 replies, posted in Tips, Tricks & Scripts)

Nicky wrote:

Yes it is what I said, there is maybe a problem with ' in "l'ensemble", but it shouldn't make the script totally not working.

When I put it directly in the menu.xml, in fact it make a line where it is printed: Temps: nuageux dans l

But maybe there is something like for the "à" to translate it in something else.

Good news.. I took your original script and then changed it so that it generated double quotes inside the xml entries instead of single quotes. I called it from my menu and it seems to work! smile

I've attached the modified script right here (I also changed the misspellings of maximum and minimum in the script too just because it bugged me wink ):

#!/usr/bin/python

import sys
import urllib
from string import maketrans
#from xml.sax import make_parser, handler
from xml.sax import handler, parseString
class ElementProcesser(handler.ContentHandler):
    
    def startElement(self, name, attrs):
        
        if name == "city":
            print "<separator label=\"" + attrs["data"] + "\" />"
        elif name == "current_conditions":
            print "<separator label=\"Conditions actuelles\" />"
        elif name == "condition":
            print "<item label=\"Temps: " + attrs["data"] + "\" />"
        elif name == "humidity":
            print "<item label=\"" + attrs["data"] + "\" />"
        elif name == "wind_condition":
            print "<item label=\"" + attrs["data"] + "\" />"
        elif name == "day_of_week":
            print "<separator label=\"" + self.getDayOfWeek(attrs["data"]) + "\" />"
            
        #Celsius
        elif name == "temp_c":
            print "<item label=\"Temperature " + attrs["data"] + " C\" />"
        elif name == "low":
            print "<item label=\"Minimum " + attrs["data"] + " C\" />"
        elif name == "high":
            print "<item label=\"Maximum " + attrs["data"] + " C\" />"
        
        #Fahrenheit
        #elif name == "temp_f":
            #print "<item label=\"Temperature " + attrs["data"] + " F\" />"
        #elif name == "low":
            #print "<item label=\"Minimum " + attrs["data"] + " F\" />"
        #elif name == "high":
            #print "<item label=\"Maximum " + attrs["data"] + " F\" />"
        
        
    def endElement(self, name):
        
        if name == "current_conditions":
            print "<separator label=\"Previsions\" />"
        
    
    def startDocument(self):
        print "<openbox_pipe_menu>"
    
    def endDocument(self):
        print "</openbox_pipe_menu>"
    
    def getDayOfWeek(self,day):
        
        #Francais
        if day == "lun.":
            return "Lundi"
        elif day == "mar.":
            return "Mardi"
        elif day == "mer.":
            return "Mercredi"
        elif day == "jeu.":
            return "Jeudi"
        elif day == "ven.":
            return "Vendredi"
        elif day == "sam.":
            return "Samedi"
        elif day == "dim.":
            return "Dimanche"
        
        else:
            return day

# You should use your local version of google to have the messages in your language and metric system
f = urllib.urlopen("http://www.google.fr/ig/api?weather=paris")
xml = f.read()
f.close()

#Avoid problems with non english characters
trans=maketrans("\xe1\xe9\xed\xf3\xfa\xe0","aeioua")
xml = xml.translate(trans)

#parser.parse("http://www.google.es/ig/api?weather="+sys.argv[1])
parseString(xml,ElementProcesser())

Give this a shot and see if it works now.

117

(29 replies, posted in Tips, Tricks & Scripts)

I compared what your script generated and what mine generated. The only difference I see that could make a difference is the apostrophe in "l'ensemble".  Right now the script generates the xml strings using single quotes, so the strings are probably getting screwed up.

If you modify the python script to generate the xml strings using double quotes instead of single quotes it would eliminate the problem I think. Can xml run with double quotes? That's the only thing I'm not sure of.

118

(29 replies, posted in Tips, Tricks & Scripts)

I may be mistaken, but don't you have to specify your city name as a parameter when you launch the script? So for instance my line in menu.xml is:

<menu id="pipe-weather" label="Weather" execute="python ~/.config/openbox/scripts/gweather.py alliston" />

Note that the order of things is a little different from yours (not a big deal I don't think) but note the town name "alliston" right after the script name.

I finally got around to simplifying my Conky down to the bare essentials. I had it chock full of info up to now, but after setting up the weather pipe menu, I decided to go really simple with it. I just found I wasn't looking at anything other than 3 or 4 key items anyway.

I'm running tint2, Conky and Trayer. And yes, that is one of the lovely default wallpapers.

Clearly one of the more boring desktops in this thread. wink

http://img301.imageshack.us/img301/4114/desktopclean050209.th.png

Thanks for the links Hanna. The one with the theming engine discussion has already started clearing things up for me.

corenominal wrote:
rfquerin wrote:

1. Can anybody point to a source of decent information on modifying a gtk2 theme? Or is it a case of just jumping in, trying something and figuring it out?

I normally opt for the jumping in method, it is more fun! big_smile

Yup. I have nothing against doing that either. Is TheWidgetFactory the best way to just do trial and error stuff? How did you do it when you were creating the default #! themes?

121

(56 replies, posted in CrunchBang Talk)

One of my fave little time-killer games is Klickety (I think it's now in the kdegames-kde4 package but I haven't installed it on my new lappy yet). Almost completely mindless (the way I play it anyway) but quite useful when doing stuff like waiting for video to encode. smile

UPDATE: Cripes.. Klickety has apparently removed since KDE4. Aaargh. When I upgraded to Intrepid from Hardy on this desktop I think I lost it! sad

UPDATE2: Yay! My dear Klickety and I were reunited when I found the deb file on this page: https://launchpad.net/ubuntu/intrepid/i … 9-0ubuntu1

I'm interested in creating a theme (or more accurately, customizing an existing one). I see that for the /usr/share/themes/crunchbang theme folder there are openbox, metacity and gtk-2.0 folders which contain the rc files etc.

While the themerc for the openbox theme is fairly straightforward, the gtk-2.0 gtkrc file looks a little more challenging. I have two questions:

1. Can anybody point to a source of decent information on modifying a gtk2 theme? Or is it a case of just jumping in, trying something and figuring it out?

2. I've never understood the concept of theming on Linux when it comes to murrine vs clearlooks vs whatever theming engines. I don't know how to use one over another (it seems like whatever is installed gets used?). Is there some article or series of articles which explains how the whole GTK theming system works?

I've seen a fair amount of great customized themes here so I figure someone could share the love. smile

123

(29 replies, posted in Tips, Tricks & Scripts)

I finally got around to adding this script and entry to my openbox menu. When I first installed it, I made sure to change the commented portions so that it would show the Celsius data rather than the Fahrenheit (we're all metric-i-fied up here wink ). Anyway, I noticed that this only changed the 'current conditions' portion to metric, but the remaining high and low values for the next few days were funky. While it was showing a nice 'C' symbol, the values were obviously still metric (if it really was going to be 63C tomorrow there was NO way I was going to work! smile ).

So after gazing at the python script for a while trying to rassle back up my meager python skills, I decided to take a look at the XML file it was getting from Google and lo and behold Google was not providing consistently metric data. Notice the high and low values in the forecast_condition portion compared to the current conditions in this snippet from the xml:

<xml_api_reply version="1">
−
<weather module_id="0" tab_id="0" mobile_row="0" mobile_zipped="1" row="0" section="0">
−
<forecast_information>
<city data="New Tecumseth, ON"/>
<postal_code data="alliston"/>
<latitude_e6 data=""/>
<longitude_e6 data=""/>
<forecast_date data="2009-04-28"/>
<current_date_time data="2009-04-29 02:41:39 +0000"/>
<unit_system data="US"/>
</forecast_information>
−
<current_conditions>
<condition data="Partly Cloudy"/>
<temp_f data="34"/>
<temp_c data="1"/>
<humidity data="Humidity: 100%"/>
<icon data="/ig/images/weather/partly_cloudy.png"/>
<wind_condition data="Wind: N at 2 mph"/>
</current_conditions>
−
<forecast_conditions>
<day_of_week data="Tue"/>
<low data="40"/>
<high data="64"/>
<icon data="/ig/images/weather/chance_of_rain.png"/>
<condition data="Scattered Showers"/>
</forecast_conditions>

So I made a slight modification to the script to do the conversion on the high and low values myself. And wonder of wonders it appears to work! smile Here's the modified script. I don't know if this is a problem for anybody else running this thing with metric values, but it might be of use to someone. I've commented out the two lines I changed but left them in there for reference:

#!/usr/bin/python

import sys
import urllib
from string import maketrans
#from xml.sax import make_parser, handler
from xml.sax import handler, parseString
class ElementProcesser(handler.ContentHandler):
    
    def startElement(self, name, attrs):
        
        if name == "city":
            print "<separator label='" + attrs["data"] + "' />"
        elif name == "current_conditions":
            print "<separator label='Current conditions' />"
        elif name == "condition":
            print "<item label='Weather: " + attrs["data"] + "' />"
        elif name == "humidity":
            print "<item label='" + attrs["data"] + "' />"
        elif name == "wind_condition":
            print "<item label='" + attrs["data"] + "' />"
        elif name == "day_of_week":
            print "<separator label='" + self.getDayOfWeek(attrs["data"]) + "' />"
            
        #Celsius
        elif name == "temp_c":
            print "<item label='Temperature " + attrs["data"] + " C' />"
        elif name == "low":
            value = (int(attrs["data"])-32)*5/9
            print "<item label='Minimum " + str(value) + " C' />"
           # print "<item label='Minimum " + attrs["data"] + " C' />"
        elif name == "high":
            value = (int(attrs["data"])-32)*5/9
            print "<item label='Maximum " + str(value) + " C' />"
           # print "<item label='Maximum " + attrs["data"] + " C' />"
           
        
        #Fahrenheit
        #elif name == "temp_f":
            #print "<item label='Temperature " + attrs["data"] + " F' />"
        #elif name == "low":
            #print "<item label='Minimun " + attrs["data"] + " F' />"
        #elif name == "high":
            #print "<item label='Maximun " + attrs["data"] + " F' />"
        
        
    def endElement(self, name):
        
        if name == "current_conditions":
            print "<separator label='Forecast' />"
        
    
    def startDocument(self):
        print '<openbox_pipe_menu>'
    
    def endDocument(self):
        print '</openbox_pipe_menu>'
    
    def getDayOfWeek(self,day):
        
        #English
        if day == "Mon":
            return "Monday"
        elif day == "Tue":
            return "Tuesday"
        elif day == "Wed":
            return "Wednesday"
        elif day == "Thu":
            return "Thursday"
        elif day == "Sat":
            return "Saturday"
        elif day == "Sun":
            return "Sunday"
        
        else:
            return day

# You should use your local version of google to have the messages in your language and metric system
f = urllib.urlopen("http://www.google.ca/ig/api?weather="+sys.argv[1])
xml = f.read()
f.close()

#Avoid problems with non english characters
trans=maketrans("\xe1\xe9\xed\xf3\xfa","aeiou")
xml = xml.translate(trans)

#parser.parse("http://www.google.es/ig/api?weather="+sys.argv[1])
parseString(xml,ElementProcesser())
kBang wrote:

Now where is my tuxzilla desktop??  big_smile

Shoot. I completely missed that.

Actually it might be an interesting little project to come up with something like that... hmmm..

125

(6 replies, posted in Artwork & Screenshots)

fhsm wrote:

@rfquerin "Inkscape Ninja" is a much deserved tag!

Thanks. But actually I think maybe "Inkscape Brown Belt" might be more accurate. tongue