How to change the font size in terminal from terminal without the use of a mouse
![Creative The name of the picture](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgO9GURib1T8z7lCwjOGLQaGtrueEthgQ8LO42ZX8cOfTqDK4jvDDpKkLFwf2J49kYCMNW7d4ABih_XCb_2UXdq5fPJDkoyg7-8g_YfRUot-XnaXkNYycsNp7lA5_TW9td0FFpLQ2APzKcZ/s1600/1.jpg)
![Creative The name of the picture](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhYQ0N5W1qAOxLP7t7iOM6O6AzbZnkXUy16s7P_CWfOb5UbTQY_aDsc727chyphenhyphen5W4IppVNernMMQeaUFTB_rFzAd95_CDt-tnwN-nBx6JyUp2duGjPaL5-VgNO41AVsA_vu30EJcipdDG409/s400/Clash+Royale+CLAN+TAG%2523URR8PPP.png)
up vote
2
down vote
favorite
I am working with LXTerminal 0.2.0 and want to know how to change the font size to make it easier in my eyes and for general knowledge so that I can do it in the absence of a mouse since that is what normally exists. I am trying to learn to be self sufficient working by myself with no mouse in a normal terminal environment. I am working with ubuntu 16.04lts. Please don't refer to gui as I know how that works.
command-line fonts
add a comment |Â
up vote
2
down vote
favorite
I am working with LXTerminal 0.2.0 and want to know how to change the font size to make it easier in my eyes and for general knowledge so that I can do it in the absence of a mouse since that is what normally exists. I am trying to learn to be self sufficient working by myself with no mouse in a normal terminal environment. I am working with ubuntu 16.04lts. Please don't refer to gui as I know how that works.
command-line fonts
1
alt-E pulls up the EDIT menu, <up> arrow then <enter> selects preferences, then I could tab to 'terminal font' & alter font size with <arrow>, <tab> & <enter> keys. I do realize you want a quick key way - but it works (I don't use lxterminal so haven't looked for better)
â guiverc
May 21 at 5:13
When you press (and hold) thealt
key, the hotkeys for the pulldown menu items are underlined. UseE
(while still holding thealt
key) in English, and some other letter in other languages, for exampleR
in Swedish, which stands for 'Redigera'.
â sudodus
May 21 at 6:15
2
What doesCtrl
plusShift
plus theequals
key do when all three keys are pressed together? In LXTerminal 0.3, that increases the font size (and window size) andCtrl
plusshift
plus theminus
sign decreases the font size (and the window size).
â DK Bose
May 21 at 6:16
For me in Lubuntu 18.04 LTS withlxterminal 0.3.1
I can also usectrl
and+
to increase the font andctrl
andshift
and-
to decrease the font. But this is only temporary. Do it via the Edit menu, if you want to change the settings in a persistent way.
â sudodus
May 21 at 6:25
add a comment |Â
up vote
2
down vote
favorite
up vote
2
down vote
favorite
I am working with LXTerminal 0.2.0 and want to know how to change the font size to make it easier in my eyes and for general knowledge so that I can do it in the absence of a mouse since that is what normally exists. I am trying to learn to be self sufficient working by myself with no mouse in a normal terminal environment. I am working with ubuntu 16.04lts. Please don't refer to gui as I know how that works.
command-line fonts
I am working with LXTerminal 0.2.0 and want to know how to change the font size to make it easier in my eyes and for general knowledge so that I can do it in the absence of a mouse since that is what normally exists. I am trying to learn to be self sufficient working by myself with no mouse in a normal terminal environment. I am working with ubuntu 16.04lts. Please don't refer to gui as I know how that works.
command-line fonts
asked May 21 at 4:33
user824944
1
alt-E pulls up the EDIT menu, <up> arrow then <enter> selects preferences, then I could tab to 'terminal font' & alter font size with <arrow>, <tab> & <enter> keys. I do realize you want a quick key way - but it works (I don't use lxterminal so haven't looked for better)
â guiverc
May 21 at 5:13
When you press (and hold) thealt
key, the hotkeys for the pulldown menu items are underlined. UseE
(while still holding thealt
key) in English, and some other letter in other languages, for exampleR
in Swedish, which stands for 'Redigera'.
â sudodus
May 21 at 6:15
2
What doesCtrl
plusShift
plus theequals
key do when all three keys are pressed together? In LXTerminal 0.3, that increases the font size (and window size) andCtrl
plusshift
plus theminus
sign decreases the font size (and the window size).
â DK Bose
May 21 at 6:16
For me in Lubuntu 18.04 LTS withlxterminal 0.3.1
I can also usectrl
and+
to increase the font andctrl
andshift
and-
to decrease the font. But this is only temporary. Do it via the Edit menu, if you want to change the settings in a persistent way.
â sudodus
May 21 at 6:25
add a comment |Â
1
alt-E pulls up the EDIT menu, <up> arrow then <enter> selects preferences, then I could tab to 'terminal font' & alter font size with <arrow>, <tab> & <enter> keys. I do realize you want a quick key way - but it works (I don't use lxterminal so haven't looked for better)
â guiverc
May 21 at 5:13
When you press (and hold) thealt
key, the hotkeys for the pulldown menu items are underlined. UseE
(while still holding thealt
key) in English, and some other letter in other languages, for exampleR
in Swedish, which stands for 'Redigera'.
â sudodus
May 21 at 6:15
2
What doesCtrl
plusShift
plus theequals
key do when all three keys are pressed together? In LXTerminal 0.3, that increases the font size (and window size) andCtrl
plusshift
plus theminus
sign decreases the font size (and the window size).
â DK Bose
May 21 at 6:16
For me in Lubuntu 18.04 LTS withlxterminal 0.3.1
I can also usectrl
and+
to increase the font andctrl
andshift
and-
to decrease the font. But this is only temporary. Do it via the Edit menu, if you want to change the settings in a persistent way.
â sudodus
May 21 at 6:25
1
1
alt-E pulls up the EDIT menu, <up> arrow then <enter> selects preferences, then I could tab to 'terminal font' & alter font size with <arrow>, <tab> & <enter> keys. I do realize you want a quick key way - but it works (I don't use lxterminal so haven't looked for better)
â guiverc
May 21 at 5:13
alt-E pulls up the EDIT menu, <up> arrow then <enter> selects preferences, then I could tab to 'terminal font' & alter font size with <arrow>, <tab> & <enter> keys. I do realize you want a quick key way - but it works (I don't use lxterminal so haven't looked for better)
â guiverc
May 21 at 5:13
When you press (and hold) the
alt
key, the hotkeys for the pulldown menu items are underlined. Use E
(while still holding the alt
key) in English, and some other letter in other languages, for example R
in Swedish, which stands for 'Redigera'.â sudodus
May 21 at 6:15
When you press (and hold) the
alt
key, the hotkeys for the pulldown menu items are underlined. Use E
(while still holding the alt
key) in English, and some other letter in other languages, for example R
in Swedish, which stands for 'Redigera'.â sudodus
May 21 at 6:15
2
2
What does
Ctrl
plus Shift
plus the equals
key do when all three keys are pressed together? In LXTerminal 0.3, that increases the font size (and window size) and Ctrl
plus shift
plus the minus
sign decreases the font size (and the window size).â DK Bose
May 21 at 6:16
What does
Ctrl
plus Shift
plus the equals
key do when all three keys are pressed together? In LXTerminal 0.3, that increases the font size (and window size) and Ctrl
plus shift
plus the minus
sign decreases the font size (and the window size).â DK Bose
May 21 at 6:16
For me in Lubuntu 18.04 LTS with
lxterminal 0.3.1
I can also use ctrl
and +
to increase the font and ctrl
and shift
and -
to decrease the font. But this is only temporary. Do it via the Edit menu, if you want to change the settings in a persistent way.â sudodus
May 21 at 6:25
For me in Lubuntu 18.04 LTS with
lxterminal 0.3.1
I can also use ctrl
and +
to increase the font and ctrl
and shift
and -
to decrease the font. But this is only temporary. Do it via the Edit menu, if you want to change the settings in a persistent way.â sudodus
May 21 at 6:25
add a comment |Â
1 Answer
1
active
oldest
votes
up vote
2
down vote
The configuration file for lxterminal is: $HOME/.config/lxterminal/lxterminal.conf
with the default font and size showing as:
fontname=Monospace 12
Simply alter this with your favourite command line editor such as vim and your changes are made. However it would be far cooler to use sed to accomplish with something like the following one-liner:
sed -i_bak '/^fontname/s/[0-9][0-9]$/22/' $HOME/.config/lxterminal/lxterminal.conf
This works by:
sed -i_bak
: Make the changes inline and save a backup of the original file with the suffix_bak
'/^fontname/
: Match the line with 'fontname' at the beginning.s/[0-9][0-9]$/22/'
Substitute the last 2 numbers with '22' or the number for the size of the font that you require.
How cool is the command line!
References:
- How to use sed to modify last 2 digit of a line when a string matches in a file
add a comment |Â
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
up vote
2
down vote
The configuration file for lxterminal is: $HOME/.config/lxterminal/lxterminal.conf
with the default font and size showing as:
fontname=Monospace 12
Simply alter this with your favourite command line editor such as vim and your changes are made. However it would be far cooler to use sed to accomplish with something like the following one-liner:
sed -i_bak '/^fontname/s/[0-9][0-9]$/22/' $HOME/.config/lxterminal/lxterminal.conf
This works by:
sed -i_bak
: Make the changes inline and save a backup of the original file with the suffix_bak
'/^fontname/
: Match the line with 'fontname' at the beginning.s/[0-9][0-9]$/22/'
Substitute the last 2 numbers with '22' or the number for the size of the font that you require.
How cool is the command line!
References:
- How to use sed to modify last 2 digit of a line when a string matches in a file
add a comment |Â
up vote
2
down vote
The configuration file for lxterminal is: $HOME/.config/lxterminal/lxterminal.conf
with the default font and size showing as:
fontname=Monospace 12
Simply alter this with your favourite command line editor such as vim and your changes are made. However it would be far cooler to use sed to accomplish with something like the following one-liner:
sed -i_bak '/^fontname/s/[0-9][0-9]$/22/' $HOME/.config/lxterminal/lxterminal.conf
This works by:
sed -i_bak
: Make the changes inline and save a backup of the original file with the suffix_bak
'/^fontname/
: Match the line with 'fontname' at the beginning.s/[0-9][0-9]$/22/'
Substitute the last 2 numbers with '22' or the number for the size of the font that you require.
How cool is the command line!
References:
- How to use sed to modify last 2 digit of a line when a string matches in a file
add a comment |Â
up vote
2
down vote
up vote
2
down vote
The configuration file for lxterminal is: $HOME/.config/lxterminal/lxterminal.conf
with the default font and size showing as:
fontname=Monospace 12
Simply alter this with your favourite command line editor such as vim and your changes are made. However it would be far cooler to use sed to accomplish with something like the following one-liner:
sed -i_bak '/^fontname/s/[0-9][0-9]$/22/' $HOME/.config/lxterminal/lxterminal.conf
This works by:
sed -i_bak
: Make the changes inline and save a backup of the original file with the suffix_bak
'/^fontname/
: Match the line with 'fontname' at the beginning.s/[0-9][0-9]$/22/'
Substitute the last 2 numbers with '22' or the number for the size of the font that you require.
How cool is the command line!
References:
- How to use sed to modify last 2 digit of a line when a string matches in a file
The configuration file for lxterminal is: $HOME/.config/lxterminal/lxterminal.conf
with the default font and size showing as:
fontname=Monospace 12
Simply alter this with your favourite command line editor such as vim and your changes are made. However it would be far cooler to use sed to accomplish with something like the following one-liner:
sed -i_bak '/^fontname/s/[0-9][0-9]$/22/' $HOME/.config/lxterminal/lxterminal.conf
This works by:
sed -i_bak
: Make the changes inline and save a backup of the original file with the suffix_bak
'/^fontname/
: Match the line with 'fontname' at the beginning.s/[0-9][0-9]$/22/'
Substitute the last 2 numbers with '22' or the number for the size of the font that you require.
How cool is the command line!
References:
- How to use sed to modify last 2 digit of a line when a string matches in a file
edited May 21 at 10:18
answered May 21 at 10:12
![](https://i.stack.imgur.com/TZeYd.jpg?s=32&g=1)
![](https://i.stack.imgur.com/TZeYd.jpg?s=32&g=1)
andrew.46
20.2k1463138
20.2k1463138
add a comment |Â
add a comment |Â
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1038559%2fhow-to-change-the-font-size-in-terminal-from-terminal-without-the-use-of-a-mouse%23new-answer', 'question_page');
);
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
1
alt-E pulls up the EDIT menu, <up> arrow then <enter> selects preferences, then I could tab to 'terminal font' & alter font size with <arrow>, <tab> & <enter> keys. I do realize you want a quick key way - but it works (I don't use lxterminal so haven't looked for better)
â guiverc
May 21 at 5:13
When you press (and hold) the
alt
key, the hotkeys for the pulldown menu items are underlined. UseE
(while still holding thealt
key) in English, and some other letter in other languages, for exampleR
in Swedish, which stands for 'Redigera'.â sudodus
May 21 at 6:15
2
What does
Ctrl
plusShift
plus theequals
key do when all three keys are pressed together? In LXTerminal 0.3, that increases the font size (and window size) andCtrl
plusshift
plus theminus
sign decreases the font size (and the window size).â DK Bose
May 21 at 6:16
For me in Lubuntu 18.04 LTS with
lxterminal 0.3.1
I can also usectrl
and+
to increase the font andctrl
andshift
and-
to decrease the font. But this is only temporary. Do it via the Edit menu, if you want to change the settings in a persistent way.â sudodus
May 21 at 6:25