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

3
votes
1answer
3k views

Console doesn't show pretty UTF-8 characters in Shell

I want to write some pretty, special characters taken from Web in my Shell Console with echo command. I want to write, for example, ▲ character, but it shows me ��� character. How can I solve the ...
0
votes
0answers
16 views

Console when ubuntu starts up [duplicate]

When I start ubuntu up a purple screen pops up and then disapears again then a window comes up that says that I am running in low graphics mode. I click ok and then all I see is a black console. How ...
0
votes
1answer
234 views

Command line tool file top: ftop?

On RH-epel there is an useful tool ftop to see file top, io and which files are used. Are there an alternative tools in ubuntu??
0
votes
1answer
245 views

Login to command line [duplicate]

It's possible to perform a login ( with lightdm or anything else ) and enter directly in command line mode without enabling any GUI for the user ?
2
votes
1answer
9k views

How to change eclipse console output color?

I am running eclipse on Ubuntu 12.04 and I'd like to change console output color. I tried to edit it via Preferences>Run/Debug>Console>Background color but it doesn't work. Is there some other way to ...
0
votes
1answer
1k views

How do I boot to console with Refind?

I am using Refind to boot into Ubuntu 13.04 on a Macbook Pro (8,2). However, I seem to have messed up my install to the point where Ubuntu no longer boots (I get a flashing underscore but no text ...
6
votes
2answers
7k views

How to enable display of framebuffer images (e.g. in w3m, fbi) within byobu (pts)?

I'm trying to run a minimal Ubuntu 13.10 installation without X Window System on my old laptop. One of the most useful tools I rely on in this setup is byobu; however, it seems to prevent me from ...
1
vote
1answer
210 views

Other backgrounds for tty Concoles?

I have in ~/.bashrc: if [ "$TERM" = "linux" ]; then echo -en "\e]P0232323" #black echo -en "\e]P82B2B2B" #darkgrey echo -en "\e]P1D75F5F" #darkred echo -en "\e]P9E33636" #red echo ...
0
votes
1answer
396 views

How to make ubuntu as the second Operating System

So, I installed Debian (my dad installed it, i dont know, i am just 13), 2 months ago and after that installed Ubuntu (I installed it!!!) alongside debian by re-sizing the partition. Now, the Ubuntu ...
1
vote
0answers
232 views

13.10/SiS 771/671 Consoles (ctrl-alt-f*) aren't working in fallback mode

I'm installing Ubuntu 13.10 in an old computer with a SiS 771/671 video board. It's too old to run Unity, so I had to use fallback mode. The startup and desktop are ok, but when I try to use to the ...
1
vote
1answer
514 views

Read only n first lines from something

When I'm saying something like curl http://example.com/123 and I want to read only n first lines, how do I do that? I know that's something like: curl http://example.com/123 | ???
1
vote
1answer
1k views

How to disable high-res Grub2 and Linux Console?

I am trying to install Ubuntu 12.04.3 LTS (32 bit server) on an embedded computer that uses the Intel N2800 CPU and chipset. I know there is no video driver for this chipset, but I don't care because ...
0
votes
1answer
61 views

cmd login page is not displaying

I have configured Raid 1 and installed Ubuntu 13.04 on my IBM server. After the installation and rebooting, the login screen is not appearing, and it is going to pre-boot analysis page. I don't know ...
1
vote
1answer
220 views

How to have the console echo (confirm) some commands?

I have Ubuntu installed on several machines, and I'd like to replicate the behavior of the console I found on one of them in all my installs (they're all 12.04, 64 and 32 bits). I installed Ubuntu ...
2
votes
2answers
1k views

Ubuntu Server disrgards console-setup when rebooting in VirtualBox

I found this weird behavior. In VirtualBox, Ubuntu Server 12.04 uses this font: I find that hard to read. Now I can run dpkg-reconfigure console-setup fine, and set the font to Fixed, then it looks ...
2
votes
0answers
510 views

How do I turn off the display (DPMS) without X?

I've been trying to switch off the built-in screen of a device I've got, but I can't seem to completely control it without X running. If I run a GUI (I've tried Kubuntu 12.10) and issue the command ...
1
vote
4answers
2k views

What does “Open a console/terminal” mean? [duplicate]

I want to install a file and the instructions say "Open a console/terminal", then "and cd to the location where the installer was downloaded". What does this mean in plain English? It seems one has to ...
0
votes
2answers
34 views

Is Running programs by address common?

I have read some of the things posted here and I keep reading about people running stuff like /foldername/executable -cmd NAME (was reading about a programmer using Eclipse, so he was testing ...
2
votes
1answer
389 views

How to create a shortcut for terminal program on Xubuntu?

What is the analogue for gnome-terminal -e mc on Xubuntu?
2
votes
2answers
13k views

How do I setup two cron jobs to run every night at 3:00 and 3:10?

I have an ubuntu home server running virtual box. I have virtual server running on that box that I am having problems with. For now I don't have time to troubleshoot the actual issue but I have ...
3
votes
1answer
12k views

Can't switch between Console mode and GUI

I'm new to Linux/Ubuntu and experiencing the following problem: I start my computer, and get to the GUI where I can login. When I click Ctrl+Alt+F1 I will get to the first of the consoles, everything ...
14
votes
4answers
79k 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
6k 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
520 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 ...
8
votes
10answers
66k 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
162 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
1k 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
153 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
593 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 ...
18
votes
3answers
20k 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 don'...
1
vote
1answer
335 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 didn'...
1
vote
2answers
790 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 ...
2
votes
4answers
4k 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
594 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 term=gnome-...
2
votes
2answers
707 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
555 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
252 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
150 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
1k 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
266 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
236 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
479 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 ...