Skip to main content
14 votes

How can I make chrome (stop asking to be) the default browser?

found the solution: When you get the question again, don’t press the button that makes Chrome the default browser, but click on the far right of the bar on the X to make the bar disappear. Big ...
Jason Lewis's user avatar
8 votes

FreeBSD: How to set Bash as the default shell

Changing one's login shell is covered by The FreeBSD Handbook, in the section called Shells. It also points to a chapter called Installing Applications: Packages and Ports that will tell you what you ...
Kusalananda's user avatar
  • 356k
8 votes
Accepted

apt: What's the difference between "apt install php" and "apt install php-defaults"?

The difference is that apt install php-defaults doesn’t work, because php-defaults is a source package, not a binary package. A source package contains the source code and packaging descriptors used ...
Stephen Kitt's user avatar
8 votes
Accepted

How can I check which application opens a file by extension?

Ask xdg-mime. $ xdg-mime query default application/pdf atril.desktop
Ignacio Vazquez-Abrams's user avatar
8 votes
Accepted

Default TCP KeepAlive settings

TCP Keep-alive was defined at a time when even the concept of firewall, let alone stateful firewall or NAT, was probably not widespread. From RFC 1122 (October 1989): 4.2.3.6 TCP Keep-Alives ...
A.B's user avatar
  • 39.5k
8 votes
Accepted

What is AntiX's root default password?

AntiX's default password is demo
Wolf's user avatar
  • 1,627
7 votes
Accepted

Is there a way to set up default values for grep options such as `--exclude-dir`?

What about an alias or a shell function in the appropriate start-up file? alias mygrep='grep -r --exclude-dir=.git --exclude-dir=another_path' grepwithoutgitrot () { grep -r --exclude-dir=.git --...
Jens's user avatar
  • 1,894
6 votes

How can I make chrome (stop asking to be) the default browser?

Here is a quick solution as worth as the one above I guess but different: Run in a terminal : echo '# Disable set default browser export CHROMIUM_FLAGS="$CHROMIUM_FLAGS --no-default-browser-check"' \ ...
David Gouzien's user avatar
5 votes
Accepted

Auto set write permission for a group

Default permissions for new files and folder are determined by umask. If you configure the default umask for your users to 002, group permission will be set to rw for new files and folders. ...
sebasth's user avatar
  • 15.8k
5 votes
Accepted

How to permanently set default color of feh's background to black?

It seems that you cannot put your desired default options in a config file. If you know about $PATH you can resort to a hack. Create this script: #!/bin/sh feh --bg-color black "$@" Call it feh and ...
maria s's user avatar
  • 182
5 votes

FreeBSD: How to set Bash as the default shell

There is also the pw utility. shell> pw usermod <user> -s /usr/local/bin/bash
Vladimir Botka's user avatar
5 votes
Accepted

Set of CLI tools that are installed by default on most distributions

Anything that can reasonably called Unix or Unix-like has POSIX utilities. You can generally assume that the utilities are present, that they support the listed options, and that they behave as ...
Gilles 'SO- stop being evil''s user avatar
5 votes
Accepted

Browser's Mechanism of font choosing on Linux Systems

After a long time of studying the behavior of fontconfig and browsers, I came to know these points : Fontconfig is comparatively small, but complex piece of software. It has an algorithm that matches ...
cheesesticks's user avatar
4 votes
Accepted

Bash: Error in assigning default value to a variable

From bash's manpage: Positional Parameters A positional parameter is a parameter denoted by one or more digits, other than the single digit 0. Positional parameters are assigned from ...
Stefan Hamcke's user avatar
4 votes

How can I make chrome (stop asking to be) the default browser?

I was facing this issue on my work Macbook, turns out IT had set a managed policy called DefaultBrowserSettingEnabled to True. It will override any command line arguments you try passing to it or any ...
luluco250's user avatar
4 votes

How to permanently set default color of feh's background to black?

I would like to add this as a comment to the only answer but I do not have enough reputation. A look into the man page of feh reveals that the alias should look like this: alias feh="feh --image-bg ...
tim's user avatar
  • 141
4 votes
Accepted

How to set Awesome as the default WM in Ubuntu 20.04

You have to select it from the display manager aka lock screen, if you use gnome click on the top right corner and then click log out, after you log out select your user but before you enter your ...
Michael Angel P.'s user avatar
3 votes
Accepted

Why does xdg-open use Mendeley as default for PDFs?

The question remains: where did xdg-open get the idea that Mendeley should be the default PDF viewer from? This is an eminently reasonable question. Here's a somewhat long answer in three parts. ...
Nathaniel M. Beaver's user avatar
3 votes

Mime Type Wildcard in Default Application List

Not sure it will help you but the following mime type list has helped me. I am still not sure that I am 100% right on this but so far this is working for me. I was trying to develop a 'open with' ...
Lj MT's user avatar
  • 41
3 votes
Accepted

Does the search tracking and Amazon information sharing attributed to Ubuntu part of Debian?

This was a feature provided by Unity’s shopping lens; it was removed in Ubuntu 17.10, and was never available in Debian.
Stephen Kitt's user avatar
3 votes

How can I find the default (font) resource XTerm is using?

Your can find the default font by running $ fc-match mono Here is the explanation (from the Arch-Wiki) xterm's default font is the bitmap font named by the X Logical Font Description alias fixed, ...
Sélom ATSOU's user avatar
3 votes

how to access samba share from Windows which is running on different port

use NAT this can be done by applying some rule on your router/gateway [windows]--139-->[dst-nat 139 to x.x.x.x:1139 router ]-->1139-->[samba-server listen on :1139]
Arjo Cuwik's user avatar
3 votes

How to set the default browser in KDE?

If you right-click the link and click "save as" then select it wherever you downloaded it, click "open with" and select firefox. there should be a checkbox saying "Remember ...
Father Pucci's user avatar
3 votes
Accepted

What exactly is the default pcm ALSA device?

The default definition of the default device can be found in /usr/share/alsa/pcm/default.conf. If it does not redirect to a driver-specific default, it is defined like this: pcm.!default { type ...
CL.'s user avatar
  • 2,824
3 votes
Accepted

Is it possible to specify hosts for an Ansible role based on a map value?

There are more options: Put the logic into the expression of hosts: shell> cat pb.yml - hosts: "{{ (map_value == 'single')|ternary('STG', 'LIVE') }}" tasks: - debug: var: ...
Vladimir Botka's user avatar
3 votes
Accepted

Fedora "Files" app gives wrong "Detailed Type" description

You could check whether Foxit modified anything of your user's configuration. First step would probably be using grep (or any faster alternative, e.g. rg/ripgrep) as in grep -l -r FoxitReader ~/....
Marcus Müller's user avatar
2 votes

How do I change the location where screenshots are saved in Linux Mint 17 Cinnamon?

Using the terminal Setting the auto-save-directory gsettings set org.gnome.gnome-screenshot auto-save-directory '/home/yourpath' Getting it gsettings get org.gnome.gnome-screenshot auto-save-...
xjcl's user avatar
  • 361
2 votes

How can I make chrome (stop asking to be) the default browser?

I was unable to disable it, but after some research I was at least able to discover why I couldn't disable it. This is a work computer with a managed chrome policy. In the Chrome URL, I could view ...
lightswitch05's user avatar
2 votes
Accepted

Setting default network interface?

You just need to set the default gateway to the correct interface. It should be configured in your GUI (Network Manager for example) or if you feel a bit geeky, you can configure it in your /etc/...
Marc's user avatar
  • 449

Only top scored, non community-wiki answers of a minimum length are eligible