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

learn more… | top users | synonyms (6)

4
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 ...
3
votes
0answers
18 views

How to re-create the x-terminal-emulator alternative?

I've just installed Ubuntu Gnome 16.04 and while tryng to add "terminix" as the default terminal emulator I've messed up really bad the x-terminal-emulator alternative, totally my fault! I'd enter ...
3
votes
0answers
33 views

GUI vs Terminal Launch: Different look of applications

I'm using Kubuntu 16.04. When I launch gparted from GUI it looks like an "old windows 95" (or something like that) application, but when I type sudo gparted it has this Kubuntu look. I saw ...
3
votes
0answers
36 views

How to find the last valid information possibly spread over several log files

I have a fleet of busses that send me a monitoring log file every morning regarding the status of the vehicle the previous day. The log updates various information every 5 minutes. Among the data ...
3
votes
0answers
80 views

Bash Script Works On Command Line but not at startup

Let me ask this another way: There are at least (2) ways to have a bash script called automatically when a user connects to OpenVPN: Placing the script in the /etc/network/if-up.d folder Renaming ...
3
votes
0answers
205 views

Slow startup and shutdown after upgrading ubuntu from 14.04 to 16.04

yesterday from terminal I've upgraded ubuntu 14.04 to 16.04 from terminal. All is gone well but now there is a really slow start up and also on shutdown, like over than a minute! Can something went ...
3
votes
0answers
29 views

How to resolve conflict between two aplay running at the same time

I use a lots of sounds in my shell-scripts, so it's not rare, when two or more scripts begin a conflict for audio channel. If one of my script already play sound and the other wants too, than it will ...
3
votes
0answers
83 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
151 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
68 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 ...
3
votes
0answers
68 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
44 views

ALSA Keeps Throwing Me Errors, really Frustrating

The Situation So my sound cards aren't totally fried, and everything works fine, it's just annoying when working with python scripts and Speech Recognition for Python. This being the result of my ...
2
votes
0answers
40 views

Burg installing

I tried installing Burg to make my dual boot look better. So, I followed these instructions up to the part where it says: "BURG found! Do you want to configure BURG instead of grub2?, click Yes.". ...
2
votes
0answers
41 views

Log in as other user having GUI capability

Using Ubuntu 14.04 with Unity. I log in with my usual user (admin) in graphic environment. Once logged, I'd like to run GUI-commands like if I were another user (normal), to test a client-server ...
2
votes
0answers
56 views

How do I add commands to the Ubuntu touch terminal app

When you first run the terminal app in Ubuntu touch you get this menu above the keyboard where you can choose between nano, fns, cmd, ctr, scr. Can I add my own? Like vi commands or screen commands. ...
2
votes
0answers
75 views

terminal access and swap issue on lubuntu 16.04 install on HP mini 1000

My goal is to install an encrypted Lubuntu partition on my HP mini. I am trying to install Lubuntu 16.04 i386 (downloaded direct from ubuntu.com), onto an HP mini 1000 (model 1116NR with 16GB ...
2
votes
0answers
114 views

terminal won't lauch (ubuntu 16.04)

A weird thing happened today: I clicked in terminal icon and it didn't launched, just blinked and disappeared. If I press ctrl+alt+t it won't launch. I tried to launch a light terminal by pressing ...
2
votes
0answers
32 views

How to start several applications with one command to open in a specific workspace?

Since Ubuntu has no options to save and restore desktop sessions on shutdown of the computer, I want to write a shell script which helps to setup a customized workspace on a single command. I've found ...
2
votes
0answers
42 views

Why are image files from pdfimages bigger than the PDFs they came from?

On Ubuntu 16.04, pdfimages -all produces image files whose sum of storage use is greater than the PDF files from which they came. Is there any explanation for this? How can I extract image files ...
2
votes
0answers
30 views

Can one change the output path of cups pdf printer dynamically

One can call lpr to use cups-pdf printer to print a file to pdf, for instance foo.txt lpr -P PDF foo.txt When calling, the printer creates a directory called PDF in the $HOME directory and creates ...
2
votes
0answers
136 views

Why does my computer freeze when I run the command `airmon-ng start wlan0`

Yeah.. Sure bro.. I'll make more clear I think. Why does my computer freeze when I run the command airmon-ng start wlan0? It outputs Found 5 processes that could cause trouble. If airodump-ng,...
2
votes
0answers
40 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: PATH="/usr/local/texlive/2015/bin/x68_64-linux:/usr/local/sbin:/usr/local/bin:/usr/sbin:/...
2
votes
0answers
314 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
69 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 /home/ashraf/...
2
votes
0answers
27 views

Update impossible. Blocks at renewing MySQL pack. Cant remove MySQL

I try to update MySQL but the update gets stuck 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: ...
2
votes
0answers
98 views

virtualenvwrapper creates envs in ~/.virtualenvs? (with questionmark) -> leads to issues

I have installed Ubuntu 14.04 a few weeks ago, and start and learn Python/Django. At the beginning I installed virtualenv and virtualenvwrapper via pip, and worked like a train. Yesterday I messed up ...
2
votes
0answers
90 views

How to select inside curly braces in vim

I use Vim version 7.4. I'd like to sort the first css snippet to the second. 1: html { margin : 0; padding : 0; border : 0; } 2: html { border : 0; margin : 0; padding : ...
2
votes
0answers
125 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
231 views

As root, I can use su to make dconf changes for another user. How do I actually make them apply?

The scenario below assumes we booted up the computer and logged in as the user bort at the login menu. This is on 14.04.2. If I open up a terminal, as the user bort I can list a dconf setting, for ...
2
votes
0answers
522 views

How to run program/application in full screen mode

I am running my program/application from command line like sudo ./MyApp and some of programs I run like sudo ./MyShFile.sh ( in .sh file I just call/run my programs). But I want that my program ...
2
votes
0answers
620 views

hcitool scan does not find my bluetooth device

I have a small device that has a bluetooth chip. I can see it through the GUI System Settings > Bluetooth, when adding and discovering a new bluetooth device nearby, but every time I try this command ...
2
votes
0answers
254 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
543 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
1k views

Having problem with opening softwares from the terminal (including wireshark & gedit)

I am using Ubuntu 14.10 and I am having errors opening softwares from the terminal. For example: build@build:/usr/local/bin$ sudo wireshark gdk_mir_display_open Failed to connect to Mir: Failed to ...
2
votes
0answers
222 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
136 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 gnome-...
2
votes
0answers
149 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 press Alt+Ctrl+F1 to go to the ...
2
votes
0answers
125 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
122 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
64 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
166 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
224 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
475 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
392 views

key word remap enter carriage return vim command line

In my .vimrc file I have :imap ii <CR> which allows me to hit ii for enter/carriage return in vim but now i would like to set that same configuration in my .inputrc so that i can just hit ...
2
votes
0answers
152 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
577 views

A qdbus command error

Why do I get an error with this command in KDE: qdbus org.kde.klipper /klipper getClipboardContents qdbus: could not exec '/usr/lib/x86_64-linux-gnu/qt5/bin/qdbus': No such file or directory ?
2
votes
0answers
259 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 I'...
2
votes
0answers
125 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
517 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
2k views

Black screen when accessing Ubuntu remote host via VNC and vino-server

I have a headless server and I am trying to setup a VNC connection in order to access it with a GUI. Now I have only root access via ssh. I have followed most of the instructions given here Enable ...