Most Popular

1500 questions
183
votes
13 answers

Opening the file browser from terminal

What's the command to open the file browser? I want it so that I can assign a keyboard shortcut to open a specific folder.
Jon Doe
  • 11,447
183
votes
3 answers

How to remove a repository?

Please let me know how to remove certain repositories in Ubuntu 11.04. I am getting the following errors while updating. sudo apt-get update Err http://ppa.launchpad.net natty/main Sources 404 Not Found Err…
samarasa
  • 4,711
183
votes
10 answers

Running programs in the background from terminal

How do I run a program in the background of a shell, with the ability to close the shell while leaving the program running? Lets say my UI is having problems or for some reason, I need to boot up a program from the terminal window, say,…
OVERTONE
  • 2,307
182
votes
4 answers

How can I downgrade from PHP 7 to PHP 5.6 on Ubuntu 16.04?

I am trying to revert my PHP version to 5.6 from 7 and though I removed PHP 7 and then installed PHP 5.6 I still seem to be running version 7. Is there a simple method for moving through PHP versions where apache, phpMyAdmin and co are configured…
dibs
  • 3,489
182
votes
8 answers

How do I set environment variables?

I'm trying to set up Apache Tomcat on my pc, and it wants me to set up an environment variable for CATALINA_HOME. Does any know how to do this?
jumpnett
  • 5,975
182
votes
5 answers

How to see Login history?

Is it possible to see the login history, i mean to see if someone has used the computer in my absence and when he used it . if it is possible, where can i get the log ? if not, is there a program that logs all the logins and their time ?
Dzero
  • 3,178
182
votes
9 answers

How to solve "Pending update of "firefox" snap. Close the app to avoid disruptions" error?

Recently, this warning appears when open Firefox: Pending update of "firefox" snap Close the app to avoid disruptions What does it mean? And what do I have to do? Is this a bug?
Emilio
  • 2,061
182
votes
7 answers

apt-key deprecation warning when updating system: "Key is stored in legacy trusted.gpg keyring"

Recently I've noticed some issues when running apt where the system will warn me of a keyring deprecation: Reading package lists... Done Building dependency tree... Done Reading state information... Done 8 packages can be upgraded. Run 'apt list…
matigo
  • 22,138
  • 7
  • 45
  • 75
182
votes
6 answers

"debconf: DbDriver "config": config.dat is locked by another process: Resource temporarily unavailable" while installing packages

I'm trying to install the flashybrid but when I enter the apt-get install flashybrid command, I get this error: root@user-desktop:/home/user# apt-get install flashybrid Reading package lists... Done Building dependency tree Reading state…
Dimitris7
  • 1,821
181
votes
6 answers

Switch between multiple java versions

While installing Android Studio on Ubuntu 14.04 I get the message that my Java version (javac 1.7.0_79) is causing problems. I found a solution of how to install a newer Oracle version of Java: sudo apt-add-repository ppa:webupd8team/java sudo…
mcExchange
  • 3,088
181
votes
11 answers

Enter SSH passphrase once

Before upgrade When I was running git clone git@... (using ssh) once per computer restart a window dialog appeared containing a textbox for inserting my SSH passphrase and confirmed with OK. Then the passphrase was no longer required until the next…
181
votes
15 answers

Chrome asks for password to unlock keyring on startup

In Google Chrome, when I go to a login page, a window pops up asking to "Enter password for keyring 'default' to unlock". In most cases, whether I click Cancel or enter my password, the login form gets auto filled anyway. How do I get rid of the…
181
votes
6 answers

Should I always restart the system when I see "System restart required"?

These two nice SE posts (1, 2) comment on restarting one's ubuntu machine but they leave me with a few questions: How do you actually do the restart (I'm a beginner and using 12.04.1 LTS)? Should I always restart the system when prompted to? Does…
tim peterson
  • 2,285
181
votes
7 answers

Why am I getting "Command 'deb' not found"?

I have come across several installation instructions that include the command deb. But it appears that this command is not available on my installation. Where can I get this command? Is there a work-around?
Kevin Burton
  • 1,959
181
votes
17 answers

How to update kernel to the latest mainline version without any Distro-upgrade?

Currently I'm running Linux-3.0 and I want to update it to Linux-3.3.1 the latest stable kernel release as mentioned at http://www.kernel.org. Can I update to 3.3.1 in Ubuntu without any risk of crashes? I'm updating my kernel regularly as provided…
Suchith JN
  • 2,161