Most Popular

1500 questions
194
votes
10 answers

How to remove the password from a PDF?

I have a password protected PDF file. I know the password but in order to share the file, I have to remove the password from the PDF and share an unprotected copy. How can I do this in Ubuntu with or without the GUI?
Chinmaya B
  • 7,082
194
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,298
194
votes
25 answers

How to fix "W: Duplicate sources.list entry"?

I keep getting this warning whenever I try to run sudo apt-get update . W: Duplicate sources.list entry http://archive.ubuntu.com/ubuntu/ precise-updates/main i386 Packages…
hsinxh
  • 3,190
193
votes
12 answers

network manager says "device not managed"

I used to be able to share my network connection by editing the Auto Eth0 to share with other computers in the Ipv4 section and now I upgraded my laptop to 11.10 . Now are there no wired connections in the network manager. When I click my…
193
votes
13 answers

How to install Android Studio on Ubuntu?

Please tell me the full process of installing Android Studio and its necessary dependencies.
aminul haque
  • 1,977
193
votes
8 answers

Repeat a command every x interval of time in terminal?

How can I repeat a command every interval of time , so that it will allow me to run commands for checking or monitoring directories ? There is no need for a script, i need just a simple command to be executed in terminal.
user239745
193
votes
19 answers

How to permanently switch Caps Lock and Esc

How can I permanently switch the Caps Lock and Esc key functions in Saucy? I can use this command to do it temporarily (until reboot): /usr/bin/setxkbmap -option "caps:swapescape" I tried adding that command as a Startup Application, but it doesn't…
193
votes
3 answers

"autoreconf: not found" error during making qemu-1.4.0

I was ./configure 'd the qemu-1.4.0 and during make it cause: (cd /home/amin/Simulate/qemu-1.4.0/pixman; autoreconf -v --install) /bin/sh: 1: autoreconf: not found make: *** [/home/amin/Simulate/qemu-1.4.0/pixman/configure] Error 127 Now, I can't…
193
votes
3 answers

How to install psql without Postgres?

I need the psql command line tools, but I don't need the actual Postgres RDBMS. This is to work with a package which supports a psql interface. Is it possible to install just psql ? (Ubuntu 16.04)
192
votes
12 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,797
192
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 http://ppa.launchpad.net natty/main i386…
samarasa
  • 4,981
191
votes
4 answers

How to grep for tabs without using literal tabs and why does \t not work?

When I search for tabs in a file with (e)grep I use the litteral tab ( ^v + <tab> ). I can not utilize \t as a replacement for tabs in regular expressions. With e.g. sed this expression works very well. So is there any possibility to use a…
Lasall
  • 3,733
191
votes
4 answers

E: Unable to correct problems, you have held broken packages

I am using Ubuntu 13.04 which I installed few days back. I am trying to install nodejs and npm . I tried to install from command line first and then uninstalled it. Then something broke. sudo apt-get install -f nodejs npm Reading package lists...…
John Qualis
  • 2,013
191
votes
13 answers

How to install Firefox as a traditional deb package (without snap) in Ubuntu 22.04 or later versions?

As far as I see in the ongoing development for 22.04 Jammy , Firefox is a Snap package. The related Deb package in apt is just a shortcut/link to the that snap version. I prefer my installation not to be from snap packages, since I find them too…
igi
  • 3,257
191
votes
10 answers

"GPG error: Release: The following signatures were invalid: BADSIG"

I ran this command in the Terminal: sudo apt-get update Updating ends with the following error report: W: A error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error:…
beeju
  • 3,143
  • 4
  • 21
  • 22