Discussions on Linux system console in Ubuntu, as well as on TUI (text user interface). Questions about command-line interface shall be tagged with (command-line), about specific commands and text-interface programs – with tags appropriate to specific problem.

learn more… | top users | synonyms

14
votes
4answers
68k views

Proper way to change terminal resolution in Ubuntu Server 13.04? [duplicate]

I'm running Ubuntu Server 13.04 in a VMware VM running only in command-line mode (i.e. no GUI). It defaults to a 640x480 screen resolution, but I'd like to increase that to either 800x600 or 1024x768. ...
6
votes
2answers
5k views

How to pass text file contents as argument to console application?

What is the command line to run a console application with input argument fed from text file? text_file: This is a simple text file with characters and other symbols including tabs and new lines ...
0
votes
1answer
511 views

Most important commands to know? [duplicate]

Got myself into trouble today - put rhythm box into party mode and I could get it back. So I was stuck. I hit ctrl alt del thinking that something like task manager would come up so I could kill ...
5
votes
10answers
51k views

How to use sshpass?

I need to use sshpass to launch a remote command through SSH from a Java code. If I manually type in a console: ssh -p 22 user@ipaddress mplayer '/media/data/myFavouriteSong.mp3' works perfectly, ...
2
votes
1answer
3k views

How do I set up a background Image for console in ubuntu [duplicate]

Some of you may know this from opensuse. There the console is able to have a background. Is Ubuntu also able to have a backround image outside the x window system?
1
vote
2answers
4k views

Unable to run Tor even in terminal, Vidalia exit code 127

I'm using Ubuntu 12.10 (quantal) and I recently installed Tor (32 bits) following the instructions on the Tor project's page. Then I started the script after having it extracted from the console and ...
1
vote
0answers
156 views

Console shows on shutdown/logout

When I shut down, I will see a black screen with console text for about one second. After about one second, it goes to the splash screen and shuts down normally. I see the same console when I am log ...
1
vote
1answer
975 views

Console prompt during boot (for truecrypt)

In short: Please provide me with a up-to-date best practice solution to mount my Truecrypt volumes at boot with secure password prompt! I may accept a answer that has nothing to do with Truecrypt and ...
5
votes
1answer
150 views

How do I Record a console session?

I know how to get to the console on my computer by pressing Ctrl Alt F1 - F6. When I run a screen recording program and switch to console and then switch back by pressing Ctrl Alt F7, I save the ...
6
votes
3answers
1k views

How do I compile/run C++ code in the console?

I'm trying to run my C++ code using the console. I used the header file conio.h like I did when I used Turbo C++ IDE in Windows, and I ran the code in console using g++ filename.cpp I have ...
0
votes
1answer
435 views

Execute a jar at console from another folder

I'm writing a Python script which at certain point needs to launch a jar file. So I was thinking about making a system call with command: './myjarfile.jar' The problem is that I have that jar in a ...
15
votes
2answers
17k views

Prepend current git branch in terminal

How can I configure the terminal to display the current git branch? I'd like to see the second line rather than the first: andy@bob:~/my_projects/project_x$ (master)~/my_projects/project_x$ I ...
1
vote
1answer
311 views

Restore GUI workspaces

I accidentally press Ctrl + Alt + F4 while I was doing normal tasks in my Ubuntu 12.10. The key combination took me to Console UI. From the console, I logged in and did startx but the output GUI ...
1
vote
2answers
744 views

How to run app “quietly” on ubuntu vps via ssh

I have an ubuntu vps and I want to run an app through ssh but I want to do it "quietly". I mean, when I for example start top, it is displayed in my ssh console and I don't have access to my vps ...
1
vote
3answers
3k views

How to enable the blender console?

I have installed Blender 2.65a from its official site but am unable to activate the console for python. I'm unable to run in terminal since it is not installed from Ubuntu Software Center because it ...
1
vote
1answer
565 views

Going to a virtual terminal disables Vim color scheme

When I'm going into a virtual terminal my Vim color scheme is ignored. I've configured it by following this blog. Heres all of my ~/.vimrc if $COLORTERM == 'gnome-terminal' set ...
2
votes
2answers
648 views

How create a keyboard shortcout to launch an .jar file with Oracle Java 7 Runtine?

I know how to create a keyboard shortcut to launch an application. (All Settings->Keyboard->Shortcuts->Custom Shortcuts) I know how to run .jar files from Nautilius. (Right click->Open with Oracle ...
1
vote
1answer
528 views

X server doesn't restart

I recently installed nvidia's cuda toolkit in ubuntu 12.04. After restarting the computer, it stays in console mode. When I run sudo service lightdm restart, it gets stuck mid execution and the ...
1
vote
0answers
104 views

less/pager does not trap keys, how do I work around it?

I have Ubuntu 12.10 installation in Virtualbox. Sometimes anything using pager (less, man) just acts funny and seem to fail to "trap" keys, ie. scrolling, searching etc does not work. Instead control ...
0
votes
1answer
240 views

Weird output of 12.04 server on terminal from the start

I'm trying to install XBMC on Ubuntu 12.04 LTS server. After installing nvidia-current and xinit, the machine boots up in text mode, no surprise there, but just prints bogus letters like shown in the ...
4
votes
0answers
6k views

Ubuntu 12.10 TTY console (Ctrl+Alt+F[1-6]) not working [closed]

I've been a Ubuntu user for some time now. I have a very annoying problem, I have no idea what causes it, and I haven't managed to find anything relevant after Googling like crazy. The problem is my ...
0
votes
1answer
142 views

Characters missing in console

I am working on implementation of an SIC-XE assembler with my friends. Those guys are using windows and codeblocks while I am using ubuntu 12.04 and codeblocks(both using version (10.05). This is a ...
2
votes
1answer
1k views

Boot computer to text mode using kernel parameters

Referring to this question: How to remove the graphical user interface? The answer of modifying /etc/default/grub to have GRUB_CMDLINE_LINUX_DEFAULT="text" would be great, but unfortunately I don't ...
2
votes
1answer
934 views

Java console doesn't recognize arrow keys

I have some strange problems with a java console on my 10.04 server (it's actually the console of a minecraft-server, but I believe it's a general problem and not something minecraft specific): arrow ...
2
votes
1answer
259 views

Suspend after delay via SSH

I know how to suspend after a delay by using: echo 'pmi action suspend' | at now + 1 minutes However, that only seems to work as long as I keep the console window open. Am I correct in assuming ...
9
votes
4answers
1k views

How to find out who is using the physical console?

I would like to use a script to find out the username - of the user who is currently on the physical console (who has command of the keyboard, mouse and graphical display)? I do not just want to ...
1
vote
0answers
230 views

Wine application runs from generated Launcher, but not from console

I have installed a Windows application through wine, and it launches perfectly through the generated launcher, however, when I use the exact same commands the launcher uses, but to invoke the program ...
3
votes
1answer
3k views

How do I display Chinese/Japanese characters in a Linux VT console?

I have an installer program which runs in a default Ubuntu 12.04 Linux VT console and uses the "dialog" program to display simple graphical input boxes. After the user selects either Chinese or ...
0
votes
1answer
414 views

Emacs package without GTK

Is there, in the "regular" Debian/Ubuntu repositories, a package for emacs without GTK support? I'm on a server and would like to install only the console version, without a dozen of unneeded ...
2
votes
1answer
1k views

GUI works but the console's (CTRL-ALT-F1-F6) “don't”

I just upgraded to 12.04 and have just noticed that the tty sessions tty1-tty6 accessed via F1-F6 have a distorted graphics output whilst the GUI F7 and terminal windows within the GUI work fine. It ...
2
votes
1answer
291 views

Console output mixed with X Screen after 12.04 Upgrade

I've just upgraded from 11.10 to 12.04 and I'm seeing console output on my X screen. It's not legible but sometimes I can even see the cursor blinking. I'm also running a multi-seat system and I see ...
2
votes
1answer
2k views

How do I *temporarily* change the *console* keymap to dvorak?

I type dvorak, but I don't like to confuse other users by having it be a system-wide default. I have a script that runs setxbmap dvorak that I can call when I want dvorak and likewise another script ...
7
votes
2answers
70k views

How can I set my Ubuntu 12.04 LTS to boot to console without GUI? [duplicate]

So I installed Ubuntu server to run some tests on a VM. For various reasons I couldn't get a specific DEB file, and instead of using a shared folder I decided it would be a good idea to install ...
3
votes
2answers
1k views

Is there a convenient command for fetching all needed latexpackages of a specific .tex file?

Is there a convenient command for installing latex packages in the console? I only use an normal editor and pdflatex for editing, so I don't want textlive or any other big program. If there is: How ...
1
vote
2answers
564 views

Lost console when EC2 ssh is logged out

I run a java application as a server on a EC2. But as I loose my ssh connection all console messages are also lost. When I redirect all messages to > my.log and then use tail -f my.log I dont get ...
1
vote
1answer
571 views

Unable to start Ubuntu 12.04. The system is running in low-graphics

I am a newbie to Ubuntu. I installed Ubuntu 12.04 using a USB Stick and it was running all fine for a few weeks and this error popped up. According to one of my friend, the best way was to re-install ...
5
votes
1answer
910 views

How do I write unicode charcaters in console mode?

I know that I'm available to write unicode characters in a terminal application by pressing ctrl+shift+u + unicode hex value, but I don't know how to input ` (the grave accent for example), or any ...
1
vote
1answer
251 views

Consoles in Ubuntu and automatic upgrade [duplicate]

Possible Duplicate: There's an issue with an Alpha/Beta Release of Ubuntu, what should I do? So I recently discovered that ubuntu is simultaneously running 6 consoles in addition to the ...
3
votes
1answer
448 views

Terminal TTY Ctrl-Alt-F# not working, only prints junk characters

I'm not sure what I pressed to mess this up. I was on tty1, but it doesn't look like I'm on tty1 anymore. When I press any key on the terminal it just prints weird letters. Pressing Ctrl-Alt-F1 ...
1
vote
2answers
1k views

Hercules DJ console MK4

I have a Hercules DJ console MK4 at home and I would like to use it in Ubuntu because I prefer this over Windows. I know it isn't officially supported but does anyone know any method to do this? I'm ...
0
votes
1answer
605 views

how to switch between unity and gnome (or recovery console) from serial-console

i am currently working over a serial-console (from desktop computer to a developing board)... i tried switching between this three visual alternatives: unity, gnome and recovery console (using the ...
0
votes
1answer
88 views

Add a database to use with locate command?

I would like to know if anyone knows how I can create a database of a file system on my computer. so I can choose this data base to search for files on this file system efficiently. I ask this ...
3
votes
1answer
467 views

launching a program from bash causes bash to go to new prompt

When I run a program from the console, e.g. me@box:~$ firefox I expect the console to log error messages (I think this is std out or std err?) and other items from the program, firefox in this ...
1
vote
1answer
80 views

MacOS-style Opening files via console with their default applications

Is there are way to use the MacOS command open to open files with their default applications like e.g. open mytext.pdf or open myprogramm.java. Can Ubuntu be extended in this way?
5
votes
1answer
2k views

Redirect stdout and stderr to separate screens with dual monitors

In ubuntu, How to dedirect stdout and stderr to separate screens with dual monitors?
4
votes
1answer
4k views

Can't change theme of ZSH in Ubuntu 12.04

I have changed the theme in my ~/.zshrc file however whilst some of the colors in the prompt change the text size and background color remain as the Ubuntu default. Any one know how I can override ...
7
votes
1answer
4k views

How can I set and get the tty console font? [duplicate]

1.How can I set the font and size of the TTYs? The command: dpkg-reconfigure console-setup allows me to choose certain fonts/sizes that cannot be installed (an error message appears after the ...
1
vote
0answers
47 views

While during the Upgrade, some Errors occured, is it Problematic? [duplicate]

Possible Duplicate: My system is totally messed up. What is the best course of action? Errors on these - x11-apps, xorg, ubuntu-desktop, bash-completion, console-setup, ubuntu-minimal ...
0
votes
1answer
1k views

How can I setup Ubuntu (and my home network router settings) so I can SSH to Linux console window?

I installed Ubuntu version 11 not too long ago. I now have that computer running on my home network and it has it's own internal IP address on my home network behind a LinkSys Router. How can I ...
3
votes
1answer
7k views

Screen went black

I'm new to Ubuntu.. I'm not sure what just happened, but the screen just went black with the text: Ubuntu 11.10 "my computer name" tty4 and I was asked to log on. It happened when I closed Chrome ...