Most Popular
1500 questions
170
votes
10 answers
How to easily start a webserver in any folder?
I'm looking for a relatively painless way to launch a web server with document root in any folder I specify (or better yet, where I'm launching).
I often try out new things like JS frameworks or so in a new folder somewhere…
Alexander Rechsteiner
- 2,232
170
votes
9 answers
How can I type a Unicode character (for example, em-dash —?)
The title pretty much says it all: how can I type Unicode characters - specifically the em-dash —?
Humphrey Bogart
- 1,805
170
votes
11 answers
How can a script check if it's being run as root?
I'm writing a simple bash script, but I need it to check whether it's being run as root or not. I know there's probably a very simple way to do that, but I have no idea how.
Just to be clear:
What's a simple way to write a script foo.sh, so that the…
Malabarba
- 10,196
170
votes
13 answers
Screen Share Not working in Ubuntu 22.04 (In all platforms zoom, teams, google meet, anydesk , etc.,)
Ubuntu 22.04 has a bug which is we can't share our screen on any platforms.
Arun Raja
- 3,793
170
votes
5 answers
How to remove snap from Ubuntu?
How do I remove snap? apt pretends it's not there, but I can still call commands with it.
Trying to remove it says read only file system
# apt remove snap
Reading package lists... Done
Building dependency tree
Reading state information...…
quantumpotato
- 1,803
170
votes
17 answers
How can I install pdftk in Ubuntu 18.04 and later?
Is there any chance of getting pdftk working in Ubuntu 18.04?
I need this for creating PDF files with a watermark in shell.
Or, does anybody know a working alternative to pdftk to generate a PDF with a watermark in shell?
I already check/try out…
WiKrIe
- 1,939
169
votes
1 answer
What are the differences between the different vim packages available in Ubuntu?
The difference between vim-gtk and vim-gnome has been discussed here.
Ubuntu usually offers more than these two options for vim, e.g.:
vim-nox
vim-athena
vim-*
It is not clear which vim package have which dependecies and which one is preferable…
Dilawar
- 1,791
- 2
- 12
- 12
169
votes
7 answers
How do I create a 32-bit WINE prefix?
How do I create a 32-bit Wine prefix on Ubuntu 12.04 64-bit?
Levan
- 10,880
168
votes
8 answers
How to check opened/closed ports on my computer?
How to check the opened/closed ports on my computer?
I used netstat -a on command line.
Does the port status "LISTENING" indicate that the port is open?
Is any port, that is not shown in the output, closed?
Router
- 2,321
- 3
- 15
- 6
168
votes
2 answers
Is it possible to clean the APT cache from the command line?
I ask because Ubuntu Tweak's Janitor is frozen due to the sheer number of packages in the cache that accumulated during the upgrade from 12.10 to 13.04.
Josh Pinto
- 7,919
168
votes
12 answers
How do I install and use the latest version of GNOME?
I followed the instructions for compiling GNOME Shell and it did compile with a few errors here and there but it didn't run. I installed GNOME Shell using sudo apt-get install gnome-shell but I got version 2.31.x, while the latest is 2.91.5 or…
Martin Zeltin
- 5,323
168
votes
10 answers
How do I disable the screensaver/lock?
When I'm watching a film in Mythtv the screen turns to black every 10 - 15 mins and I have to log back into Ubuntu. Very annoying!
How do I disable the black screen / screensaver / logout in Unity?
There no longer seems to be any options to turn the…
Gareth Butcher
- 1,753
168
votes
18 answers
My /boot partition hit 100% and now I can't upgrade. Can't remove old kernels to make room
My first issue was when I tried to apt-get update or apt-get upgrade. On upgrade I get the following error:
You might want to run 'apt-get -f install' to correct these.
The following packages have unmet dependencies:
linux-image-server : Depends:…
Strifey
- 1,780
168
votes
8 answers
How do I get Terminator to start up with my custom layout?
Terminator is very powerful at organizing several computers or servers due to the split window and group all function. But here's the deal: I created my own Layout and would appreciate it to load at startup of terminator. Is that possible?
zulu34sx
- 2,151
167
votes
4 answers
Explicitly accept change for PPA 'Label'
When I run apt-get update on my ubuntu 17.10 I receive the following error:
E: Repository 'http://ppa.launchpad.net/ondrej/php/ubuntu artful InRelease' changed its 'Label' value from '*****
The main PPA for PHP (5.6, 7.0, 7.1) with many PECL…
Rick
- 1,721