The character based display-interface between human and computer.

learn more… | top users | synonyms

5
votes
2answers
2k views

How do I change the screen font size when using a virtual terminal

Using LDXE and Ubuntu, I can log into a virtual terminal via Ctrl+Alt+F1. The text is far too small. How do I change the screen resolution to get a larger font?
5
votes
2answers
242 views

Fully Disable PrntScr Key

I recently came across a Linux feature I have never seen before, where pressing the PrntScr button on the keyboard prints a physical piece of paper with the contents of my console. I really need to ...
5
votes
2answers
1k views

Why are there so many virtual terminal devices?

I've been reading the Advanced Linux Programming book and it mentions about virtual terminals which, if I understood it correctly, it is a Linux-specific feature (not in Unix) to allow multiple login ...
5
votes
1answer
2k views

Cannot switch to TTYs or back

I just upgraded to Mint 13 - KDE x64 I am unable to switch to ttys by using the CtrlAltF1 .. F6 keys. The gettys are running and I can switch to the terminals with the sudo chvt 1 command. I have ...
5
votes
1answer
558 views

Cannot switch to console anymore after using Alt_R as mod4

I'd like to use the right ALT key as 'mod4' (most notably because, by default, the 'awesome' window manager is using mod4 as a modifier for most WM commands and I like that idea a lot). However I've ...
5
votes
1answer
420 views

Console ScreenSaver without X11

I'm trying to setup a very slimmed down console only Debian system to act as a simple slideshow photo display. I know that it is possible to show graphics (I guess using the framebuffer) in the ...
5
votes
1answer
414 views

Locking console input without screen blanking

I'm looking for a method to lock/disable keyboard input into a text console (tty, no xorg) without blanking the screen. I would like to be able to monitor the on-screen progress of a long-running ...
5
votes
1answer
2k views

How do I configure setfont and loadkeys properly?

I'm installing LFS and I'm struggling with this section. My locale is sv_SE.UTF-8 and I have a Swedish keyboard. So I suppose I should enable unicode and that the keymap is sv-latin1: cat > ...
5
votes
1answer
807 views

Switch display output without rebooting but not in Xorg

My graphic card has two output (VGA and DVI). Is it possible to switch from one to the other without rebooting ? It works in Xorg by restarting the X server (I guess it should be doable with xrandr ...
5
votes
1answer
176 views

How to disable Alt-Arrow switching of Virtual Consoles?

The following happens on different Linuces: When I'm in a virtual console, hold Alt and press ← or →, the virtual ttys cycle. This is really annoying as I'm using fish-shell which also uses this key ...
5
votes
0answers
102 views

How to Pass High Resolution from GRUB2 to FreeBSD?

I boot FreeBSD-10-RELEASE from GRUB2. I have set up the GRUB2 boot menu to display very nicely at my laptop's max resolution of 1024x768x32. I know it's possible to pass this resolution to the boot ...
5
votes
1answer
241 views

Linux VT Emacs in tmux, breaks color and cursor

TERM is set to screen. I tried with screen-256color, but then the colors went really nuts. I also tried xterm, linux, and some others (that I could think of, not really thinking) but screen is the ...
4
votes
2answers
443 views

Interpret backspaces in file

Is there a way to interpret/"execute" backspaces in a file/line using common bash commands? I have a console program which prints some stuff and than erases it using backspaces and finally writes the ...
4
votes
2answers
761 views

How can one switch to ttyX in virtualbox?

I run VirtualBox in Linux , running CentOS in it , and I can't switch to ttyX in the CentOS since I'll go to the ttyX in my Linux. Any solutions ?
4
votes
2answers
316 views

How to safely shutdown computer during boot sequence?

Due to a bug my computer has stopped in the middle of the boot sequence, just waiting. If I type anything, it prints stuff like ^[[B. I do not want to damage the files on the computer by pressing the ...
4
votes
2answers
203 views

How to modify linux console prompt line ( for a while )

For example I typed such commands: user@my-machine:~$ cd ABC user@my-machine:~/ABC$ cd long-name user@my-machine:~/ABC/long-name$ cd another-long-name ...
4
votes
3answers
790 views

clear command in Konsole

I know about the Linux clear command, but it just moves the previous output from the visible part of terminal window (KDE Konsole). I can still scroll up and see all previous text. Is there similar ...
4
votes
2answers
241 views

caps lock led not working on Linux console

When I switch to a TTY and turn on the caps lock, the caps lock LED on my keyboard isn't turning on. On X it works fine. When I activate caps lock and then switch to a TTY and then press caps lock (on ...
4
votes
1answer
2k views

How to change font-size, number of rows / columns on a terminal

I am running a Linux server (without xwindows or any kind of GUI), with a modern 22" LCD monitor. Given the huge size of my monitor, I would like to increase the number of rows and columns on my ...
4
votes
1answer
2k views

Ubuntu Server, set terminal font to a custom ttf font?

I would like to change the system (console) font of my ubuntu server to a custom (downloaded) font. Is this possible? I've tried to use: dpkg-reconfigure console-setup but the only allows me to ...
4
votes
2answers
2k views

How can I check which terminal definitions are available?

The bulk of the question is in title, but to elaborate a little: On most Linuxes I can find /usr/share/terminfo -type f. But on Solaris machine I have nearby - this directory doesn't even exist. I ...
4
votes
2answers
664 views

How to get user-level access to modifier keypresses in console app?

I need to get access to modifier-key state for a console app I'm writing (a personalized editor). Are there any packages/libs/whatever that provide this access? I cobbled the following from ...
4
votes
2answers
517 views

use mosh without giving up local scrollback / history?

Is there a way to use mosh without giving up the local scrollback? Basically, in some circumstances, IP-roaming is indeed useful and needed, but the extra terminal emulation and key prediction seems ...
4
votes
1answer
634 views

Pivot in text mode (no X) (Pivot = rotated 90 degrees)

How to get rotated video in text mode (no X), even during booting sequence ? OS: Linux Graphics card: mostly ATI, but curious about NVida and Intel solutions.
4
votes
2answers
1k views

How to install light-weight vim and to be able to efficiently load files into one instance vim?

On my laptop with Ubuntu I'm able to have just one instance of vim, launched with vim --servername VIM After this I'm able to open files from console with vim --remote-silent filename I use ...
4
votes
2answers
714 views

In linux console (no X), how to stretch console screen to fit monitor

Google could not help me with this problem. I hope you guys can. When I boot my computer, the first few screens presented to me by BIOS and boot menu are stretched to fit the LCD screen. Once Linux ...
4
votes
2answers
1k views

Remapping caps-lock to escape, and menu to compose, on the linux console

When running X I use a .xmodmaprc to remap certain keys thusly: ! Make it so that both Caps Lock and Escape do Escape clear Lock keysym Caps_Lock = Escape ! Remap the menu key as Compose keysym Menu ...
4
votes
1answer
6k views

Change the number of rows and columns in the TTY [duplicate]

I want to resize the terminal which comes up when you press CtrlAltF1 (or F2,F3,...). 25x80 is small for a 24" screen. Tried using stty, but the commands stty columns 200 and stty rows 50 does not ...
4
votes
1answer
2k views

Convert .bdf/.pcf font to .psf(u) for using as consolefont?

I am using Arch Linux. Is it possible to convert a BDF or PCF font to a PSF font for use in console/CONSOLEFONT in rc.conf? I haven't found anything that can do it,except bdf2psf which I got the ...
4
votes
1answer
61 views

Printing to an X terminal faster than printing to tty?

In Linux Mint 17, I was testing the printing speed of the default ttys versus the speed of a mate-terminal running on Xorg. To test the speeds, I generated a random file: dd if=/dev/urandom ...
4
votes
1answer
49 views

Is it possible to change what tty a terminal emulator is connected to?

If I have a terminal emulator (say, xterm) by default it connects to a pseudoterminal like /dev/pts/3 What I would like to know is if it is possible to connect it directly to, say, tty1? Could I ...
4
votes
2answers
115 views

Escape on Control key, Control on Capslock key, Capslock on Escape key

I'm looking for a method that works in both X and the console with console-setup (e.g. xkboptions, no X-exclusive methods like xmodmap). With XKBoptions, combining ctrl:swapcaps and caps:swapescape ...
4
votes
1answer
691 views

USB device messages flooding dmesg (and console)

When USB mouse is plugged into my laptop, dmesg is flooded with following messages: usb 3-1: USB disconnect, device number 28 usb 3-1: new low-speed USB device number 29 using xhci_hcd usb 3-1: New ...
4
votes
1answer
51 views

Whether monitor is off without appealing to X or /proc

How can I know whether the monitor is on or off if X is not running, and without appealing to /proc/acpi/video? The latter isn't available from my kernel. If X is running it's just a matter of $ ...
4
votes
1answer
720 views

Disabling or changing console switching keys

For some reasons on my Ubuntu 11.04 Natty running Linux 2.6.38-13, with an Italian layout for the keyboard, the keystrokes AltFx switch between virtual consoles (instead of the normal CtrlAltFx ...
4
votes
1answer
280 views

Is there any way to have console (rogue) mode programs take over only part of the terminal screen?

I like the command line because it preserves the context of what I'm doing. But if I use a "rogue" mode program like vi or less, the whole screen gets taken over. Is a middle way possible, where the ...
4
votes
0answers
384 views

Setting Framebuffer splash resolution when exiting X

I installed a copy of BackTrack 5 R2 (Ubuntu 10.04) to my HDD and dual-booted with Windows 7. After a bit of tweaking I set about updating the native Intel drivers because it was only allowing me to ...
3
votes
2answers
2k views

256 color in real console

I have in my .bashrc export TERM=xterm-256color but this cause blinking all colored text (ls --color, in vim etc.) in real console (CTRL + ALT + F1) . So is there any possibility to recognize in ...
3
votes
2answers
5k views

Setting console font in vconsole.conf does not work (systemd)

I am trying to set a different default console font for my new Arch Linux installation (using systemd). I set up my vconsole.conf in /etc as so: KEYMAP=us FONT=Lat2-Terminus16 I rebooted and saw ...
3
votes
2answers
145 views

Multi-function CapsLock without X

I would like to remap CapsLock to Esc when pressed by itself and Ctrl when pressed with another key without using X. This is similar to a previous question ( Remap CapsLock to Escape and Control ...
3
votes
1answer
339 views

Switch to TTYs without Function keys

At the moment I have a keyboard which lacks function keys (F1 through F12), and I was wondering - is there a way I could switch to textual TTYs (and back, which might prove to be a problem if I were ...
3
votes
2answers
390 views

Clipboard sharing between the host OS and a virtual console of a VirtualBox linux guest

I have a CentOS guest OS running without X11. Is there anyway I can paste text from the host clipboard into the virtual terminals or highlight text in the vt via the console mouse daemon and paste it ...
3
votes
2answers
449 views

Print console colors

Wrote a bash function to display the console colors. But, it seems some of the colors are not possible to show that way! (?) Also, note the strange "bright black"! (Note: The below screendump is of ...
3
votes
1answer
87 views

Bind Ctrl+Down in Joe on a Linux console

When I want to select a line in joe editor, I can go to the beginning and simply pres CTRL-Down and this will select the line. I can move somewhere ales and copy the line with CTRL-k-c. The key code ...
3
votes
1answer
264 views

How can I capture an OpenBSD install console?

So.. How can I save the text that is based on Q/A's when installing an OpenBSD 5.3? Or I only have the choice to manually type the texts down? or an OCR software using printscreens?
3
votes
1answer
478 views

TERM=(linux|xterm) vi in an xterm or the AAABBBBBBCCDDD-problem

Usually when I want to run vim in a desktop konsole session, I make sure the TERM variable is set to linux as the arrow keys don't work in insert mode with TERM=xterm. They show capital A..D instead ...
3
votes
1answer
388 views

Preserve scroll on Linux console switch [duplicate]

Possible Duplicate: How do I ensure that a terminal remains scrollable? I've configured really sweet keystrokes for switching between, and scrolling in, a tty (the Linux console). But, as ...
3
votes
1answer
25 views

Extract file from completely disconnected machine, possibly via Kernel messages

I have a VPS running inside an OpenStack cloud that has more or less crashed completely - the provider hasn't been able to get any kind of networking on it for over 2 days, seems completely broken on ...
3
votes
1answer
73 views

Linux console: only kernel messages are printed

My Linux system is built by Buildroot and runs on a Raspberry Pi. I use a Usb to TTL Serial cable to get a console. Here comes cmdline.txt dwc_otg.fiq_fix_enable=1 sdhci-bcm2708.sync_after_dma=0 ...
3
votes
1answer
69 views

Where can i find any information about ancient doshell(8)?

I check the openvt manual by running "man openvt" command, and i found doshell(8) under "SEE ALSO" section: But there's no manual if i do "man 8 doshell": I checked the online manual at ...