New answers tagged console
4
You should edit the file /etc/default/console-setup and change the FONTSIZE variable. Once you've made your changes you must reconfigure your terminal by running:
$ sudo service console-setup restart
0
If your goal is to prevent losing code maybe backup files could help you.
set backup " keep a backup after overwriting a file
set backupdir^=/tmp// " list of directories to put backup files in
I have it in my .muttrc, it stores backup files until restarting the Mac in /tmp/
2
I am not sure what you want to do with the files after you find them, but for interactive use in zsh I would use something like this:
ls **/trunk/**/config/*.xml
3
No. Neither gpm nor the Linux kernel provide hooks for VirtualBox to inject clipboard data.
6
That's not a regex. For globs one should use the -path predicate instead.
3
Check (my) /etc/vconsole.conf:
KEYMAP="hu"
See releated wikipage for more information!
1
This question really intrigued me, seemed like a simple request but was tricky to find options beyond the typical xlock, vlock and xset options.
However I believe I've found 2 methods to do this.
Method #1 - cat /dev/...
The first method basically consumes /dev/tty0 so nothing else can get through.
nohup cat /dev/tty0 > /dev/null &
Method #2 - ...
2
You should be able to disable PrntScr on the console with a custom keymap. I'm using Archlinux and the procedure is described here: Configuring the Console Keymap (it should be similar for other distros). Now, at step 4, edit your personal.map:
Switch to a tty, run showkey and press PrntScr to get the key code. On my system the output is:
keycode 99 press
...
0
If you're using GNOME I believe you can do this through gconf-editor.
$ gconf-editor
Then navigate the left side hierarchy like so:
/apps/metacity/global_keybindings
You'l l want to set the attribute "run_command_screenshot" to "disabled".
screenshot
2
TTY framebuffer console has no way to have more than 8-16 colors without kernel hacking, see this quote: "Although the Linux frame-buffer supports 256 (or more) colors, the Linux console driver does not; therefore, console applications are still limited to 16 colors on the Linux console, frame-buffer or not."
So you can have no more than 16 or 8 colors. ...
1
Try out this bash function in the console. Fittingly, it doesn't work in an X terminal (I think because of the tabs). Especially check out the three files used last, namely
/sys/module/vt/parameters/default_red
/sys/module/vt/parameters/default_grn
/sys/module/vt/parameters/default_blu
clr () {
clear # GFX bug otherwise
setterm -regtabs 4
...
Top 50 recent answers are included
