You are not logged in.
Reasons wrote:It'd been a while since I did openbox, I forgot how much I loved it.
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.
Offline
It'd been a while since I did openbox, I forgot how much I loved it.
Very nice indeed, but what GTK and Openbox theme is that? How do you "start" xcompmgr (parameters)? And finally, patched pypanel, which patch?
Cheers!
Last edited by distortion (2008-03-18 17:32:44)
Offline
It'd been a while since I did openbox, I forgot how much I loved it.
How did you change Y axis of pypanel.Is that patched pypanel?
Last edited by nucleuswizard (2008-03-18 18:13:29)
Offline
Offline
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
Breakage wrote:Where'd you get the wall?
Offline
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.
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
Reasons wrote:It'd been a while since I did openbox, I forgot how much I loved it.
Very nice indeed, but what GTK and Openbox theme is that? How do you "start" xcompmgr (parameters)? And finally, patched pypanel, which patch?
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 &
Reasons wrote:It'd been a while since I did openbox, I forgot how much I loved it.
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
Offline
distortion wrote:Reasons wrote:It'd been a while since I did openbox, I forgot how much I loved it.
Very nice indeed, but what GTK and Openbox theme is that? How do you "start" xcompmgr (parameters)? And finally, patched pypanel, which patch?
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.
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
Offline
Reasons wrote:distortion wrote:Reasons wrote:It'd been a while since I did openbox, I forgot how much I loved it.
Very nice indeed, but what GTK and Openbox theme is that? How do you "start" xcompmgr (parameters)? And finally, patched pypanel, which patch?
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
Looks like it will.
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
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
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
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
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
Kdemod
My_Arch_19-03 (NSFW)
Last edited by ilpianista (2008-03-19 18:18:01)
Offline
You should add NSFW BaSh
Offline
You should add NSFW BaSh
Done, i didn't believe it was NFSW
Offline