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

Dev kit and module run Linux on Zynq Ultrascale+

Topic Embedded has launched a “Florida Plus” dev kit that runs Linux on its Zynq Ultrascale+ based Miami MPSoC Plus module. Meanwhile, Aries announced it has begun distributing Topic’s Zynq-based Miami modules. Netherlands-based Topic Embedded Systems has been around for 20 years doing FPGA work, with the last decade focused primarily on manufacturing Linux-driven Xilinx Zynq based modules. Last week, Topic announced an open-spec Florida Plus Development Kit that showcases its top-of-the-line Miami MPSoC Plus compute module, which features the Zynq UltraScale+ MPSoC. system-on-chip. Read more

today's howtos

  • How to Install Mosh Shell as SSH Alternative on Linux Desktop

    Using an SSH client tool is always helpful and handy for the system administrator and the remote users. In the conventional SSH clients, you may find some network and auto session logout issues. As a system admin, you already realize the importance of the CLI-based remote SSH client. To solve frequent logout, lagging, and packet loss issues, you can install the Mosh SSH as an SSH alternative on Linux. The Mosh stands for the Mobile shell, which is a command-line-based secure shell client for Linux. It doesn’t require a stale and static IP address to establish the connection; moreover, the Mosh SSH shell client is also compatible with mobile devices.

  • New Linux Publication Released: How Linux Works, 3rd Edition: What Every Superuser Should Know by Brian Ward

    I am very excited about this publication not only because it is a great book covering such a large set of Linux-related topics but also because I helped with the technical review.

  • How to install the NVIDIA drivers on Ubuntu 21.04

    The objective is to install the NVIDIA drivers on Ubuntu 21.04 Hirsute Hippo Linux and switch from a opensource Nouveau driver to the proprietary Nvidia driver. To install Nvidia driver on other Linux distributions, follow our Nvidia Linux Driver guide.

  • How to install Blender 2.92 on Deepin 20.2

    In this video, we are looking at how to install Blender 2.92 on Deepin 20.2.

  • How to install Funkin' High Effort Ugh mod on a Chromebook

    Today we are looking at how to install Funkin' High Effort Ugh mod on a Chromebook. Please follow the video/audio guide as a tutorial where we explain the process step by step and use the commands below. If you have any questions, please contact us via a YouTube comment and we would be happy to assist you!

GNU Project: GCC 11.1 Release Candidate and Cryptographic Algorithms GnuTLS

  • GCC 11.1 Release Candidate available from gcc.gnu.org
    The first release candidate for GCC 11.1 is available from
    
     https://gcc.gnu.org/pub/gcc/snapshots/11.1.0-RC-20210420/
     ftp://gcc.gnu.org/pub/gcc/snapshots/11.1.0-RC-20210420
    
    and shortly its mirrors.  It has been generated from git revision
    r11-8265-g246abba01f302eb453475b650ba839ec905be76d.
    
    I have so far bootstrapped and tested the release candidate on
    x86_64-linux and i686-linux.  Please test it and report any issues to
    bugzilla.
    
    If all goes well, I'd like to release 11.1 on Tuesday, April 27th.
    
  • GCC 11.1 RC Released, GCC 12 In Development On Trunk

    The release candidate to GCC 11.1 as the first stable release of GCC 11 is now available for testing. If all goes well GCC 11.1.0 will officially debut next week while GCC 12 is now in development with their latest Git code. Red Hat's Jakub Jelinek announced the GCC 11.1 release candidate today, which has been bootstrapped and tested so far for i686 and x86_64 Linux. He is hoping to release GCC 11.1 officially next week if all goes well.

  • Daiki Ueno: AF_ALG support in GnuTLS

    The Linux kernel implements a set of cryptographic algorithms to be used by other parts of the kernel. These algorithms can be accessed through the internal API; notable consumers of this API are encrypted network protocols such as IPSec and WireGuard, as well as data encryption as in fscrypt. The kernel also provides an interface for user-space programs to access the kernel crypto API. GnuTLS has recently gained a new crypto backend that uses the kernel interface in addition to the user-space implementation. There are a few benefits of having it. The most obvious one is performance improvement: while the existing user-space assembly implementation has comparable performance to the in-kernel software emulation, the kernel crypto implementation also enables workload offloading to hardware accelerators, such as Intel QAT cards. Secondly, it brings support for a wider variety of CPU architectures: not only IA32 and AArch64, but also PowerPC and s390. The last but not least is that it could be used as a potential safety net for the crypto algorithms implementation: deferring the crypto operations to the kernel means that we could have an option to workaround any bugs or compliance (such as FIPS140) issues in the library.

More JingPad A1 Linux tablet detailed revealed ahead of crowdfunding

The JingPad A1 is a tablet with an 11 inch AMOLED touchscreen display, support for digital pen input, and a detachable keyboard that lets you use the tablet like a laptop. It also has an operating system that’s designed for both tablet and laptop mode. That’s because the JingPad A1 will be the first tablet to ship with JingOS, an operating system developed by Chinese company Jingling that’s a custom Linux distribution designed for tablets but capable of running desktop applications (as well as some Android applications). First unveiled in March, the tablet will go up for pre-order soon through an Indiegogo crowdfunding campaign. Jingling hasn’t announced a price yet, but an Indiegogo preview page is now live, and folks who sign up with an email address may be able to save 40-percent when orders open up in May. Read more