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

Security: WPA2, Smartwatches, Google, NSA, Microsoft and Flexera FUD

  • WPA2 flaw's worst impact on Android, Linux devices

    The flaw in the WPA2 wireless protocol revealed recently has a critical impact on Android phones running version 6.0 of the mobile operating system and Linux devices, a security researcher says.

  • Why the Krack Wi-Fi Mess Will Take Decades to Clean Up

    But given the millions of routers and other IoT devices that will likely never see a fix, the true cost of Krack could play out for years.

  • 'All wifi networks' are vulnerable to hacking, security expert discovers

    WPA2 protocol used by vast majority of wifi connections has been broken by Belgian researchers, highlighting potential for internet traffic to be exposed

  • Kids' smartwatches can be 'easily' hacked, says watchdog

    Smartwatches bought for children who do not necessarily need them can be hacked [sic], according to a warning out of Norway and its local Consumer Council (NCC).

  • John Lewis pulls children's smartwatch from sale over spying fears

    The Norwegian Consumer Council (NCC) revealed that several brands of children’s smartwatch, have such poor security controls that hackers [sic] could easily follow their movements and eavesdrop on conversations.

  • Google's 'Advanced Protection' Locks Down Accounts Like Never Before

    Google hasn't shared the details of what that process entails. But the CDT's Hall, whom Google briefed on the details, says it will include a "cooling-off" period that will lock the account for a period of time while the user proves his or her identity via several other factors. That slowed-down, intensive check is designed to make the account-recovery process a far less appealing backdoor into victims' data.

  • NSA won't say if it knew about KRACK, but don't look to this leaked doc for answers
    Given how involved the NSA has been with remote and local exploitation of networks, systems, devices, and even individuals, many put two and two together and assumed the worst. What compounded the matter was that some were pointing to a 2010-dated top secret NSA document leaked by whistleblower Edward Snowden, which detailed a hacking tool called BADDECISION, an "802.11 CNE tool" -- essentially an exploit designed to target wireless networks by using a man-in-the-middle attack within range of the network. It then uses a frame injection technique to redirect targets to one of the NSA's own servers, which acts as a "matchmaker" to supply the best malware for the target device to ensure it's compromised for the long-term. The slide said the hacking tool "works for WPA/WPA2," suggesting that BADDECISION could bypass the encryption. Cue the conspiracy theories. No wonder some thought the hacking tool was an early NSA-only version of KRACK.
  • You're doing open source wrong, Microsoft tsk-tsk-tsks at Google: Chrome security fixes made public too early [Ed: Says the company that gives back doors to the NSA and attacks FOSS with patents, lobbying etc.]
  • Why Open Source Security Matters for Healthcare Orgs [Ed: marketing slant for firms that spread FUD]
    Open source software can help healthcare organizations remain flexible as they adopt new IT solutions, but if entities lack open source security measures it can lead to larger cybersecurity issues. A recent survey found that organizations in numerous industries might not be paying enough attention to potential open source risk factors. Half of all code used in commercial and Internet of Things (IoT) software products is open source, but only 37 percent of organizations have an open source acquisition or usage policy, according to a recent Flexera report. More than 400 commercial software suppliers and in-house software development teams were interviewed, with respondent roles including software developers, DevOps, IT, engineering, legal, and security.

Games: JASEM, openage, Riskers, Rise to Ruins, Slime Rancher

The most promising linux distributions in 2017

Linux distributions have already gained recognition of its users and with every year new products appear in the market. Many of them focus on the certain tasks, so you can’t create a single list of the best ones. Here we have chosen several fields of Linux use and those distributions that have all chances to take the initial positions in their niche in 2017. Read more

Ubuntu 17.10 (Artful Aardvark) released

Codenamed "Artful Aardvark", Ubuntu 17.10 continues Ubuntu's proud tradition of integrating the latest and greatest open source technology into a high-quality, easy-to-use Linux distribution. As always, the team has been hard at work through this cycle, introducing new features and fixing bugs. Under the hood, there have been updates to many core packages, including a new 4.13-based kernel, glibc 2.26, gcc 7.2, and much more. Ubuntu Desktop has had a major overhaul, with the switch from Unity as our default desktop to GNOME3 and gnome-shell. Along with that, there are the usual incremental improvements, with newer versions of GTK and Qt, and updates to major packages like Firefox and LibreOffice. Read more Also: Ubuntu 17.10 Debuts Officially with GNOME 3.26 on Top of Wayland, Linux 4.13 How to: Upgrade Ubuntu 17.04 to Ubuntu 17.10 Ubuntu 17.10 ISOs Officially Released 10 Things To Do After Installing Ubuntu 17.10 Ubuntu 17.10 Now Available to Download, This Is What’s New How to Enable Night Light on Ubuntu 17.10 Ubuntu 17.10 Artful Aardvark Released With New Features — Download Torrents And ISO Files Here Ubuntu Flavors, Including Ubuntu MATE 17.10, Are Available to Download Ubuntu 17.10 'Artful Aardvark' ditches Unity for Gnome