Ubuntu is a Linux distribution with an emphasis on ease of use and installation. Note that http://askubuntu.com is specifically dedicated to Ubuntu questions.

learn more… | top users | synonyms (1)

1
vote
1answer
32 views

How to pass array variable to function and solve out the no command found error

I'm new in this so please anyone can help me to figure out this problem, I've write all code but when i run this command in shell by using ./work.sh host.txt here host is a text file from where we'll ...
1
vote
1answer
197 views

How to make the DRM-protected video stream of Amazon Video run on Debian Jessie?

I want to use Amazon Video on Debian Jessie but can't manage it to run. I have the following hardware setup: CPU: 2 cores at 3 GHz (Intel Core 2 Duo E8400) RAM: 6 GB RAM GPU: NVIDIA GeForce GTX ...
1
vote
0answers
86 views

Installing a dual boot environment of Ubuntu 14.04.3 LTS and Windows 7

While installing Ubuntu "along side" my current Windows 7 OS, from a USB drive, all went well until "Allocating Drive Space". I used the default allocations of Windows Recovery Environment: 11.3 GB ...
2
votes
1answer
1k views

`ERROR: Failed to build gem native extension` while trying to install compass

I am using Ubuntu 14.04 I tried this command sudo gem install compass and it gave me this error: Fetching: multi_json-1.11.2.gem (100%) Fetching: compass-core-1.0.3.gem (100%) Fetching: ...
1
vote
1answer
3k views

Sudden crash and black screen in Ubuntu, possible overheating

I recently installed Ubuntu 13.10 64 bit (dual boot with Win 7) on my desktop PC, but every once in a while the screen turns off suddenly, the fans slow down, and the system appears to crash. I can't ...
2
votes
0answers
44 views

How to share common configurations amongst Nginx server blocks?

Hosting multiple sites with the same Nginx, and a lot of them share common configurations. Such as protection against POODLE and even entire sets of redirects. I tried using the include directive but ...
2
votes
0answers
145 views

Installing Expect and TCL

I downloaded the source for expect5.45, and am attempting to install it. tclsh is on the system at /usr/bin/tclsh, but I'm not sure if that means the machine also has "tcl" installed? The ...
1
vote
1answer
32 views

Expanding Linux Partition

I am running ubuntu 14 on my laptop, the laptop is normally windows 8 but it is dual booted with ubuntu. My ubuntu partition is 50gb and I know that I have 500gb free space which is wasted on my ...
2
votes
0answers
23 views

How to implement progress bar as Application Indicator?

does unity-panel support panel applets, similar to DBus-based panel applets of gnome and mate? I know about ApplicationIndicators specification, but they are associated with square icons for me. Is ...
4
votes
2answers
2k views

How can I make the screen black and white?

This is basically to transform the screen (of a laptop), into a black and white screen. I am using Ubuntu 13.04.
2
votes
3answers
190 views

check if java process is running and re-run if it is not running

On ubuntu 15.04, I am running java app through vnc sessions. I have 8 defined sessions that are started during system boot. My question is, how do I create a script that checks to see if the process ...
2
votes
2answers
72 views

Ubuntu 14 - nouveau error

I use ubuntu 14. About three days ago computer started hanging when I work - I even can't move mouse, so I press power button to restart the computer. It happens about 1-7 times an hour. For example I ...
3
votes
1answer
79 views

Auto sudoers entry on ssh login by a non-sudo user

This problem I am facing in Gcloud VM (ubuntu 14.04 image). As a admin user, if I create another user say UserNew without giving sudo privilage to him. sudo adduser UserNew I carefully checked ...
17
votes
3answers
15k views

Overflow /tmp mounted when there is free space on /

I recently faced an "overflow" issue on /tmp. I don't have a separate /tmp partition, and there is 17% free in / – then why did I get an overflow tmp filesystem? # /etc/fstab: static file ...
1
vote
1answer
278 views

Ubuntu 14.04 built in webcam not being detected

Hello I am running Ubuntu 14.04 and my webcam is not recognized. It used to work fine but recently it is not working. I got my screen replaced by dell and also the motherboard and heatsinks for a ...
0
votes
0answers
282 views

IDS uEye camera stream

I am using an IDS uEye XS USB camera (https://en.ids-imaging.com/store/produkte/kameras/usb-2-0-kameras/ueye-xs.html) and my problem is that according to the sdk description it does not have V4L or ...
2
votes
1answer
205 views

Linux ignoring multicast route over loopback

I'm trying to test some multicast code on a single machine. I'm trying to get the packets sent over the loopback device (lo) instead of the default eth1. Googling keeps turning up the incantation ...
0
votes
1answer
119 views

Ubuntu 14.04 Brightness level problem

I know we had a lots of questions about that problem but none worked for me. I have a dual boot with Windows 10 and Ubuntu 14.04 but cannot change the brightness level just when I use Linux. The only ...
1
vote
1answer
126 views

Ubuntu 15.10 mini iso preseed not reccognized

I downloaded an Ubuntu mini iso from the Ubuntu website and want to do a fully automated install. I created a preseed file(preseed) I created an image with this file in the iso. When i try to start ...
1
vote
0answers
108 views

How to Install redshift plasmoid?

Using Ubuntu 15.10 I am trying to follow the instructions here to install the redshift plasmoid GUI, and cannot find the redshift root directory, does anyone know where this should be located? I've ...
4
votes
1answer
5k views

Why am I getting apparmor error messages in the syslog about NTP and LDAP?

On my newly installed Ubuntu 12.04 machine, with ntp and slapd installed, the following messages appear in /var/log/syslog at regular intervals: Feb 23 18:54:07 my-host kernel: [ 24.610703] ...
1
vote
1answer
660 views

Grub2 lost in new Linux distro install

So, I really need some help. Recently I was using a dual boot machine on the same hard drive. I had Windows 8.1 and Ubuntu GNOME 14.04. When I installed Ubuntu on top of my Windows install, I didn't ...
2
votes
5answers
3k views

Unable to download youtube video

I don't know what happened now but I'm unable to download any youtube video. Earlier it was working properly. I'm working on Ubuntu 13.04 ravbholua@ravbholua-Aspire-5315:~$ youtube-dl ...
0
votes
2answers
123 views

Is there a way to free memory? [duplicate]

I remember, back from my days with Windows Vista/7, that there was a tool called memclear or memclean that would free some memory by invoking the NT garbage collection API. Probably it cleared cache ...
1
vote
0answers
67 views

Having trouble updating my firmware “Error processing Archive”

On Ubuntu OS sudo apt-get upgrade Reading package lists... Done Building dependency tree Reading state information... Done Calculating upgrade... Done The following packages will be ...
1
vote
2answers
44 views

send message to log file after package installed

How can i send a message to a log file (not the apt log) after the installation of a package. I simple want to log which package (package name) was installed. ie. "links installed successfully"
1
vote
0answers
53 views

Proxy Filtering with Squid

I am currently faced with a situation where i would like to deploy a proxy server on amazon EC2 running on Ubuntu. What i am trying to achieve is to have Wifi users in each site have their traffic ...
12
votes
6answers
8k views

Screen turns on automatically (xset dpms force off)

I am using xset dpms force off to manually turn my screen off to save power. However, it turns back on after some time (20 - 40 seconds). Distro: Ubuntu-Lucid Graphics: Intel 4500 MHD ...
0
votes
1answer
211 views

Mouse Pointer Blinks and Sometimes Disappears

I am using Ubuntu 14.04LTS with dual Monitor. I am unable to figure out the problem occurring with the mouse pointer. The mouse pointer blinks and at times it disappears. Any help is appreciated ...
1
vote
1answer
28 views

Basic Hosting Postgresql in Virtualbox + Ubuntu 14.04

I have configured Postgres to accept network connections from anywhere: In pg_hga.conf: host all all 0.0.0.0/0 md5 In postgresql.conf: listen_addresses = ...
2
votes
0answers
30 views

Software for adjusting the velocity curve of a MIDI controller

I use my yamaha clp330 digital piano as a midi controller. The problem is that the volume of the sound is too low when I play on the piano. But using software controllers the sound is normal. So it ...
0
votes
0answers
90 views

Fglrx-updates refuses to replace Gallium on Mint 17.2

I installed fglrx-updates on a fresh install of Mint 17.2 via this guide for Ubuntu 14.04. When I type in $ fglrxinfo display: :0 screen: 0 OpenGL vendor string: X.Org OpenGL renderer string: ...
0
votes
1answer
200 views

Can't access flash drive on kali

I have flash drive but it can not be detect on kali and ubuntu. Windows can detect it but can't format it. Even in gparted it isn't listed. I refresh devices on gparted and get a warning: Libparted ...
1
vote
1answer
46 views

copying and working on OSX .app files (folders) in linux

tldr; I want to run a script over an external hard drive and tar.gz every folder that ends with .app into their own archive. That is, I don't want them all in one tar.gz file, I want to create one ...
1
vote
2answers
369 views

Wi-Fi working on and off, mostly off on a HP laptop - take two

I have a HP laptop with Intel Centrino 2230 N card. The system is Xubuntu 13. Wi-Fi works on and off. When it's down, it still connects to the network and obtains an IP address, but ping to the ...
18
votes
6answers
37k views

keyserver timed out when trying to add a GPG public key

I am trying to add a public key for installing a program with CPG. But i am pretty new to this but every command i found gave me the same error: gpg --keyserver keyserver.ubuntu.com --recv-keys ...
1
vote
2answers
7k views

How to install AMD Catalyst 15.9 on Ubuntu 15.10?

today I tried to install the fglrx-updates package from the repositories of Ubuntu 15.10, but after rebooting my computer, did not start the display manager. It is assumed that the driver has patches ...
8
votes
2answers
2k views

Difference between /run and /var/run

Is there any difference between /run directory and var/run directory. It seems the latter is a link to the former. If the contents are one and the same what is the need for two directories?
0
votes
2answers
1k views

keep script running while screen is locked for a long time

I have a script that is running on my computer. The script is written in PHP under my XAMP server. It actually is reading some files from a remote FTP server and after processing them writes them back ...
1
vote
1answer
29 views

Difference lubuntu openbox-session: Asked because of aplication error

I am trying to run a packaged Electron application at startup to create a "kiosk" system.When i use it in a fresh install of Lubuntu all seems to work fine. When i install openbox and slim on Ubuntu ...
1
vote
0answers
42 views

Ubuntu remaster creates too small ISOs

I am trying to use respin which is a fork of remastersys to create a livecd of an Ubuntu installation on my virtualbox VM. respin creates a folder called ISOLinux, dummyfs and custom.iso The problem ...
1
vote
1answer
141 views

Does linux mint use the ubuntu repos or their own repos? [duplicate]

I prefer the cinnamon desktop included with Linux Mint but there are some applications that I require that are in the ubuntu repos. Does linux mint use the ubuntu repos or their own repos? I know ...
13
votes
4answers
11k views

How to get rid of the “scanning for btrfs file systems” at start-up?

After upgrading from Ubuntu 12.04 to Ubuntu 12.10, I get a message "scanning for btrfs file systems" at starting-up. I don't have any BTRFS filesystem. It delays the booting for about 15 seconds. How ...
1
vote
1answer
80 views

How to restore ubuntu Linux to the default factory state/settings

Hello I was wondering if Linux (Ubuntu) has a way of restoring the system if something goes wrong like a Microcomputer software Windows Personal Computer.
5
votes
1answer
155 views

What is the purpose of listing the rootfs in /etc/fstab?

In BuildRoot 2015.08.1 /etc/fstab contains the following line. /dev/root / ext2 rw,noauto 0 1 On my encrypted Ubuntu laptop /etc/fstab contains the following line. /dev/mapper/ubuntu--vg-root / ...
1
vote
2answers
101 views

Ethernet with DHCP not working

I'm trying to get internet on my beaglebone black with ubuntu, but it won't work. My /etc/network/interfaces file has: auto eth0 iface eth0 inet dhcp in it. Should I use static IP or something? ...
1
vote
1answer
163 views

pulseaudio-equalizer keeps resetting at startup

Every time I start my laptop, pulseaudio-equalizer it's enabled. Even when I disable it (inside the app there's a button to disable it). How can I avoid that? Moreover, something is resetting my ...
29
votes
2answers
11k views

Run script on screen lock/unlock

I'd like to run a screen if the Gnome session is locked and unlocked. Is there a way that I can intercept this and perform certain actions when the desktop is locked or unlocked?
0
votes
0answers
15 views

Error: “failed to connect to lvmetad” in Ubuntu 15.10 [duplicate]

My computer has a error that is preventing it from booting to the desktop. The error message is Warning failed to connect to lvmetad no such file or directory falling back to internal scanning ...
1
vote
0answers
73 views

unable to open primary document entity

I'm new at Ubuntu please anyone can help me to figure out this problem? Whenever i run this command 7z x -so SwissProt.xml.7z | xqilla -i /dev/stdin q.xq It displays error "unable to open primary ...