The character based display-interface between human and computer.

learn more… | top users | synonyms

4
votes
1answer
194 views

Change the status of the keyboard leds, from within an X session, without root access

I am trying to force the capslock led on. xset does not work for me, so I am trying to use setleds. In a graphical console, this command returns: > LANG=C setleds -L +caps KDGKBLED: Inappropriate ...
1
vote
2answers
55 views

`nl` invocation soaking all input before numbering

How can this be done? I don't see any applicable option in the manual. I have positively checked that indentation breaks after ten million lines. You can check it like: $ (for i in `seq 0 ...
0
votes
1answer
75 views

Running Linux in text mode - blank diamonds instead of Chinese/Punjabi etc. characters

While in the text mode and using, for example, Chinese/Simplified or India/Punjabi locale I get blank diamond symbols in the console in place of the characters. I am running Xubuntu with ...
3
votes
1answer
122 views

How do I view cp1251 text file in UTF-8 console?

Attempt 1: $ less subs.srt "subs.srt" may be a binary file. See it anyway? <C8><F2><E0><EB><FC><FF><ED> ... Attempt 2: $ LANG=ru_RU.CP1251 less subs.srt ...
0
votes
1answer
136 views

Blank console when exiting X

I'm running Linux Mint 17.1, but this probably applies to most distros anyway. I just installed LM cleanly from a bootable USB (which is fine - I checked) and I need to install the appropriate ...
1
vote
1answer
40 views

How do I keep running a command in the same area of the console window? (“w”)

I'm looking at the output of w: ehryk@ArchHP ~> sudo w 14:12:37 up 4:08, 4 users, ...
1
vote
0answers
31 views

What is the difference between X11 keymapping and virtual console keymapping

In linux we have X11 which governors keyboard layouts but sadly any changes made there don't affect the system as a whole so in a tty you are left with standard qwerty no matter what your X11 ...
1
vote
1answer
69 views

Default vt number at Linux startup

Whenever we boot into linux, then the default vt used by the kernel is 1. And X starts either on vt2 or on vt7. We can switch back to vt1 with Ctrl+Alt+F1 to see the logs or messages. Is there any ...
2
votes
1answer
64 views

Some commands fail when active display/vt is different from where they are running, How to fix/workaround that?

These applets are running on X at DISPLAY=:0 (fgconsole 7). NetworkApplet Related to nm-applet/NetworkManager run this command sleep 10;nmcli nm enable false;beep (you must be connected to the ...
6
votes
2answers
116 views

How to determine the current color of the console output?

I know that, if a coloured terminal is available, one can colour the output of it using escape characters. But is there a possibility to find out, which colour the output is currently being displayed ...
3
votes
2answers
79 views

Remap keyboard on the Linux console

I'm using Debian and I want to remap my keyboard because it has some problem. I googled and found xmodmap. But it doesn't work in graphicless mode, like tty1.
1
vote
0answers
36 views

adding a console target to GDM

In KDM, KDE's display manager, there's an option to exit the DM and login at the terminal. Gnome's display manager does not have this option. Here's the entry for Cinnamon: [Desktop Entry] ...
2
votes
1answer
150 views

Screen size in FreeBSD in VirtualBox

I am installing FreeBSD 10.0 on VirtualBox, and I can't figure out how to change the size of my screan, in the virtualbox? The freebsd in the virtualbox treats my screen like it's 1/4th the size of ...
5
votes
3answers
4k 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?
7
votes
1answer
145 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 ...
0
votes
1answer
26 views

My guest debian 7.7 boots on a terminal

I have VMware on my laptop and I installed a Debian 7.7 guest on it. An hour ago I powered off the debian, and when I booted it again, it came up with a terminal instead of my graphical environments. ...
1
vote
1answer
45 views

Is there a console command that replicates Alt+[F1..F10] to change terminal?

Hi I'm a Linux noob developing a custom embedded barebones distro. I have console access over serial to my machine. I would like to control what tty my user sees on their framebuffer. Currently the ...
0
votes
0answers
87 views

Hot-changing font-size, number of rows / columns on a text terminal

This question comes from this other. I have no X-Windows installed in my system. I just simply would like to change rows/columns in a text console (terminal) without rebooting. The desired behavior ...
1
vote
1answer
123 views

text based tool for ldap queries

I need a way to do LDAP queries through a text based interface. I use jXplorer on my own machine but that is a graphical client. Btw, I'm running Ubuntu server 14.04. The background: A server in my ...
2
votes
1answer
111 views

create several /dev/xconsole files automatically upon boot

I understand from my previous question that the /dev/xconsole file can be created using mkfifo. On my system (Debian Wheezy), /dev/xconsole gets created automatically. I am wondering who creates it ...
3
votes
1answer
3k views

open /dev/fb0: No such device

I installed fbi framebuffer to view images on TTY terminals (outside X). When I do: fbi image.jpg it outputs the following error: open /dev/fb0 no such device Yet when I run ls /dev/fb*, I ...
2
votes
2answers
79 views

Is it possible to see remotely what physical display is showing on linux machine without X?

We can use VNC to connect to remote X session but how can I remotely connect to that session which is displayed on physical monitor if remote linux machine does not have X installed? UPDATE to make ...
0
votes
0answers
96 views

Disabling all systemd messages from appearing on console

Is there an option to completely prevent all of systemd's messages from appearing on the console? I see these messages appearing on the console and they often come in the way of console logins and ...
3
votes
2answers
5k views

RHEL7 text-only installation

I want to install RHEL7 in purely text-only mode. Although I added the inst.text and inst.cmdline kernel option (since I want it to install from kickstart) it still requires more than a console as it ...
1
vote
1answer
74 views

Change to rc.local causing hang on tty1

I added a script execution command to my rc.local but forgot to run it in a separate tty. The script has an infinite loop and has hung my tty1. Ctrl-C does not do anything and I don't have another ...
2
votes
1answer
63 views

Run an X11 command from a different console

On my Ubuntu 14.04 virtual machine compiz freezes often. I usually swtich to tty1 and kill the process, then switch back to tty7 and, if I can see a terminal window, I run compiz --replace & in ...
0
votes
0answers
126 views
11
votes
3answers
37k 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 ...
1
vote
1answer
82 views

The linux console resolution seting didn't run

I use Gentoo/Linux. Because of some reasons, I want to set the resolution of the console. So I rewrite grub file. GRUB_GFXMODE=1366x768 GRUB_GFXPAFLOAD_LINUX=1366x768 But it isn't run.When I load ...
4
votes
2answers
400 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 ...
1
vote
0answers
32 views

Kubuntu terminal setting depending on display

I am running Kubuntu on dual screen configuration. Both displays have the same resolutions (FullHD) but the trick is that one is significantly smaller than the other (24 inch monitor vs. 15 inch ...
0
votes
0answers
77 views

Black console mouse cursor on NetBSD 6.1.5

I am using NetBSD 6.1.5 with VMWare workstation 10. I am booting from this entry in boot.cfg: menu=Boot NetBSD:vesa 1280x800;boot netbsd When using wsmoused in console mode, the cursor on the ...
2
votes
0answers
110 views

Emulate console by sending data on one UDP port, and receive text from another

Note: I also posted this question on SuperUser, because I'm not sure where it belongs I'm trying to establish a "console-like" connection with a National Instruments cRIO-FRC. It broadcasts its ...
1
vote
1answer
116 views

create several /dev/xconsole files

I am using /dev/xconsole to send system logs from rsyslog. That works great, because I am don't have to store the logs on disk. I would like to have another similar file , i.e /dev/xconsole1 where I ...
3
votes
1answer
98 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 ...
2
votes
1answer
190 views

Display power management in console

When in console (i.e. not in Gnome or KDE) the display will automatically power down in case of inactivity. It seems to me to be set to something around 30 minutes. This power management is completely ...
6
votes
3answers
7k views

How to change cursor shape, color, and blinkrate of Linux Console?

I know I can change some fundamental settings of the Linux console, things like fonts, for instance, with dpkg-reconfigure console-setup. But I'd like to change things like blinkrate, color, and ...
5
votes
1answer
94 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 ...
2
votes
2answers
393 views

disabling ctrl-alt-del and /etc/init

My OS is RHEL 6.2 I disable Ctrl+Alt+Del by changing in /etc/init/control-alt-del.conf the line exec /sbin/shutdown -r now "Control-alt-del pressed" by exec /bin/true I'll be testing it next ...
1
vote
1answer
92 views

Disabling a keyboard key in console

I wrote a script that dialog command is vulnerable to Esc key, now I want to disable Esc key in console. NOTE: X11 has been not installed in server and xev or xmodmap doesn't work.
1
vote
1answer
91 views

Send specific signal number with specific key

I want to set a specific key like F12 to send me a specific signal number that out of linux signals range that I can handle this signal with trap command. How can I do that? NOTE: I'm working with ...
1
vote
1answer
53 views

Resync NumLock light with NumLock status

I plugged a second keyboard into my computer to test something, and now my NumLock light is out of sync with the lock status (the light is off when NumLock is on, and vice-versa). How can I get the ...
3
votes
1answer
27 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
6k views

How much speed difference for a tweaked bios versus uefi boot? [closed]

EFI can be faster, but that's not certain. The biggest speed difference is in hardware initialization early in the process. On my systems, this is a fraction of the total boot time, so a ...
0
votes
2answers
37 views

Configure distant terminal behaviour

I just installed debian 7 on a VPS, created users, configured ssh ..etc The problem is that the terminal application changed its behavior just after connecting with my new username: Autocompletion ...
4
votes
2answers
6k 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
43 views

Is a virtual console considered a process running on the OS kernel?

A terminal emulator is a program/process running in the GUI of an OS. A linux kernel offers 7 virtual consoles. Is a virtual console also a process running on the OS kernel?
2
votes
1answer
39 views

Virtual console pauses video and audio playback running in KDE

In Kubuntu 14.04, when I switch to one of the virtual consoles by pressing CTRL-ALT-F1...F6 all audio and video playback running in the GUI gets interrupted and continues only when going back to X. ...
4
votes
1answer
71 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 ...
499
votes
3answers
99k views

What is the exact difference between a 'terminal', a 'shell', a 'tty' and a 'console'?

I think these terms almost refer to the same thing, when used loosely: terminal shell tty console What exactly does each of these terms refer to?