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

Oregan unveils new middleware for Linux STBs and Android TV

Oregan Networks, a provider of digital TV software services, has announced the launch of a new set-top box client middleware product for pay-TV operators called SparQ. The software is designed to work on the most challenging and resource-limited STB platforms in the field, making it feasible to introduce new OTT content services and applications on customer devices that were deployed as part of the first wave of IPTV and hybrid broadcast deployments. Read more

KDE Development Updates

  • Revisiting my talk at FOSSASIA summit, 2018
    Earlier this year, I had the chance to speak about one of KDE community’s cool projects that is helpding developers erase the line between desktop and mobile/tablet UI’s with ease. I’m referring to the Kirigami UI framework – a set of QtQuick components targetted at the mobile as well as desktop platforms. This is particularly important to KDE and a lot of projects are now migrating towards a Kirigami UI, particularly keeping in mind the ability to run the applications on the Plasma Mobile.
  • This Week in KDE, Part 2 : OYLG, Workspace KCM, Single/Double Click
    Last weekend, I went to İstanbul to attend Özgür Yazılım ve Linux Günleri (Free Software and Linux Days 2018) to represent LibreOffice. We had 3 presentations during the event about LibreOffice Development and The Open Document Format. We had booth setup with stickers, flyers, roll-up etc. These were all thanks to The Document Foundation’s supports! You can find detailed information about the event from here : https://wiki.documentfoundation.org/Events/2018/OYLG2018
  • Watching the Detectives
    For instance, Kevin Ottens has been writing about understanding the KDE community by the “green blobs” method, showing who is active when. Lays Rodrigues has written about using Gource to show Plasma growing up. Nate Graham describes the goings-on in the KDE community nearly every week. Those are, roughly: a metric-, a visual-, and a story-based approach to understanding the community, over different timescales. But understanding of a system doesn’t come from a single dimension, from a single axis of measurement. It comes from mixing up the different views to look the system as a whole.
  • Managing cooking recipes
    I like to cook. And sometimes store my recipes. Over the years I have tried KRecipes, kept my recipes in BasKet notes, in KJots notes, in more or less random word processor documents. I liked the free form entering recipes in various notes applications and word processor documents, but I lacked some kind of indexing them. What I wanted was free-ish text for writing recipes, and some thing that could help me find them by tags I give them. By Title. By how I organize them. And maybe by Ingredient if I don’t know how to get rid of the soon-to-be-bad in my refridgerator.

Phones: Purism, "Jolla Users", De-Googling Android Phones

  • Last Call for Librem 5 Dev Kit: order yours before June 1st 2018
    Purism has finalized the specifications for the Librem 5 development kit and will be placing all the component parts order and fabrication run the first week of June 2018. If you want to have early access to the hardware that will serve as the platform for the Librem 5 phone, you must place your dev kit order before June 1st, 2018. The price for the development kit is now $399, up from the early-bird pricing that was in effect during the campaign and until today. The dev kit is a small batch, “limited edition” product. After this batch, we are not planning for a second run (as the production of the phone itself will replace the dev kit in 2019).
  • Top 3 mobile phones
    When purchasing a new mobile phone, there are hundreds of models to choose from and, there are dozens of “excellent” or top-rated brands to consider. Therefore, it can be difficult to know what you are getting. Buying the phone upfront, on contract or buying a smartphone on finance are all options that need to be considered too. If you are ready to invest in a new smartphone consider these three models. Galaxy S9 Plus. This phone by Samsung is sleek, elegant, has a vibrant screen, resolution and excellent fingerprint scanner. The curved edges give it a distinct look and style. It is the Plus model, so has a huge touchscreen which is extremely intuitive. Quality speakers, outdoor body/casing and internal functionality make it a top-choice for a new smartphone.
  • De-Googling my phone, reloaded
    In this area the situation is now much happier than my first post indicated. As promised I used trainline.eu for booking some tickets (both for Deutsche Bahn and also on Thalys), and indeed this does a fine job. Same price, European rebate cards like BahnCard 50 are supported, and being able to book with a lot of European train services with just one provider is really neat. However, I’m missing a lot of DB navigator’s great features: realtime information and alternatives, seat selection, car position indicator, regional tariffs, or things like “Länderticket”. Fortunately it turns out that DB Navigator works just great with a trick: Disable the “Karte anzeigen” option in the menu, and it will immediately stop complaining about missing Play Services after each action. Also, logging in with your DB account never finishes, but after terminating and restarting the app you are logged in and everything works fine. That might be a “regular” bug or just a side effect without Play Services.

Ubuntu 18.04 Bionic Beaver - Canonical giveth, Canonical taketh

This review focuses on Ubuntu with Gnome 3 - and so I will leave my findings with the Unity desktop separate, except a single sentence: Unity is the desktop environment that 18.04 should have had, and everything else is a fallout consequence of that. So yes, Ubuntu Bionic Beaver is okay. But that's like saying paying mortgage for the rest of your life and then dying unceremoniously is okay. It's not okay. Mediocre has never been anything to strive for. EVER. Ubuntu Beaver does a few things well - and with some updates, it's also polished up some of them early turds, as I've outlined in the Kubuntu review; hint, the same is ALSO happening in Kubuntu, and we may have a presentable offering soon. Yes to media, phones, app stack, package management. But then, the network side of things should be better, resource utilization should be better, the desktop should be more usable for ordinary humans. It's ridiculous that you NEED extensions to use Gnome 3, in addition to all the hacks Canonical introduced to make the system usable. So yes, if you wanna be mediocre go for it. 7/10. If not, wait for Kubuntu or MATE to get its game together, or stick Unity onto 18.04. More to follow soon. Read more