You are not logged in.

#251 2008-11-13 16:39:26

Daisuke_Aramaki
Member
From: ++49/711
Registered: 2008-10-06
Posts: 651
Website

Re: November 2008 Screenshots

hvgotcodes wrote:

Daisuke_Aramaki

can you provide links to the info.pl and themeinfo.pl scripts you used in the terminal?  Or just post them? 
Thanx

sure thing mate! i got them from another forum! smile

1. info.pl

#!/usr/bin/perl
use Switch;
use strict;
use File::Basename;

####################
## Config options ##
####################

## What distro logo to use to use, Available "Archlinux Debian Ubuntu None" ##
my $distro = "Ubuntu";

## what values to display. Use "OS Kernel DE WM win_theme Theme Font Icons" ##
my $display = "OS Kernel DE WM Win_theme Theme Icons Font Background";

## Takes a screen shot if set to 0 ##
my $shot = 1;
## Command to run to take screen shot ##
my $command = "scrot -d 0.2";

## What colors to use for the variables. ##
my $textcolor = "\e[0m";

## Prints little debugging messages if set to 0 ##
my $quite = 1;



########################
## Script starts here ##
########################
## Define some thing to work with strict ##
my @line = ();
my $found = 0;
my $DE = "NONE";
my $WM = "NONE";

## Hash of WMs and the process they run ##
my %WMlist = ("Beryl", "beryl",
              "Compiz", "compiz",
              "Emerald", "emerald",
              "Fluxbox", "fluxbox",
              "Openbox", "openbox",
              "Blackbox", "blackbox",
              "Xfwm4", "xfwm4",
              "Metacity", "metacity",
              "Kwin", "kwin",
              "FVWM", "fvwm",
              "Enlightenment", "enlightenment",
              "IceWM", "icewm",
              "Window Maker", "wmaker",
              "PekWM","pekwm" );

## Hash of DEs and the process they run ##     
my %DElist = ("Gnome", "gnome-panel",
              "Xfce4", "xfce-mcs-manage",
              "KDE", "ksmserver");

## Get Kernel version ##
if ( $display =~ "Kernel"){
  print "\::$textcolor Finding Kernel version\n" unless $quite == 1;
  my $kernel = `uname -r`;
  $kernel =~ s/\s+/ /g;
  $kernel = " Kernel:$textcolor $kernel";
  push(@line, "$kernel");
}

## Find running processes ##
print "\::$textcolor Getting processes \n" unless $quite == 1;
my $processes = `ps -A | awk {'print \$4'}`;

## Find DE ##
while( (my $DEname, my $DEprocess) = each(%DElist) ) {
  print "\::$textcolor Testing $DEname process: $DEprocess \n" unless $quite == 1;
  if ( $processes =~ m/$DEprocess/ ) {
    $DE = $DEname;
    print "\::$textcolor DE found as $DE\n" unless $quite == 1;
    if( $display =~ m/DE/ ) {
      push(@line, " DE:$textcolor $DE");
    }
    last;
  }
}

## Find WM ##
while( (my $WMname, my $WMprocess) = each(%WMlist) ) {
 print "\::$textcolor Testing $WMname process: $WMprocess \n" unless $quite == 1;
  if ( $processes =~ m/$WMprocess/ ) {
    $WM = $WMname;
    print "\::$textcolor WM found as $WM\n" unless $quite == 1;
    if( $display =~ m/WM/ ) {
      push(@line, " WM:$textcolor $WM");
    }
    last;
  }
}

## Find WM theme ##
if ( $display =~ m/Win_theme/ ){
  switch($WM) {
    case "Openbox" {
      print "\::$textcolor Finding $WM theme\n" unless $quite == 1;
      open(FILE, "$ENV{HOME}/.config/openbox/rc.xml")
      || die "\e[0;31m<Failed>\n";
      while( <FILE> ) {
        if( /<name>(.+)<\/name>/ ) {
          while ( $found == 0 ) {
            print "\::$textcolor $WM theme found as $1\n" unless $quite == 1;
            push(@line, " WM Theme:$textcolor $1");
            $found = 1;
          }
        }
      }
      close(FILE);
    }
    case "Compiz" {
# commented for Heliodor
#      print "\::$textcolor Finding $WM theme\n" unless $quite == 1;
#      open(FILE, "$ENV{HOME}/.emerald/themes/Azurite-22px/theme.ini")
#      || die "\e[0;31m<Failed>\n";
#      while( <FILE> ) {
#        if( /name=(.+)/ ) {
#          print "\::$textcolor $WM theme found as $1\n" unless $quite == 1;
#          push(@line, " WM Theme:$textcolor $1");
#        }
#      }
#      close(FILE);
# Get the heliodor(metacity) theme
      print "\::$textcolor Finding $WM theme\n" unless $quite == 1;
      my $gconf = `gconftool-2 -g /apps/metacity/general/theme`;
      print "\::$textcolor $WM theme found as $gconf\n" unless $quite == 1;
      chomp ($gconf);
      push(@line, " GWD Theme:$textcolor $gconf");
    }
    case "Metacity" {
      print "\::$textcolor Finding $WM theme\n" unless $quite == 1;
      my $gconf = `gconftool-2 -g /apps/metacity/general/theme`;
      print "\::$textcolor $WM theme found as $gconf\n" unless $quite == 1;
      chomp ($gconf);
      push(@line, " WM Theme:$textcolor $gconf");
    }
    case "Fluxbox" {
      print "\::$textcolor Finding $WM theme\n" unless $quite == 1;
      open(FILE, "$ENV{HOME}/.fluxbox/init")
      || die "\e[0;31m<Failed>\n";
      while( <FILE> ) {
        if( /session.styleFile:.*\/(.+)/ ) {
          print "\::$textcolor $WM theme found as $1\n" unless $quite == 1;
          push(@line, " WM Theme:$textcolor $1");
        }
      }
      close(FILE);
    }
    case "Blackbox" {
      print "\::$textcolor Finding $WM theme\n" unless $quite == 1;
      open(FILE, "$ENV{HOME}/.blackboxrc")
      || die "\e[0;31m<Failed>\n";
      while( <FILE> ) {
        if( /session.styleFile:.*\/(.+)/ ) {
          print "\::$textcolor $WM theme found as $1\n" unless $quite == 1;
          push(@line, " WM Theme:$textcolor $1");
        }
      }
      close(FILE);
    }
    case "Xfwm4" {
      print "\::$textcolor Finding $WM theme\n" unless $quite == 1;
      open(FILE, "$ENV{HOME}/.config/xfce4/mcs_settings/xfwm4.xml")
      || die "\e[0;31m<Failed>\n";
      while( <FILE> ) {
        if( /<option name="Xfwm\/ThemeName" type="string" value="(.+)"\/>/ ) {
          print "\::$textcolor $WM theme found as $1\n" unless $quite == 1;
          push(@line, " WM Theme:$textcolor $1");
        }
  } 
      close(FILE);
    }
    case "Kwin" {
      print "\::$textcolor Finding $WM theme\n" unless $quite == 1;
      open(FILE, "$ENV{HOME}/.kde/share/config/kwinrc")
      || die "\e[0;31m<Failed>\n";
      while( <FILE> ) {
        if( /PluginLib=kwin3_(.+)/ ) {
          print "\::$textcolor $WM theme found as $1\n" unless $quite == 1;
          push(@line, " WM Theme:$textcolor $1");
        }
      }
      close(FILE);
    }
    case "Enlightenment" {
      print "\::$textcolor Finding $WM theme\n" unless $quite == 1;
      my $remote = `enlightenment_remote -theme-get theme` ;
      if( $remote =~ m/.*FILE="(.+).edj"/ ) {
        print "\::$textcolor $WM theme found as $1\n" unless $quite == 1;
        push(@line, " WM Theme:$textcolor $1");
      }     
    }       
    case "IceWM" { 
      print "\::$textcolor Finding $WM theme\n" unless $quite == 1;
      open(FILE, "$ENV{HOME}/.icewm/theme")
      || die "\e[0;31m<Failed>\n";
      while( <FILE> ) {
        if( /Theme="(.+)\/.*.theme/ ) {
          while( $found == 0 ) {
            print "\::$textcolor $WM theme found as $1\n" unless $quite == 1;
            push(@line, " WM Theme:$textcolor $1");
            $found = 1;
          }
        }
      }   
      close(FILE);
    }   
    case "PekWM" {
      print "\::$textcolor Finding $WM theme\n" unless $quite == 1;
      open(FILE, "$ENV{HOME}/.pekwm/config")
      || die "\e[0;31m<Failed>\n";
      while( <FILE> ) {
        if( /Theme.*\/(.*)"/ ) {
            print "\::$textcolor $WM theme found as $1\n" unless $quite == 1;
            push(@line, " WM Theme:$textcolor $1");
        }
      }
      close(FILE); 
    } 
  }   
}     
      
## Find Theme Icon and Font ##
if ( $display =~ m/[Theme, Icons, Font, Background]/) {
  switch($DE) {
    case "Gnome" {
      print "\::$textcolor Finding $DE variables\n" unless $quite == 1;
      if ( $display =~ m/Theme/ ) {
        my $gconf = `gconftool-2 -g /desktop/gnome/interface/gtk_theme`;
        chomp ($gconf);
        print "\::$textcolor GTK Theme found as $1\n" unless $quite == 1;
        push(@line, " GTK Theme:$textcolor $gconf");
      }
      if ( $display =~ m/Icons/ ) {
        my $gconf = `gconftool-2 -g /desktop/gnome/interface/icon_theme`;
        chomp ($gconf);
        push(@line, " Icons:$textcolor $gconf");
      } 
      if ( $display =~ m/Font/ ) {
        my $gconf = `gconftool-2 -g /desktop/gnome/interface/font_name`;
        chomp ($gconf);
        push(@line, " Font:$textcolor $gconf");
      }
      if ( $display =~ m/Background/ ) {
        my $gconf = `gconftool-2 -g /desktop/gnome/background/picture_filename`;
        chomp ($gconf);
        my $bname = basename($gconf);
        push(@line, " Background:$textcolor $bname");
      }

    } 
    case "Xfce4" {
      my @sort = ();
      print "\::$textcolor Finding $DE variables\n" unless $quite == 1;
      open(FILE, "$ENV{HOME}/.config/xfce4/mcs_settings/gtk.xml")
      || die "\e[0;31m<Failed>\n";
      while( <FILE> ) {
     if ( $display =~ m/Theme/ ) {
          if (/<option name="Net\/ThemeName" type="string" value="(.+)"\/>/ ) {
            print "\::$textcolor GTK Theme found as $1\n" unless $quite == 1;
            unshift(@sort, " GTK Theme:$textcolor $1");
          } 
        }
        if ( $display =~ m/Icons/ ) {
          if (/<option name="Net\/IconThemeName" type="string" value="(.+)"\/>/ ) {
            print "\::$textcolor Icons found as $1\n" unless $quite == 1;
            unshift(@sort, " Icons:$textcolor $1");
          }
        }
        if ( $display =~ m/Font/ ) {
          if ( /<option name="Gtk\/FontName" type="string" value="(.+)"\/>/ ) {
            print "\::$textcolor Font found as $1\n" unless $quite == 1;
            unshift(@sort, " Font:$textcolor $1");
          } 
        }
      }
      close(FILE);
      ## Sort variables so they're ordered "Theme Icon Font" ##
      foreach my $i (@sort) {
        push(@line, "$i");
      }
    } 
    case "KDE" { 
      print "\::$textcolor Finding $DE variables\n" unless $quite == 1;
      open(FILE, "$ENV{HOME}/.kde/share/config/kdeglobals")
      || die "\e[0;31m<Failed>\n";
      while( <FILE> ) { 
        if ( $display =~ m/Theme/ ) {
          if ( /widgetStyle=(.+)/  ) {
            print "\::$textcolor Wiget Style found as $1\n" unless $quite == 1;
            push(@line, " Wiget Style:$textcolor $1");
          }
          if (/colorScheme=(.+).kcsrc/ ) {
            print "\::$textcolor Color Scheme found as $1\n" unless $quite == 1;
            push(@line, " Color Scheme:$textcolor $1");
          }
        }
        if ( $display =~ m/Icons/ ) {
          if ( /Theme=(.+)/ ) {
            print "\::$textcolor Icons found as $1\n" unless $quite == 1;
            push(@line, " Icons:$textcolor $1");
          } 
        }   
        if ( $display =~ m/Font/ ) {
          if ( /font=(.+)/ ) {
            my $font = (split/,/, $1)[0];
            print "\::$textcolor Font found as $font\n" unless $quite == 1;
            push(@line, " Font:$textcolor $font");
          }
        }
      }
      close(FILE);
  
    }
    else {
      my @files = ("$ENV{HOME}/.gtkrc-2.0", "$ENV{HOME}/.gtkrc.mine",);
      foreach my $file (@files) {
        if ( -e $file ) {
          print "\::$textcolor Opening $file\n" unless $quite == 1; 
          open(FILE, $file)
          || die "\e[0;31m<Failed>\n";
          while( <FILE> ) {
            if ( $display =~ m/Theme/ ) {
              if( /include ".*themes\/(.+)\/gtk-(1|2)\.0\/gtkrc"/ ){
                print "\::$textcolor GTK theme found as $1\n" unless $quite == 1;
                push(@line, " GTK Theme:$textcolor $1");
              }
            }
            if ( $display =~ m/Icons/ ) {
              if( /.*gtk-icon-theme-name.*"(.+)"/ ) {
                print "\::$textcolor Icons found as $1\n" unless $quite == 1;
                push(@line, " Icons:$textcolor $1");
              }
            }
            if ( $display =~ m/Font/ ) {
              if( /.*gtk-font-name.*"(.+)"/ ) {
                print "\::$textcolor Font found as $1\n" unless $quite == 1;
                push(@line, " Font:$textcolor $1");
             }
            }
          }
          close(FILE);
        }
      }
    }
  }
}

## Display the system info ##

if ( $distro =~ m/Archlinux/ ) {

## Get Archlinux version ##
if ( $display =~ "OS"){
  print "\::$textcolor Finding Archlinux version\n" unless $quite == 1;
  my $version = `cat /etc/arch-release`;
  $version =~ s/\s+/ /g;
  $version = " OS:$textcolor $version";
  unshift(@line, "$version");
}

my $c1 = "\e[0;32m";
my $c2 = "\e[1;32m";

print "$c1              __
$c1          _=(SDGJT=_
$c1        _GTDJHGGFCVS)                $c1@line[0]
$c1       ,GTDJGGDTDFBGX0               $c1@line[1]
$c1      JDJDIJHRORVFSBSVL$c2-=+=,_        $c1@line[2]
$c1     IJFDUFHJNXIXCDXDSV,$c2  \"DEBL      $c1@line[3]
$c1    [LKDSDJTDU=OUSCSBFLD.$c2   '?ZWX,   $c1@line[4]
$c1   ,LMDSDSWH'     \`DCBOSI$c2     DRDS], $c1@line[5]
$c1   SDDFDFH'         !YEWD,$c2   )HDROD  $c1@line[6]
$c1  !KMDOCG            &GSU|$c2\_GFHRGO'   $c1@line[7]
$c1  HKLSGP'$c2           __$c1\TKM0$c2\GHRBV)'    $c1@line[8]
$c1 JSNRVW'$c2       __+MNAEC$c1\IOI,$c2\BN'
$c1 HELK['$c2    __,=OFFXCBGHC$c1\FD)
$c1 ?KGHE $c2\_-#DASDFLSV='$c1    'EF
$c1 'EHTI                   !H
$c1  \`0F'                   '!
\e[0m";
}


if ( $distro =~ m/None/ ) {
my $color = "\e[0;34m";
  foreach my $filled ( @line ) {
    print "$color $filled\n"
  }
}

if ( $distro =~ m/Debian/ ) {

## Get Debian version ##
if ( $display =~ "OS"){
  print "\::$textcolor Finding Debian version\n" unless $quite == 1;
  my $version = `cat /etc/Debian_release`;
  $version =~ s/\s+/ /g;
  $version = " OS:$textcolor $version";
  unshift(@line, "$version");
}

my $c1 = "\e[0;31m";

print "
$c1       _,met\$\$\$\$\$gg.
$c1    ,g\$\$\$\$\$\$\$\$\$\$\$\$\$\$\$P.
$c1  ,g\$\$P\"\"       \"\"\"Y\$\$.\".              @line[0]
$c1 ,\$\$P'              \`\$\$\$.              @line[1]
$c1',\$\$P       ,ggs.     \`\$\$b:            @line[2]
$c1\`d\$\$'     ,\$P\"'   .    \$\$\$             @line[3]
$c1 \$\$P      d\$'     ,    \$\$P             @line[4]
$c1 \$\$:      \$\$.   -    ,d\$\$'             @line[5]
$c1 \$\$\;      Y\$b._   _,d\$P'               @line[6]
$c1 Y\$\$.    \`.\`\"Y\$\$\$\$P\"'                  @line[7]
$c1 \`\$\$b      \"-.__                       @line[8]
$c1  \`Y\$\$
$c1   \`Y\$\$.
$c1     \`\$\$b.
$c1       \`Y\$\$b.
$c1          \`\"Y\$b._
$c1              \`\"\"\"\"
\e[0m";   
}       

if ( $distro =~ m/Ubuntu/ ) {

## Get Ubuntu version ##
if ( $display =~ "OS"){
  print "\::$textcolor Finding Ubuntu version\n" unless $quite == 1;
  my $version = `head -3 /etc/lsb-release |cut -d"=" -f2`;
  $version =~ s/\s+/ /g;
  $version = " OS:$textcolor $version";
  unshift(@line, "$version");
}

my $c1 = "\e[2;31m";
my $c2 = "\e[0;33m";
my $c3 = "\e[0;31m";
my $c4 = "\e[1;31m";

print "
                              $c1\llKXXx.    
                             $c1\OMMMMMN'   
                $c3\.,coxkOOOkd.$c1\,MMMMMMMx    $c4 @line[0]
             $c2\,. $c3\;WMMMMMMMMMO.$c1\llXMMMWx.    $c4 @line[1]
           $c2\llNMK. $c3\.XMMMMMMMMMNd,,,;,.     $c4 @line[2]
         $c2\;XMMMMN, $c3\.xxollldOXMMMMMMMMx    $c4 @line[3]
        $c2\dMMMMMMMk           $c3\.lXMMMMMMX.  $c4 @line[4]
       $c2\;MMMMMMX'               $c3\xxMMMMMMK  $c4 @line[5]
 $c3\;kXNXx,$c2\'KMMMW.                 $c3\xxMMMMMMc $c4 @line[6]
$c3\:MMMMMMM;$c2\'MMMk                           $c4 @line[7]
$c3\;MMMMMMW,$c2\'MMMk                  $c1\.llllll, $c4 @line[8]
 $c3\'oOOOo'$c2\:XMMMW'                 $c1\OMMMMMM:
       $c2\;MMMMMMW:              $c1\.OMMMMMM0 
        $c2\ccWMMMMMMO           $c1\,xWMMMMMM0. 
         $c2\'KMMMMX. $c1\.00kddxkKWMMMWNNMWo   
           $c2\:KM0. $c1\,WMMMMMMMMMXc'$c2\,;;,.    
             $c2\.  $c1\;WMMMMMMMMMk.$c2\dWMMMM0.   
                 $c1\.;codxxddl.$c2\,MMMMMMMx   
                             $c2\xMMMMMK.   
                              $c2\,OK0c    

\e[0m"; 
}


#return 0;      
## Run screen shot graper ##
`$command` unless $shot != 0;


2. Themeinfo

#!/usr/bin/python

# themeinfo.py by dbbolton (envyouraudience at gmail)

import gconf
import os
import string
from os.path import exists
from subprocess import call
from time import strftime

#colors
blue = "\033[1;34m"
green = "\033[1;32m"
cyan = "\033[1;36m"
red = "\033[1;31m"
bblue = "\033[0;38;5;12m"
orange = "\033[0;38;5;202m"
yelloworange = "\033[0;38;5;208m"
gold = "\033[0;38;5;214m"
darkorange = "\033[0;38;5;130m"
darkcyan="\033[0;38;5;32m"

#change color back to default
end="\033[0m"

################################
#   OPTIONS
################################

# Which window manager?
include_mt = True #metacity
include_ob = False #openbox
include_aw = False  #awesome

# Which terminal are you using?
include_gt = True #gnome-terminal
include_xft = False #xfce4-terminal
include_tilda = False
include_urxvt = False

# Is your GTK theme specified in yout .gtkrc.mine file?
include_gtkrcmine = False

# What about your font?
my_font = False

# And your icons?
my_icons = False

# Do you use feh to set your wallpaper?
include_feh = False

################################
#   END OPTIONS
################################

#define key to get stuff from gconf
key = gconf.client_get_default()

#########################
# distro
#########################
if exists(os.path.expanduser("/etc/issue")):
    for line in open(os.path.expanduser("/etc/issue")):
        if " " in line:
            distro=line
                       break
else:
    distro = "Linux"


#########################
# gtk
#########################
if include_gtkrcmine:
    if exists(os.path.expanduser("~/.gtkrc.mine")):
        for line in open(os.path.expanduser("~/.gtkrc.mine")):
            if "/gtk-2.0/gtkrc" in line:
                mygtk=line
                use_my_gtk = True
                           break
            else:
                use_my_gtk = False
else:
    mygtk = "?"
    use_my_gtk = False

if include_gt:
    gnomegtk = key.get_value("/desktop/gnome/interface/gtk_theme")

#########################
# fonts
#########################
if my_font:
    if exists(os.path.expanduser("~/.gtkrc.mine")):
        for line in open(os.path.expanduser("~/.gtkrc.mine")):
            if "gtk-font-name" in line:
                myfont = line
                use_my_font = True
                           break
            else:
                use_my_font = False
else:
    use_my_font = False

gnomefont = key.get_value("/desktop/gnome/interface/font_name")

#tilda
if exists(os.path.expanduser("~/.tilda/config_0")):
    for line in open(os.path.expanduser("~/.tilda/config_0")):
        if "font" in line:
            tildfont=line
                       break
else:
    tildfont = "?"

#gnome-terminal

gtfont = key.get_value("/apps/gnome-terminal/profiles/Default/font")

#xfce4-terminal

if exists(os.path.expanduser("~/.config/Terminal/terminalrc")):
    for line in open(os.path.expanduser("~/.config/Terminal/terminalrc")):
        if "FontName" in line:
            xftfont=line
                       break
else:
    xftfont = "?"

#urxvt

if exists(os.path.expanduser("~/.Xdefaults")):
    for line in open(os.path.expanduser("~/.Xdefaults")):
        if "urxvt*font" in line:
            urxvtfont=line
                       break
else:
    urxvtfont = "?"

#########################
# icons
#########################
if my_icons:
    if exists(os.path.expanduser("~/.gtkrc.mine")):
        for line in open(os.path.expanduser("~/.gtkrc.mine")):
            if "icon-theme" in line:
                myicons = line
                use_my_icons = True
                break
            else:
                use_my_icons = False
else:
    myicons = "?"
    use_my_icons = False

gnomeicons = key.get_value("/desktop/gnome/interface/icon_theme")

#########################
# metacity 
#########################

if include_mt:
    metacitytheme = key.get_value("/apps/metacity/general/theme")
else:
    metacitytheme = "?"


#########################
# openbox
#########################
if exists(os.path.expanduser("~/.config/openbox/rc.xml")):
    for line in open(os.path.expanduser("~/.config/openbox/rc.xml")):
        if "<name>" in line:
            ob = line 
            break
else:
    ob = "?"


#########################
# wall
#########################
if include_feh:
    if exists(os.path.expanduser("~/.fehbg")):
        for line in open(os.path.expanduser("~/.fehbg")):
            if "feh" in line:
                fehwall = line
                break
            else:
                use_feh_wall = False
else:
    wall="?"
    use_feh_wall = False

gwallpath = key.get_value("/desktop/gnome/background/picture_filename")[0:-4]
gwallname = gwallpath.split('/')[-1]


######################
#print info
######################
print "\n"+orange+distro.split(' ')[0]+" "+distro.split(' ')[1]+"\n"


if use_my_gtk:
    print darkcyan+"  GTK:"+end+"                   "+mygtk.split('/')[4]
else:
    print darkcyan+"  GTK:"+end+"                   "+gnomegtk
if use_my_font:
    print darkcyan+"  Font (Apps):"+end+"           "+myfont.split('"')[1]
else:
    print darkcyan+"  Font (Apps):"+end+"           "+gnomefont
if include_tilda:
    print darkcyan+"  Font (Terminal):"+end+"       "+tildfont.split('"')[1]
elif include_gt:
    print darkcyan+"  Font (Terminal):"+end+"       "+gtfont
elif include_urxvt:
    print darkcyan+"  Font (Terminal):"+end+"       "+urxvtfont.split(':')[-1][0:-1]
elif include_xft:
    print darkcyan+"  Font (Terminal):"+end+"       "+xftfont.split('=')[1][0:-1]
if use_my_icons:
    print darkcyan+"  Icons:"+end+"                 "+myicons.split('"')[1]
else:
    print darkcyan+"  Icons:"+end+"                 "+gnomeicons
if include_mt:
    print darkcyan+"  Metacity:"+end+"              "+metacitytheme
elif include_ob:
    if exists(os.path.expanduser("~/.config/openbox/rc.xml")):
        print darkcyan+"  Openbox:"+end+"               "+ob.split('>')[1][0:-6]
    else:
        print "Openbox theme not found."
elif include_aw:
    print darkcyan+"  WM:"+end+"                    Awesome"
else:
    print darkcyan+"  WM:"+end+"                    ?"
if include_feh:
    print darkcyan+"  Wall:"+end+"                  "+fehwall.split('/')[-1][0:-2]+"\n"
else:
    print darkcyan+"  Wall:"+end+"                  "+gwallname+"\n"

print " "+strftime("%A %d %B %Y")+"\n"
######################
#take screenshot
######################
call(["sleep", "1"])
#call("scrot")

"You know what I found? Right in the kernel, in the heart of the operating system, I found a developer's comment that said, `Does this belong here?`" -- Simon Lok about Linux kernel in 2005
Reflections on the Strange and the not so Strange
http://skinwalker.wordpress.com

Offline

#252 2008-11-13 19:05:08

paperhats
Member
Registered: 2008-11-13
Posts: 2

Re: November 2008 Screenshots

First post, basic awesome setup. Will change it again soon after stealing some ideas smile

2008-11-14-043633_1280x1024_scrot666.png.xs.jpg


..also on the eeepc (701)

2008-11-15-024448_800x480_scrot597.png.xs.jpg

Last edited by paperhats (2008-11-14 16:13:03)

Offline

#253 2008-11-13 20:46:07

methuselah
Member
Registered: 2007-10-02
Posts: 570

Offline

#254 2008-11-13 20:55:30

oew
Member
From: Norway
Registered: 2006-11-08
Posts: 105

Re: November 2008 Screenshots

Blice wrote:

Can I get that wallpaper and source?

Here you go:
http://iunewind.deviantart.com/art/June … r-82900078


___
oew


there's no place like ~/

Offline

#255 2008-11-14 06:45:24

powerpleb
Member
From: ~/.trash
Registered: 2008-08-04
Posts: 13

Re: November 2008 Screenshots

crispus wrote:
powerpleb wrote:

It's just GNOME 2.24, with Shiki Colors Brave theme
http://members.optusnet.com.au/~ngthorp/nov4-thumb.png

wallpaper source?  thanks!

http://www.gnome-look.org/content/show. … tent=73693

Sorry I took so long to reply.

Offline

#256 2008-11-14 09:13:07

chris_ak
Member
Registered: 2008-03-25
Posts: 64

Re: November 2008 Screenshots

Pretty much the same as earlier this month.  Anyone listening to boards of canada lately?  If you ask for my conky config, tint or anything like that and I don't reply try sending me a pm. 

Smokes_Quantity_by_neutron_ak.png

Offline

#257 2008-11-14 10:05:19

Frots
Member
Registered: 2008-10-02
Posts: 57

Re: November 2008 Screenshots

chris_ak wrote:

Anyone listening to boards of canada lately?

I was actually listening to it yesterday ^^

Offline

#258 2008-11-14 11:25:48

chris_ak
Member
Registered: 2008-03-25
Posts: 64

Re: November 2008 Screenshots

Frots wrote:
chris_ak wrote:

Anyone listening to boards of canada lately?

I was actually listening to it yesterday ^^

excellent

Offline

#259 2008-11-14 11:54:06

b9anders
Member
Registered: 2007-11-07
Posts: 691

Re: November 2008 Screenshots

snap.jpg
clean: kde4 desktop, used compiz to reduce the saturation of all plasma elements for the complete BW first impression.

snap-busy.jpg
busy: I finally managed to create a dark colour scheme I'm happy with that doesn't have weird quirks.

snap-sphere.jpg
compiz bling.

Last edited by b9anders (2008-11-14 11:55:13)

Offline

#260 2008-11-14 12:27:25

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

Re: November 2008 Screenshots

Xmonad + dzen2  - no major updates:

teGFo

teGFp

Chris_ak: I really really like BOC. Amazing duo!

Last edited by Ashren (2008-11-14 12:28:21)

Offline

#261 2008-11-14 14:38:33

elmer_42
Member
From: /na/usa/ca
Registered: 2008-10-11
Posts: 427

Re: November 2008 Screenshots

dwm, urxvt, self-made wallpaper
17287898.png


[ lamy + pilot ] [ arch64 | wmii ] [ ati + amd ]

Offline

#262 2008-11-14 15:08:53

semperfiguy
Member
Registered: 2007-12-03
Posts: 224

Re: November 2008 Screenshots

What are the symbols in your conky from? also what panel are you using and is that conky again at the top? please post your configs.

Offline

#263 2008-11-14 15:21:34

corrish
Member
From: Novosibirsk
Registered: 2008-09-29
Posts: 16

Re: November 2008 Screenshots

b9anders wrote:

compiz bling.

compiz? brrrr... what is it?:))

Offline

#264 2008-11-14 16:34:48

b9anders
Member
Registered: 2007-11-07
Posts: 691

Re: November 2008 Screenshots

corrish wrote:
b9anders wrote:

compiz bling.

compiz? brrrr... what is it?:))

cube reflection and deformation plugin and 3d windows.

Say what you will, but a quick spin of the cube yields an eager windows convert more often than not.

Offline

#265 2008-11-14 17:33:36

moljac024
Member
From: Serbia
Registered: 2008-01-29
Posts: 2,676

Re: November 2008 Screenshots

b9anders wrote:
corrish wrote:
b9anders wrote:

compiz bling.

compiz? brrrr... what is it?:))

cube reflection and deformation plugin and 3d windows.

Say what you will, but a quick spin of the cube yields an eager windows convert more often than not.

Aye. The cube converted me arse.


The day Microsoft makes a product that doesn't suck, is the day they make a vacuum cleaner.
--------------------------------------------------------------------------------------------------------------
But if they tell you that I've lost my mind, maybe it's not gone just a little hard to find...

Offline

#266 2008-11-14 18:49:00

lost eden
Member
Registered: 2008-01-01
Posts: 62

Re: November 2008 Screenshots

Moved from KDE 3.5 to XFCE about a month back, loving it so far.

XFCE/XFWM, nvidia driver in TwinView, nothing fancy whatsoever (most stuff has been left at its default settings!).

Work;
200811141833542880x1200yh9.th.jpgthpix.gif

Play;
200811141833282880x1200gg2.th.jpgthpix.gif

Clean;
200811141834142880x1200cb5.th.jpgthpix.gif

Offline

#267 2008-11-14 19:30:17

jo3
Member
Registered: 2007-08-18
Posts: 112

Re: November 2008 Screenshots

screen-13-24-54.thumbnail.png
I changed mine up a little.
openbox,trayer,conky,mario!

Offline

#268 2008-11-14 19:53:48

Rydgel
Member
From: France
Registered: 2008-09-04
Posts: 166
Website

Re: November 2008 Screenshots

3025779843_4fe584b132.jpg

Ok here we go..

My panel is pypanel ( the patched one from AUR ) with :

#------------------------------------------------------------------------------
#
#                         PyPanel v2.4 Configuration
#
# This configuration file is a Python script that will be executed when
# PyPanel is started.  In order for PyPanel to start properly, make sure that
# this file contains proper Python formatting and no syntax errors.
#------------------------------------------------------------------------------
VERSION         = 2.4           # Config file version

#------------------------------------------------------------------------------
# Colors: Format is hex triplet - 0xrrggbb
#------------------------------------------------------------------------------
BG_COLOR        = "0x000000"    # Panel background and tinting color
TASK_COLOR      = "0xcccccc"    # Normal task name color 
FOCUSED_COLOR   = "0xffffff"    # Focused task name color
SHADED_COLOR    = "0xcccccc"    # Shaded task name color 
MINIMIZED_COLOR = "0xcccccc"    # Minimized task name color 
DESKTOP_COLOR   = "0xcccccc"    # Desktop name color
CLOCK_COLOR     = "0xcccccc"    # Clock text color
LINE_COLOR      = "0x824318"    # Vertical line color

# Text Shadow Colors
TASK_SHADOW_COLOR      = "0xffffff"
FOCUSED_SHADOW_COLOR   = "0xffffff"
SHADED_SHADOW_COLOR    = "0xffffff"
MINIMIZED_SHADOW_COLOR = "0xffffff" 
DESKTOP_SHADOW_COLOR   = "0xffffff"
CLOCK_SHADOW_COLOR     = "0xffffff"

#------------------------------------------------------------------------------
# Panel Spacing and Location Options: Measured in pixels
#------------------------------------------------------------------------------
P_LOCATION      = 1             # Panel placement: 0 = top, 1 = bottom
P_WIDTH         = 1440             # Panel width: 0 = Use full screen width
P_START         = 0             # Starting X coordinate of the panel
P_SPACER        = 6             # Spacing between panel objects
P_HEIGHT        = 20            # Panel height
P_L_BUFF    = 20
P_R_BUFF    = 20
P_T_BUFF    = 2
P_B_BUFF    = 2

#------------------------------------------------------------------------------
# Icon Size Options: Measured in pixels
#------------------------------------------------------------------------------
I_HEIGHT        = 16            # Panel application icon height
I_WIDTH         = 16            # Panel application icon Width 
APPL_I_HEIGHT   = 16            # Application launcher icon height
APPL_I_WIDTH    = 16            # Application launcher icon width
TRAY_I_HEIGHT   = 16            # System tray icon height (usually 16 or 24)
TRAY_I_WIDTH    = 16            # System tray icon width  (usually 16 or 24)
                                # If TRAY_I_WIDTH is set to 0, then the
                                # width specified by the tray app will be used
                                
#------------------------------------------------------------------------------
# Panel Clock Format: 'man strftime' for detailed formatting options and help
#------------------------------------------------------------------------------
CLOCK_FORMAT    = ""    # Ex: 2004-09-25 17:45 

#------------------------------------------------------------------------------
# Clock Delay: Seconds between each clock update during periods of inactivity
#------------------------------------------------------------------------------
CLOCK_DELAY     = 20

#------------------------------------------------------------------------------
# Hidden Application List: Apps listed here will not be display on the panel
# The application name is its WM_CLASS name, use 'xprop' to find WM_CLASS
# Ex: ["xmms", "xine", "gDesklets"]
#------------------------------------------------------------------------------
HIDE_LIST       = []            
                   
#------------------------------------------------------------------------------
# Hidden Panel Size: Size of the panel when it's hidden/minimized
#------------------------------------------------------------------------------
HIDDEN_SIZE     = 2

#------------------------------------------------------------------------------
# Panel Text Font: This option takes either a traditional or Xft font string 
# Ex: "-schumacher-clean-medium-r-normal-*-12-*-*-*-*-*-*-*"
#     "aquafont-8" 
#------------------------------------------------------------------------------
FONT            = "bitstream vera sans-8"

#------------------------------------------------------------------------------
# Show All Applications: Show apps from all desktops or just the current
# 0: Disabled - Only applications on the current desktop will be displayed
# 1: Enabled  - Selected apps are moved to the current desktop
# 2: Enabled  - Current desktop is changed to the selected apps desktop
#------------------------------------------------------------------------------
SHOWALL         = 0             # 0, 1 or 2 - see descriptions above

#------------------------------------------------------------------------------
# Show Minimized/Iconified Applications: Show only minimized apps or all apps
# 0: Disabled - Show all applications on the panel
# 1: Enabled  - Show only minimized apps on the panel
#------------------------------------------------------------------------------
SHOWMINIMIZED   = 0

#------------------------------------------------------------------------------
# Application Icon List: List of custom icons for specific applications
# The application name is its WM_CLASS name, use 'xprop' to find WM_CLASS
#
# The "default" entry is used for applications with no icon.  If left "",
# PyPanel will use the default icon distributed with the source.
#
# Add entries using the following format -
#     "<application name>" : "<full path to icon>",
#------------------------------------------------------------------------------
ICON_LIST       = {
                   "default" : "",
                   "example" : "/usr/share/imlib2/data/images/audio.png",
                  }
                  
#------------------------------------------------------------------------------
# Application Launch List: Ordered list of icons and applications for the
#                          application launcher.
# 
# Add entries using the following format -
#     ("<executable>", "<full path to icon>")
#------------------------------------------------------------------------------
LAUNCH_LIST     = [
                   ("gimp-2.2", "/usr/share/imlib2/data/images/paper.png"), 
                  ]

#------------------------------------------------------------------------------
# Background Alpha/Shade Level: 0 (Fully Translucent) -> 255 (Fully Opaque)
# BG_COLOR is used for tinting
#------------------------------------------------------------------------------
SHADE           = 127

#------------------------------------------------------------------------------
# Misc. Options: 1 = Enabled/Yes, 0 = Disabled/No
#------------------------------------------------------------------------------
ABOVE           = 1             # Panel is always above other apps
APPICONS        = 0             # Show application icons
AUTOHIDE        = 0             # Autohide uses the CLOCK_DELAY timer above
SHADOWS         = 0             # Show text shadows
SHOWLINES       = 0             # Show object seperation lines
SHOWBORDER      = 0             # Show a border around the panel

#------------------------------------------------------------------------------
# Desktop Names: Configure the names of your desktops
# If the option is [], PyPanel will attempt to use the desktop name specified
# by the XServer, if that fails it will use the desktop number as its name
# Ex. ["One", "Two", "Three", "Four", "Five", "Six", "Seven", "Eight"]
#------------------------------------------------------------------------------
DESKTOP_NAMES   = [" 1 ", " 2 ", " 3 ", " 4 "]

#------------------------------------------------------------------------------
# Panel Layout:       -----------------------------------
#                     [  1  ][  2  ][  3  ][  4  ][  5  ]
#                     -----------------------------------
#
# The panel layout is split into 5 sections numbered 1, 2, 3, 4 or 5 as shown
# in the diagram above.  Each of the following objects can be enabled by
# assigning it a section number or disabled by assigning it 0:
#------------------------------------------------------------------------------
DESKTOP         = 1             # Desktop name section
TASKS           = 2             # Task names section 
TRAY            = 3             # System tray section
CLOCK           = 4             # Clock section
LAUNCHER        = 0             # Application launcher section

#------------------------------------------------------------------------------
#                       Button Event Function Definitions
#------------------------------------------------------------------------------
# Left click   - button 1 
# Middle click - button 2
# Right click  - button 3
# Wheel up     - button 4
# Wheel down   - button 5 
#
# changeDesktop(x)
# - Change Desktop: Increase or decrease the current desktop by 'x' amount
# 
# toggleShade(task)
# - Shade or Unshade an application
#
# toggleHidden()
# - Minimize the panel to the top or bottom depending on its start location
#
# toggleMinimize(task, traise=1)
# - Minimize or Unminimize an application and optionally raise it
#
# taskRaise(task, focus=1)
# - Raise an application to the top of the window list and optionally focus it 
#
# taskLower(task, focus=0)
# - Lower an app to the bottom of the window list and optionally focus it
#
# taskFocus(task)
# - Give focus to the selected application, if it has focus then minimize it
#
# showDesktop()
# - Toggle between hiding and unhiding ALL applications
#------------------------------------------------------------------------------

#----------------------------------
def desktopButtonEvent(pp, button):
#----------------------------------
    """ Button event handler for the panel's desktop object """
        
    if button == 1:
        pp.changeDesktop(-1)
    elif button == 2:
        pp.changeDesktop(2)
    elif button == 3:
        pp.changeDesktop(1)
    elif button == 4:
        pp.changeDesktop(1)
    elif button == 5:
        pp.changeDesktop(-1)
        
#--------------------------------
def clockButtonEvent(pp, button):
#--------------------------------
    """ Button event handler for the panel's clock object """
    
    if button == 1:
        os.system("xclock &")
    elif button == 2:
        pass
    elif button == 3:
        pp.toggleHidden()  
    elif button == 4:
        pp.showDesktop()
    elif button == 5:
        pp.showDesktop()
        
#--------------------------------
def panelButtonEvent(pp, button):
#--------------------------------
    """ Button event handler for the panel with no active tasks """
    
    if button == 1:
        pass
    elif button == 2:
        pass
    elif button == 3:
        pass
    elif button == 4:
        pass
    elif button == 5:
        pass
        
#-------------------------------------
def taskButtonEvent(pp, button, task):
#-------------------------------------
    """ Button event handler for the panel's tasks """
    
    if button == 1:
        pp.taskFocus(task)
    elif button == 2:
        # Destroy the application
        task.obj.destroy()
    elif button == 3:
        # Ex. - XMMS doesn't shade, so we want to minimize it instead and
        #       still use button 3 to shade other applications
        #       task.tclass is the tasks class name (WM_CLASS)
        if "xmms" in task.tclass:
            pp.toggleMinimize(task)
        else:
            pp.toggleShade(task)
    elif button == 4:
        pp.taskRaise(task, focus=1)
    elif button == 5:
        pp.taskLower(task, focus=0)

The conky on the top is :

#avoid flicker

double_buffer yes



#own window to run simultanious 2 or more conkys

own_window  yes

own_window_transparent no

own_window_type desktop

own_window_hints undecorate,below,sticky,skip_taskbar,skip_pager 



#borders

draw_borders no

border_margin 2



#shades

draw_shades no



#position

gap_x 20

gap_y 5

alignment top_left



#behaviour

update_interval 1



#colour

default_color  1d8da9



#default_shade_color 000000

own_window_colour 000000



#font

use_xft yes

xftfont Consolas:pixelsize=12
#to prevent window from moving

use_spacer no

minimum_size 1400 0





mpd_host localhost
mpd_port 6600
$mpd_artist = ""


TEXT
ArchLinux ~    Root: ${color D7D3C5}${font}${fs_free /}  / ${fs_size /} - ${fs_free_perc /}%${color}    Packages: ${color D7D3C5}${font}${execi 300 perl ~/scripts/conky-updates.pl}  ${color D7D3C5} ${alignr}$mpd_artist    $mpd_title

If you want your conky transparent like me you need devilspie, xcompmgr and transset-df. Make a folder ~/.devilspie with a file named conky.ds :

(if

(matches (window_class) "Conky")
(begin
    (wintype "dock")
    (below)
    (spawn_async (str "transset-df -i " (window_xid) " .50"))
)
)

And for the conky with symbols, weathercast, ...  check this.

smile

Offline

#269 2008-11-14 20:07:42

tesjo
Member
Registered: 2007-11-30
Posts: 164

Re: November 2008 Screenshots

methuselah wrote:

I just had compiz break on me so this is xfwm4 compositing on xfce4. I found the window theme on xfce-looks.org..... then I changed the .xpm colors to match the murrine theme that I just made.


http://i480.photobucket.com/albums/rr16 … t-28-1.png
Large View: http://i480.photobucket.com/albums/rr16 … hot-28.png


http://i480.photobucket.com/albums/rr16 … t-29-3.png
Large View: http://i480.photobucket.com/albums/rr16 … t-29-2.png


http://i480.photobucket.com/albums/rr16 … t-27-1.png
Large View: http://i480.photobucket.com/albums/rr16 … hot-27.png

Nice screens methuselah. How are you getting that transparency with xfce4-panel and xfwm4 compositor?


Edit: I found your post in the October screenshots explaining it.

Last edited by tesjo (2008-11-15 00:38:06)

Offline

#270 2008-11-14 20:19:30

Square
Member
Registered: 2008-06-11
Posts: 435

Re: November 2008 Screenshots

Rydgel wrote:

http://farm4.static.flickr.com/3244/302 … 84b132.jpg

Ok here we go..

And for the conky with symbols, weathercast, ...  check this.

smile

Wallpaper please?


 

Offline

#271 2008-11-14 20:32:00

Rydgel
Member
From: France
Registered: 2008-09-04
Posts: 166
Website

Re: November 2008 Screenshots

Offline

#272 2008-11-14 20:51:30

haxit
Member
From: /home/haxit
Registered: 2008-03-04
Posts: 1,247
Website

Re: November 2008 Screenshots

DALAUNCH_141108_by_haxit.png


Archi686 User | Old Screenshots | Old .Configs
Vi veri universum vivus vici.

Offline

#273 2008-11-14 21:17:47

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

Re: November 2008 Screenshots

Not too sure about this one..

currentdeskt.png

Offline

#274 2008-11-14 22:00:02

Zepp
Member
From: Ontario, Canada
Registered: 2006-03-25
Posts: 334
Website

Re: November 2008 Screenshots

Gigamo wrote:

Not too sure about this one..

http://www.gigamo.be/pics/currentdeskt.png

Not bad.

Offline

#275 2008-11-14 22:06:48

andre.ramaciotti
Member
From: Brazil
Registered: 2007-04-06
Posts: 649

Re: November 2008 Screenshots

Gigamo wrote:

Not too sure about this one..

http://www.gigamo.be/pics/currentdeskt.png

I liked your wallpaper. Link, please?


(lambda ())

Offline

Board footer

Powered by FluxBB