Greatest Hits

6
votes
3answers
28k 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 ...
32
votes
3answers
60k 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 ...
27
votes
2answers
56k 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 ...
1
vote
2answers
26k views

How to move taskbar to bottom position as in Windows

I'm very new to Ubuntu. I have just installed it on my pc and i liked it. But as i'm from Windows background i like the taskbar at the bottom and not at the left position. So is there any way to move ...
18
votes
4answers
73k views

What's the easiest way to mount Windows share as a local folder in home directory?

Via Gnome Nautilus I can easily mount Samba shares from my Ubuntu Server. However, these "mounts" are kinda of fake. Many applications I run do not recognize that Gnome has mounted these server ...
6
votes
5answers
32k 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 ...
6
votes
1answer
28k views

Format disk in 14.04

I remember using Disk Utility to format disks and USBs in 12.04. Now, after upgrading to Ubuntu 14.04, I can't seem to find the Disk Utility application. How do I format disks in 14.04? Looking for ...
97
votes
1answer
99k 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?
2
votes
2answers
67k 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 ...
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, ...
13
votes
5answers
40k 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 ...
31
votes
4answers
61k 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
6
votes
3answers
25k 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?
50
votes
4answers
67k views

Where is the user crontab stored?

Since upgrading my user's crontab has been wiped out. This is not the first time this has happened this year and it's a pain restoring it each time. I'd like to be able to back up the crontab for my ...
49
20
votes
4answers
35k views

How do I save terminal output to a file?

How do I save the output of a command to a file? Is there a way without using any software? I would like to know how.
0
votes
1answer
29k 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. ...
27
votes
10answers
61k views

How to find and change the screen DPI?

I am trying to find and then change the screen DPI (dots per inch) setting in 12.04 and 12.10. However, I can't seem to find any app or config file that can do this. Is there any app or conf file for ...
60
5
votes
2answers
103k 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/ ...
36
votes
8answers
28k 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.
55
9
votes
2answers
45k views

How do I install ncurses header files?

I was trying to configure the kernel and I got the following error. Can somebody please tell me what should I do? root@nitr-desktop:/usr/src/linux# make menuconfig *** Unable to find the ncurses ...
67
11
votes
2answers
62k 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
3answers
41k views

How to install Virtualbox from command line?

OK, I a am a newbie. For some reasons, I need to install Virtualbox. I see that I can easily install it using the Software Center, but I trust most the "apt-get install blahblah" way, because I find ...
4
votes
4answers
36k 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 ...
21
votes
3answers
59k views

Failed to get canonical path of /cow

I am trying to install Ubuntu 12.10 for quite some time, and passing hurdles one by one. Now I am in a situation as follows. I have got a PC and 10 GB HDD which will be totally dedicated to Ubuntu so ...
9
votes
2answers
27k views

How to install KDE along Unity?

I have just installed the latest Ubuntu 14.04 and I would like to install KDE along side my Gnome/Unity that I have now. How can I do this? Thanks!
48
7
votes
5answers
63k 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 ...
16
votes
5answers
72k 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 ...
18
votes
4answers
24k views

System tray icons disappeared after installing Ubuntu 14.04

I have many applications with tray icons like davmail, hardware monitor. I miss this feature on Ubuntu 14.04. Does anyone have a solution? There are some tools like Skype indicator, but I need a ...
18
votes
1answer
50k views

How to install numpy and scipy for python?

I am tired to try to install numpy and scipy for phyton 2.7.5, I need this version of python because my final goal it's to install class (http://class-code.net/) and montepython ...
5
votes
4answers
44k 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 ...
19
votes
1answer
44k 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 ...
1
vote
6answers
45k 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 instruction here : ...
6
votes
2answers
70k views

Install Ubuntu next to Windows 8 (UEFI dual boot)

Windows 8 is already jnstalled in UEFI mode on an Asus g55vw laptop. Sad but true, I need it - for now. Downloaded the last version of Ubuntu 12.10. Made a bootable CD from the iso-file. Reboot in ...
8
votes
3answers
72k 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 ...
16
votes
4answers
54k 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 ...
5
votes
2answers
73k 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
41
votes
4answers
88k 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 ...
17
votes
9answers
30k 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
3answers
21k views

How to disable the “unlock your keyring” popup?

I read through all the related answers, but they do not apply to Ubuntu 14.04. I have no .gnome2 folder and no Passwords and Encryption keys item in the system settings. I tried to crawl through ...
17
votes
6answers
57k 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?
9
votes
5answers
83k 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 ...
9
votes
4answers
66k 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 ...
32
votes
2answers
63k views

What does `nomodeset` do

Since installing Ubuntu 12.10 I have been playing around trying to get my Radeon HD 5450 gpu to work with the proprietary driver, as from the start installing the driver meant losing unity. I won't ...
13
votes
1answer
46k 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.
28
votes
3answers
66k 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 ...
54
8
votes
4answers
18k views

Google Chrome proxy settings?

When I try to set Google Chrome's proxy settings (on chrome://linux-proxy-config/), I get the following message: When running Google Chrome under a supported desktop environment, the system ...
2
votes
1answer
54k views

How to Fix “Read-only file system” error when I run something as sudo and try to make a folder/file?

When I try to save something or rename a file/folder it say this error " Read-only file system" or run something as root in the terminal it say this error sudo: unable to open /var/lib/sudo/"My User ...
19
votes
2answers
83k views

How to correctly enable Desktop Cube in Unity 3D?

I have read several questions regarding how to fix an already enabled desktop cube or the problems it had in 11.04. But in 11.10, how can I correctly enable desktop cube in Unity 3D?
10
votes
4answers
14k views

14.10 wine and fglrx conflict

I've just updated to 14.10 from 14.04, and have come across a problem having both wine and fglrx installed The wine dependencies that are causing the problem go like this wine > wine1.6 > ...
3
votes
1answer
56k views

Apache2: Forbidden You don't have permission to access /dir/ on this server

I can access localhost but not the sub directories index.html My default conf looks like: <VirtualHost *:80> ServerAdmin webmaster@localhost DocumentRoot /var/www <Directory /> ...
35