The character based display-interface between human and computer.

learn more… | top users | synonyms

1
vote
1answer
29 views

Cloning output of a terminal

I need to do a presentation over Skype of a command line tool over a fairly flaky mobile connection, since I'm currently traveling. I would like to avoid screen sharing to maximize bandwidth for audio ...
1
vote
2answers
61 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 ...
1
vote
1answer
127 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 ...
1
vote
1answer
104 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
4answers
1k views

Toggle between dvorak and qwerty

I've recently started to learn the dvorak keyboard layout, but I still need to use qwerty sometimes. I'm looking for a script to toggle between the two keyboard layouts. Also, I'd like to invoke ...
1
vote
1answer
53 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 ...
1
vote
1answer
55 views

Get current output

This just crossed my mind. Let's say that I'm operating a remote machine via SSH and I executed a make command to, e.g. build a new kernel for my machine. While I'm logged in that session, I can see ...
1
vote
1answer
700 views

Login other bash ttys after logging in to one

Is there a way to login certain (or all) ttys after logging into one? I don't want auto-login because I still want to login once (for security). I've looked into things like "screen" but they are ...
1
vote
2answers
165 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 ...
1
vote
1answer
44 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
1answer
227 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 ...
1
vote
2answers
187 views

Lock console session

I've set up a no-x/console only system running a minimal install of debian jessie/testing. For this system I need a screen locker to lock the entire session when I'm away. vlock would be appropriate ...
1
vote
1answer
112 views

Is there any way to play gpu accelerated video without X?

You can play use mplayer on fbdev, but not with the gpu. That's as close as I can find.
1
vote
1answer
2k views

/dev/console dynamic redirection

Is it possible to dynamically redirect all data sent to /dev/console into something else (for example - to /dev/null, /dev/tty9 or even /dev/null)? Of course, it can be done statically via ...
1
vote
2answers
861 views

What stream does perf use?

What stream does the perf command use!? I've been trying to capture it with (perf stat -x, -ecache-misses ./a.out>/dev/null) 2> results following http://stackoverflow.com/q/13232889/50305, ...
1
vote
1answer
62 views

Emacs - Strange Whitespace

(I posted this same general question here on StackOverflow thinking it had something to do with my emacs configuration, but after following a comment there, I think it is exclusive to urxvt) My ...
1
vote
1answer
1k views

Can't open the initial console on ARM S3C2440 running utuLinux

I try to mount an NFS filesystem to the target board ARM s3C2440. I've started the NFS service and the portmap service. The server operating system is Ubuntu 10.04. I use minicom to communicate with ...
1
vote
1answer
17 views

How to show a notification a la Growl to all Linux consoles

I'm building a textmode only linux netbook. I'd like to show information (like battery status) when pressing a hotkey, that would appear on top of whatever running program and disappear in a few ...
1
vote
2answers
57 views

How can I configure /etc/kmscon/kmscon.conf to use specific a) font and b) keyboard layout?

I recently installed kmscon on my system. Now I want to configure it to use a different keyboard layout (neo2) and, while I am at it, a different font, too. I stumbled across this question here when ...
1
vote
1answer
61 views

Remapping Caps Lock to Compose

Because I now and then need to use scandinavian letters despite using US Dvorak as my layout, I would like to use Caps Lock as a compose key. (I don't need Caps Lock at all, I'm not a forum troll) ...
1
vote
1answer
49 views

Is it possible to access opened gnome terminal session in text console?

I am running Ubuntu 14.04. My desktop environment (compiz and unity) sometimes becomes frozen, which makes it difficult to save my work including text editing in emacs running in gnome terminal. ...
1
vote
1answer
134 views

How to stop displaying error logs from the terminal in linux?

I am using Linux, there are some error logs related to some applications are over flooding one of my terminal. They look like this: 20/01 15:54:29.894138[3319][65536] Unexpected exception during ...
1
vote
1answer
91 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 ...
1
vote
1answer
115 views

loadkeys has (almost) no effect

I'm running CentOS 6.4 on vagrant and then doing a vagrant SSH into the box. I've been trying to get backspace to work correctly for a while now (as chronicled here: Centos Terminal Configuring ...
1
vote
2answers
81 views

Block physical console access

I'd like to block physical console access to my linux. I'd like to find, which module is responsible for keyboard input (ps/2, usb, ...) and vga output (only physical), so I can remove them from my ...
1
vote
1answer
113 views

Capture textual snapshot of pseudo terminal

My question is related to Keyboard and Console, but I want to do it for an arbitrary pseudo terminal, and not just the built-in Linux ones. Also, I'm not interested in a stream, I just want the ...
1
vote
1answer
3k views

Installing video driver on Arch Linux

I have Arch Linux installed in console mode on an Intel-PC machine. My task is to write and run an OpenGL display program on the machine to check whether it meets the following conditions: It would ...
1
vote
1answer
393 views

Can I use xterm to read/write to a pts without spawning another process (e.g a shell)?

I have a process which reads and writes to a pseudo terminal. I would like to open xterm and have it open a pseudo terminal and leave it open so I can communicate with this process without creating ...
1
vote
2answers
381 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 ...
1
vote
3answers
6k 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
419 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
0answers
11 views

How to detect Keyboard Function Keys in daemon (FreeBSD)

I am interested in writing a daemon that watches for raw key events so I can detect the F-keys on my keyboard and launch programs when they are pressed. How can I detect when these F-keys are pressed? ...
1
vote
0answers
20 views

TTY/Console Wallpaper Arch Linux

How can I set a wallpaper for a TTY/console (also during boot) on Arch Linux like done on OpenSUSE? I think a Kernel recompile is needed?
1
vote
0answers
46 views

Will booting ubuntu in recovery mode use default keyboard layout?

I have a chromebook with Ubuntu 15.04 and I need to customize some of my keyboard keys in xkb. Unfortunately while doing so I managed to disable my keyboard and needed to boot from live USB to revert ...
1
vote
1answer
46 views

How should look script that launches program on startup

I want program rescuetime to be launched when computer loads. I've found that for this task script should be created in /etc/init.d/my_script and this lines to be entered to console chmod 755 ...
1
vote
0answers
31 views

Setting custom baud rate on console

Just for aesthetics I would like to have my text on my console be displayed at a lower speed. I've tried using things like screen with custom baud rates of /dev/tty1 but it wouldn't work, input from ...
1
vote
0answers
33 views

Does all applications which show graphics without an X server has to use the frame buffer device on linux?

I am using limelight embedded on my raspberry pi 2. The application streams games from your Windows PC. It is not an X application because no X server is running. So does this application has to ...
1
vote
0answers
38 views

What is the kernel frame buffer?

I was reading the "mplayer" man pages trying to play video using just the console, (I don't have or don't want to install X11). It mentions that I can use the kernel frame buffer device which is ...
1
vote
0answers
280 views

How to rotate the LCD screen/framebuffer to 180 degree?

I have a custom board with a Freecale i.MX6Q SoC. I am using Linux kernel 3.03.35 and LCD is 3.5 inch RGB type display. I want to rotate my LCD screen to 180 degree. I tried a lot to pass parameters ...
1
vote
1answer
150 views

change linux text console scrolling speed - without rebooting

Is there any way to change to the text console scrolling speed without rebooting? Currently using Fedora, but non-distribution-specific answers appreciated. ...
1
vote
0answers
37 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
151 views

Backspace and CTRL commands print question marks

I've run into a peculiar issue on a fresh gentoo install. Within the console, the backspace key prints an adorable little question mark inscribed within a square instead of its intended function. ...
1
vote
0answers
48 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] ...
1
vote
1answer
107 views

Console TTY displays on integrated Intel HD3000's monitor instead of NVidia GPU's monitor

I've got two monitors attached to my desktop PC's GPU (a GeForce 560Ti) that work fine for X. When I switch to the console TTY, however, both monitors show nothing. The console TTY is being ...
1
vote
1answer
89 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 ...
1
vote
1answer
116 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 ...
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 ...
1
vote
1answer
105 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
61 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 ...
1
vote
0answers
37 views

(nologin) root and id X re-spawning

Today I faced a strange issue on one of the test server. Server was set to Runlevel 5. But it didnt work and system changed to runlevel 3. It was showing "init: Id "x" respawning too fast: disabled ...