Language Selection

English French German Italian Portuguese Spanish

.torsmorc

Filed under
Software

This is the skinnier version like in this screenshot:

background no
font -*-terminus-*-*-*-*-*-*-*-*-*-*-*-*

use_xft 1
xftfont Terminus :pixelsize=10
xftalpha 0.8

update_interval 5.0
own_window no
minimum_size 80 5
draw_shades yes
draw_outline no
draw_borders no
stippled_borders 0
border_margin 2
border_width 1
default_color white
default_shade_color black
default_outline_color black
#alignment top_left
alignment top_right
#alignment bottom_left
#alignment bottom_right
gap_x 5
gap_y 20
no_buffers yes
uppercase no

TEXT
${color slate grey}${time %a, }${color }${time %e %B %G}
${color slate grey}${time %Z, }${color }${time %H:%M:%S}
${stippled_hr 2 1}
${execi 40000 cal}${stippled_hr 2 1}
${color slate grey}${color }$kernel
${color slate grey}UpTime: ${color }$uptime
${stippled_hr 2 1}
${color slate grey}Net :
${color}Up :${color } ${upspeed eth0} k/s
${color}Down:${color } ${downspeed eth0} k/s ${color}
${stippled_hr 2 1}
${color slate grey}CPU :${color } $cpu%
${cpubar 3}
${color slate grey}RAM :${color } $memperc% $mem/$memmax
${membar 3}
${color slate grey}SWAP:${color } $swapperc% $swap/$swapmax
${swapbar 3}
${stippled_hr 2 1}
${color slate grey}Cpu Mem Procs ${color }
${execi 10 ps gaxo %cpu,%mem,comm | sort +0nr | head -n 5 | sed -e 's/-bin//' | sed -e 's/-media-play//'}
${stippled_hr 2 1}
${color #99CCFF}Sensors:${color}
${color grey} CPU:$color ${exec /home/s/torsmos/temp2.sh}°C${color grey}
MB:$color ${exec /home/s/torsmos/temp1.sh}°C ${color grey}
Fan:$Color ${exec /home/s/torsmos/fan2.sh} rpm

${color grey} Vcore1:$Color ${exec
/home/s/torsmos/Vcore1.sh}${color grey} V5SB: $Color ${exec /home/s/torsmos/V5sb.sh}
${color grey} VBat: $Color ${exec /home/s/torsmos/VBat.sh}${color grey} ${color grey} +3.3V: $Color${exec /home/s/torsmos/33v.sh}
${color grey} +5V: $Color ${exec /home/s/torsmos/5v.sh} ${color grey}-5V: $Color ${exec /home/s/torsmos/52v.sh}
${color grey} +12V: $Color ${exec /home/s/torsmos/12v.sh} ${color grey} -12V: $Color ${exec /home/s/torsmos/122v.sh}
${stippled_hr 2 1}
${color slate grey}root: ${color }${fs_used_perc /}% -- ${fs_size /}
${fs_bar 3 /}
${color slate grey}home: ${color }${fs_used_perc /mnt/oldhome/s}% -- ${fs_size /mnt/oldhome/s}
${fs_bar 3 /mnt/oldhome/s}
${color slate grey}archives : ${color }${fs_used_perc /mnt/hda21}% -- ${fs_size /mnt/hda21}
${fs_bar 3 /mnt/hda21}
${color slate grey}games : ${color }${fs_used_perc /mnt/local}% -- ${fs_size /mnt/local}
${fs_bar 3 /mnt/local}
${stippled_hr 2 1}
${color slate grey}Weather :${color}
${execi 900 /home/s/torsmos/tweather.sh Today}
${stippled_hr 2 1}
${color slate grey}Tomorrow :${color}
${execi 900 /home/s/torsmos/tweather.sh Tomorrow}
${stippled_hr 2 1}

those sh files

Link to text file containing some examples.

re: torsmo

In addition, here's a link to a whole slew of good torsmo info!

----
You talk the talk, but do you waddle the waddle?

.torsmorc (2)

and here's mine like shown in the monthly screenshot:

# torsmo configuration

# set to yes if you want tormo to be forked in the background
background no

# X font when Xft is disabled, you can pick one with program xfontsel
#font 5x7
#font 6x10
#font 7x13
#font 8x13
font 9x15
#font *mintsmild.se*
#font -microsoft-comic sans ms -*-*-*-*-*-*-17-*-*-*-*-*-*-*

# Use Xft?
use_xft yes

# Xft font when Xft is enabled
xftfont terminus-8
#xftfont Sans-8
# Text alpha when using Xft
xftalpha 0.8

# mail spool
mail_spool $MAIL

# Update interval in seconds
update_interval 5.0

# Create own window instead of using desktop (required in nautilus)
own_window no

# Use double buffering (reduces flicker, may not work for everyone)
double_buffer yes

# Minimum size of text area
minimum_size 80 5
#minimum_size 300 5
# Draw shades?
draw_shades yes

# Draw outlines?
draw_outline no

# Draw borders around text
draw_borders no

# Stippled borders?
stippled_borders 8

# border margins
border_margin 4

# border width
border_width 1

# Default colors and also border colors
default_color white
default_shade_color black
default_outline_color black

# Text alignment, other possible values are commented
#alignment top_left
alignment top_right
#alignment bottom_left
#alignment bottom_right

# Gap between borders of screen and text
gap_x 05
gap_y 20
#gap_x 25
#gap_y 05

# Subtract file system buffers from used memory?
no_buffers yes

# set to yes if you want all text to be in uppercase
uppercase no

# boinc (seti) dir
#seti_dir /home/s/setiathome

TEXT
${color #99CCFF}$nodename - $sysname $kernel on $machine

${color #99CCFF}Uptime:$color $uptime
${color #99CCFF}RAM Usage:$color $mem/$memmax - $memperc% ${membar 6}
${color #99CCFF}Swap Usage:$color $swap/$swapmax - $swapperc% ${swapbar 6}
${color #99CCFF}CPU Usage:$color $cpu% ${cpubar 6}
${color #99CCFF}Processes:$color $processes ${color grey}Running:$color $running_processes

${color #99CCFF}Networking:
${color grey}Mails: ${color}$mails${color grey} New: ${color}$new_mails${color grey}
Up: $color${upspeed eth0} k/s${color grey} - Down:$color ${downspeed eth0} k/s
${color #99CCFF}Seti: ${color}${exec /home/s/torsmos/seti.sh} ${exec /home/s/torsmos/seti2.sh}
${color #99CCFF}File systems:${color}
/ $color ${fs_free /}/${fs_size /} ${fs_bar 6 /}
/home $color ${fs_free /mnt/oldhome}/ ${fs_size /mnt/oldhome} ${fs_bar 6 /mnt/oldhome}
/archives $color ${fs_free /mnt/hda21}/${fs_size /mnt/hda21} ${fs_bar 6 /mnt/hda21}
${color #99CCFF}Sensors:${color}
${color grey} CPU:$color ${exec /home/s/torsmos/temp2.sh}°C${color grey} - MB:$color ${exec /home/s/torsmos/temp1.sh}°C ${color grey} - Fan:$Color ${exec /home/s/torsmos/fan2.sh} rpm
${color grey}${exec /usr/sbin/hddtemp /dev/hda}
${color grey} Vcore1:$Color ${exec /home/s/torsmos/Vcore1.sh}${color grey} V5SB: $Color ${exec /home/s/torsmos/V5sb.sh} ${color grey} VBat:$Color ${exec /home/s/torsmos/VBat.sh}${color grey}
${color grey} +3.3V: $Color ${exec /home/s/torsmos/33v.sh} ${color grey} +5V: $Color ${exec /home/s/torsmos/5v.sh} ${color grey}-5V: $Color${exec /home/s/torsmos/52v.sh}
${color grey} +12V: $Color ${exec /home/s/torsmos/12v.sh} ${color grey} -12V: $Color ${exec /home/s/torsmos/122v.sh}

${color #99CCFF}${time %H:%M:%S} ${time %Z,} ${color #99CCFF}${time %a, }${time %B %e %G} ${color}

${color #99CCFF}Weather:${color}
${execi 1800 /home/s/torsmos/tweather.sh Today}
${color}Tomorrow:
${execi 1800 /home/s/torsmos/tweather.sh Tomorrow}

${color #99CCFF}${execi 40000 cal}

----
You talk the talk, but do you waddle the waddle?

weather.sh

#!/bin/bash
city="My City"
link=USTN0093_f.html
file=/tmp/weather.txt
location=http://weather.yahoo.com/forecast/$link

lynx -accept_all_cookies -dump $location > $file
begin=`cat -n $file | grep "Currently" | cut -d ' ' -f5`
end=`expr $begin + 40`

head -n $end $file > tmp.t
tail -n 41 tmp.t > $file

case $1 in
Today) head -n 6 $file | sed '3d' ;;
Tomorrow)
begin=`cat -n $file | grep 'Today Tomorrow' | cut -d ' ' -f5`
end=`cat -n $file | grep 'Extended' | cut -d ' ' -f5`
num=`expr $end - $begin - 1`
end2=`expr $begin + 7`

head -n $end2 $file > tmp.t
tail -n 3 tmp.t | sed 's/sky/\n sky/' | sed '4d' ;;
*) exit ;;
esac

rm tmp.t
rm $file

----
You talk the talk, but do you waddle the waddle?

More in Tux Machines

Mozilla Thunderbird 45 Finally Lands in the Main Ubuntu Linux Repositories

After a long wait, Canonical has finally decided that it was time to upgrade the Mozilla Thunderbird software on all of its supported Ubuntu Linux operating systems, where it is used as the default email and news client. Read more

KDE Leftovers

  • Double Post – Lakademy and Randa 2016
    I Have a few favorites kde conventions that I really love to participate. Randa and Lakademy are always awesome, both are focused on hacking, and I surely do love to hack. On LaKademy I spend my days working on subsurface, reworking on the interface, trying to make it more pleasant to the eye, In Randa I worked on KDevelop and Marble, but oh my…
  • Plasma’s Publictransport applet’s porting status
    You might remember that I spoke about Plasma’s Publictransport applet getting some reworking during the summer. It’s been over a month since I made that announcement on my blog and while ideally, I’d have liked to have blogged every week about my work, I haven’t really been able to. This is largely down to the fact that I was occupied with work on a project back at my university and I shifted back to home from my hostel as well, after finishing four years of undergraduate studies.
  • KDE Community Working Group 2016
  • KDE Brasil Telegram group and IRC United
    That’s why the KDE Irc channel now has a bot that will forward all messages to our Telegram Channel and vice-versa, this way all the new cool kids can talk to all the old geeks around and continue to make the KDE awesome in their platform of choice.
  • Wiki, what’s going on? (Part 7)
    Tears followed by joy and happiness, discussions followed by great moments all together, problems followed by their solution and enthusiasm. Am I talking about my family? More or less, because actually I am talking about a family: the WikiToLearn community!
  • Kubuntu 16.04.1 LTS Update Out
    The first point release update to our LTS release 16.04 is out now. This contains all the bugfixes added to 16.04 since its first release in April. Users of 16.04 can run the normal update procedure to get these bugfixes.
  • Kubuntu Podcast #14 – UbPorts interview with Marius Gripsgard
  • KDStateMachineEditor 1.1.0 released
    KDStateMachineEditor is a Qt-based framework for creating Qt State Machine metacode using a graphical user interface. It works on all major platforms and is now available as part of the Qt Auto suite.
  • KDAB contributions to Qt 5.7
    The star of Qt 5.7 is the first stable release of Qt 3D 2.0. The new version of Qt 3D is a total redesign of its architecture into a modern and streamlined 3D engine, exploiting modern design patterns such as entity-component systems, and capable to scale due to the heavily threaded design. This important milestone was the result of a massive effort done by KDAB in coordination with The Qt Company.
  • Krita 3.0.1 Development Builds
    Because of unforeseen circumstances, we had to rejig our release schedule, there was no release last week. Still, we wanted to bring you a foretaste of some of the goodies that are going to be in the 3.0.1 release, which is now planned for September 5th. There’s lots to play with, here, from bug fixes (the double dot in file names is gone, the crash with cheap tablets is gone, a big issue with memory leaks in the graphics card is solved), to features (soft-proofing, among others). There may also be new bugs, and not all new features may be working correctly. Export to animated gif or video clips is still in development, and probably will not work well outside the developers’ computer.
  • KDE blowing out candles on FISL 17!
    My talk was the next. Its title was “20 anos de KDE: de Desktop a Guarda-Chuva de Projetos” (20 years of KDE: From Desktop to Project Umbrella). I presented the evolution process of our community, which led it from a desktop project to a incubator community. For those who did not attend the event the talk was recorded and it is available here. Below I also make available the slides of my presentation:
  • LabPlot 2.3.0 released
    Less then four months after the last release and after a lot of activity in our repository during this time, we’re happy to announce the next release of LabPlot with a lot of new features. So, be prepared for a long post.

Ubuntu tablet and smartphone: a personal "mini" review

So when Ubuntu and Canonical revealed they were partnering with actual, big manufacturers for Ubuntu mobile devices, a spark of hope was rekindled in my heart. Let it be clear, I am by no means an Ubuntu user, not even a fan. I left the fold nearly a decade ago, after having spent quite some time using and contributing to Kubuntu (to the point of becoming a certified “member” even, though I never ascended to the Council). In terms of loyalties and usage, I am a KDE user (and “helper”) foremost. I use Fedora because it just works for me, for now. So, yes, an Ubuntu Touch device would be another compromise for me, but it would be the smallest one. Or so I hoped. Read more

Ubuntu 16.04.1 LTS Released for Desktop, Server, and Cloud with All Flavors

Canonical has announced the first point release of the Ubuntu 16.04 LTS (Xenial Xerus) operating system, finally allowing users of Ubuntu 14.04.4 LTS (Trusty Tahr) to upgrade their installations. Read more