Most Popular

1500 questions
102
votes
7 answers

How do I find out whether my system has USB 3.0 ports?

I want to buy an external USB 3.0 drive and I wonder how to figure out whether my laptop has such a port (or only 2.0). Neither lsusb -v, nor /proc/bus/input/devices offers any obvious hints, although the former says a lot of 2.0 root hub which…
sds
  • 2,543
102
votes
20 answers

How to prevent my screen from either dimming or the screen-lock starting when watching YouTube?

My screen brightness used to dim after a few seconds to preserve battery. This is default in Ubuntu 12.04. However when watching video it should not dim. This works correctly when I watch videos using native applications like VLC. With in-browser…
Steven Roose
  • 1,928
102
votes
7 answers

How can I remove "Show Desktop" from the Alt-Tab (application) switcher?

Is it possible to remove "Show Desktop" from the Alt+Tab application switcher?
David Dossot
  • 1,096
102
votes
7 answers

Locale variables have no effect in remote shell (perl: warning: Setting locale failed.)

I have a fresh ubuntu 12.04 installation. When i connect to my remote server i got errors like this: ~$ ssh example.com sudo aptitude upgrade ... Traceback (most recent call last): File "/usr/bin/apt-listchanges", line 33, in from…
Janning
  • 1,885
102
votes
4 answers

How to run .sh file

Possible Duplicate: How do I run .sh files in Terminal? I want to download JDownloader from the internet for Linux. But the file is .sh and when I tell ubuntu to open the file it uses some text editor. I searched Ubuntu Software Store and there…
Atladica
  • 1,377
102
votes
4 answers

Error during converting jpg to pdf

Each time I want to convert jpg file to pdf by this command convert *.jpg pictures.pdf I have this error message: convert: not authorized `pictures.pdf' @ error/constitute.c/WriteImage/1028.
Adon Naaman
  • 1,085
102
votes
7 answers

How to keep the audio profile at A2DP while using a mic with Bluetooth headset? (Push-to-talk)

I have a CEL-TEC F5A headset. The spec says: Bluetooth 4.0, profiles: Headset, Hands free, A2DP, AVRCP/HSP/HFP It plays nicely with High Fidelity Playback (A2DP sink) profile. When I want to switch audio input to the headset's microphone, the…
101
votes
4 answers

How can I make /etc/rc.local run on startup?

I have a script I would like to run when my system starts and have put it in /etc/rc.local, but it doesn't work. How can I enable it to run on startup?
pedroo
  • 1,215
101
votes
2 answers

Firefox Middle Mouse Button Scroll

How can I get the middle mouse button to behave correctly in Ubuntu? Clicking the middle button does not show the arrow which allows me to scroll the page by moving the mouse. Information: Firefox 3.6.8 Mouse: Microsoft Intellimouse Explorer 3.0
101
votes
4 answers

Accidentally removed /bin. How do I restore it?

I was working on a directory named bin. After I was finished, because of the ownership of bin and some files within it I accidentally ran: sudo rm -r /bin Instead of: sudo rm -r bin It seems that my hands used to add a / in front of everything I…
Ravexina
  • 55,668
  • 25
  • 164
  • 183
101
votes
5 answers

How to download a youtube playlist with numbered prefix via youtube-dl?

I have a Youtube playlist, I want to download it but I want youtube-dl to name the files like 1-{name}, 2-{name}, ... n-{name} in order to be able to watch them in the same sequence as original Youtube playlist. In other words I need my downloaded…
101
votes
5 answers

How do I enable full-color support in Vim?

I have a lovely Vim colorscheme (xoria256) and it looks brilliant in GVim, but when I use normal vim in Terminal, the colorscheme is only partially supported -- for example, the default semi-transparent aubergine background color is used. How do I…
David Siegel
  • 8,932
101
votes
2 answers

Can't find httpd.conf

I have installed Ubuntu 14.04 on a laptop and installed apache 2 (version 2.4.7) and PHP 5. I cannot find httpd.conf. I need to change it because when I try to open a .php page I see a download box. How should I proceed?
fosslinux
  • 3,831
101
votes
2 answers

How to bring back minimize and maximize buttons in Gnome 3

I have recently installed Ubuntu Gnome which has the latest version of Gnome 3 running on it, and I have noticed that on windows there are no minimize buttons, and no maximize buttons, although I can see that you do get the options if you do a…
user364819
101
votes
7 answers

List of Ubuntu Versions with Corresponding Linux Kernel Version

Is there a list of Ubuntu versions with default corresponding Linux kernel versions somewhere? I would specifically like to know the most recent version of Ubuntu that still used Linux Kernel 2.x.
Jonathan Mee
  • 1,113