Paul Sutton

Console

DEBIAN CONSOLE FONTS

I have found another way to change the Default Linux console font to something that is more readable, from the default which is really small text. The instructions are at [1]. This works on my current Debian [2] 11.0 set up, but as usual Your mileage may vary. If you ask on a forum, social media or IRC about this, please quote the website below [1] and not this blog post.

The contents of my /etc/default/console-setup are now as follows:-

 1 # CONFIGURATION FILE FOR SETUPCON
  2 
  3 # Consult the console-setup(5) manual page.
  4 
  5 ACTIVE_CONSOLES="/dev/tty[1-6]"
  6 CHARMAP="UTF-8"
  7 CODESET="guess"
  8 FONTFACE="TerminusBold"
  9 FONTSIZE="16x32"
 10 SCREEN_WIDTH="80"
 11 
 12 VIDEOMODE=
 13 
 14 # The following is an example how to use a braille font
 15 # FONT='lat9w-08.psf.gz brl-8x8.psf'
 16 

Hopefully this is useful.

For the record my settings are:-

ACTIVE_CONSOLES="/dev/tty[1-6]"

CHARMAP="UTF-8"

CODESET="guess"
FONTFACE="TerminusBold"
FONTSIZE="16x32"
SCREEN_WIDTH="80"

VIDEOMODE=

REFERENCES

  1. How to change your linux console fonts 2 Debian 3 Free Software Foundation

TAGS

#FreeSoftware,#Debian,#Console,#Fonts,#Change

Donate using Liberapay

Creative Commons Licence
This work is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License

Tilde – text editor

Donate using Liberapay

Tilde is a nice, curses based text editor. It is useful for if you are at the console or terminal in Linux and want a menu driven editor.

tilde

While other tools are more command driven (nano, emacs, vi, vim and joe to name a few). Tilde is being mentioned for those of you who may find it useful

As you would expect with a modern editor, tilde has support for syntax highlighting.

Tilde Syntax Highlighting

Which is really useful for programming or editing website code for example.

REFERENCES

TAGS

#YearOfTheFediverse,#Linux,#TextEditor,#Editor,#Text, #Tilde,#Programming,#SyntaxHighlighting,#console, #terminal

Creative Commons Licence
This work is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License

Ansi Weather 2

Donate using Liberapay

Further to my previous post on ansi weather

I wrote this, which asks for your location, and displays the weather.

echo "where do you live ?"
read location
ansiweather -l $location

In my previous post I was trying to use sed to clean up the output, this isn't needed as the -a option removes the colour coding from the output

ansiweather -a false -l Plymouth, UK >> weatherinfo.txt

Produces

Weather in Plymouth => -10 °C – Wind => 1.72 m/s NNW – Humidity => 62 % – Pressure => 1028 hPa

Which is far better.

so our new shell script is

1 #send weather info to Mastodon
  2 # current date
  3 date > weatherinfo.txt
  4 # current weather
  5 # use -a false to remove colour from output, set location, output to a file
  6 ansiweather -a false -l Plymouth, UK >> weatherinfo.txt
  7 # output to console too
  8 ansiweather -a false -l Plymouth, UK
  9 #send to Mastodon
 10 toot post < weatherinfo.txt
 11 # done
 12 echo done

So the final output to Mastodon is

Final Output

There are more options in the READ.me file

Thank you to Noisytoot for helping with this.

If you now combine the 2nd script with the one I have at the top of this page you should be able to input your location, then get the local weather.

REFERENCES

TAGS

#YearOfTheFediverse,#ansiweather,#weather,#mastodon,#bash,#console,#terminal #information

Creative Commons Licence
This work is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License

WICD Curses

Donate using Liberapay

wicd-curses

wicd-curses is a console program that allows you to connect to wireless wifi networks. I found out about this after chatting on IRC with a few other users on freenode and mentioned I was having issues connecting to wifi from the command line.

This can be installed using apt install wicd-curses. A man page can be viewed with man wicd-curses.

Wicd-curses

As I am using Debian then the package information can be found here.

The above screenshot is from my desktop which does not have or even need wifi connection. But on my netbook this should show available wifi networks, and allow the one you want to be selected. You will probably need your wifi credentials e.g password etc to connect further.

Another step to seeing if I can actually use a computer directly from the command line without the need for a gui. I need to try and configure alpine to now send e-mail and I may be nearly there. However this isn’t really essential to my needs anyway.

Please feel free to discuss further on Mastodon

#console,#wicd-curses,#network,#wireless,#YearOfTheFediverse,

Creative Commons Licence
This work is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License

Site Index

Donate using Liberapay

  1. Click on a link.
  2. Scroll to bottom of page.
    • Any posts / pages within this blog will be displayed.

A

#Astronify #Adenine #AminoAcid #Astronomy #AralBalkan #AstroBiology #AstroChemistry #apg #Apt #Aptitude #Africa #Activism #Analytics #Api #Arduino #AMES #arXiv #Academy #Abuse #Afghanistan

B

#Blog #BioChemistry #Biology #bash #better #BigBluButton #BibTeX #Browser #Beamer #Bullseye #Buster #Bookworm

C

#Cytosine #Conditions #Cryptpad #Cosmology #Chemistry #Console #Chat #Conference #Code #Coding #CodeClub #Cornwall #Covid19 #Corona #CoronaVirus #CreativeCommons #Commons #Chrome #Chromium #Charity #Creative #Education #CPD #cpd #CreativeEducation #CTAN

D

#dna #DNA #Disroot #disroot #Decentralised #Decentralized #dcglug #dclug #Debian #Donate #Donation #Debconf #BASH #Devon #Digital #DRM #Diaspora #DiodeZone #Development #Data #Detox #Docker #DeepLearning #Documentation

E

#emacs #Editing #Events #EventManagement #Employment #Email #Education #Exploration, #Ethics #Elements #Exploration #EveryonesInvited

F

#Flockingbird #Framablog #FramaBlog #Fediverse #Federated #Firefox #Fosdem #Freedom #FreeSoftware #Foundation #FSF #FSFE #Friendica #Framework #FreeBSD #FalconsEye #FOSSandCrafts #FutureLearn

G

#GoatCounter #Guanine #Greek #Gimp #Galaxy #GoDot #GNU #GNOME #GUI #Gamma #Ghostreply #GPL #GraphicsMagick #gm #GoAccess #gold #GettingStarted #Git #GitLab #Gitlab #GDPR #Galculator #Games #Engine

H

#Hubble #Hexchat #Hack #Hacking #Hardware #Hosting #htop

I

#information #Inkscape #Image #ImageManipulation #IRC #Index #Invidious

J

#JamesWebb #JoeEditor #Jitsi #Jit.si

K

#kstars #Kanban #Kenya #KDE #KeepingChildrenSafeinEducation, #KCSIE

L

#Linux #LinuxMint #LibreOffice #LiberaPay #LibrePlanet #Lecture #Learning #LibreOfficeWriter #LibreOfficeCalc #LibreOfficeImpres #LibreOfficeDraw #LibreOfficeGettingStarted #LaTeX #LXDE #LGPL #Lynx #Librem #Libre #LibreLounge

M

#Mastodon #Meetings #Management #Mobilizon #Meeting #Matomo #Map #Mapscii #Mercury #mercury #mining #Matrix #Moon #Mars #Manganese #Materials

N

#Nextcloud #Nebula #NetHack #Nano #Nucleobases #network #NGINX #NaCl

O

#OpenUniversity #OpenLearn #OU #Online #Overleaf #OwnCloud #OpenStreetMap #OpenData #Open #Overleaf

P

#Physics #Podcast #Payment #Password #Public #Paypal #Photo #Photograph #Photos #Photographs #Python #Python3 #Programming #PixelFed #PeerTube #PowderToy #Pleroma #Planet #PDF #Package #pinebook #pinephone #Purism #Plausible #ProtoSchool #PeriodicTable #Paper #Privacy

Q

R

#rna #RNA #Rights #RocksAndDiamonds #Recovery #RadioAstronomy #Research #RedBubble

S

#Science #Scratch #Scratch2 #Scratch3 #smallweb #Sitejs #Space #Stars #Stellarium #Stripe #Security #stsci #Seagl #Social #SocialHub #SDTJ #SouthDevonTechJam #Solarus #Synaptic #Schools #Solid #Shynet #Scismic #ScienceDaily #Stickers #Symmetry #Salt #SodiumChloride

T

#terms #Telescope #TheOpenUniversity #Terminal #Talk #Thunderbird #Torbay #TeX #Topic #Thunar #Thymine #tailings #Top #Tilde #TextEditor #Toot #Translation #Trojans #TorbayTrojans

U

#Uracil #Umami #UniverseOfLearning

V

#Vaccine #VokoScreen #VLC #Volunteering #Volunteer #VultureNethack #vultureseye #Virgo

W

#Website #Work #wireless #wicd #wayland #weatherinfo #Wormhole

X

#Xournal #Xchat #XFCE #XFCE4 #xray #XMPP #xorg

Y

#YearOfTheFediverse

Z

#Zoo

Booting into console mode

With most Linux systems you boot in to a Graphical desktop. However, there are times when you want to perhaps use a pure console. While you can switch to a console with CTRL-ALT-Fn keys. If you want to set your system so that it boots directly to the console then I have found the instructions here.

#linux,#booting,#console

FreeBSD 7

Further to my previous post I have been on IRC #freebsd in order to ask about what would be good to use for taking screen shots of desktop applications for example.

Scrot : is easy to use and you cam use this to take a picture of the whole screen, this will be useful going forward with these posts.

pkg install scrot

For basic usage just type scrot at the console or in a terminal window.

I have also installed simpleviewer, with

pkg install simpleviewer

However running this at the cli did do anything, you need to find the actual binary executable for this.

info -lx simpleviewer

reveals sviewgl as the program you need to run.

I am now pretty much set up for taking screenshots and being able to view then.

#bsd, #desktop, ##freebsd, #twm, #screenshots, #graphics, #viewing, #console, #gui

Resources

You can find me on Friendica at zleap@social.isurf.ca


cc-by logo

Licenced under Attribution 4.0 International (CC BY 4.0)

Console / terminal File viewer

One of the nice things about forums, IRC etc, is you get to find out about all sorts of software that is really useful. Sometimes this just seems to address fit what you want.

One such example is a program called view

manpage description is:-

mcview – Internal file viewer of GNU Midnight Commander.

You can use view to view pdf files, or rather the text content within, which is pretty good, very useful if compiling $\LaTeX$ with pdflatexfor example.

cc-by logo

You can also use view on a png graphics file, however this just displays information about the file, for example resolution. Again useful from the terminal / console at least.

Resources

#console, #file,#view,#pdf,#linux


cc-by logo

Licenced under Attribution 4.0 International (CC BY 4.0)

If you would like to try out different desktop environments on a GNU / Linux based OS then Debian offers a tool called tasksel. This will make it easier to choose a different desktop environment for example.

You need to run this as root.

#tasksel

which presents you with the following.

cc-by logo

The tasksel tool runs as part of the text based installation routine but post install you may want to change something without having to resort to using synaptic or other graphical package manager or even using apt from the linux terminal or console.

You can also opt to install a webserver or ssh server.

#Linux, #debian, #console, #software, #choice, #install

You can find me on Friendica at zleap@social.isurf.ca


cc-by logo

Licenced under Attribution 4.0 International (CC BY 4.0)

Following a conversation on the Mosaic browser. I decided to try and view my personal Journal blog in the Lynx console browser. Screenshot below.

cc-by logo

The blog works really nicely on Lynx. I can navigate, select links and the various static pages. Lynx does not display pictures or other media, but this is fine. It should display the alt text data though.

This at least allows my website to be viewed in other browsers at least, not that I can see people moving en-masse to text based browsers.

Lynx can be installed with apt install lynx as root user of course.

References

#blog, #linux, #console, #browser, #text, #lynx, #Mozaic

You can find me on Friendica at zleap@social.isurf.ca


cc-by logo

Licenced under Attribution 4.0 International (CC BY 4.0)