Greatest Hits

20
votes
7answers
82k views

Grub does not show a Windows 8 option after dual boot

So, I've successfully dual-booted my Windows 8 machine with Ubuntu 12.04 . However, I still don't have a convenient method of choosing what OS to load at boot time. After installing Ubuntu, my ...
3
votes
3answers
46k views

The following packages have unmet dependencies!

I am writing this because I am very confused about installing postgresql 9.3 on mine Ubuntu 14.04. First I need it for mine Python/Django development, and I ran in to the problem, when i tried to ...
23
votes
2answers
48k views

Why don't I have a password for “su”? Problems with “sudo”

I have installed Ubuntu using the GUI, giving myself a password and everything. I do not intricately remember the process. However, what worries me is that I don't know the following password: $ su ...
82
17
votes
6answers
51k views

How to avoid prompt password for sudo?

I know I can go root (super user) via the su command but I have to authorize it after firing the commands. Is there a way I can go root and authorize (with password) in one line
9
votes
4answers
46k views

Changing colour of text and background of terminal?

I can change the colour through preference , but how can I change the background colour and text colour of terminal through the command line?
9
votes
3answers
50k views

permission denied for root@localhost for ssh connection

I just installed Ubuntu 14.04 and LAMP on that. Then, I wanted to configure my server, so tried out This tutorial. When I give the command: ssh root@localhost I get : Permission denied, please try ...
23
votes
5answers
97k views

How to make hdd's mount at startup in ubuntu 12.04

How do you make HDDs and partitions mount at startup with the ubuntu system? I always keep my media and data files on separate partitions - one 2tb HDD and a 400 odd gig partition. I have been ...
13
votes
6answers
54k views

Why Apache virtual hosts on Ubuntu 14.04 is not working?

I installed Apache 2.4 on Ubuntu 14.04 and it was working fine by http://localhost/ address. But when I tried to add a new virtual host, for example http://bow.loc and restart apache, new address was ...
29
votes
3answers
74k views

How can I install Qt 5.x on 12.04 LTS?

If you want to develop with QML 2.0 and Qt5, the base packages don't seem to exist in repository for 12.04. What PPA should I add? Is it a binary installer? a compile the toolkit yourself? Those ...
8
votes
6answers
66k views

how to correctly install apache2, php5, mysql and phpmyadmin

What is the most correct method of installing apache 2 server, php5, mysql and phpMyAdmin? I installed it this week, and I had a lot problems without solutions, so now that I reinstalled Ubuntu 13.04 ...
6
votes
5answers
77k views

How to run mysql command from terminal?

I have the following sql command which I usually run in phpmyadmin by selecting the database, then running it in the command window. DELETE FROM `wp_posts` WHERE `post_type` = "attachment" However ...
34
votes
3answers
113k views

How do I enable the “multiverse” repository?

I keep seeing places refer to the "multiverse" repository as a place I can get software, how can I enable this repository? Please specify how to do this graphically and via command line.
12
votes
4answers
56k views

Resolution doesn't change when resizing Virtualbox window

I've installed Ubuntu 64bit on Virtualbox 4.2.16. Guest Additions were installed in Ubuntu as well. However the display resolution of Ubuntu does not seem to change as the Virtualbox window is ...
34
votes
4answers
37k views

Why doesn't running “sudo shutdown now” shutdown?

When I issue the following: sudo shutdown now ..my newly commissioned Ubuntu 14.04 server doesn't shutdown. It stops with the following message: * Stopping System V runlevel compatibility Give ...
26
votes
3answers
47k views

How do I change the color for directories with ls in the console?

On my console the color for directories is such a blue, that it is hard to read on a dark background. How can I change the color definitions for ls?
19
votes
7answers
100k views

Get rid of 0.5s latency when playing audio over Bluetooth with A2DP

As described in the title I experience a half a second delay when playing audio over Bluetooth with A2DP. This makes watching movies not possible as the sound is not synchronised with the video. I'm ...
13
votes
4answers
56k views

Where can I find more Unity themes?

This might already be answered, but I can't find it. I am getting a bit bored of the traditional purple feel of unity and I would like something new. Where can I find more Unity themes? I have ...
37
votes
6answers
51k views

How to update maven 3.0.4 - 3.1.1

First of all am new to Ubuntu as well as Maven. Does anyone know how to update maven. My current version of maven is 3.0.4. I would like to update it to 3.1.1 which is the latest version. I tried ...
12
votes
4answers
58k views

Ubuntu 14.04 multi touch screen support

Just installed 14.04. It seems to be converting all my screen touch gestures to mouse gestures. And it only supports one point touch. It is supposed to support ten touch points (tested with windows ...
19
votes
3answers
86k views

How to fix 3D Acceleration for Vmware Workstation 9?

I have recently installed Vmware workstation 9 on Ubuntu 12.04 & i have migrated my VM's from windows to Ubuntu 12.04 . Now i am getting openGL error & it says no 3D acceleration as shown in ...
29
votes
4answers
61k views

What is the meaning of 'i686' in Ubuntu?

To check whether I am using 32bit or 64bit Ubuntu. I looked in How do I check if I have a 32-bit or a 64-bit OS? and found this answer uname -a. If it is shown as i386, it will be 32bit and amd64, it ...
47
8
votes
2answers
8k views

Steam won't open in Ubuntu 15.10

Been trying over and over, but nothing happens. Tried reinstalling Steam along with Ubuntu but that didn't do anything either. Tried other forums with helpful tips but no good. I'm running out of ...
84
votes
5answers
69k views

How can I check the available version of a package in the repositories?

How can I check the version of the available package in the Ubuntu repositories without installing it?
16
votes
2answers
82k views

How do I mount my Android phone?

I'm puzzled because my phone used to just appear when I plugged it in. It doesn't anymore and The development options are definitely set to allow USB debugging. The phone is charging via USB but ...
85
votes
7answers
93k views

Simple image editor?

I want something similar to "preview" in macs. For example: I want an image editor that ONLY does simple adjustments like increase/decrease contrast, saturation, exposure, color tinting.... rotate, ...
44
votes
3answers
64k views

How to see time stamps in bash history?

Is there any way I can see at what time the commands were executed from the bash history? We can see the order but is there any way I can get the time also? Bottom-Line: Execution time in the Bash ...
19
votes
2answers
101k views

Script doesn't run via crontab but works fine standalone

I have a script that reminds me to restart my computer if uptime is more than, say 3 days (although its set to 0 days now just to check if the script is running as my computer has been up only over a ...
73
13
votes
3answers
36k views

GLIBCXX_3.4.20 not found, how to fix this error?

Whey I try to run the program Layout Editor (available on this site) on Ubuntu 14.04.1 64-bit LTS I get the following output in the terminal: $ layout layout: ...
9
votes
2answers
23k views

'starting version 219' bug after the 15.04 update

After update my system to 15.04, I have an error message at the boot: 'starting build 219'. The bug is known, its recommend to go to console mode and enter this command: sudo systemctl enable ...
15
votes
3answers
93k views

How do I create a script file for terminal commands?

In Windows I can write a file containing commands for cmd (usually .cmd or .bat files). When I click on those files it will open cmd.exe and run them commands the file contains. How would I do this ...
4
votes
1answer
12k views

Dual Boot Mac El Captain along with Ubuntu 14.04

Due to lots of old staff in the archieve, I a little bit confuse, how I install Ubuntu 14.04, to my IMac with MacOS El Captain. Does it neccesary to use Refit? What about direct install from USB Live ...
25
19
votes
4answers
100k views

How to set static routes in Ubuntu Server?

I have used Ubuntu since Ubuntu 8.10; today I'm working with Ubuntu 12.04 Server. I am having difficulty keeping static routes on booting. I would usually put the route commands /sbin/route add ...
19
votes
5answers
103k views

How do I improve the performance of my VirtualBox guest?

I run a guest ubuntu 12.04 on a host ubuntu 12.04, with VirtualBox, and the guest is much, much slower than the host (ALT+TAB takes 4-5 secs). I had a look around and I found contradicting opinions on ...
22
votes
2answers
55k views

How to setup OpenVPN Client

I'm trying to setup OpenVPN using NetworkManager. The GUI seems buggy and unresponsive. Are there any other tools for setting up a VPN client?
10
votes
4answers
52k views

How do I eliminate screen tearing on 14.04 and XBMC with NVidia-331?

I have updated my 12.04 HTPC to 14.04 (new install; same hardware), and have started getting awful screen tearing where I had none before. /proc/cpuinfo AMD A4-3300 APU with Radeon(tm) HD Graphics ...
8
votes
3answers
80k views

Install on Second Hard Drive with startup boot option?

In theory, what I want to do is very simple, but I've done some google research and read some posts on this site and I'm still confused. I want to keep win7 on my primary C:\ drive, and install ...
4
votes
6answers
74k views

Install Ubuntu in UEFI mode (unable to boot from USB)

I recently bought a Dell Inspiron 15R SE with Windows 8 (64 bit) pre-installed (UEFI supported). I want to install Ubuntu in dual boot with Windows 8. I tried to follow all these instruction and these ...
28
votes
4answers
108k views

How to find owner and group of a directory?

How can I find out owner and group of a directory in Ubuntu?
11
votes
2answers
59k views

How to switch from unity to gnome

Default ui for Ubuntu 14.04 being Unity, want to switch to Gnome. Can't find usual way to switch at login screen as mentioned here. ...
32
votes
4answers
105k views

Switching window manager/desktop environments?

In general what is the approach to switch the desktop environment or window manager on Ubuntu? The main difference between stock Ubuntu, Kubuntu and Lubuntu is supposedly the use of Unity vs. KDE vs. ...
38
votes
3answers
55k views

Adapt Ubuntu to a high-DPI resolution screen

What are the steps you need to adapt Ubuntu on a fresh installed Laptop with a high resolution display? I have a display with 3200x1600px on only 11'' which is all realy tiny.
9
votes
5answers
113k views

How to boot into Windows 7 when grub is installed in the Windows partition?

Original title: How can i solve (un)booting windows 7 on the same partition with grub? I've been researching for 2/3 days about this problem and I have came up empty. Basically, partition 1 is ...
8
votes
2answers
129k views

How to map a network drive?

I am unable to map a Windows network drive in Ubuntu. I have entered the following command in the terminal: karthick@karthick:~$ sudo mount -t cifs -o username=raghu //172.29.32.184 /media/Data/ ...
5
votes
3answers
32k views

How can I fix E: Sub-process /usr/bin/dpkg returned an error code (2)?

I received this error after trying to download the icedtea plugin. After trying sudo apt-get upgrade I got the same exact error: Preconfiguring packages ... dpkg: unrecoverable fatal error, ...
15
votes
2answers
67k views

Install Gnome 3.10 in Ubuntu 13.10 without breaking Unity

I just installed the Ubuntu 13.10 RC. Everything works fine so far. The thing is i want to also install Gnome 3.10 and i worry that this will break Unity. I know how to install the latest gnome ...
12
votes
2answers
87k views

How to find python installation directory on ubuntu

I have just migrated from Windows environment. I have installed Python 3.2 in a separate directory. How can I get the python installation path on ubuntu shell ? Is there any way I can let shell ...
13
votes
9answers
132k views

How to boot Ubuntu from EFI/UEFI?

I installed Ubuntu 11.10 on a newly bought Lenovo ThinkCentre Edge 71 (model: 1577-G3G) with EFI boot enabled. I opted for the Use Entire Disk option. Even though the installation process went without ...
48
votes
5answers
88k views

How do I copy files that need root access with scp?

I have an Ubuntu server to which I am connecting using SSH. I need to upload files from my machine into /var/www/ on the server, the files in /var/www/ are owned by root. Using PuTTY, after I log ...
25
votes
1answer
80k views

Where are the postfix log files?

I know this has been asked a hundred times. But I've done a lot of Google searching without success. My question: I want to log every activity of my postfix server. Neither the default file ...
19
5
votes
3answers
25k views

How to Update or Re-Install new version ADB?

I have an android based phone and I need ADB for installing new versions. However, untill today ADB was working perfectly but today I got an error, it says "you need 1.0.32 or newer version." Yes, ...