Most Popular

1500 questions
328
votes
11 answers

Menu select item stuck on screen after context or command menu has closed

Periodically when I select a menu command, the label or selected option gets "stuck" on screen and won't go away. I can close all open applications, including whichever one I was using when it got stuck, but it still won't go away. In the…
Sam Harwell
  • 6,882
325
votes
10 answers

How to clear the 301-redirect cache in Firefox?

Is it possible to clear only 301-redirects from Firefox's cache? CTRL+F5 doesn't do the job since you just reload the target without caching but do not clear the cached redirect. An option to disable caching of those redirects completely would be…
ThiefMaster
  • 6,505
  • 9
  • 38
  • 43
325
votes
6 answers

How to match whitespace in sed?

How can I match whitespace in sed? In my data I want to match all of 3+ subsequent whitespace characters (tab space) and replace them by 2 spaces. How can this be done?
Peter Smit
  • 9,636
325
votes
17 answers

Combine one image + one audio file to make one video using FFmpeg

This should be pretty trivial, but I can't find a way to get it to work. I want FFmpeg to take one JPEG image and an audio file as input and generate a video file of the same duration as the audio file (by stretching the still image for the whole…
matteo
  • 4,559
323
votes
7 answers

How do you prevent the dock from switching monitors in macOS Sequoia?

In Mavericks, Apple introduced a "feature" where if you hover at the bottom of any screen the dock pops up on that screen. This is disrupting my workflow as I am constantly having the dock pop up when I don't want it to and then I have to go to…
323
votes
11 answers

How can I make ffmpeg be quieter/less verbose?

By default ffmpeg sends a whole lot of messages to stderr: when built, how it was built, codecs, etc, etc, etc. How can I make it quieter? I've tried -v 0 (and -v 10 since the documentation just coyly says Set the logging verbosity level. with no…
blahdiblah
  • 5,501
322
votes
12 answers

"Maximizing" a pane in tmux

Sometimes it would be very useful to maximize a pane in tmux and then restore it to it's previous size. I've been reading the manual and I can't find a way. What I've come up with is that I could bind a key to resize the pane to "max" width, and…
Ivan
  • 4,679
321
votes
3 answers

How to resize a video to make it smaller with FFmpeg

How do I resize a video to make it smaller with FFmpeg? (e.g. from 1024x576 to 720x480.)
Alan
  • 3,311
  • 2
  • 12
  • 6
320
votes
11 answers

Remove key from known_hosts

I built several virtual machines during the last few weeks. The problem is, the .ssh/known_hosts gives me the Man in the middle warning. This happens because another fingerprint is associated with the virtual machine IP. In the .ssh/known_hosts…
Adam Matan
  • 8,740
320
votes
5 answers

What does the "Fi" in "Wi-Fi" mean?

I just got into a heated discussion about Wi-Fi. What does the Fi in Wi-Fi mean? I would have thought potentially "frequency interface" since all network adapters are classified as interfaces. However I'm not certain.
315
votes
23 answers

How can I visualize the file system usage on Windows?

How can I visualize which folders and files are taking up all of the space on my hard drive? I'm getting some conflicting reports on the size of hard drive contents. Namely what is and isn't there and what folders are actually using the space. I…
315
votes
5 answers

Setting and getting Windows environment variables from the command prompt?

I want to set an environment variable from the command prompt and then be able to access it globally (for instance, I should see it by going to System -> Environment Variables). When I use the set command, it isn't accessible in a new cmd…
Shane
  • 3,760
315
votes
11 answers

What's the recommended way to move a VirtualBox VM to another computer?

I use VirtualBox 4.1.x on my Ubuntu machine and I’ve set up several virtual machines. Since there are several ways one can move a virtual machine in VirtualBox to another computer, I was wondering which one is the recommended way: Use the…
315
votes
11 answers

How can I list all IPs in the connected network, through Terminal preferably?

Using Ubuntu 10.10 command line, how can I list all IPs connected to my home network? Ideally, it needs to be a CLI command as I will be running it from C++.
314
votes
9 answers

Can I completely disable Cortana on Windows 10?

Windows 10 has Cortana, which I don't like. I disabled it as soon as I could. However, looking in Task Manager, the process for Cortana is still running, and can't be effectively terminated: ending the task simply results in the process respawning a…
ArtOfCode
  • 3,451