The console tag has no wiki summary.
4
votes
3answers
782 views
How to clear terminal after logging out?
Currently on my laptop when I log out I can still see traces of my last activities (in tty). How can I tell it (Gentoo) to clear the screen before logging out?
4
votes
1answer
599 views
How to get fewer ttys with Systemd?
In the old days I just modified /etc/inittab. Now, with systemd, it seems to start tty[1-6] automatically, how should I disable tty[4-6]?
Looks like there's only one systemd service file, and it use ...
5
votes
1answer
265 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 ...
3
votes
1answer
238 views
Configure kbd and immediately profit of the changes without rebooting
I want to disable consoleblank and activates console clock vcstime which are obviously managed by kbd on my Debian 6.
So I've changed the following in /etc/kbd/config file:
POWERDOWN_TIME=1
...
3
votes
1answer
144 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 ...
9
votes
1answer
301 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
4answers
129 views
change to text console using ssh
I'm connecting to target computer through SSH from command line. Target computer is running Gnome. I need to be able to tell the target computer to change its desktop to a fullscreen text console ...
5
votes
2answers
188 views
Can I start my main desktop graphical session remotely?
So my workstation at work got rebooted and I'm currently not logged in physically there with a graphical session. I have ssh access to it, and I can start a new X windows session and use my graphical ...
2
votes
1answer
1k 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 ...
2
votes
1answer
138 views
What tool can preview console font?
I don't know about the console font format, for a normal truetype font, I could use gnome-font-viewer to preview it, but what about console font? If I don't switch back to another tty, and use setfont ...
4
votes
1answer
286 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 ...
2
votes
2answers
2k views
How to change temporarily font size in text console in openSUSE?
I found several answers already but all of them are focused on changing size for good, i.e. at Lilo/Grub level. I don't want this though.
So, key issues:
changing size on-fly, I would like to ...
1
vote
1answer
386 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
183 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
638 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 ...
2
votes
2answers
2k 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.
2
votes
1answer
226 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
72 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
136 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 ...
2
votes
3answers
466 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 ...
6
votes
7answers
5k views
Disable screen blanking on text console
I'm running linux clusters, mostly on SLES10. The servers are mostly blades, accessed via remote console. There is a real console in the server room, but switched off.
I would like to disable the ...
3
votes
2answers
302 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
244 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 ...
3
votes
2answers
125 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 ...
3
votes
0answers
275 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 ...
6
votes
3answers
643 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
247 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
605 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 ...
12
votes
2answers
512 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.
2
votes
1answer
72 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 ...
2
votes
2answers
418 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 ...
2
votes
1answer
399 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 ...
2
votes
2answers
584 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 ...
9
votes
2answers
6k views
How to colorize output of ls ?
I'm running CentOS in Linux text mode. When I run the command ls /usr/, the output is too hard to read (dark blue on black). How can I change the text coloring?
1
vote
2answers
243 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).
How can I fix this? dmesg has no message ...
3
votes
2answers
295 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
188 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
406 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?
5
votes
1answer
899 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 ...
3
votes
1answer
616 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 ...
3
votes
2answers
526 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 ...
2
votes
1answer
641 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 ...
2
votes
2answers
530 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 ...
3
votes
1answer
428 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
421 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
1answer
452 views
using curses with virtual terminals
I'm trying to use Curses on Fedora 12 to output status information to a virtual console (one of the terminals you can get to by pressing CtrlAltFx).
When I start up my application on one of the ...
1
vote
2answers
199 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 ...
1
vote
3answers
2k 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 ...
4
votes
2answers
5k 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
140 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
...
