You are not logged in.

#376 2008-03-18 16:03:58

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

Re: March 2008 Screenshots

hdoria wrote:
Reasons wrote:

It'd been a while since I did openbox, I forgot how much I loved it.

http://tn3-1.deviantart.com/fs26/300W/f … Reason.png

can you share the wallpaper?

I threw on the logo and a box around conky so the box would just look silly. Here is the origional.

http://art.gnome.org/backgrounds/gnome/2335

Offline

#377 2008-03-18 17:30:03

distortion
Member
Registered: 2007-11-08
Posts: 45

Re: March 2008 Screenshots

Reasons wrote:

It'd been a while since I did openbox, I forgot how much I loved it.

http://tn3-1.deviantart.com/fs26/300W/f … Reason.png

Very nice indeed, but what GTK and Openbox theme is that? How do you "start" xcompmgr (parameters)? And finally, patched pypanel, which patch? smile

Cheers!

Last edited by distortion (2008-03-18 17:32:44)

Offline

#378 2008-03-18 17:50:57

tch
Member
From: Slovakia
Registered: 2007-10-07
Posts: 31

Re: March 2008 Screenshots

I decided I dont need the memory, disk and network usage, and modified my config a bit.
emptyho4.th.png  fulldm6.th.png

Offline

#379 2008-03-18 18:05:36

netdog
Member
Registered: 2007-09-04
Posts: 2

Re: March 2008 Screenshots

My Second Arch Screenshot. Its been 2months of Arch on my workstation and I'm Loving it. smile

arch.thumbnail.png

Offline

#380 2008-03-18 18:10:52

nucleuswizard
Member
From: Serbia
Registered: 2007-10-07
Posts: 79

Re: March 2008 Screenshots

Reasons wrote:

It'd been a while since I did openbox, I forgot how much I loved it.

http://tn3-1.deviantart.com/fs26/300W/f … Reason.png

How  did you change Y axis of pypanel.Is that patched pypanel?

Last edited by nucleuswizard (2008-03-18 18:13:29)

Offline

#381 2008-03-18 18:54:52

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

Re: March 2008 Screenshots

Playing with the titlebars in awesome post-2.2... I quite like them.

Awesome_Post_2_2_by_Gigamlol.png

Offline

#382 2008-03-18 19:03:23

Breakage
Member
From: London
Registered: 2008-02-12
Posts: 198
Website

Re: March 2008 Screenshots

2008-03-18-185811_1280x1024_scrot899.png.xs.jpg

Offline

#383 2008-03-18 19:05:46

dyscoria
Member
Registered: 2008-01-10
Posts: 1,007

Re: March 2008 Screenshots

Where'd you get the wall?


flack 2.0.6: menu-driven BASH script to easily tag FLAC files (AUR)
knock-once 1.2: BASH script to easily create/send one-time sequences for knockd (forum/AUR)

Offline

#384 2008-03-18 19:12:45

Breakage
Member
From: London
Registered: 2008-02-12
Posts: 198
Website

Re: March 2008 Screenshots

dyscoria wrote:

Where'd you get the wall?

Here... http://customize.org/wallpapers/53658

Offline

#385 2008-03-18 19:56:16

.:B:.
Forum Fellow
Registered: 2006-11-26
Posts: 5,819
Website

Re: March 2008 Screenshots

SiD wrote:
B wrote:
SiD wrote:

Nice!
Which openbox-theme and fonts you're using?

I hacked one together based on some existing themes (mainly Dyne). I put an .obt together for it myself, if you want it, let me know.

The font in the calendar app is called Dungeon for the title line, and a regular Bitstream Vera Mono font for the entries. Clock is Dungeon too, tint just uses Vera Sans Bold. Conky on the top is DejaVu Vera Sans.

Yes I want. wink
Could you also share your tint and trayer configs?
How do you get the clock in the bottom left corner?

I put them all on my web site.

Trayer is called with

trayer --transparent 1 --SetDockType true --height 30 --widthtype pixel --width 210 --edge bottom --align right --alpha 255 --expand true &

Last edited by B (2008-03-18 19:57:40)


Got Leenucks? :: Arch: Power in simplicity :: Get Counted! Registered Linux User #392717 :: Blog thingy

Offline

#386 2008-03-18 20:00:43

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

Re: March 2008 Screenshots

distortion wrote:
Reasons wrote:

It'd been a while since I did openbox, I forgot how much I loved it.

http://tn3-1.deviantart.com/fs26/300W/f … Reason.png

Very nice indeed, but what GTK and Openbox theme is that? How do you "start" xcompmgr (parameters)? And finally, patched pypanel, which patch? smile

Cheers!

Patch here:
http://bbs.archlinux.org/viewtopic.php? … 01#p261501
GTK and openbox themes are listed in the terminal.
xcompmgr -cC -t-3 -l-5 -r5 -I0.02 -O0.03 -D4 -fF &

nucleuswizard wrote:
Reasons wrote:

It'd been a while since I did openbox, I forgot how much I loved it.

http://tn3-1.deviantart.com/fs26/300W/f … Reason.png

How  did you change Y axis of pypanel.Is that patched pypanel?

It is.

Now if someone could help me with this. I'm using a pipe panel in openbox to get the space left in each mountpoint. I want it just to have the percent used but right now it's giving me location, type, size, size left, percent, mount name. It's using df and I have no idea what to do for that.

######## This is a script made
######## by 'yettenet'.
########
######## SysInfo script for OpenBox
######## v0.1
########
######## The author does not take
######## any responsibility for
######## what it might do to your
######## computer, though it's
######## improbable to do any harm.
########
######## You may share the script with
######## everyone and modify it for your
######## liking, as long as you
######## GIVE CREDIT.
########
######## To add it to Openbox, copy it to
######## your Openbox/scripts folder, which usually is at
######## ~/.config/openbox/scripts
########
######## edit your menu.xml file, which usually is at
######## ~/.config/openbox/menu.xml
######## and add the following line (in case you have the usual paths - if not, edit the path as needed):
########
########<menu execute="~/.config/openbox/scripts/sysinfo_v01-by_yettenet.script" id="sysinfo-menu" label="SysInfo"/>
########
######## Below you will find the settings
######## (the script still needs to be tested)  

########  settings

MountPoint1=$(echo /vista)
MountPoint2=$(echo /)
MountPoint3=$(echo /home)
MountPoint4=$(echo /var)
MountPoint5=$(echo /storage)
#NetworkDevice1=$(echo eth0)
#NetworkDevice2=$(echo eth1)  #Uncomment some lines to make it work!

######## /settings



User=$(whoami)
Host=$(uname -n)
System=$(uname -s)
Release=$(uname -r)
Arch=$(uname -m)

SizeMountPoint1=$(df -HlT | grep "$MountPoint1")
SizeMountPoint2=$(df -HlT | grep "$MountPoint2")
SizeMountPoint3=$(df -HlT | grep "$MountPoint3")
SizeMountPoint4=$(df -HlT | grep "$MountPoint4")
SizeMountPoint5=$(df -HlT | grep "$MountPoint5")

#NetDev1ip=$(/sbin/ifconfig "$NetworkDevice1" | grep "inet addr:" | sed "s/.*inet addr://" | sed "s/Bcast.*//")
#NetDev1down=$(/sbin/ifconfig "$NetworkDevice1" | grep bytes | sed 's/.*RX bytes:[0-9]* (//'  | sed 's/iB).*TX.*//' | sed 's/b).*TX.*//' | sed 's/).*TX.*//')
#NetDev1up=$(/sbin/ifconfig "$NetworkDevice1" | grep bytes | sed 's/.*TX bytes:[0-9]* (//' | sed 's/iB)//' |sed 's/b).*//' | sed 's/).*//')

#NetDev2ip=$(/sbin/ifconfig "$NetworkDevice1" | grep "inet addr:" | sed "s/.*inet addr://" | sed "s/Bcast.*//")
#NetDev2down=$(/sbin/ifconfig "$NetworkDevice1" | grep bytes | sed 's/.*RX bytes:[0-9]* (//'  | sed 's/iB).*TX.*//' | sed 's/b).*TX.*//' | sed 's/).*TX.*//')
#NetDev2up=$(/sbin/ifconfig "$NetworkDevice1" | grep bytes | sed 's/.*TX bytes:[0-9]* (//' | sed 's/iB)//' |sed 's/b).*//' | sed 's/).*//')

DateDate=$(date '+Date ~ %m.%d.%Y (%a)')
DateWeek=$(date '+Week ~ %W')
 DateDay=$(date '+ Day ~ %j')
DateTime=$(date '+Time ~ %H:%M [%Z]')
UpTime=$(uptime | sed 's/.* up //' | sed 's/[0-9]* us.*//' | sed 's/ day, /d/' | sed 's/ days, /d /' | sed 's/:/h /' | sed 's/ min//'|  sed 's/,/m/' | sed 's/  / /') 

MemTotal=$(echo "scale = 2; ("$(cat /proc/meminfo | grep MemTotal: | awk '{print $2}' | sed 's/k//')" /1024)" | bc)
 MemFree=$(echo "scale = 2; ("$(cat /proc/meminfo | grep MemFree: | awk '{print $2}' | sed 's/k//')" /1024) + ("$(cat /proc/meminfo | grep grep -m 1 Cached: | awk '{print $2}' | sed 's/k//')" /1024)" | bc)
 MemUsed=$(echo "scale = 2; ("$(cat /proc/meminfo | grep MemTotal: | awk '{print $2}' | sed 's/k//')" /1024) - (("$(cat /proc/meminfo | grep MemFree: | awk '{print $2}' | sed 's/k//')" /1024) + ("$(cat /proc/meminfo | grep -m 1 Cached: | awk '{print $2}' | sed 's/k//')" /1024))" | bc)

SwpTotal=$(echo "scale = 2; ("$(cat /proc/meminfo | grep SwapTotal: | awk '{print $2}' | sed 's/k//')" /1024)" | bc)
 SwpFree=$(echo "scale = 2; ("$(cat /proc/meminfo | grep SwapFree: | awk '{print $2}' | sed 's/k//')" /1024)" | bc)
 SwpUsed=$(echo "scale = 2; ("$(cat /proc/meminfo | grep SwapTotal: | awk '{print $2}' | sed 's/k//')" /1024) - ("$(cat /proc/meminfo | grep SwapFree: | awk '{print $2}' | sed 's/k//')" /1024)" | bc)

MemUsedPercent=$(echo "scale = 2; (("$(cat /proc/meminfo | grep MemTotal: | awk '{print $2}' | sed 's/k//')" /1024) - (("$(cat /proc/meminfo | grep MemFree: | awk '{print $2}' | sed 's/k//')" /1024) + ("$(cat /proc/meminfo | grep -m 1 Cached: | awk '{print $2}' | sed 's/k//')" /1024))) / ("$(cat /proc/meminfo | grep MemTotal: | awk '{print $2}' | sed 's/k//')" /1024) *100" | bc)
SwpUsedPercent=$(echo "scale = 2; (("$(cat /proc/meminfo | grep SwapTotal: | awk '{print $2}' | sed 's/k//')" /1024) - ("$(cat /proc/meminfo | grep SwapFree: | awk '{print $2}' | sed 's/k//')" /1024)) / ("$(cat /proc/meminfo | grep SwapTotal: | awk '{print $2}' | sed 's/k//')" /1024) *100" | bc)

CPUmodel=$(cat /proc/cpuinfo | grep "model name" | sed 's/.*: //')
CPUfreq=$(cat /proc/cpuinfo | grep -m 1 "cpu MHz" | sed 's/.*: //')
CPUcache=$(cat /proc/cpuinfo | grep -m 1 "cache size" | sed 's/.*: //')


echo "<openbox_pipe_menu>"
echo "<separator label=\"$User @ $Host \"/>"
echo "<item label=\"$User @ $Host\"/>"
echo "<item label=\"$System $Release $Arch\"/>"

echo "<separator label = \"Filesystem ~~ Type ~~ Total ~ Used ~ Free ~ % ~ Mount   \"/>"
echo "<item label=\"$SizeMountPoint1\"/>"
echo "<item label=\"$SizeMountPoint2\"/>"
echo "<item label=\"$SizeMountPoint3\"/>"
echo "<item label=\"$SizeMountPoint4\"/>"
echo "<item label=\"$SizeMountPoint5\"/>"

echo "<separator label=\"CPU ~ RAM ~ Swap | Used/Total     \"/>"
echo "<item label=\"RAM used: $MemUsed MiB/$MemTotal MiB ~ $MemUsedPercent%\"/>"
echo "<item label=\"Swp used: $SwpUsed MiB/$SwpTotal MiB ~ $SwpUsedPercent%\"/>"
echo "<item label=\"CPU @ $CPUfreq MHz\"/>"

#echo "<separator label = \"Network ~ "$NetworkDevice2"  \"/>"
#echo "<item label=\""$NetworkDevice1" ~         ip: $NetDev2ip\"/>"
#echo "<item label=\""$NetworkDevice1" ~ downloaded: "$NetDev2down"iB\"/>"
#echo "<item label=\""$NetworkDevice1" ~   uploaded: "$NetDev2up"iB\"/>"

echo "<separator label = \"Date ~ Time\"/>"
echo "<item label=\"$DateDate\"/>"
echo "<item label=\"$DateTime\"/>"
echo "<item label=\"Up ~ $UpTime\"/>"

echo "</openbox_pipe_menu>"

Offline

#387 2008-03-18 20:23:14

th
Member
From: Germany
Registered: 2005-08-16
Posts: 34
Website

Re: March 2008 Screenshots

screenshot-2008-03-18-thumb.png

Offline

#388 2008-03-18 20:31:02

Aakko
Member
Registered: 2007-10-23
Posts: 65

Re: March 2008 Screenshots

xfceqi8.th.png

I've been playing with Xfce lately.

Though I always seem to go back to fluxbox.

Offline

#389 2008-03-18 20:40:06

nucleuswizard
Member
From: Serbia
Registered: 2007-10-07
Posts: 79

Re: March 2008 Screenshots

Reasons wrote:
distortion wrote:
Reasons wrote:

It'd been a while since I did openbox, I forgot how much I loved it.

http://tn3-1.deviantart.com/fs26/300W/f … Reason.png

Very nice indeed, but what GTK and Openbox theme is that? How do you "start" xcompmgr (parameters)? And finally, patched pypanel, which patch? smile

Cheers!

Patch here:
http://bbs.archlinux.org/viewtopic.php? … 01#p261501
GTK and openbox themes are listed in the terminal.
xcompmgr -cC -t-3 -l-5 -r5 -I0.02 -O0.03 -D4 -fF &

nucleuswizard wrote:
Reasons wrote:

It'd been a while since I did openbox, I forgot how much I loved it.

http://tn3-1.deviantart.com/fs26/300W/f … Reason.png

How  did you change Y axis of pypanel.Is that patched pypanel?

It is.

Now if someone could help me with this. I'm using a pipe panel in openbox to get the space left in each mountpoint. I want it just to have the percent used but right now it's giving me location, type, size, size left, percent, mount name. It's using df and I have no idea what to do for that.

######## This is a script made
######## by 'yettenet'.
########
######## SysInfo script for OpenBox
######## v0.1
########
######## The author does not take
######## any responsibility for
######## what it might do to your
######## computer, though it's
######## improbable to do any harm.
########
######## You may share the script with
######## everyone and modify it for your
######## liking, as long as you
######## GIVE CREDIT.
########
######## To add it to Openbox, copy it to
######## your Openbox/scripts folder, which usually is at
######## ~/.config/openbox/scripts
########
######## edit your menu.xml file, which usually is at
######## ~/.config/openbox/menu.xml
######## and add the following line (in case you have the usual paths - if not, edit the path as needed):
########
########<menu execute="~/.config/openbox/scripts/sysinfo_v01-by_yettenet.script" id="sysinfo-menu" label="SysInfo"/>
########
######## Below you will find the settings
######## (the script still needs to be tested)  

########  settings

MountPoint1=$(echo /vista)
MountPoint2=$(echo /)
MountPoint3=$(echo /home)
MountPoint4=$(echo /var)
MountPoint5=$(echo /storage)
#NetworkDevice1=$(echo eth0)
#NetworkDevice2=$(echo eth1)  #Uncomment some lines to make it work!

######## /settings



User=$(whoami)
Host=$(uname -n)
System=$(uname -s)
Release=$(uname -r)
Arch=$(uname -m)

SizeMountPoint1=$(df -HlT | grep "$MountPoint1")
SizeMountPoint2=$(df -HlT | grep "$MountPoint2")
SizeMountPoint3=$(df -HlT | grep "$MountPoint3")
SizeMountPoint4=$(df -HlT | grep "$MountPoint4")
SizeMountPoint5=$(df -HlT | grep "$MountPoint5")

#NetDev1ip=$(/sbin/ifconfig "$NetworkDevice1" | grep "inet addr:" | sed "s/.*inet addr://" | sed "s/Bcast.*//")
#NetDev1down=$(/sbin/ifconfig "$NetworkDevice1" | grep bytes | sed 's/.*RX bytes:[0-9]* (//'  | sed 's/iB).*TX.*//' | sed 's/b).*TX.*//' | sed 's/).*TX.*//')
#NetDev1up=$(/sbin/ifconfig "$NetworkDevice1" | grep bytes | sed 's/.*TX bytes:[0-9]* (//' | sed 's/iB)//' |sed 's/b).*//' | sed 's/).*//')

#NetDev2ip=$(/sbin/ifconfig "$NetworkDevice1" | grep "inet addr:" | sed "s/.*inet addr://" | sed "s/Bcast.*//")
#NetDev2down=$(/sbin/ifconfig "$NetworkDevice1" | grep bytes | sed 's/.*RX bytes:[0-9]* (//'  | sed 's/iB).*TX.*//' | sed 's/b).*TX.*//' | sed 's/).*TX.*//')
#NetDev2up=$(/sbin/ifconfig "$NetworkDevice1" | grep bytes | sed 's/.*TX bytes:[0-9]* (//' | sed 's/iB)//' |sed 's/b).*//' | sed 's/).*//')

DateDate=$(date '+Date ~ %m.%d.%Y (%a)')
DateWeek=$(date '+Week ~ %W')
 DateDay=$(date '+ Day ~ %j')
DateTime=$(date '+Time ~ %H:%M [%Z]')
UpTime=$(uptime | sed 's/.* up //' | sed 's/[0-9]* us.*//' | sed 's/ day, /d/' | sed 's/ days, /d /' | sed 's/:/h /' | sed 's/ min//'|  sed 's/,/m/' | sed 's/  / /') 

MemTotal=$(echo "scale = 2; ("$(cat /proc/meminfo | grep MemTotal: | awk '{print $2}' | sed 's/k//')" /1024)" | bc)
 MemFree=$(echo "scale = 2; ("$(cat /proc/meminfo | grep MemFree: | awk '{print $2}' | sed 's/k//')" /1024) + ("$(cat /proc/meminfo | grep grep -m 1 Cached: | awk '{print $2}' | sed 's/k//')" /1024)" | bc)
 MemUsed=$(echo "scale = 2; ("$(cat /proc/meminfo | grep MemTotal: | awk '{print $2}' | sed 's/k//')" /1024) - (("$(cat /proc/meminfo | grep MemFree: | awk '{print $2}' | sed 's/k//')" /1024) + ("$(cat /proc/meminfo | grep -m 1 Cached: | awk '{print $2}' | sed 's/k//')" /1024))" | bc)

SwpTotal=$(echo "scale = 2; ("$(cat /proc/meminfo | grep SwapTotal: | awk '{print $2}' | sed 's/k//')" /1024)" | bc)
 SwpFree=$(echo "scale = 2; ("$(cat /proc/meminfo | grep SwapFree: | awk '{print $2}' | sed 's/k//')" /1024)" | bc)
 SwpUsed=$(echo "scale = 2; ("$(cat /proc/meminfo | grep SwapTotal: | awk '{print $2}' | sed 's/k//')" /1024) - ("$(cat /proc/meminfo | grep SwapFree: | awk '{print $2}' | sed 's/k//')" /1024)" | bc)

MemUsedPercent=$(echo "scale = 2; (("$(cat /proc/meminfo | grep MemTotal: | awk '{print $2}' | sed 's/k//')" /1024) - (("$(cat /proc/meminfo | grep MemFree: | awk '{print $2}' | sed 's/k//')" /1024) + ("$(cat /proc/meminfo | grep -m 1 Cached: | awk '{print $2}' | sed 's/k//')" /1024))) / ("$(cat /proc/meminfo | grep MemTotal: | awk '{print $2}' | sed 's/k//')" /1024) *100" | bc)
SwpUsedPercent=$(echo "scale = 2; (("$(cat /proc/meminfo | grep SwapTotal: | awk '{print $2}' | sed 's/k//')" /1024) - ("$(cat /proc/meminfo | grep SwapFree: | awk '{print $2}' | sed 's/k//')" /1024)) / ("$(cat /proc/meminfo | grep SwapTotal: | awk '{print $2}' | sed 's/k//')" /1024) *100" | bc)

CPUmodel=$(cat /proc/cpuinfo | grep "model name" | sed 's/.*: //')
CPUfreq=$(cat /proc/cpuinfo | grep -m 1 "cpu MHz" | sed 's/.*: //')
CPUcache=$(cat /proc/cpuinfo | grep -m 1 "cache size" | sed 's/.*: //')


echo "<openbox_pipe_menu>"
echo "<separator label=\"$User @ $Host \"/>"
echo "<item label=\"$User @ $Host\"/>"
echo "<item label=\"$System $Release $Arch\"/>"

echo "<separator label = \"Filesystem ~~ Type ~~ Total ~ Used ~ Free ~ % ~ Mount   \"/>"
echo "<item label=\"$SizeMountPoint1\"/>"
echo "<item label=\"$SizeMountPoint2\"/>"
echo "<item label=\"$SizeMountPoint3\"/>"
echo "<item label=\"$SizeMountPoint4\"/>"
echo "<item label=\"$SizeMountPoint5\"/>"

echo "<separator label=\"CPU ~ RAM ~ Swap | Used/Total     \"/>"
echo "<item label=\"RAM used: $MemUsed MiB/$MemTotal MiB ~ $MemUsedPercent%\"/>"
echo "<item label=\"Swp used: $SwpUsed MiB/$SwpTotal MiB ~ $SwpUsedPercent%\"/>"
echo "<item label=\"CPU @ $CPUfreq MHz\"/>"

#echo "<separator label = \"Network ~ "$NetworkDevice2"  \"/>"
#echo "<item label=\""$NetworkDevice1" ~         ip: $NetDev2ip\"/>"
#echo "<item label=\""$NetworkDevice1" ~ downloaded: "$NetDev2down"iB\"/>"
#echo "<item label=\""$NetworkDevice1" ~   uploaded: "$NetDev2up"iB\"/>"

echo "<separator label = \"Date ~ Time\"/>"
echo "<item label=\"$DateDate\"/>"
echo "<item label=\"$DateTime\"/>"
echo "<item label=\"Up ~ $UpTime\"/>"

echo "</openbox_pipe_menu>"

Can this help

http://en.wikipedia.org/wiki/Df_(Unix)

Offline

#390 2008-03-18 20:52:02

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

Re: March 2008 Screenshots

nucleuswizard wrote:
Reasons wrote:
distortion wrote:
Reasons wrote:

It'd been a while since I did openbox, I forgot how much I loved it.

http://tn3-1.deviantart.com/fs26/300W/f … Reason.png

Very nice indeed, but what GTK and Openbox theme is that? How do you "start" xcompmgr (parameters)? And finally, patched pypanel, which patch? smile

Cheers!

Patch here:
http://bbs.archlinux.org/viewtopic.php? … 01#p261501
GTK and openbox themes are listed in the terminal.
xcompmgr -cC -t-3 -l-5 -r5 -I0.02 -O0.03 -D4 -fF &

nucleuswizard wrote:

How  did you change Y axis of pypanel.Is that patched pypanel?

It is.

Now if someone could help me with this. I'm using a pipe panel in openbox to get the space left in each mountpoint. I want it just to have the percent used but right now it's giving me location, type, size, size left, percent, mount name. It's using df and I have no idea what to do for that.

######## This is a script made
######## by 'yettenet'.
########
######## SysInfo script for OpenBox
######## v0.1
########
######## The author does not take
######## any responsibility for
######## what it might do to your
######## computer, though it's
######## improbable to do any harm.
########
######## You may share the script with
######## everyone and modify it for your
######## liking, as long as you
######## GIVE CREDIT.
########
######## To add it to Openbox, copy it to
######## your Openbox/scripts folder, which usually is at
######## ~/.config/openbox/scripts
########
######## edit your menu.xml file, which usually is at
######## ~/.config/openbox/menu.xml
######## and add the following line (in case you have the usual paths - if not, edit the path as needed):
########
########<menu execute="~/.config/openbox/scripts/sysinfo_v01-by_yettenet.script" id="sysinfo-menu" label="SysInfo"/>
########
######## Below you will find the settings
######## (the script still needs to be tested)  

########  settings

MountPoint1=$(echo /vista)
MountPoint2=$(echo /)
MountPoint3=$(echo /home)
MountPoint4=$(echo /var)
MountPoint5=$(echo /storage)
#NetworkDevice1=$(echo eth0)
#NetworkDevice2=$(echo eth1)  #Uncomment some lines to make it work!

######## /settings



User=$(whoami)
Host=$(uname -n)
System=$(uname -s)
Release=$(uname -r)
Arch=$(uname -m)

SizeMountPoint1=$(df -HlT | grep "$MountPoint1")
SizeMountPoint2=$(df -HlT | grep "$MountPoint2")
SizeMountPoint3=$(df -HlT | grep "$MountPoint3")
SizeMountPoint4=$(df -HlT | grep "$MountPoint4")
SizeMountPoint5=$(df -HlT | grep "$MountPoint5")

#NetDev1ip=$(/sbin/ifconfig "$NetworkDevice1" | grep "inet addr:" | sed "s/.*inet addr://" | sed "s/Bcast.*//")
#NetDev1down=$(/sbin/ifconfig "$NetworkDevice1" | grep bytes | sed 's/.*RX bytes:[0-9]* (//'  | sed 's/iB).*TX.*//' | sed 's/b).*TX.*//' | sed 's/).*TX.*//')
#NetDev1up=$(/sbin/ifconfig "$NetworkDevice1" | grep bytes | sed 's/.*TX bytes:[0-9]* (//' | sed 's/iB)//' |sed 's/b).*//' | sed 's/).*//')

#NetDev2ip=$(/sbin/ifconfig "$NetworkDevice1" | grep "inet addr:" | sed "s/.*inet addr://" | sed "s/Bcast.*//")
#NetDev2down=$(/sbin/ifconfig "$NetworkDevice1" | grep bytes | sed 's/.*RX bytes:[0-9]* (//'  | sed 's/iB).*TX.*//' | sed 's/b).*TX.*//' | sed 's/).*TX.*//')
#NetDev2up=$(/sbin/ifconfig "$NetworkDevice1" | grep bytes | sed 's/.*TX bytes:[0-9]* (//' | sed 's/iB)//' |sed 's/b).*//' | sed 's/).*//')

DateDate=$(date '+Date ~ %m.%d.%Y (%a)')
DateWeek=$(date '+Week ~ %W')
 DateDay=$(date '+ Day ~ %j')
DateTime=$(date '+Time ~ %H:%M [%Z]')
UpTime=$(uptime | sed 's/.* up //' | sed 's/[0-9]* us.*//' | sed 's/ day, /d/' | sed 's/ days, /d /' | sed 's/:/h /' | sed 's/ min//'|  sed 's/,/m/' | sed 's/  / /') 

MemTotal=$(echo "scale = 2; ("$(cat /proc/meminfo | grep MemTotal: | awk '{print $2}' | sed 's/k//')" /1024)" | bc)
 MemFree=$(echo "scale = 2; ("$(cat /proc/meminfo | grep MemFree: | awk '{print $2}' | sed 's/k//')" /1024) + ("$(cat /proc/meminfo | grep grep -m 1 Cached: | awk '{print $2}' | sed 's/k//')" /1024)" | bc)
 MemUsed=$(echo "scale = 2; ("$(cat /proc/meminfo | grep MemTotal: | awk '{print $2}' | sed 's/k//')" /1024) - (("$(cat /proc/meminfo | grep MemFree: | awk '{print $2}' | sed 's/k//')" /1024) + ("$(cat /proc/meminfo | grep -m 1 Cached: | awk '{print $2}' | sed 's/k//')" /1024))" | bc)

SwpTotal=$(echo "scale = 2; ("$(cat /proc/meminfo | grep SwapTotal: | awk '{print $2}' | sed 's/k//')" /1024)" | bc)
 SwpFree=$(echo "scale = 2; ("$(cat /proc/meminfo | grep SwapFree: | awk '{print $2}' | sed 's/k//')" /1024)" | bc)
 SwpUsed=$(echo "scale = 2; ("$(cat /proc/meminfo | grep SwapTotal: | awk '{print $2}' | sed 's/k//')" /1024) - ("$(cat /proc/meminfo | grep SwapFree: | awk '{print $2}' | sed 's/k//')" /1024)" | bc)

MemUsedPercent=$(echo "scale = 2; (("$(cat /proc/meminfo | grep MemTotal: | awk '{print $2}' | sed 's/k//')" /1024) - (("$(cat /proc/meminfo | grep MemFree: | awk '{print $2}' | sed 's/k//')" /1024) + ("$(cat /proc/meminfo | grep -m 1 Cached: | awk '{print $2}' | sed 's/k//')" /1024))) / ("$(cat /proc/meminfo | grep MemTotal: | awk '{print $2}' | sed 's/k//')" /1024) *100" | bc)
SwpUsedPercent=$(echo "scale = 2; (("$(cat /proc/meminfo | grep SwapTotal: | awk '{print $2}' | sed 's/k//')" /1024) - ("$(cat /proc/meminfo | grep SwapFree: | awk '{print $2}' | sed 's/k//')" /1024)) / ("$(cat /proc/meminfo | grep SwapTotal: | awk '{print $2}' | sed 's/k//')" /1024) *100" | bc)

CPUmodel=$(cat /proc/cpuinfo | grep "model name" | sed 's/.*: //')
CPUfreq=$(cat /proc/cpuinfo | grep -m 1 "cpu MHz" | sed 's/.*: //')
CPUcache=$(cat /proc/cpuinfo | grep -m 1 "cache size" | sed 's/.*: //')


echo "<openbox_pipe_menu>"
echo "<separator label=\"$User @ $Host \"/>"
echo "<item label=\"$User @ $Host\"/>"
echo "<item label=\"$System $Release $Arch\"/>"

echo "<separator label = \"Filesystem ~~ Type ~~ Total ~ Used ~ Free ~ % ~ Mount   \"/>"
echo "<item label=\"$SizeMountPoint1\"/>"
echo "<item label=\"$SizeMountPoint2\"/>"
echo "<item label=\"$SizeMountPoint3\"/>"
echo "<item label=\"$SizeMountPoint4\"/>"
echo "<item label=\"$SizeMountPoint5\"/>"

echo "<separator label=\"CPU ~ RAM ~ Swap | Used/Total     \"/>"
echo "<item label=\"RAM used: $MemUsed MiB/$MemTotal MiB ~ $MemUsedPercent%\"/>"
echo "<item label=\"Swp used: $SwpUsed MiB/$SwpTotal MiB ~ $SwpUsedPercent%\"/>"
echo "<item label=\"CPU @ $CPUfreq MHz\"/>"

#echo "<separator label = \"Network ~ "$NetworkDevice2"  \"/>"
#echo "<item label=\""$NetworkDevice1" ~         ip: $NetDev2ip\"/>"
#echo "<item label=\""$NetworkDevice1" ~ downloaded: "$NetDev2down"iB\"/>"
#echo "<item label=\""$NetworkDevice1" ~   uploaded: "$NetDev2up"iB\"/>"

echo "<separator label = \"Date ~ Time\"/>"
echo "<item label=\"$DateDate\"/>"
echo "<item label=\"$DateTime\"/>"
echo "<item label=\"Up ~ $UpTime\"/>"

echo "</openbox_pipe_menu>"

Can this help

http://en.wikipedia.org/wiki/Df_(Unix)

Looks like it will. smile

One last openbox question. I find the window decoration a bit too big, I already set the font to 1 (0 makes no difference), but it's still to big. Thinking I was clever I threw

  <application class="*">
    <decor>no</decor>
  </application>

into my rc.xml, which worked. There are no decorations but I kind of like the green accents which I guess where part of the boarder (as they're gone now). Is it possible to keep that, but make the top bar a bit smaller?

Offline

#391 2008-03-18 22:35:31

.:B:.
Forum Fellow
Registered: 2006-11-26
Posts: 5,819
Website

Re: March 2008 Screenshots

Did you check rc.xml?

[stijn@lysithea ~]$ grep -i border .config/openbox/rc.xml 
    <keepBorder>yes</keepBorder>

Got Leenucks? :: Arch: Power in simplicity :: Get Counted! Registered Linux User #392717 :: Blog thingy

Offline

#392 2008-03-18 23:48:01

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

Re: March 2008 Screenshots

Yes, that is there. What I did is I went into the applications at the bottom of the rc.xml and turned of the decor. I wasn't aware that the green part (screenshot on last page) at the top and bottom of the windows was part of that so I wanted to know if it was possible to somehow keep that.

Offline

#393 2008-03-19 01:13:17

.:B:.
Forum Fellow
Registered: 2006-11-26
Posts: 5,819
Website

Re: March 2008 Screenshots

I never used the keepBorder option. If that does not override the decoration setting, then I don't know what would... It depends on your openbox theme whether it provides borders or not afaik.


Got Leenucks? :: Arch: Power in simplicity :: Get Counted! Registered Linux User #392717 :: Blog thingy

Offline

#394 2008-03-19 01:34:37

koch
Member
From: Germany
Registered: 2008-01-26
Posts: 369

Re: March 2008 Screenshots

some changes...

BFZPF.png

Offline

#395 2008-03-19 02:37:07

windtalker
Member
Registered: 2008-03-17
Posts: 220

Re: March 2008 Screenshots

This is my second day using Arch.
I think I might stick around awhile. big_smile

snapshot1cj8.th.jpg

Offline

#396 2008-03-19 04:12:13

mrcold
Member
Registered: 2008-01-24
Posts: 150

Re: March 2008 Screenshots

Reasons wrote:

Yes, that is there. What I did is I went into the applications at the bottom of the rc.xml and turned of the decor. I wasn't aware that the green part (screenshot on last page) at the top and bottom of the windows was part of that so I wanted to know if it was possible to somehow keep that.

try messing around with the openbox themerc found in the theme folder of whatever theme you are using.  I have had some luck doing similar things before.  Unfortunately i don't know enough about it to tell you which part to edit.

Good Luck

Offline

#397 2008-03-19 12:27:33

pressh
Developer/TU
From: Netherlands
Registered: 2005-08-14
Posts: 1,719

Re: March 2008 Screenshots

e17-cvs

busy
20080319131940ex5.th.png
clean
20080319132003ts1.th.png

Offline

#398 2008-03-19 16:45:14

ilpianista
Fellow developer
Registered: 2007-10-06
Posts: 568
Website

Re: March 2008 Screenshots

Kdemod
My_Arch_19-03  (NSFW)

Last edited by ilpianista (2008-03-19 18:18:01)

Offline

#399 2008-03-19 17:20:56

colbert
Member
Registered: 2007-12-16
Posts: 809

Re: March 2008 Screenshots

You should add NSFW BaSh smile

Offline

#400 2008-03-19 18:21:27

ilpianista
Fellow developer
Registered: 2007-10-06
Posts: 568
Website

Re: March 2008 Screenshots

colbert wrote:

You should add NSFW BaSh smile

Done, i didn't believe it was NFSW

Offline

Board footer

Powered by FluxBB