The character based display-interface between human and computer.

learn more… | top users | synonyms

10
votes
1answer
594 views

Redirect linux console on boot

Is it possible on boot to redirect the console output to a screen session? The server has no monitor attached, and I'd like to be able to see the primary console output. I've seen other posts about ...
2
votes
1answer
1k views

Show current “setterm” values/settings

I know that setterm can be used to adjust parameters such as screen blanking time on a virtual console. How can I show the current setterm settings/values for all parameters?
1
vote
2answers
615 views

Is there a way to view the console output instead of boot logo, while my RHEL 6.2 machine boots up?

My company provided laptop has RHEL6.2, with lot of programs to start up automatically, which makes the boot up process slow. While the machine boots up, there is the boring RHEL logo on the screen ...
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
2answers
17k views

Can I change the font of terminal?

I have a Un*x OS installed without desktop, I wonder if it is possible to change the font of terminal.
5
votes
1answer
1k views

Tmux output is slower when vertical splits exist: why?

When I use Tmux and split the window into panes, I notice that programs are quite a bit slower to print out lines of text when there is vertical split (two panes side by side) than when there is a ...
1
vote
0answers
91 views

Change terminal resolution on Whiite (Wii Linux)

Is there a way to change the terminal resolution in Whiite (Linux for Wii)? All the answers I can find suggest editing grub configuration, but Whiite uses a custom bootloader instead of grub.
2
votes
1answer
180 views

Virtual terminal switched when USB mouse plugged in Linux

Our machine runs a modified RedHat 9 (Kernel Linux 2.6.20-1.21, GNOME 2.10.0). When USB mouse is plugged in, the X Window will always switch out, we have to switch back by Alt + F7. There is no such ...
5
votes
3answers
631 views

Construct a command by putting a string into a tty

I managed to do this echo -n "command" > /dev/tty1 The letters appear, and the cursor moves, but they are "ghosts" - if you hit enter, nothing happens (they are not in stdin). Edit: In the ...
2
votes
3answers
1k views

How do I restore my console default font, and why has it changed?

I'm using Lubuntu 11.10, and I use my console a lot. Today I discovered that its font was changed; specifically, this screen is from yesterday: and this is from today: First of all, any idea of ...
3
votes
2answers
433 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 ...
5
votes
1answer
1k views

Send a command from the console to a running X server

Is it possible to send a command from the console, say tty1, to the terminal currently occupied with X (in my case tty7 as I use Debian), to tell for example mplayer to play a movie? Edit - made a ...
4
votes
2answers
295 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 ...
0
votes
1answer
357 views

wget images with certain path

im looking to only grab images from a document with a certain path for example domain.com/uploads/287167/file_name.jpg only grab those with the uploads/number/filename im currently doing it this ...
4
votes
0answers
380 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 ...
7
votes
3answers
2k views

Shutdown from login prompt in tty

Suppose I boot a Linux machine without GUI. When it displays a tty login prompt, can I shutdown the machine with a keyboard sequence? Of course I could type in my username and password and then sudo ...
4
votes
1answer
585 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.
3
votes
1answer
1k views

tty (console): disable monitor

In .xinitrc, I use xrandr --output LVDS1 --off to disable the monitor of my laptop (I always use a projector at school). But, before I log in with xinit, or when I temporary go to the console ...
15
votes
2answers
2k views

Can I configure bash to execute “clear” before every command typed in the console?

I would like to configure bash to execute clear command every time I type some command in the terminal (before executing my command). How can I do that? I'm using Debian Linux.
9
votes
2answers
4k views

How to define a Compose Key in terminal (no desktop environment)?

I would like to define a compose key on my system (Debian Sid "Wheezy"). I have no Xorg (and don't want any desktop environment). Only in terminal. I would like to set it up on my Alt-Gr key (right ...
5
votes
1answer
521 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 ...
2
votes
1answer
102 views

Make 'CTRL-/' behave the same in vtty and xterm

When I press Ctrl+/ in a graphical terminal (e.g. xterm) I get "undo". However, in a virtual terminal (e.g. Ctrl+Alt+F1) I get "backspace". In practice I run into this when I'm using emacs in a ...
7
votes
2answers
584 views

How to map a console keyboard layout to a X keyboard layout in Linux

In my distribution (Slackware 13.37), the console keyboard layout is chosen among some of those available in /usr/share/kbd/keymaps ' sub directories, coming from the kbd package. Under X instead ...
2
votes
2answers
1k views

Cannot scroll terminal in Fedora CLI

I work on Fedora 17 entirely in CLI (or TUI) and I do not have a mouse. If I output something that is long I cannot scroll the lines. I tried Ctr+Up, Ctr+Shift+Up, Ctrl+A as some sites suggest but ...
3
votes
1answer
697 views

How to increase the speed of a text console (kernel mode setting)?

On a Fedora 17 system (i915 hardware) KMS works out of the box - and using the console (i.e. Ctrl+Alt+F2 etc.) is very framebuffer-like. To the point that scrolling through a man page or cat log-files ...
5
votes
2answers
1k views

Preventing access to TTY when X is killed

Assume I start an X server manually from a virtual console /dev/tty1 with xinit or startx, with the line id:3:initdefault: set in /etc/inittab. The X server gets run and put on another virtual ...
5
votes
1answer
404 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 ...
4
votes
2answers
693 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 ?
2
votes
1answer
337 views

Ctrl-Alt-F1 to F6 work differently for left and right sides of the keyboard

If I want to log in to the traditional text shell, I can only use the right side control and alt keys, the left side ones will do nothing. Once I switch to another shell, I now have to use the left ...
5
votes
3answers
2k views

How to log to file and to console

I know that I can log to file by adding > log.txt to the end of a command but how can I log to file AND to console?
1
vote
2answers
143 views

Saving files on lost focus in Vim

I have been trying to setup the shell version of vim to save any changed files when the shell window loses focus. Following these instructions does not work. Even though I am using OS X, I figure ...
4
votes
1answer
651 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 ...
5
votes
1answer
2k views

What is the difference between a Console, Shell, Terminal, Terminal emulator, Terminal multiplexer, and a Window manager?

For example. What is the difference between a default 'interface/console' of FreeBSD/archlinux, vs Terminal, vs Terminal emulator like Xterm, vs Terminal multiplexer like tmux, vs Window manager like ...
12
votes
1answer
6k views

why there are six getty processes running on my desktop?

My desktop system is: $ uname -a Linux xmachine 3.0.0-13-generic #22-Ubuntu SMP Wed Nov 2 13:25:36 UTC 2011 i686 i686 i386 GNU/Linux By running ps a | grep getty, I get this output: 900 tty4 ...
1
vote
2answers
335 views

Can't switch to console using my own compiled kernel

In my Ubuntu, I can't switch to console through Ctrl+Alt+Fx using my own compiled kernel, and a black screen appears. I can switch back through Ctrl+Alt+F7. Using the default Ubuntu kernel, I can ...
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 ...
6
votes
2answers
5k views

How to list console and kernel fonts?

I have a number of console fonts installed in /lib/kbd/consolefonts/ installed. How do I list them (obviously all I can do, is just look at the filenames, but not at a list at available fonts). How ...
2
votes
2answers
1k views

How can I retain the console input in mplayer when reading from stdin?

I'm playing around with the command line interface of mplayer. I'd like to script it in the following way find /some/path/ -type f | grep -vif blacklist | mplayer -shuffle -playlist - where ...
4
votes
2answers
1k 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
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
2answers
640 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 ...
6
votes
2answers
4k views

How do I temporary change my keyboard layout on Debian? (no X)

How can I quickly change my keyboard layout between US and German? setxkbmap does not apply here, as I only have an SSH shell. Persistent changes via dpkg-reconfigure keyboard-configuration ...
1
vote
3answers
5k views

Cannot execute binaries in Ubuntu : file not found

When I try to run any executable file a file not found error occurs. Sometimes it says nothing but doesn't do anything. For example, when I execute ./blah-blah.bin it fails finding the file when it ...
1
vote
2answers
339 views

How to log the output of a daemon application?

I have a Java program running as a daemon (thanks to YAJSW, a wrapper for java). The thing is that this java application writes several lines of console text, (simply imagine a Hello World App). If I ...
15
votes
5answers
11k views

How to clear terminal completely?

When we use clear command or Ctrl+L in terminal, it clears terminal but we can still scroll back to view the last used commands. Is there a way to completely clear the terminal?
8
votes
2answers
17k views

Refresh env variables after editing bashrc file

I frequently edited the .bashrc file to export new environment variables. Rather than close the console and start a new one to refresh the env variables, is there a convenient way to refresh?
4
votes
2answers
199 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
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 ...
9
votes
2answers
26k views

Command line to return to the GUI after Ctrl-Alt-F1?

I'm unable to return to the GUI with Ctrl-Alt-F7 (or any of the 12 function keys). I have some unsaved work and I don't want to lose them. Are there any other key combinations that will allow me to ...
3
votes
1answer
1k views

Framebuffer on OpenBSD?

I am migrating from Linux to OpenBSD, and one of the things I miss from my old OS is how even the consoles looked nice (so nice you could actually watch movies in there) under framebuffer using a ...