Most Popular

1500 questions
115
votes
6 answers

Using rsync with sudo on the destination machine

Having a problem that rsync does not set UID and GID as expected, my gut feeling is that rsync should be run as root on the destination machine. I can't login as root via SSH, since that's disabled for security purposes. The user on the destination…
Thomas Weller
  • 4,617
  • 4
  • 24
  • 36
115
votes
2 answers

What is the advantage of using sudo apt-get autoremove over a cleaner app?

I'm not sure what sudo apt-get autoremove does, but have read that you should use this command to remove any unnecessary packages. One of the processes I saw was to use sudo apt-get autoremove and then use something like BleachBit to remove temp…
gman
  • 2,276
  • 4
  • 27
  • 39
115
votes
5 answers

See configured rules even when inactive

I'm wondering if it's possible to get UFW to list the configured firewall rules even when it's not enabled. I only have ssh access to the server at this time, and I don't want to enable UFW if there's not a rule configured allowing ssh. However,…
Bryan
  • 2,227
115
votes
7 answers

How To Enable WebGL In Chrome On Ubuntu?

chrome://gpu/ And http://webglreport.com/ google-chrome --version Google Chrome 27.0.1453.93 http://www.chromeexperiments.com/webgl How To Enable WebGL In Chrome On Ubuntu ?
Qasim
  • 22,092
115
votes
6 answers

How to find architecture of my PC and Ubuntu?

When running uname -a, I get as output 41-Ubuntu SMP Mon Aug 13 17:59:54 UTC 2012 i686 athlon i386 GNU/Linux Can someone please explain to me why both i386 & i686 ? What exactly is my PC architecture and what version of Ubuntu am I using (32bit…
115
votes
4 answers

How do I get the parent process ID of a given child process?

How to get parent PID from a given child's PID? I know I can manually check it under /proc, I wonder if there is a smart/better way to achieve this in Ubuntu. Note the parent may or may not be killed. Thanks
cache
  • 1,431
115
votes
6 answers

Key is stored in legacy trusted.gpg keyring (/etc/apt/trusted.gpg)

I just upgraded from Ubuntu 21.10 to 22.04. sudo apt update ends with the following warnings... W: https://linux.teamviewer.com/deb/dists/stable/InRelease: Key is stored in legacy trusted.gpg keyring (/etc/apt/trusted.gpg), see the DEPRECATION…
heynnema
  • 70,711
115
votes
5 answers

Why is defragmentation unnecessary?

Why is defragmenting unnecessary in Ubuntu?
Zango
  • 5,011
115
votes
1 answer

npm : Depends: node-gyp (>= 0.10.9) but it is not going to be installed

I want to install npm. I've updated everything but I can't fix the problem. The message I get is: Reading package lists... Done Building dependency tree Reading state information... Done Some packages could not be installed. This may mean…
MatiasEze
  • 1,251
114
votes
7 answers

Disable "Mouse battery low" spam notification

Countless times over the past few weeks I have been notified about the low battery in my wireless mouse. Every time it wakes up from sleeping mode and reconnects over Bluetooth I get a notification. I have gotten hundreds of notifications. I do not…
domo
  • 1,263
  • 2
  • 9
  • 8
114
votes
8 answers

Moving entire Linux installation to another drive

I have Ubuntu 14.04 with a lot of packages and work-related stuff that I am very happy with it. It is installed on my main SSD drive which is a 120GB one (I had chosen "/" when I installed Ubuntu, so I believe everything should be on this drive). It…
Dumbo
  • 1,912
114
votes
9 answers

How can I type accented characters like ë?

Currently I use the character palette applet in gnome panel to put special characters into text. This is okay, but I have to stop typing, select the character I want from the applet and then copy and paste. Is there a way to simply type special…
Helix
  • 2,363
114
votes
6 answers

How to add a user without /home?

I want to create a new user to run a service on the system but don't want to have /home and other configuration files for it. Like there is a user for postgres but it doesn't have any /home directory.
Owais Lone
  • 7,382
114
votes
6 answers

How can I show or hide boot messages when Ubuntu starts?

Is there a way to easily turn on/off showing the boot messages (loading the services) when Ubuntu starts? Is it something in Grub2? I am running 10.04.
Weboide
  • 10,493
114
votes
10 answers

How can I create launcher icon for PhpStorm?

I have PhpStorm on my PC, to launch it I have to go to phpstorm/bin/ and launch phpstorm.sh, how can I pin this to launcher so that I dont have to go into folders every time?
Chelios
  • 1,871
  • 3
  • 16
  • 16