Questions about using the command-line interface in Ubuntu.

learn more… | top users | synonyms

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
507 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
583 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
491 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
97 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
225 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
133 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
982 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
797 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
248 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
227 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
2k 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
359 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
242 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
65k 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
976 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
490 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
553 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
690 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
423 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
574 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
82 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
431 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
79 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?
4
votes
1answer
1k 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
3k 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
3k 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
5k 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 ...
1
vote
2answers
858 views

Why do people use console-based file managers? [closed]

To keep this question specific and on-topic, let me preface this by stating my intent is not to go into pros and cons of using one type of file manager over another. However, it is clear a ...
1
vote
2answers
2k views

How do I enable 132x50 text mode for console instead of 80x25?

What parameters do I have to set in /etc/default/grub in order to boot by default in 132x50 and verbose.
0
votes
2answers
2k views

How to start application from command line without blocking but move the focus on it?

I am trying to start a file compare application from the console by runnning bcompare ... & but this will start the application without activating it (focus). Is there a way to start it and ...
11
votes
3answers
10k views

Debugging: Console Output and Upstart Scripts

How do you send the output of an upstart script to a terminal so to find tracebacks in python code? It's taking me for ever to do things without trace-backs that used to take just a second. I'm ...
5
votes
1answer
3k views

Starting awesome-wm when using startx?

I uninstalled gnome-session-fallback and gdm, when I start the machine, it boots in console mode. I can log in normally. Using startx starts up the remnants of GNOME that are still on my machine (a ...
9
votes
2answers
9k views

What is the bash equivalent of DOS's pause command?

I need a pause on a shell script to show a warning before continuing. For instance, on DOS it goes like this: doit.bat: [...] echo 'Are you sure? Press Ctrl-C to abort, enter to continue.' pause ...
1
vote
3answers
2k views

Special symbols are not displayed on TTY

I have a console application which is displaying special symbols like ☢ ☍ ⌘ ✰ ⣿ ⚡ ☯ ⚑ ↺ ⤴ ⤵ No matter where - putty(UTF8+Use Unicode line drawing, but I guess it's not client issue), local ...
0
votes
1answer
740 views

How to remove console-tools completely?

After removing console-tools using apt-get --purge remove console-tools I am getting the following error during boot init: Failed to spawn console-setup main process: unable to execute: No such ...
54
votes
5answers
96k views

Running programs in the background from terminal

How do I run a program in the background of a shell, with the ability to close the shell while leaving the program running? Lets say my UI is having problems or for some reason, I need to boot up a ...
1
vote
0answers
464 views

How to set console resolution of Ubuntu server 10.04.03 LTS running on ESXi5 / vSphere client console [closed]

After searching the Internet for similar problem or even a solution, I have to post my question here in hope that somebody had the same problem and solved it. My scenario: ESXi5.0 server with Ubuntu ...
3
votes
2answers
312 views

alt-tab completion while using SSH

I just recently discovered that pressing alt-tab on a console window allows me to autocomplete from the last commands and parameters I used. Very useful! But when using SSH from Windows this feature ...
0
votes
1answer
169 views

Using a custom list for autocompletion (e.g., a list of files)

what I would like to do is when I write inside on console a command, for example. ls file1.txt folder1 folder2 then I write cd (I hit some magic shortcut and I can access using down ...
7
votes
2answers
3k views

Is possible to run the jsc (JavaScriptCore) utility from the command line in Ubuntu, like in OSX?

In OSX there is a hidden utility called jsc, part of WebKit, that can be used to run JavaScript code on the command line. It can be used as a JavaScript console, like irb for Ruby. I have the ...
1
vote
2answers
628 views

How shutdown the computer from console with option to cancel?

I want close the gnome session and shutdown the computer when the downloads finish but I want to show the shutdown window to can cancel it in some cases. I use: gnome-session-quit --power-off --force ...