10. August 2020

How to increase font size in Konsole

Konsole is a great terminal emulator that you can find in many Linux distributions. The problem with some Linux distributions is that font is too small.

To change the font open menu Settings and select Edit Current Profile…

Select Preview tab and change Text size value in the middle of the screen. Click Ok to confirm the new font..

Another option to change the font size is to press CTRL and Scroll Up/Down with mouse wheel.

The same result could be also achieved by keys CTRL and +/- keys.

20. January 2018

How to switch tabs in MobaXterm

MobaXterm is a versatile terminal manager for Windows. Many Windows users are using Putty to connect to SSH on a remote machine or Git Bash when they want to use Git on Windows. MobaXterm can effectively replace these tools with more convenient experience.

One neat feature of many terminal applications on Linux is support for tabs (e.g. in Konsole). The question is how you can switch between tabs in MobaXterm just by using a keyboard.

The Default configuration of keyboard shortcuts is stored under menu Settings and option Keyboard shortcuts.

By default you can use:

Previous tab - Ctrl + Alt + LEFT
Next tab - Ctrl + Alt + RIGHT

I recommend chinging the configuration to match default keyboard shortcuts of Firefox or Google Chrome.

Previous tab - Ctrl + Page_UP
Next tab - Ctrl + Page_DOWN

Enjoy tabs. :)

9. April 2017

How to edit font for OLED display SD1306

In the previous article, I’ve described how to generate custom font for OLED display like SD1306.

Meanwhile, I’ve discovered that number eight and number zero are hard to distinguish when reading from a distance, because of the dot inside the number zero.

I decided to remove the dot from number zero in order to make the font more readable. But how to do it?

Font generated from Squix’s generator is stored in form of source code. That makes it possible to edit. Just the stream of hexadecimal numbers is not very readable for a human.

Here is a small trick. Open the file in Vim in a terminal window. Search for string 0x00 which represents an area with no pixels. Vim should highlight all the occurences of 0x00. If you can’t see the highlight type command:

:set hlsearch

Start shrinking the window of the terminal and you should see that pattern begins to emerge.

When you hit the correct length of a line you should see the number clearly.

Numbers could be rotated, like number seven:

Change the font rebuild the code and the result looks like this:

4. November 2012

Cygwin – transparent terminal

New version of Cygwin is distributed with resizable Cygwin Terminal.

Cygwin Terminal is configurable and it has some neat features like transparency.

In order to turn on transparency click the left top icon and select Options.

Change transparency in section Look – Transparency.

Click Ok or Apply.

5. August 2012

Console2 for Windows – semi-transparent NodeJS shell, PowerShell or cmd

Update: I switched from Console2 to ConEmu. ConEmu is far more advanced.

Console2 is great little front-end for Windows. It makes PowerShell even more usable. It’s very flexible and you can configure console window to behave like terminal window on MacOS or Linux. It has also support for transparency. It’s simply great. No need to add any more words. Just try it.

I’d like to add few more hints.

Enable transparancy

  • Go to Settings – Appearance – More…
  • Select Window transparency – Alpha
  • Change alpha level of Active and Inacative window.

Result:

Copy on left mouse button click, paste on middle button click

Default configuration of mouse is not very useful. You have to press Shift and Left Mouse to select and copy text. Make small adjustment:

  • Settings – Hotkeys – Mouse
  • Change: Copy/clear selection to Left + Shift
  • Change: Select text to Left

Use Console2 as front-end for NodeJS

You can use Console2 to invoke also NodeJS shell. Just create Tab definition for NodeJS.

  • Go to Settings – Tabs
  • Add NodeJS and set Shell to: “C:\Program Files (x86)\nodejs\node.exe”

Create new Tab with NodeJS profile:

Awesome :)