Greatest Hits

45
votes
1answer
61k views

Dual boot Surface Pro with Ubuntu?

How could I setup a dual boot for Ubuntu and Windows 8 on my Microsoft Surface Pro with 128 GB. Note: My dual boot solution is below.
7
votes
5answers
34k 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 ...
19
votes
1answer
69k views

My WiFi adapter is not working at all, how to troubleshoot?

On this site I see hundreds if not a thousand questions being asked about issues with a Wireless LAN adapter not being detected/recognized by Ubuntu. Some mainstream adapters appear to be utterly ...
13
votes
5answers
42k views

How to uninstall OpenJDK?

I don't want OpenJDK installed on my Ubuntu 13.04 system, but trying to uninstall the openjdk-7-jre yields the following message: $ sudo apt-get purge openjdk-7-jre Reading package lists... Done ...
21
votes
1answer
48k views

Share wireless Internet connection through ethernet

I want to share the wireless Internet connection on my desktop with my old laptop, through ethernet. I have ticked the option "Make available to others" on both connections, on my desktop, but my ...
3
votes
2answers
57k views

Copying file from folder 1 to folder 2 in terminal

I am trying to move a text file from folder 1 to folder 2 via terminal. I'm doing this for a school project to show what actually happens when you copy paste. I'm doing cp/home/rits/desktop/folder1 ...
7
votes
3answers
29k views

Change default system font using terminal only in 14.04

The following question answers how to Adjust fonts using tweak tool but the luddite in me would like to know how to do this without installing unity-tweak-tool. How can I adjust the default system ...
19
votes
7answers
60k 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 ...
34
votes
3answers
63k views

mv: Directory not empty

I want to move content of a directory within another directory with the same folders. Here's an example: I have ./backup wich have the directories base and test. Now I want to move these directories ...
25
votes
2answers
35k views

403 error after upgrading to apache2.4

After upgrading from Ubuntu 13.04 server, the www pages won't display themselves. Error 403 Forbidden You don't have permission to access / on this server. I've changed access control saves from ...
70
26
votes
2answers
56k 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 ...
42
votes
5answers
105k views

Installing Ubuntu on a SSD

Going to install Ubuntu 10.10 on new intel x25M 80GB SSD. It will be fresh install. I have been googling for past few days and getting overwhelming articles/blogs/Q&As. One particularly very ...
0
votes
1answer
30k views

error: no such partition Entering rescue mode… grub rescue>

I am using Windows 8.1 and Ubuntu 13.10 as in dual boot. I have changed my disk size using disk management in Windows 8.1-- specifically I have clubbed another partition into local disc C in Windows. ...
18
votes
10answers
35k views

How to show only hidden files in Terminal?

I have a directory that contains thousands of files, some of them are hidden. The command ls -a list all files, including hidden ones, but I need just to list hidden files. What command should I ...
9
votes
4answers
70k views

How do I navigate between directories in terminal?

I am new to Linux and Ubuntu and have tried changing to folders/directories with some difficulty. Could someone explain why the following commands failed to change to the desired target ...
10
votes
1answer
16k views

VirtualBox Extension Pack for 14.04.1 LTS (Virtualbox 4.3.10)

Where might I find the Virtualbox Extension pack for 14.04.1 LTS (64bit) I installed virtualbox via synaptic. The version it installed is 4.3.10 I can't seem to locate a corresponding Extension pack. ...
16
votes
4answers
56k views

In VirtualBox, how do I set up host-only virtual machines that can access the Internet?

In setting up virtual machines with VirtualBox, I often want the following characteristics vm has a static ip host can access vm without port forwarding vm can access the internet I can move ...
16
votes
6answers
75k 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 ...
11
votes
2answers
64k views

How much memory (RAM) should I allocate to the Virtual Machine?

I'm installing Ubuntu in a Virtual Box; my host OS is Windows 7, and I have 6GB of RAM on my system. One tutorial on setting up Ubuntu on a virtual machine (this one, on step 14: ...
8
votes
2answers
31k views

How do I enable wobbly windows?

Just a short question, I made a clean install of Ubuntu 14.04 yesterday and I have installed CompizConfig Settings Manager and ubuntu-restricted-extras, but I am still unable to enable wobbly windows. ...
49
23
votes
3answers
22k views

How to select video quality from youtube-dl?

I have installed youtube-dl in my 14.04. I can download video by following command, $ youtube-dl [youtube-link] But I want to know how to select available pixel quality of youtube video(i.e ...
2
votes
2answers
70k views

how to fix the hard-drive Bad Sector

I tried to fix my hard drive using Ubuntu but I found that message and didn't know what to do with.... I need to fix my bad sectors fsck /dev/sdb fsck from util-linux 2.20.1 e2fsck 1.42.5 ...
28
votes
2answers
57k views

How do I recover my accidentally lost Windows partitions after installing Ubuntu?

I have a Toshiba satellite A-200 laptop with a Vista OS on it with 4 NTFS partitions (C:) Vista (D:) Entertainment (E:) Work (F:) Sources and I wanted to start using Ubuntu instead. So I tried ...
6
votes
3answers
27k views

How can I install 3.16 kernel on Ubuntu 14.04

sudo apt-get update && sudo apt-get dist-upgrade do not show the newest kernel. How can I install 3.16 kernel on 14.04?
5
votes
2answers
105k 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/ ...
98
votes
1answer
101k views

What are the meta, super, and hyper keys?

In System -> Preferences -> Keyboard -> Layout -> Options ->Alt/Win key behavior What do meta, super, hyper mean?
36
votes
8answers
29k views

How to turn off baloo in KDE 4.13?

I have Kubuntu 14.04 and just installed the newest updates. Looking at the process list I see baloo indexer running. I could not find a checkbox in Baloo settings to turn off the indexing.
58
7
votes
5answers
66k views

SSH Permission denied (publickey)

I have tried searching previous questions for answers to my question but all of the answers that have been suggested previously haven't worked for me. I am trying to connect to a linode (running ...
17
votes
13answers
38k views

Installing Skype on Ubuntu 13.04 64-bit

Here is what I tried: $ sudo apt-get install skype [sudo] password for umpirsky: Reading package lists... Done Building dependency tree Reading state information... Done Some packages could ...
2
votes
6answers
48k 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 ...
11
votes
6answers
13k views

How to install LibreOffice 4.4.x in Ubuntu?

tried :- sudo add-apt-repository ppa:libreoffice/libreoffice-4-4 but cannot add PPA: '**ppa:~libreoffice/ubuntu/libreoffice-4-4**'. The team named '~libreoffice' has no PPA named ...
11
votes
6answers
29k views

Upgrading from 13.10 to 14.04 broke Grub

I have a dual boot Ubuntu + Windows 8 on an UEFI system. Everything was ok until I upgraded to Ubuntu 14.04 from 13.10. Now what I get when I boot the pc is a grub rescue screen like this with the ...
13
votes
6answers
25k views

What version of Python do I have?

How can I find out what versions of Python I have? I am using Ubuntu 14.04 (Trusty Tahr).
35
4
votes
3answers
52k views

Ubuntu won't boot from a USB on my Windows 8 laptop

Yesterday I set up Ubuntu on a 32GB Sandisk flash drive. I booted it up on my Windows 7 PC, and it works flawlessly. I haven't had any problems getting it to boot with USB priority on that machine, ...
8
votes
6answers
63k views

Every command fails with “command not found” after changing .bash_profile?

I was updating my .bash_profile, and unfortunetly I made a few updates and now I am getting: env: bash: No such file or directory env: bash: No such file or directory env: bash: No such file or ...
17
votes
6answers
61k views

How to determine if a string is a substring of another in bash?

I want to see if a string is inside a portion of another string. e.g.: 'ab' in 'abc' -> true 'ab' in 'bcd' -> false How can I do this in a conditional of a bash script?
5
votes
4answers
45k 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 ...
5
votes
2answers
78k views

How do you run update-grub?

I went into Live CD and activated Terminal. Then, I typed gksu nautilus to gain temporary access to my root directory. Once the Manager window opened, I clicked on File System and navigated to the ...
14
6
votes
4answers
39k views

How can I install libpcap header files on Ubuntu 12.04?

How can I install libpcap header files on Ubuntu 12.04? When I use apt-get install libpcap I receive following message: Reading package lists... Done Building dependency tree Reading state ...
24
votes
1answer
23k views

How do I re-run boot loader?

Running sudo apt-get -f install said that The link /vmlinuz.old is a damaged link and: you may need to re-run your boot loader[grub] Here's the full output: user@chrubuntu:~$ sudo apt-get -f ...
11
votes
3answers
49k views

How to configure Apache to run PHP as FastCGI on Ubuntu 12.04 via terminal?

I'm relatively new to the world of unix command line web server management/administration. Many hosts with control panel administration options allow you to change how PHP is run with a simple ...
14
votes
2answers
38k views

Is this a correct way to enable htaccess in Apache 2.4.7 on Ubuntu 12.04

In almost every solution of "How to activate htaccess", they say that the /etc/apache2/sites-available/default file needs to be edited. But there isn't such file in Apache 2.4.7 I read somewhere ...
40
votes
4answers
90k views

How do I configure a joystick or gamepad?

I recently received a Logitech Rumblepad 2 (a joystick, like a PS2 controller) from a friend. How would I configure this in Ubuntu? If possible, I would prefer to use a GUI utility. I tried ...
16
votes
5answers
74k 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 ...
8
votes
3answers
75k views

How do I change directories in the terminal, and know which directory I'm in?

I am following the directions @ Ubuntu community Help; however, I am still confused about a few things. I researched it & found this post: using the terminal to change directory, but it's above me ...
31
votes
4answers
62k views

How can I upgrade the Ubuntu LTS kernel to newer?

I just installed Ubuntu 12.04.2 64-bit on my desktop PC and I see the kernel in System Monitor is 3.5.0-23 but in Ubuntu 12.04.2 in my laptop the kernel is 3.2.0-38. I have already tried to run the ...
45
28
votes
3answers
69k views

In SSH, how do I mv to my local system?

Probably bad searching/not knowing the terminology, but: I've managed to ssh into my webhost's directory for me, and tar the webapp I want to back up and download. But when I try to mv to ...
57
6
votes
2answers
31k views

How to extend my root (/) partition?

Till today I was using ubuntu 13.04 in my windows7/ubuntu dual boot. Just now I have upgraded to ubuntu 14.04. My software updater showed an updates available message. I proceeded with Install Now . ...
12
votes
7answers
41k views

How to start Virtual box machines automatically when booting?

I have many Virtual box machines in my Ubuntu12.04, each time i shutdown or reboot i have to start them one by one. I wanna a help in writing script for automatically autostart the VBox machines ...
13
votes
1answer
48k views

how to change the background color of terminal in Ubuntu 12.10?

How to change the dark purple color of terminal in Ubuntu 12.10. And can we place any image or photo instead of that purple color.