Questions tagged [defaults]

114 questions
30
votes
7 answers

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

I am running Linux Mint Debian edition (essentially Debian testing) and the Cinnamon desktop environment. Every time I launch google-chrome it asks to become the default browser. I have told it to do so in all ways I can think of but I still get…
terdon
  • 234,489
  • 66
  • 447
  • 667
22
votes
8 answers

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

If I launch xterm with its default bitmap fonts and then select the 'Large' font from the 'VT Fonts' menu (via ctrl+right mouse), I get a very usable bitmap font with apparently good Japanese character support. I'd like to know what this font is so…
Paul Whittaker
  • 323
  • 1
  • 2
  • 5
20
votes
2 answers

xdg-open default applications behavior

When I have no defaults.list and mimeapps.list, xdg-open opens text/plain with gvim. But when I create defaults.list in /usr/share/applications/ and add the following lines : [Default Applications] text/plain=emacs.desktop it opens text files with…
Gradient
  • 3,579
  • 10
  • 31
  • 37
18
votes
1 answer

How to set the default browser in KDE?

2021 update: the unexpected behavior described below was actual in KDE Plasma v5.18.5, but isn't actual in 5.22.3 anymore. Linux has many ways of "marking" an application "as a default". You can check some of them using following…
andrybak
  • 762
  • 1
  • 7
  • 21
17
votes
1 answer

Default TCP KeepAlive settings

The TCP KeepAlive (socket option SO_KEEPALIVE) is governed by three options—time after which the mechanism triggers, probing interval, and number of failed probes after which the connecting is declared broken. Their defaults are: tcp_keepalive_time…
Jan Hudec
  • 641
  • 1
  • 6
  • 14
15
votes
4 answers

Setting default username and group for files in directory

Using this helpful post I am able to set a default group and file permissions in a folder. I'm having trouble setting a default owner (teamlead uid 1234). setfacl -d -m g::rwx /my/test/folder setfacl -d -m o::rx /my/test/folder getfacl…
a coder
  • 3,184
  • 9
  • 42
  • 63
15
votes
3 answers

Ranger - open_with without suspending

When I open a file into ranger with a GUI application not listed in the rifle.conf file (i.e. using the open_with command), the ranger terminal window gets "suspended" until I close the GUI app. For this reason, I'd like to have a way to open files…
tigerjack
  • 361
  • 1
  • 4
  • 12
15
votes
1 answer

What is the default value of LD_LIBRARY_PATH?

In my case, it seems as if LD_LIBRARY_PATH is set to the empty string. But all standard system tools still work fine, so I guess the dynamic linker checks for that case and uses some default for LD_LIBRARY_PATH in that case. What is that default…
Albert
  • 639
  • 2
  • 5
  • 17
14
votes
1 answer

Setting default application for filetypes via CLI?

I have 150 Debian Jessie machines that open ODS files in Gnumeric when double-clicked despite LibreOffice Calc being installed. I know it is possible to change this by right-clicking the ODS file and changing its default program from the Properties…
user5104897
  • 721
  • 3
  • 12
  • 23
12
votes
2 answers

What sets the $SHELL environment variable?

Where is the environment variable $SHELL first set on a UNIX system? How can I find and print all of this type of default settings of my terminal?
eloone
  • 377
  • 1
  • 3
  • 9
11
votes
4 answers

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

I have samba server already running on standard ports(445 and 139). This samba server is integrated in Alfresco application. I need to setup new samba server but now I have problem with ports. Ok, so in my smb.conf I put this option smb ports = 450…
borbar
  • 171
  • 1
  • 1
  • 6
10
votes
3 answers

How to set downloaded Firefox to default web browser in Debian?

How do I set a manually downloaded Firefox as my default web browser so that clicking a link in another application will open the link in this Firefox? I tried these commands, but they didn't seem to work: update-alternatives --install…
Chalist
  • 417
  • 4
  • 14
9
votes
3 answers

Set default application for particular file types in nautilus

I use nautilus as file manager and would like to use Vim instead of Gedit to edit my text files. Many files (log files, empty files, …) are already opened with Vim, however not all of them, e.g. tex files and XML files are still opened with…
Marco
  • 33,188
  • 10
  • 112
  • 146
9
votes
2 answers

Purpose of find command's default size unit 512 bytes

The find command allows you to search by size, which you can specify using units spelled out in the man page: File uses n units of space. The following suffixes can be used: `b' for 512-byte blocks (this is the default if no suffix is used) …
baochan
  • 240
  • 2
  • 5
8
votes
1 answer

How to make xdg-open follow mailcap settings in Debian

tl;dr: In Debian xdg-open (through xdg-mime) does not follow the mailcap specifications used by run-mailcap which I prefer to use. Is there some systematic way to make xdg-open follow the mailcap entries? Ideally less hacky than to modify the…
Ondřej Grover
  • 403
  • 3
  • 8
1
2 3 4 5 6 7 8