Sapiens Search

Showing posts with label terminal. Show all posts
Showing posts with label terminal. Show all posts

How to fit the terminal/console results on the screen?

<Your command> | less


Example

ps ax | less

Arcam Sapientia

Using this tip we can prevent the output results of our command scroll down to the end. Or, we can fit the results to the screen and pressing Enter see rest of the results

How to change the keyboard layout for the console (Ctrl+Alt+F1)?

1-Go to the console
Press Control+Alt+F1, for example
2-Install the console-common package
sudo apt-get install console-common
3-Follow the instructions and choose your new keyboard layout
4-Test the new layout

 Arcam Sapientia

 To reconfigure your keybout layout run
sudo dpkg-reconfigure console-common
This tip is useful to us keyboard for foreign users.Users that have pipeline (|) missing can emulate it using this tip too.

How to change the brightness (backlight) on Linux by terminal?

xbacklight -set <value>

Example

xbacklight -set 20.0

 Arcam Sapientia

See the man for more options
 man xbacklight

How to change the constrast by terminal on Linux?

xgamma -gamma <value>

Example

xgamma -gamma 0.6

Arcam Sapientia

Gamma values must be between  0.100 and 10.000
See the man too
$man xgamma

How to change the system volume by terminal on Linux?

amixer set Master <volume>

Example

amixer set Master 20

Arcam Sapientia

See the manual to another helpfull parameters
$man amixer