Most Popular
1500 questions
132
votes
6 answers
What is the easiest way to resolve apt-get BADSIG GPG errors?
I frequently cross this issue, and always have to google for an answer. Does anyone have a permanent fix for BADSIG errors from apt-get?
W: GPG error:
http://download.virtualbox.org lucid
Release: The following signatures were
invalid: BADSIG…
cmcginty
- 5,888
132
votes
3 answers
Set variable in .desktop file
Is there a way to set the enviroment variable in .desktop file?
I'm trying to run application (eclipse) with custom gtk style, so basically I want to get the following result by runing a .desktop file:
GTK2_RC_FILES=gtkrc.custom…
dotintegral
- 1,323
132
votes
2 answers
How can I allow SSH password authentication from only certain IP addresses?
I'd like to allow SSH password authentication from only a certain subnet. I see the option to disallow it globally in /etc/ssh/sshd_config:
# Change to no to disable tunnelled clear text passwords
#PasswordAuthentication yes
Is there a way to apply…
ændrük
- 76,794
131
votes
13 answers
How can I toggle the Fn (function) key?
Is there a way to toggle the Fn key? I'd like to be able to toggle it so I don't have to press Fn+F12 to raise the volume, for example.
I'm running Ubuntu 16.04.1 LTS on an Asus D550C.
oscar
- 1,321
131
votes
12 answers
How to automount NTFS partitions?
I have two NTFS partitions, and I don't want to mount them manually every-time I start Ubuntu.
How can I do this?
Is there a tool or a code to use?
If so, is it safe to automount? specially when they are being used by another OS?
Binarylife
- 16,442
131
votes
12 answers
/usr/bin/sudo must be owned by uid 0 and have the setuid bit set
I have run following command accidentally
sudo chown [username] -hR /
Now sudo su getting error:
sudo: /usr/bin/sudo must be owned by uid 0 and have the setuid bit set
How to Solve This?
Pandya
- 35,771
- 44
- 128
- 188
131
votes
4 answers
Calculating the number of lines in a file?
How would I calculate and display the number of lines and words that are contained in a .sh file?
user264934
- 1,395
- 3
- 9
- 5
131
votes
9 answers
How to clear text in a file?
How to clear text that existed in a text file without opening it?
I mean for example I have a file as hello.txt with some text data in it, and how can I clear the total text in that file without opening it?
By this, I mean not using any editor like…
Raja G
- 102,391
- 106
- 255
- 328
131
votes
9 answers
How do I disable automatic remote printer installation?
In Raring, everytime I connect to the network, Cups installs all the printers in the network automatically, some more than once.
Furthermore, I connect a USB printer to the laptop every now and then. Even though the printer is configured already,…
To Do
- 15,502
131
votes
10 answers
How to create a new blank file in Nautilus 3.6 and above?
I used to create new blank files in Nautilus (Files) using the right click context menu. It really saved me a lot of time. Since Nautilus 3.6, there is no such entry.
Is there a way to create a new blank file in Nautilus 3.6 and above?
remjg
- 3,663
131
votes
3 answers
How do I install the latest TeX Live 2012?
Ubuntu 12.04 still includes the outdated and obsolete 2009 version of TeX Live. Other than installing manually from the TeX Live website, is there any alternative to install the latest 2012 version on Ubuntu Precise 12.04?
ish
- 139,926
131
votes
8 answers
How to mount a new drive on startup
I have recently installed a new hard drive to my Ubuntu 10.0.4 box. I used System -> Administration -> Disk Utils to format the disk (ext4 file type) - but did not create a partition (is this advisable?).
I have manually mounted the drive as…
Homunculus Reticulli
- 2,453
131
votes
3 answers
How do I find the reverse dependency of a package?
I was wondering if it was possible to check what package another package is a dependency of.
For example, jetty is mysteriously installed and running on my system and I'd like to check whether it is a dependency of something else.
Magnus
- 1,413
131
votes
12 answers
Problems with Chrome browser after suspending the computer on Ubuntu 20.04
Kubuntu 20.04, 64 bit
GPU: Geforce GT610
nvidia-driver-390
Chrome Version 85.0.4183.83
Intel i5-4430, core 4, 4 thread , 3GHz
RAM: 16GB
Each time I go into suspend mode and then resume, Chrome browser displays the current tab as full of sand of…
christianbueno.1
- 1,824
- 2
- 13
- 20
131
votes
16 answers
How can I capture network traffic of a single process?
I would like to examine the network traffic being handled by a single process, but simple network captures won't work since I am dealing with such a busy system (lots of other traffic happening at the same time). Is there a way to isolate a tcpdump…
Kees Cook
- 17,473