Questions about using the command-line interface (CLI).

learn more… | top users | synonyms (6)

4
votes
0answers
65 views

How can I change the cursor in vim depending if I'm in insert mode or normal mode?

I'm used to working on GVim, but I want to make most of vim+tmux too. Therefore I have decided to switch to vim. But in vim the cursor style does not change depending on the mode. I use zsh and ...
3
votes
0answers
39 views

How to quickly get the reason for the most recent update of a package from the command-line?

Is there a command-line command I can run to quickly determine the reason for a package update? Ideally, a command that dumps a set of URLs to all of the relevant information. For example (it's a ...
3
votes
0answers
23 views

Can't change gedit preferences and terminal preferences don't save

I'm new to Ubuntu and Linux in general. I've just started using it for one of my college courses and instead of having all of us install Linux on our machines they had us install a virtual machine ...
3
votes
0answers
42 views

Redirect 'complete' in bash functions and alias

tl;dr: Is there a way to use an existing auto completion function to also auto complete arguments to an alias or short function. Auto completion in bash is great but does not mix well with aliases ...
3
votes
0answers
36 views

How can I run a local command (to run a script) on (just before) log out of a Unity session?

At the risk of posting a duplicate question: How can I run a local script (as the current user) when I log out? I read (and tried) among others: This one (Marton's version), which did perfectly ...
3
votes
0answers
28 views

Why doesn't gsettings work in tmux?

I'm trying to change various dconf settings with gsettings. For some reason, it only works when I'm not in tmux. I can read settings within tmux, but setting them fails silently - it appears to work, ...
3
votes
0answers
67 views

Terminator not opening and giving following error

Recently, I have installed zsh shell. After that I tried to open terminator software then it was crashing and giving following error: Also, after installation of zsh, I have set the default login ...
3
votes
0answers
50 views

Software GUI does not run locally but works if using SSH with X forwarding?

The software I am trying to use is QualNet EDU 7.3. The GUI executable is located at ~/Scalable/qualnet-edu/7.3/bin/QualNetGUI. My Ubuntu is 14.04 LTS, using Linux kernel 3.13.0-44-generic. If I ...
2
votes
0answers
21 views

Having trouble opening images in Ubuntu command line

When I'm trying to open an image in Ubuntu command line using the command eog filename.jpg, I get an error reading Cannot open display: Could someone please advise what else I need to run before ...
2
votes
0answers
25 views

Why ubuntu does not recognize Tex version 2015

I downloaded and installed Tex Live 2015. Under /usr/local/texlive/2015. I updated also my path as follows: ...
2
votes
0answers
43 views

Must manually restart lightdm to have it appear

I recently did an Ubuntu command-line install on my work laptop, then install Mate (core) and lightdm. I have an Intel graphics driver. When I turn on my computer, it boots to a black screen. Pressing ...
2
votes
0answers
50 views

Remove all non-exixtant repositories in ubuntu

How do I remove all repositories which don’t exist for one reason or another? I am wondering if there is a command to do this, so that I can remove all such repositories at once. I am running Ubuntu ...
2
votes
0answers
56 views

Desktop configuration file cannot launch Android Studio

I did not want to launch Android Studio from terminal, so I wrote the following android-studio.desktop file [Desktop Entry] Version=1.0 Type=Application Name=Android Studio Exec=sh ...
2
votes
0answers
21 views

Update impossible.Blocks at renewing Mysql pack. Cant rmve msql

I try to update. The update stucks at E: dpkg was interrupted, you must manually run 'sudo dpkg --configure -a' to correct the problem. I do the sudo dpkg thing and it stops at: Setting up ...
2
votes
0answers
25 views

VM Shared Folder

I am trying to use Ubuntu in a virtual machine on my windows computer. I am trying to set up a shared folder. When I put in the command sudo adduser carl vboxsf in terminal it asks for my password. ...
2
votes
0answers
86 views

how to launch apps hidden from the launcher or panel

How do I launch an app in such a way that it does not show up in / is hidden from / skips the panel or unity launcher or xfce panel or kde panel etc? Apps like "stormcloud " weather app are a good ...
2
votes
0answers
198 views

Gnome Shell Viber icon doesn't show up but it's “there” without an icon

In Ubuntu 15.04 using Gnome Shell, the Viber 4.2.2 icon disappears both using native indicator bar and the topicon extension.
2
votes
0answers
305 views

System freezes during Bash auto-completion with Tab or Ctrl+R

It started about a week ago, don't know why. Now, when I type something like cd somedir and click Tab, my system completely freezes for about 10 seconds. I can move the cursor but can't switch between ...
2
votes
0answers
126 views

'sudo poweroff' in Terminal turns screen of but does nothing else

I have found that recently when I execute the command: sudo poweroff In the GUI Terminal app that what actually happens is that my screen fully turns off, but my machine does not. It just sits ...
2
votes
0answers
187 views

Why doesn't my terminal display this character?

I like to run emacs in terminal, which is rxvt-unicode-256color. In the terminal my /etc/i3status.conf displays this: However, when I run emacs outside of my terminal the same file is displayed ...
2
votes
0answers
99 views

IpProtocols firefox add-on with gnome-terminal and multiple tabs

I want to use Firefox with IpProtocols 0.2.3 to launch telnet sessions from browser. It is working well for me with xterm terminal emulator, but i wish to use multiple tabs. Now I try to use ...
2
votes
0answers
78 views

Can not run without x-server running. No terminals

I'm having problems with my nvidia configuration so I decided to shut down X, re-generate the xorg.conf file and give that a go. I log out and at the login screen I hold Alt + Ctrl + F1 to go to the ...
2
votes
0answers
104 views

Image manager (picasa like)

I'm trying to find an image viewer/manager which should have two main features: Its fast in displaying/load images. gpicview is fair good at this task but doesn't have the second point... I need a ...
2
votes
0answers
107 views

Editing sudo permissions with strange instructions

Hello I am using Ubuntu and trying to install Chromium OS. They recommend using Ubuntu, but when working through their Quick Start guide I ran these commands from the "Prerequisites" step 3: cd /tmp ...
2
votes
0answers
56 views

Termial not accepting options

I'm using Ubuntu 14.10, and for some reason the terminal command will not accept options. (I believe these are called option, please correct me if I am wrong). For example, when installing a new ...
2
votes
0answers
124 views

Vim does not load colorscheme from .vimrc when started from tmux

I got a very simple startup script, that starts a gnome-terminal with a running tmux session. #!/usr/bin/env bash gnome-terminal -e "tmux" --window --full-screen When I run vim inside this ...
2
votes
0answers
186 views

Ubuntu 14 command line printing impossible but fine through gui

If I try to command line print any file using lp or lpr, I get a "no pages found" error in CUPS. Tried also as SUDO, no go. But if I print from any application (text editor etc) it prints no problem. ...
2
votes
0answers
362 views

vim showing weird characters on screen in terminal

So I just installed ubuntu on my Netbook and switched to the openbox window manager. When I open up VIM in a terminal and hit j when I am at the top of the file or hit k from the bottom of the file, ...
2
votes
0answers
133 views

Running CLI/terminal programs as entirely separate program (i.e not as an instance of Urxvt with -e toggle?)

I'm currently running Openbox as WM, with Urxvt as terminal emulator, and zsh as shell. I use Mutt for emailing, Ranger for files, Cortex for redditing, Newsbeuter for RSSing. All of these programs ...
2
votes
0answers
226 views

Zip is corrupted, unpacks on Mac but not on Ubuntu

I have a zip file that is indeed corrupted. It contains one file that is fine, and a second that is 0bytes and corrupted. But when I unpack it on my Mac (double click in finder), it does unpack and ...
2
votes
0answers
105 views

Non-X/Non-GUI terminal emulator for Ubuntu Server

I have a computer running Ubuntu Server (non-X/non-GUI), I need a terminal emulator which has VT100/VT320 capabilities like Gnome-Term and xTerm do on my other (GUI) Ubuntu box. tMux and GNU Screen ...
2
votes
0answers
405 views

how to use axel download manager with proxy?

How to use axel download manager with proxy?? example host: 100.100.100.100 , port:8080, username: admin, password: admin2
2
votes
0answers
309 views

embedded terminal into desktop with devilspie!

I tried to embed a terminal to my desktop using devilspie. My problem is the borders of terminal! what can I do? The screenshot is that; This is the start up command gnome-terminal ...
2
votes
0answers
219 views

Ubuntu server 14.04 quotations marks display wrong

When ever the character ' is displayed in my terminal it displays as â. I have never had this with the previous versions of Ubuntu. For example: rm: cannot remove â/etc/init.d/novncâ: No such file ...
2
votes
0answers
726 views

SSH update to 14.04: The disk drive for / is not ready yet or not present

I am not able to restart my Ubuntu server after upgrade from 13 to 14.04. What can I do to make things work again? I tried to upgrade my server over ssh to ubuntu 14.04. When the installation ...
2
votes
0answers
2k views

Openssl - SHA256 (Base-64) using command line

I have to add hash total of a string to a file. Hash total is SHA-256 (Base-64). String stream would be as below: Transaction Type|External System Reference Number|Original External System ...
2
votes
0answers
321 views

Rip a DVD title with IFO and BUP files from the command line

Like the title says, I would like to rip a DVD title with IFO and BUP files from the command line. I have tried several programs with varying results. Using dvdbackup: dvdbackup -i imagefile.img ...
2
votes
0answers
58 views

who / w / logname broken in multiple terminals

I have a strange problem: In a GUI session, depending on the terminal being used the following two (related) problems appear: who and w doesn't list the user's active session logname returns ...
2
votes
0answers
370 views

after ssh session : -bash: /bin/ls: no such file or directory

I've logged into my Ubuntu server from work via putty under Windows. Right away I noticed something weird. I could not use the ls command. Got: -bash: /bin/ls: no such file or directory I didn't pay ...
2
votes
0answers
107 views

remap Caps_Lock to Esc and Control without X11

I want to remap my Caps_Lock key to be Esc when pressed by itself, or Ctrl when pressed with another key. Here's the twist: I want to do it without X11. I found this answer which says "write a ...
2
votes
0answers
1k views

Can cd into folder but I can't see it with ls or ls -a?

I've a shared partition between Windows and Ubuntu, achieved through VMWare's shared folders, and when I moved a folder into this shared folder Ubuntu couldn't see it. Ubuntu still can't see it, but ...
2
votes
0answers
215 views

Missing Unity Desktop /w SLiM Login Manager

Not too long ago I installed SLiM (Simple Login Manager) as my Login Manager for Ubuntu 13.04 just to give it a try out to replace the default Ubuntu Login Manager. After getting SLiM successfully ...
2
votes
0answers
349 views

Install java on a wine in a linux terminal server

I have a Windows terminal process (which requires Java). I need to run this in a Linux terminal server (it's an Amazon EC2 instance). I installed Wine, but now I need to install Java. When I try to ...
2
votes
0answers
1k views

Get binary delta-encoded recursive diff of two directories as single patch file in CLI (and online use)

Essentially, I am looking for a GNU/Linux tool, that could recursively iterate through two directories, find file changes/additions/deletions; and for all changed files, output a diff. This can ...
2
votes
0answers
135 views

call a modem using ubuntu and a iphone

I'm having a pc with ubuntu, and want to call a machine with a modem on it. The things I have in my work is the following, my pc with ubuntu, my iphone. Is it possible to call ( in this case a ...
2
votes
0answers
803 views

How can I play media/video files via UPnP/DLNA from command line (DMC/DMP)

I am looking for something like gupnp-av-cp (or any other UPnP capable program/player/conntroller), but from the command line. I would like to pass it a renderer and the URI of the file/resource. It ...
2
votes
0answers
421 views

Terminal error: i2c i2c-0 sendbytes error -110

I am currently using a clean installation of Ubuntu Server 12.04 AMD64 and I keep getting errors popping up saying: [ xxx.xxxx ] i2c i2c-0: sendbytes: error -110 where x is the seconds the ...
2
votes
0answers
330 views

How to switch between nautilus window and (gnome-)terminal

I need a fast possibility to switch between a nautilus window and a (gnome-terminal) in the same working directory. At the moment I'm using the following setup: nautilus -> terminal: ...
2
votes
0answers
185 views

Why is Cinnamon blocking function keys? F1-12 aren't getting to the terminal

I map the function keys in vim to modify a ton of stuff, from syntax line numbering to autoindenting to changing the tab width and syntax highlighting. Unity was a major problem here because if I ...
2
votes
0answers
1k views

wget to get files from external host

I'm trying to use wget to download all mp3 files linked to from a list of input URLs, but residing on an external host. The input URLs are contained in the file input.txt Each URL listed in input.txt ...