You are not logged in.
Yesterday I did a fresh Arch install and switched to Ob. Conky needs some improvement though.
I don't think that your conky need improvement!
And nice desktop btw! Could you tell me what is your icon set and your openbox and gtk theme please?
archlinux on Macbook Pro 10,1
Offline
And nice desktop btw! Could you tell me what is your icon set and your openbox and gtk theme please?
Cheers.
OB Theme is Wise Dark, found it on box-look.org, GTK Theme is Shiki Wise and Icon Theme is Gnome Colors Wise. Everything pretty wise. And green.
Last edited by CaptainHero (2009-05-28 06:34:52)
Offline
And nice desktop btw! Could you tell me what is your icon set and your openbox and gtk theme please?
Cheers.
OB Theme is Wise Dark, found it on box-look.org, GTK Theme is Shiki Wise and Icon Theme is Gnome Colors Wise. Everything pretty wise. And green.
Well, rapid reply thanks... Mr Wise
Edit: Are you sure of the name of the OB theme? Because I can't find it on box-look and I'm still googling but I don't find it
Last edited by froli (2009-05-28 06:45:24)
archlinux on Macbook Pro 10,1
Offline
I'm sorry it's called Shiki/Dark Colors which consists of a couple of themes, the one I use is called Wise Dark.
Here you go: http://box-look.org/content/show.php/Sh … ent=105711
Last edited by CaptainHero (2009-05-28 07:02:25)
Offline
I'm sorry it's called Shiki/Dark Colors which consists of a couple of themes, the one I use is called Wise Dark.
Here you go: http://box-look.org/content/show.php/Sh … ent=105711
Got it! Thank you
archlinux on Macbook Pro 10,1
Offline
Bizzy... I never let it get to bissy... I use all the desktops
I have two conky's running for the top and bottom. I use stalonetray, The GTK2 theme is Extreme. The Icon theem is hydroxygen. The X11 cursor is ATER_Blue. I made the wallpaper in Gimp with the Aarchlinux Logo's found in archlinux-artwork package and the OpenBox logo in hosted on box-look.org in Logo's. I just googled for the Open Source Logo. The OpenBox theme is in the openbox-themes package and is called Mire_v2_blue
background yes
use_xft yes
xftfont HandelGotD:size=8
xftalpha 0.1
update_interval 0.5
total_run_times 0
own_window yes
own_window_type normal
own_window_transparent yes
own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager
double_buffer yes
minimum_size 1670 9
maximum_width 1670
draw_shades no
draw_outline no
draw_borders no
draw_graph_borders no
default_color white
default_shade_color black
default_outline_color white
alignment top_right
gap_x 2
gap_y 2
no_buffers yes
uppercase no
cpu_avg_samples 2
net_avg_samples 1
override_utf8_locale no
use_spacer yes
TEXT
${time %I:%M:%S %p} ${time %D} $sysname $kernel $machine Battery ${battery_percent}% Intel Core 2 Duo P8400 ${freq_g cpu0}Ghz Temp ${acpitemp}C Cores ${cpu cpu1}% / ${cpu cpu2}% $alignr MEM $memperc% $mem / $memfree SSD ${fs_free_perc /}% ${fs_used /}/ ${fs_free /} SD ${fs_free_perc /mnt/sd}% ${fs_used /mnt/sd}/ ${fs_free /mnt/sd}
Conky on the bottom...
background yes
use_xft yes
xftfont HandelGotD:size=8
xftalpha 0.1
update_interval 0.5
total_run_times 0
own_window yes
own_window_type normal
own_window_transparent yes
own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager
double_buffer yes
minimum_size 1670 9
maximum_width 1670
draw_shades no
draw_outline no
draw_borders no
draw_graph_borders no
default_color white
default_shade_color black
default_outline_color white
alignment bottom_right
gap_x 2
gap_y 2
no_buffers yes
uppercase no
cpu_avg_samples 2
net_avg_samples 1
override_utf8_locale no
use_spacer yes
TEXT
GateWay IP ${gw_ip} Ethernet LAN IP ${addr eth0} $alignc Wireless Mode ${wireless_mode wlan0} bitrate ${wireless_bitrate wlan0} Link Quality ${wireless_link_qual_perc wlan0}% ESSID ${wireless_essid wlan0} AP's MAC ${wireless_ap wlan0} WLAN IP ${addr wlan0}$alignr${downspeed wlan0}/${upspeed wlan0}
autostart.sh
# Run the system-wide support stuff
. $GLOBALAUTOSTART
# Programs to launch at strtup
walset &
#(xcompmgr -c -C -r 0 -o 0) &
#Programs that will run after Openbox has started
(sleep 1 && trayset) &
(sleep 3 && checkgmail) &
(sleep 1 && conky -c ~/.conkytrc) &
(sleep 2 && conky -c ~/.conkybrc) &
(sleep 4 && tilda) &
#(sleep 2 && terminator) &
#(sleep 3 && wicd-client) &
Last edited by hunterthomson (2009-06-08 05:50:31)
OpenBSD-current Thinkpad X230, i7-3520M, 16GB CL9 Kingston, Samsung 830 256GB
Contributor: linux-grsec
Offline
Clean:
http://s113.photobucket.com/albums/n225 … _scrot.png
Dirty:
http://s113.photobucket.com/albums/n225 … _scrot.png
The dirty shot was 300% staged, I'm going to color my tint2 and conky text at the bottom, and that's not always my wallpaper it switches between the whole collection.
Last edited by deadlylife (2009-06-08 15:53:26)
Offline
Clean:
<a href="http://s113.photobucket.com/albums/n225/WII_/?action=view¤t=2009-06-08-113655_1440x900_scrot.png" target="_blank"><img src="http://i113.photobucket.com/albums/n225/WII_/th_2009-06-08-113655_1440x900_scrot.png" border="0" alt="Photobucket" ></a>
Dirty:
<a href="http://s113.photobucket.com/albums/n225/WII_/?action=view¤t=2009-06-08-113938_1440x900_scrot.png" target="_blank"><img src="http://i113.photobucket.com/albums/n225/WII_/th_2009-06-08-113938_1440x900_scrot.png" border="0" alt="Photobucket" ></a>The dirty shot was 300% staged, I'm going to color my tint2 and conky text at the bottom, and that's not always my wallpaper it switches between the whole collection.
those should be [url tags instead of <a href.. and the images should be [img tags... check out this.
Offline
@ CaptainHero:
would you like to share your conkyrc ? :-) i like it!
Last edited by erebos (2009-06-08 18:03:56)
Offline
http://img11.imageshack.us/img11/2625/2 … 050.th.png
Let's see:
GTK theme:MurrinaChrome
Openbox theme:Tint
Wallpaper: 75.jpg from this torrent.
You may be interested in getting the wallpaper in a better resolution: http://interfacelift.com/wallpaper_beta … color.html
Offline
Offline
that's mine. simple. i don't need any panels or trays
wp is great but the background is going on my nerves/distracts me a lot
Offline
zantekk, would you like to have a script that hides the MPD section of conky if nothing is playing?
Offline
Offline
zantekk, would you like to have a script that hides the MPD section of conky if nothing is playing?
In the lasts conky versions you have if_mpd_playing for that thing.
I use it in this way:
$if_mpd_playing${color lightgrey}MPD: ${color #88aadd}$mpd_status ${color #88aadd}$mpd_smart ${color #5C7396} ${mpd_bar 7,50} ${color darkgrey} Vol: ${mpd_vol}%$else${color lightgrey}Spotify: ${color #88aadd}${head /home/kaos/.tune 1}$endif
The idea is to show the mpd info if mpd is playing and if it's not playing, the spotify info (retrieved with an external script)
It doesn't seems to hide the MPD data when I stop the player, only if mpd is not running. For me this is a problem, but for you probably will not.
Last edited by noalwin (2009-06-10 22:04:15)
Offline
riivo wrote:zantekk, would you like to have a script that hides the MPD section of conky if nothing is playing?
In the lasts conky versions you have if_mpd_playing for that thing.
But unnafortunatelly it doesn't seems to hide the MPD data when I stop the player, only if mpd is not running.
i think you can use `${if_empty mpd_artist}PRINT STUFF$endif` as when mpd is stopped, the mpd_artist variable (or any mpd variable for that matter) is empty; thus, nothing will be printed
//github/
Offline
noalwin wrote:riivo wrote:zantekk, would you like to have a script that hides the MPD section of conky if nothing is playing?
In the lasts conky versions you have if_mpd_playing for that thing.
But unnafortunatelly it doesn't seems to hide the MPD data when I stop the player, only if mpd is not running.
i think you can use `${if_empty mpd_artist}PRINT STUFF$endif` as when mpd is stopped, the mpd_artist variable (or any mpd variable for that matter) is empty; thus, nothing will be printed
mpd variables aren't empty when mpd is stopped, it still stores the artist of the last song played, and if I close mpd the value is (null) that is not an empty string.
I ended with ${if_match "$mpd_status" == "Playing"} :
${if_match "$mpd_status" == "Playing"}${color lightgrey}MPD: ${color #88aadd}$mpd_status ${color #88aadd}$mpd_smart ${color #5C7396} ${mpd_bar 7,50} ${color darkgrey} Vol: ${mpd_vol}%$else${color lightgrey}Spotify: ${color #88aadd}${head /home/kaos/.tune 1}$endif
By the way, if you are interested on the script that gets the info from spotify:
#!/usr/bin/python -OO
# Track the artist and song being played in spotify using the window title
# Based on pypanel code
from Xlib import X, display, error, Xatom
import Xlib.protocol.event
import os, time
class spotify(object):
def __init__(self):
self._dsp = display.Display()
self._screen = self._dsp.screen()
self._root = self._screen.root
# self.error = error.CatchError()
self._root.change_attributes(event_mask=(X.PropertyChangeMask))
self._dsp.flush()
self._spotify_task = None
self._spotify_obj = None
self._spotify_title = None # Spotify's window title
self._init_spotify_data()
def _init_spotify_data(self):
"""Search the spotify window and initialize the data"""
tasks = self._root.get_full_property(
self._dsp.intern_atom("_NET_CLIENT_LIST"),
Xatom.WINDOW
).value
is_running = False
for task in tasks:
obj = self._dsp.create_resource_object("window", task)
name = ( obj.get_full_property(self._dsp.intern_atom("_NET_WM_NAME"), 0) or
obj.get_full_property(Xatom.WM_NAME, 0) )
title = getattr(name,'value','')
if title is not '' and title.startswith('Spotify'):
obj.change_attributes(event_mask=(
X.PropertyChangeMask|X.StructureNotifyMask))
is_running = True
self._spotify_task = task
self._spotify_obj = obj
self._spotify_title = title
break
if not is_running and self._spotify_task is not None:
print "WTF!!"
self._delete_spotify_data()
def _update_spotify_title(self):
"""Update the song data"""
name = ( self._spotify_obj.get_full_property(self._dsp.intern_atom("_NET_WM_NAME"), 0) or
self._spotify_obj.get_full_property(Xatom.WM_NAME, 0) )
title = getattr(name,'value','')
if title is not '' and title.startswith('Spotify'):
self._spotify_title = title
def _delete_spotify_data(self):
self._spotify_task = None
self._spotify_obj = None
self._spotify_title = None
def _update(self):
while self._dsp.pending_events():
e = self._dsp.next_event()
#print e
if e.type == X.DestroyNotify:
if e.window.id == self._spotify_task:
self._delete_spotify_data()
#print "Spotify has been closed"
elif e.type == X.PropertyNotify:
if e.atom == self._dsp.intern_atom("_NET_CLIENT_LIST"):
#print '_NET_CLIENT_LIST'
if self._spotify_task is not None:
#if hasattr(e, "window") and self._spotify_task == e.window.id:
#print 'Spotify seems to have changed'
pass
else:
# print 'Spotify has been started'
self._init_spotify_data()
elif self._spotify_task is not None and e.window.id == self._spotify_task:
if e.atom in [Xatom.WM_NAME, self._dsp.intern_atom("_NET_WM_NAME")]:
try:
self._update_spotify_title()
#print 'Spotify has changed the name %s' % self._spotify_title
except Xlib.error.BadWindow:
#print "BADWINDOW!"
pass
def get_song(self):
self._update()
# self._spotify_title -> "Spotify \xe2\x80\x93 Title - Artist"
if self._spotify_title is None or self._spotify_title == 'Spotify':
# Closed or stopped
return None
data = self._spotify_title[10:].split(' \xe2\x80\x93 ')
if len(data) == 2:
return {'artist': data[0], 'title': data[1]}
else:
#Unexpected format
return {'title': self._spotify_title[10:]}
if __name__ == "__main__":
s = spotify()
oldsong = None
while 1:
song = s.get_song()
if song != oldsong:
oldsong = song
f = open('%s/.tune' % os.environ['HOME'] , 'w')
if song is not None:
if 'artist' in song:
f.write( ("%s - %s\n" % (
song['artist'] if 'artist' in song else '',
song['title'] if 'title' in song else '' )
).decode('utf-8').encode('latin1') )
else:
f.write( ( song['title'] if 'title' in song else ''
).decode('utf-8').encode('latin1') )
else:
f.write('Stopped\n')
f.close()
#print song
time.sleep(1)
Last edited by noalwin (2009-06-10 23:01:48)
Offline
Just started to use OpenBox (I was using KDE4 all the time):
Isn't it much more beautiful ?
That's pypanel, right ?
Last edited by moljac024 (2009-06-12 10:55:45)
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
FallenWizard wrote:Just started to use OpenBox (I was using KDE4 all the time):
Isn't it much more beautiful ?
That's pypanel, right ?
Yes, that's pypanel. It was a hassle to configure but I like it now
And I really like the beauty of a simple desktop.
Offline
Wait 'till you try openbox without a panel
(actually I have an auto-hidden xfce4-panel there just for the system tray)
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
Wait 'till you try openbox without a panel
(actually I have an auto-hidden xfce4-panel there just for the system tray)
for a tray.. I use stalonetray.. it loads into openbox's dock and stays hidden in the corner of the screen.
Offline