You are not logged in.

#226 2008-05-13 13:55:14

bavardage
Member
Registered: 2008-02-17
Posts: 160

Re: May 2008 Screenshots

cardinals_fan wrote:
bavardage wrote:

AWESOME!   That's a great desktop.  Would you mind sharing your awesomerc?

Gladly:
http://rafb.net/p/N83AUx58.html

Note: it has changed a bit since that screenshot, but not all that much. Just delete the 'height' line from the statusbars to put it like it was.

Offline

#227 2008-05-13 18:30:54

Rokixz
Member
From: Šiauliai, Lithuania
Registered: 2007-04-21
Posts: 251
Website

Re: May 2008 Screenshots

My simple kde smile

kopija6.th.png
kopija5.th.png


http://ispconfig.lt - ISPConfig 3 based hosting. Coming Soon!

Offline

#228 2008-05-13 19:23:41

Nikke
Member
From: Sweden
Registered: 2008-04-27
Posts: 60
Website

Re: May 2008 Screenshots

Openbox___May__13_2008_by_Nikkee.png

Offline

#229 2008-05-13 21:35:17

bladdo
Member
From: Blacksburg, VA
Registered: 2008-05-05
Posts: 111
Website

Re: May 2008 Screenshots

Nice arch updates script, can I see the source, I want to see how you get the updates needed? I wanna port it to PekWM, probably I'll do it in ruby though smile

Last edited by bladdo (2008-05-13 21:37:25)


bladdo / mil / Miles
userbound.com - blog and projects

Offline

#230 2008-05-13 21:38:27

Nikke
Member
From: Sweden
Registered: 2008-04-27
Posts: 60
Website

Re: May 2008 Screenshots

bladdo wrote:

Nice arch updates script, can I see the source? I wanna port it to PekWM, probably I'll do it in ruby though smile

Sure mate...

in menu:

<menu id="pipemenu" label="Arch Packages" execute="/home/nikke/.scripts/feeder.py" />

then feeder.py:

#!/usr/bin/env python
# -*- coding: utf-8 -*-
"""
#-------------------------------------------------------------------------------

feeder.py - version 5
by Vlad George

#-------------------------------------------------------------------------------

Description:
    This script pipes rss and podcast feeds into the openbox menu

Usage:
    First you need the python-feedparser and python-elementtree modules (archlinux (AUR)/ ubuntu).
    Place this script under ~/.config/openbox/scripts, edit the variables under "User set variables"
    according to your likings (your list of rss_urls, browser and media-player to open links,
    number of displayed rss-entries, enable/disable caching of feeds, maximum age of feeds),
    make it executable, then add following to your ~/.config/openbox/menu.xml:
    "<menu id="feeder-menu" label="rss-feeds" execute="~/.config/openbox/scripts/feeder.py" />...
    <menu id="root-menu" label="Openbox3">...<menu id="feeder-menu" />...</menu>"
    and reconfigure openbox.

Changelog:
    01.07.2007:   1st version
    03.07.2007:   works now (changed "~")....
    05.07.2007:   added cache
    07.10.2007:   added name of rss and sorted output
    03.2008:      added podcast support

#-------------------------------------------------------------------------------

This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License
as published by the Free Software Foundation; either version 2
of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU General Public License for more details.

You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
http://www.fsf.org/

"""

#-------------------------------------------------------------------------------             
#                             User set variables
#-------------------------------------------------------------------------------             

## your rss feeds:
rss_urls = [
            #('name to be shown', 'url of rss'),
            ('Arch Uppdateringar', 'http://www.archlinux.org/feeds/packages/'),
            #('', ''),
            #('', ''),
         ]

## browser and audio/video-player to use:
# open_with = "gnome-open"
open_with = "firefox"
play_with = "xmms"

## how many entries should be shown:
rss_feeds_count = 60

## use cache (1 enabled, 0 disabled)
cache = 0

### if cache enabled:

## how old should cache files get - in minutes; set to 0 for manual refresh:
## you can also use >> feeder.py --update << to only update the cache file (useful as cronjob)
age = 120

## temporary directory for cache file (default=/tmp/); leave it as it is.
cache_dir = "/tmp"


#-------------------------------------------------------------------------------
#                                   Script
#-------------------------------------------------------------------------------


# {{{ ##  fold marker start

def gettingTitles(url_list):
    # get feeds for each url:
    rss_dict = {}
    for i in xrange(len(url_list)):

        rss = feedparser.parse(url_list[i][1])
        rss_entry = []
        try:
            append = rss_entry.append
            if rss.entries[i].has_key('link') == False:
                [append((rss.entries[num].title, None, rss.entries[num].enclosures[0].href)) for num in xrange(rss_feeds_count)]
            elif rss.entries[i].has_key('enclosures') == False:
                [append((rss.entries[num].title, rss.entries[num].link, None)) for num in xrange(rss_feeds_count)]
            else:
                [append((rss.entries[num].title, rss.entries[num].link, rss.entries[num].enclosures[0].href)) for num in xrange(rss_feeds_count)]
        except IndexError:
            pass
        try:
            if url_list[i][0] == '':
                rss_dict[(rss.feed.title, url_list[i][1])] = rss_entry[0:int(rss_feeds_count)]
            else:
                rss_dict[(url_list[i][0], url_list[i][1])] = rss_entry[0:int(rss_feeds_count)]
        except:
            pass
    # rss_dict-items: { ..., ([i][0]:> rss-url, [i][1]:> rss-name):[..., ([i][j][0]:> entry-title, [i][j][1]:> entry-link, [i][j][2]:> entry-podcast_link), ...], ... }
    return rss_dict


def generateXml(dict_url_entry, outfile):
    # sort dict items according display name
    sorted_list = dict_url_entry.items()
    sorted_list.sort()
    # [ ..., (([i][0][0] -> rss-name, [i][0][1] -> rss-url), [..., ([i][1][j][0] -> entry-title, [i][1][j][1] -> entry-link, [i][1][j][2]:> entry-podcast_link), ...]), ... ]
    root = ET.Element("openbox_pipe_menu")
    for i in xrange(len(sorted_list)):
        menu = ET.SubElement(root,"menu", attrib = {"id" : sorted_list[i][0][1], "label" : unicode(sorted_list[i][0][0])})
        for j in xrange(len(sorted_list[i][1])):
            try:
                if sorted_list[i][1][j][2] == None:
                    item = ET.SubElement(menu, "item", attrib = {"label" : unicode(sorted_list[i][1][j][0])})
                    action = ET.SubElement(item, "action", attrib = {"name" : "Execute"})
                    command = ET.SubElement(action, "command")
                    tmp = str(sorted_list[i][1][j][1]).replace('~','%7E')
                    command.text = "%s %s" % (open_with, tmp)
                elif sorted_list[i][1][j][1] == None:
                    podcast_menu = ET.SubElement(menu, "menu", attrib = {"id" : str(int(random.random()*10000000)) + "-menu", "label" : unicode(sorted_list[i][1][j][0])})
                    podcast_play = ET.SubElement(podcast_menu, "item", attrib = {"label" : " play podcast"})
                    podcast_play_action = ET.SubElement(podcast_play, "action", attrib = {"name": "Execute"})
                    podcast_play_execute = ET.SubElement(podcast_play_action, "command")
                    tmp = str(sorted_list[i][1][j][2]).replace('~','%7E')
                    podcast_play_execute.text = "%s %s" % (play_with, tmp)
                else:
                    podcast_menu = ET.SubElement(menu, "menu", attrib = {"id" : str(int(random.random()*10000000)) + "-menu", "label" : unicode(sorted_list[i][1][j][0])})
                    podcast_open = ET.SubElement(podcast_menu, "item", attrib = {"label" : " open "})
                    podcast_open_action = ET.SubElement(podcast_open, "action", attrib = {"name": "Execute"})
                    podcast_open_execute = ET.SubElement(podcast_open_action, "command")
                    tmp1 = str(sorted_list[i][1][j][1]).replace('~','%7E')
                    podcast_open_execute.text = "%s %s" % (open_with, tmp1)
                    podcast_play = ET.SubElement(podcast_menu, "item", attrib = {"label" : " play podcast"})
                    podcast_play_action = ET.SubElement(podcast_play, "action", attrib = {"name": "Execute"})
                    podcast_play_execute = ET.SubElement(podcast_play_action, "command")
                    tmp2 = str(sorted_list[i][1][j][2]).replace('~','%7E')
                    podcast_play_execute.text = "%s %s" % (play_with, tmp2)
            except IndexError:
                pass
    if cache == 1:
        separator = ET.SubElement(root,"separator")
        refresh = ET.SubElement(root,"item", attrib = {"label":"Reload Cache"})
        action2 = ET.SubElement(refresh,"action",attrib = {"name":"Execute"})
        command2 = ET.SubElement(action2,"command")
        command2.text = "%s %s" % (sys.argv[0], "--update")
    tree = ET.ElementTree(root)
    tree.write(outfile)


def ageCheck(age_in_min, file_to_check):
    age_in_sec = int(age_in_min)*60
    file_age = int(time())-int(os.path.getmtime(file_to_check))
    if age_in_min == 0:
        return 1
    elif os.path.isfile(file_to_check) and file_age < age_in_sec:
        return 1
    else:
        return 0


def printXml(xml_entry):
    temp_file = file(xml_entry,'r')
    a = temp_file.read()
    temp_file.close()
    print a


#-------------------------------------------------------------------------------             
#                                    Main
#-------------------------------------------------------------------------------             
import os.path, sys, feedparser
import elementtree.ElementTree as ET
import random
from time import time

#-------------------------#
if __name__ == "__main__" :
#-------------------------#
    if cache == 1:
        cache_file = cache_dir + "/." + str(os.path.split(sys.argv[0])[1]) + "-" + str(os.getuid()) + ".cache"
        if ('--update' in sys.argv[1:]):
            generateXml(gettingTitles(rss_urls), cache_file)
        elif os.path.isfile(cache_file) and ageCheck(age, cache_file):
            print '<?xml version="1.0" encoding="UTF-8"?>'
            printXml(cache_file)
        else:
            generateXml(gettingTitles(rss_urls), cache_file)
            print '<?xml version="1.0" encoding="UTF-8"?>'
            printXml(cache_file)
    else:
        print '<?xml version="1.0" encoding="UTF-8"?>'
        generateXml(gettingTitles(rss_urls), sys.stdout)


# }}} ##  fold marker end

# vim: set ft=python ts=4 sw=4 foldmethod=marker :

Offline

#231 2008-05-13 22:40:23

Ashren
Member
From: Denmark
Registered: 2007-06-13
Posts: 1,229
Website

Re: May 2008 Screenshots

Back to dwm 4.9 as my main wm. Been playing around with Dzen2 again and through some creative thinking/scripting/googling I succeeded applying gradients to my homebrewed dzen2 menu and to dzen2 in general.

2008-05-14-003116_1280x800_scrot980.png.xs.jpg

Offline

#232 2008-05-13 22:40:50

Frem
Member
From: Longview, TX
Registered: 2005-02-27
Posts: 56
Website

Re: May 2008 Screenshots

Genius. Looks like Windows, but meh. It's simplistic, but not to the point of sacrificing functionality. (Though I have no idea how all you guys survive without trays loaded to the brim like mine.) What theme is that?

Offline

#233 2008-05-14 05:38:29

pedepy
Member
Registered: 2007-02-21
Posts: 198

Re: May 2008 Screenshots

is this my second may post ? i don't remember.

anyway, made some "adjustments":

ss-14-05-08-1705.png.xs.jpg
ss-14-05-08-3499.png.xs.jpg

i like me some b'n'w' action this month.


chupocabra ... psupsuspsu psu psu

Offline

#234 2008-05-14 07:49:17

Mo
Member
Registered: 2007-01-18
Posts: 92

Re: May 2008 Screenshots

thumbbi8.png

Basically the same ol' xmonad with dzen...

Offline

#235 2008-05-14 09:58:31

GGLucas
Member
Registered: 2008-03-13
Posts: 113

Re: May 2008 Screenshots

may.thumb.png
Most of my configs were stolen from ones on the internet and tweaked to my liking tongue

Offline

#236 2008-05-14 16:33:49

Gigamo
Member
Registered: 2008-01-19
Posts: 394

Re: May 2008 Screenshots

currentt.png

Playing with Dina.

Offline

#237 2008-05-14 18:08:25

SiD
Member
From: Germany
Registered: 2006-09-21
Posts: 729

Re: May 2008 Screenshots

screenshotrz3.th.jpg

Just a new wallpaper.
;-)

Openbox
Conky
Nitrogen
Terminal
Pypanel

Offline

#238 2008-05-14 19:09:59

Stalafin
Member
From: Berlin, Germany
Registered: 2007-10-26
Posts: 617

Re: May 2008 Screenshots

Alright guys, you made me want to try one of those odd looking WMs such as Dzen, Xmonad or the like... Can you just gimme a short round-up about why those are so useful? Or why you are using them?

Offline

#239 2008-05-14 19:32:26

bslagowski
Member
Registered: 2008-02-23
Posts: 102

Re: May 2008 Screenshots

Stalafin wrote:

Alright guys, you made me want to try one of those odd looking WMs such as Dzen, Xmonad or the like... Can you just gimme a short round-up about why those are so useful? Or why you are using them?

They're good if you run a lot of terminal based apps. If you're into GUI stuff they're not as useful, at least from my experiences. They make the most of your screen's real estate, which is very useful if you tend to have a lot of terminals open. I tend to work with one window open, having three or four things staring at me just gets distracting. The most I tend to do is alt+tab between a word processor and a web browser. But if you're a multi-tasker a tiling WM might be perfect for you. In any case, the screenshot thread might not be the best place to discuss this -- a lot more people will probably reply if you post on the Desktop Board. tongue

Last edited by bslagowski (2008-05-14 19:34:26)

Offline

#240 2008-05-14 20:37:16

TomE
Member
Registered: 2005-08-06
Posts: 164

Re: May 2008 Screenshots

I've been using this  wm and  gtk theme a long with the wallpaper for a while,
200805111549561152x864sqx5.th.png

Offline

#241 2008-05-14 20:45:56

Reasons
Member
From: Washington
Registered: 2007-11-04
Posts: 572

Re: May 2008 Screenshots

05_14_2008_by_PurposeOfReason.png

Offline

#242 2008-05-15 13:03:34

raul_nds
Member
From: Lisbon, Portugal
Registered: 2007-06-28
Posts: 258

Re: May 2008 Screenshots

Arch Power cool

20080515laptopws8.th.png

Offline

#243 2008-05-15 13:36:42

Barghest
Member
From: Hanau/Germany
Registered: 2008-01-03
Posts: 563

Re: May 2008 Screenshots

What application is shown in the middle of your desktop (the one with the home folder icon)?

Thanks

Offline

#244 2008-05-15 14:05:25

raul_nds
Member
From: Lisbon, Portugal
Registered: 2007-06-28
Posts: 258

Re: May 2008 Screenshots

Barghest wrote:

What application is shown in the middle of your desktop (the one with the home folder icon)?

Thanks

That's Katapult. You can use Gnome-Do for Gnome

Offline

#245 2008-05-15 16:43:06

fuscia
Member
Registered: 2008-04-21
Posts: 398

Re: May 2008 Screenshots

jwm, urxvt, screen, cplay.

odd2.jpg

Last edited by fuscia (2008-05-15 18:30:49)

Offline

#246 2008-05-15 19:01:01

Kyle Carter
Member
Registered: 2008-02-14
Posts: 91

Re: May 2008 Screenshots

15x7edz_th.png

I installed Hardy a few days ago, as it was the first Ubuntu I hadn't tried out.. But I just HAD to go back to Arch after a day or two with it. Hardy's really, really, really nice, but I just can't use apt anymore.

heh.

anyhooooo, here's my day-old Arch XFCE setup:

DE: XFCE4
WM: XFWM (Carbonit-Mac)
GTK: Clearlooks-Grey

Offline

#247 2008-05-15 19:41:50

fuscia
Member
Registered: 2008-04-21
Posts: 398

Re: May 2008 Screenshots

i like this pic.

finscr.jpg

Offline

#248 2008-05-15 21:50:38

DrNick
Member
Registered: 2008-01-01
Posts: 14

Re: May 2008 Screenshots

bavardage wrote:
cardinals_fan wrote:
bavardage wrote:

AWESOME!   That's a great desktop.  Would you mind sharing your awesomerc?

Gladly:
http://rafb.net/p/N83AUx58.html

Note: it has changed a bit since that screenshot, but not all that much. Just delete the 'height' line from the statusbars to put it like it was.

The link isn't working for me. Could you share your awesomerc once more?

TIA

Offline

#249 2008-05-16 01:27:48

Stalafin
Member
From: Berlin, Germany
Registered: 2007-10-26
Posts: 617

Re: May 2008 Screenshots

TomE wrote:

I've been using this  wm and  gtk theme a long with the wallpaper for a while,
http://img384.imageshack.us/img384/6669 … qx5.th.png

Could you send me a link to both the GTK theme? Couldnt find it...

Offline

#250 2008-05-16 05:17:10

angvp
Forum Fellow
From: Buenos Aires, Argentina
Registered: 2008-05-15
Posts: 32
Website

Re: May 2008 Screenshots

Hi, someone can send me the new Arch Linux logo in ascii please.

Thanks.

Offline

Board footer

Powered by FluxBB