Greatest Hits

7
votes
3answers
119k views

How to use(/enable) FN keys to adjust volume at my asus laptop?

I have an ASUS laptop (ASUS X53S series) and I want to adjust the volume by using the FN key and F10 (mute), F11 (vol down), F12 (vol up). Also F9 key is not working as well(this is for ...
453
votes
11answers
369k views

What are Unity's keyboard and mouse shortcuts?

In Unity, are there any pre-defined shortcuts, e.g. to open the dash or unhide the launcher?
66
votes
3answers
148k views

Cannot install Ubuntu in VirtualBox due to “this kernel requires an x86-64 CPU, but only detects an i686 CPU, unable to boot” error

I was trying to install Ubuntu 12.04 in VirtualBox 4.2.12r84980. I see this kernel requires an x86-64 CPU, but only detects an i686 CPU, unable to boot But I am using a 64 bit Windows 8, and ...
30
votes
2answers
128k views

Update Ubuntu 14.04 to 15.04

Currently I have Ubuntu 14.04 in my laptop and now I want to update it to 15.04. I have Windows 8 and Kali Linux along with my Ubuntu. How should I update my Ubuntu to 15.04 without losing my other ...
103
votes
5answers
333k views

How to download a file from a website via terminal?

Suppose that we have a full URL of desired file e.g. http://domain.com/directory/4?action=AttachFile&do=view&target=file.tgz I would like to go without installing a new software. Is it ...
42
votes
1answer
126k views

How do I do a complete BIND9 DNS Server Configuration with a hostname?

I need a complete step-by-step guide on how to produce such a server configuration. Can anyone help-me?
449
188
votes
15answers
160k views

How to pin Eclipse to the Unity launcher?

How can I pin eclipse indigo 3.7 I have 'installed' at /opt/ to the taskbar? I have tried launching eclipse and right-clicking to choose the 'keep in launcher' option. But when I click that icon, ...
55
votes
2answers
323k views

How to rename a file in Terminal?

I have: /home/user/my_static /home/user/static/ How do I rename my_static to static and remove static(2)?
200
26
votes
3answers
238k views

ERROR 1045(28000) : Access denied for user 'root@localhost' (using password: no )

I got a problem with mysql server Actually i am not sure im tring to install queXS cati app on my ubuntu desktop i installed mysql server and php5 and when im trying mysql -u root it says ...
30
votes
5answers
83k views

Windows 10 upgrade lead into grub rescue

I was dual-booting Windows 7 and Linux Ubuntu on my desktop, and today is the day they gave out free Windows 10 upgrades. How exciting! I got the update, and it was installing, and I left to go take ...
208
votes
12answers
143k views

Trouble downloading packages list due to a “Hash sum mismatch” error

When I check for updates, I get a "Failed To Download Repository Information" error. This is what comes up under details: W: Failed to fetch ...
512
40
votes
5answers
54k views

How to install PHP 7?

PHP 7 came out yesterday and I would like to give it a try. PHP 7.0.0 comes with a new version of the Zend Engine, numerous improvements and new features such as Improved performance: PHP ...
72
209
votes
12answers
177k views

How to keep processes running after ending ssh session?

Let's say I launch a bunch of processes from a ssh session. Is it possible to terminate the ssh session while keeping those processes running on the remote machine?
494
68
votes
10answers
278k views

What are the alternatives to Notepad++ on Ubuntu?

I use Notepad++ on Windows 7 and I want to know if there is a good substitution for it on Ubuntu. I want something that is good for editing html files.
103
votes
9answers
328k views

How do I view all available HDD's/partitions?

I found a 6 GB IDE HDD in my basement. I want to plug it in and see what might be on it. The drive seems to be recognized in BIOS. I can't find it in Ubuntu to view files, and Ubuntu is the only OS ...
181
votes
9answers
283k views

How can I repair grub? (How to get Ubuntu back after installing Windows?)

I installed Windows 7, which ate Ubuntu's boot file. When starting up the computer, it now goes straight to Windows, without giving me the option of booting Ubuntu. How can I get Ubuntu back?
237
votes
19answers
185k views

Flash video appears blue

The Problem After updating to Ubuntu 12.04 from Ubuntu 11.10, all video is still blue, whether playing in a browser or a player. Same problem occurs in 11.10 as well. I have tried to uninstall all ...
52
votes
4answers
242k views

How do I enable the “Universe” repository?

How do I get to Universe Repository of Ubuntu software as mentioned in Ubuntu 12.04 LTS? I am installing 12.04 Ubuntu. Please help.
192
votes
2answers
380k views

How do I search for available packages from the command-line?

I have successfully installed some packages using the command line 'sudo apt-get install ...' when I have known in advance that those packages are available. But how can I search for or get a list of ...
158
votes
9answers
298k views

How do I increase the hard disk size of the virtual machine?

I have run out of space on my WinXP virtual machine, which I only gave 10 GB space for when I created it. Is there an easy way to increase it to, say, 20 GB? I can't see any obvious option in ...
184
votes
5answers
239k views

Getting “System program problem detected” pops up regularly after upgrade

This started to happen immediately after I had rebooted the first time after doing a system upgrade. It first starts with a dialogue that says "System program problem detected". Then when I try to hit ...
259
votes
5answers
391k views

How do I set up a Cron job?

I want to schedule a task to run on a regular basis and have heard that Cron is the way to do this. How do I add Cron jobs in Ubuntu?
323
23
votes
4answers
230k views

How do I turn off the firewall in Ubuntu 12.04?

How do I turn off the firewall in Ubuntu 12.04? Thanks for the answers. The reason for turning it off was twofold: I often cannot make a wireless connectin to internet and get the server is unable to ...
312
92
votes
3answers
87k views

Missing System Settings after removing some packages

I installed or uninstalled some packages. I do not even remember what I was doing. As a result, now I can't see most of the system settings in settings window. Any idea how to solve this problem. ...
76
votes
9answers
125k views

How to change LCD brightness from command line (or via script)?

To work around bug #1005495 (changing LCD brightness via hotkeys impossible), I'd like to have one command line query for increasing and one for reducing the brightness of my LCD. I could then map a ...
61
votes
6answers
57k views

Problem with installing Steam on Ubuntu 15.04+

Actually I have installed the new Ubuntu 15.04 64bit, and when I'm trying to install Steam on it, there is a problem. In fact I have downloaded the deb package from steam website, installed it and ...
47
votes
1answer
293k views

How do I configure my DNS settings in Ubuntu server?

According to this page it appears to be simple. However, /etc/bind does not exist on the default installation of Ubuntu 12.04.3 LTS server. So, without installing any further software, how can ...
46
votes
8answers
325k views

Where is .bashrc?

I feel stupid asking, but I can't seem to find the answer to this anywhere. I'm trying to follow these instructions to edit my bash prompt, but there is no .bashrc in either my user directory ...
90
votes
4answers
192k views

How to get a drive formatted with exfat working?

In Ubuntu 13.04 there was an option to use the PPA by Relan in order to get ExFat functionality. Seeing that in Ubuntu this functionality is now available from the repositories without the PPA I tried ...
215
votes
7answers
327k views

Add user to existing Group

I want to add the Apache user (www-data) to the audio group. I've read the man page for useradd, but I'm not having any luck. I'm running xubuntu 11.10. Here's what I'm doing: $ sudo useradd -G audio ...
292
21
votes
9answers
108k views

ACPI PPC Probe failed. Starting version 219 NVIDIA

I've recently updated to Ubuntu 15.04 and after installing the latest nvidia drivers (346.59) which worked on ubuntu 14.10 seems to have caused some trouble on boot. All I get is the following when ...
52
votes
11answers
194k views

List all MAC addresses and their associated IP addresses in my local network (LAN)

How can I list all MAC addresses and their associated IP addresses of the machines connected to my local network (LAN)?
81
votes
5answers
160k views

Changing TTY keyboard layout on a server?

I use 12.04 Server in command line mode (no X installed), and I would like to change the keyboard layout. How can I do this?
63
votes
2answers
242k views

Find the correct php.ini file

I am currently trying to locate the correct php.ini file to edit it and restart apache so the changes will take place and I'm stumped. What I have done... I have found three different php.ini files ...
195
138
votes
12answers
173k views

How to modify a invalid /etc/sudoers file? It throws out an error and not allowing me to edit again

How do I edit an invalid visudo file? Here is what happens: $ sudo visudo >>> /etc/sudoers: syntax error near line 28 <<< sudo: parse error in /etc/sudoers near line 28 sudo: no ...
430
152
votes
4answers
396k views

How to create a soft or symbolic link?

I am installing p4v in /opt, but /usr/bin is on my path. Is it possible to create a soft or symbolic link for p4v from /opt to /usr/bin, so I can just type "p4v" since /usr/bin is in my path?
51
votes
8answers
107k views

Problems with Eclipse and Android SDK

I installed Eclipse, openjdk6 and downloaded and extracted the sdk manager file. Now, When I created an Android project I got the following error: 2012-06-06 18:44:40 - contactManager] ...
74
votes
5answers
167k views

How to enable exFAT in Ubuntu 14.04

I just installed Ubuntu 14.04 and I can't mount my exFAT HDD. I get the following error: Unable to access “SeagateHDD” Error mounting /dev/sdb1 at /media/me/SeagateHDD: Command-line `mount -t ...
110
votes
3answers
308k views

How do I set the grub timeout and the grub default boot entry?

In Ubuntu 12.04 (or above), how do I set the GRUB time and the default OS (that I see at boot time) as I'm dual-booting Windows (7/8) and Ubuntu (12.04 or above)?
92
votes
9answers
253k views

How to open a PDF file from terminal?

I used to work on the Mac terminal before and I used: open file2open.pdf and the PDF file would be opened on preview or whatever my default viewer was. When I use it in the terminal in Ubuntu I ...
130
votes
2answers
267k views

How to enable mod_rewrite in Apache?

I just installed the LAMP stack on my Ubuntu system. The redirection is not working for me. I don't know how to fix it. Can anyone help me?
346
66
votes
16answers
175k views

Blank screen after installing nvidia restricted driver

I've installed the current nvidia restricted driver and rebooted my machine and now I get a black or blank screen. How can I fix this?
427
202
votes
11answers
229k views

How can I suspend/hibernate from command line?

How can I suspend or hibernate my laptop using command line, without installing additional software?
43
votes
4answers
367k views

How to make read-only file system writable?

I am not sure since when the filesystem on my digital audio player has been changed to be read-only. I cannot copy files into it or remove files on it. Are there some possible reasons for the ...
287
votes
11answers
466k views

How can I configure Unity?

Are there any configuration options for the Unity desktop? There are multiple valid answers for this question spanning over several versions of Ubuntu. For your convenience an index of each below ...
190
86
votes
4answers
147k views

How to install H.265 / HEVC codec on Ubuntu Linux?

I have seen that the new DivX Player 10 shows off H.265/HEVC playback, the successor of H.264. I wonder how I may get this support in Linux. Is there a need to install a codec specific for this ...
146
votes
5answers
325k views

How do I install curl in php5?

I currently have PHP 5.3 installed with Apache in 10.04 Lucid. How can I add the PHP Curl libraries? Do I need to install any other dependencies for curl?
319
219
votes
4answers
350k views

Can I move the Unity launcher?

I can’t get used to the new Unity system. I’d like to move the left Unity panel to the bottom of screen (like Windows 7 – more similar is better). But I can't find a way. Is it possible?
40
votes
9answers
244k views

How to fix “sudo: unable to open … Read-only file system”?

The title might not be as descriptive as I would like it to be but couldn't come up with a better one. My server's file system went into Read-only. And I don't understand why it does so and how to ...
206
votes
2answers
127k views

How can I use docker without sudo?

On Docker's documentation pages, all example commands are shown without sudo, like this one: docker ps On Ubuntu, the binary is called docker.io. It also does not work without sudo: sudo docker.io ...
280