Questions tagged [defaults]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
0 answers
57 views

What is this email client and how did it get here?

Earlier today, I was emailing a PDF file, and when I hit the "Email" option in the right-click menu, of all things Wine started trying to run. Somehow, a program called "A Wine ...
Silvio Mayolo's user avatar
0 votes
2 answers
104 views

Make USB audio device default

Running Debian : # uname --kernel-name --kernel-release --machine Linux 6.5.11-7-pve x86_64 # cat /proc/asound/cards 0 [PCH ]: HDA-Intel - HDA Intel PCH HDA Intel PCH at ...
bilogic's user avatar
  • 101
0 votes
0 answers
79 views

How to create a catch all https "default_server" for "Welcome to Nginx!" Page, using self signed certificate in /etc/nginx/conf.d/default.conf

I am running a LEMP server with Nginx, and have the "listen 80 default_server;" directive enabled for port 80 in the catch all /etc/nginx/conf.d/default.conf directive. When I browse to the ...
DanRan's user avatar
  • 113
0 votes
1 answer
50 views

Is it bad that I changed the default application of application/x-trash files?

I was trying to use the mimeopen command to open an image file. I ended up being asked to pick the default application of application/x-trash. I was practicing python and thought I should press ...
kingjofr's user avatar
0 votes
1 answer
262 views

Where does xfce4-screenshooter save by default?

I did a screenshot and also saved it, but I'm unable to figure out where it is. Looking into the official docs didn't tell me more and I also didn't find something quickly searching both the SE ...
Cadoiz's user avatar
  • 276
1 vote
1 answer
463 views

How to set application installed via flatpak as default aplication for some type of files?

I have installed pycharm via flatpak on linux Mint 21.1. I want to open every .py file in the PyCharm application. But when I right click and choose "open with other application" PyCharm is ...
Jan Černý's user avatar
  • 1,381
1 vote
1 answer
492 views

How to display the default btrfs options for the current kernel (or mounted filesystem)

Is there any way of displaying the default btrfs options for the kernel that is currently running (or for a filesystem mounted using defaults)?
Marcus's user avatar
  • 961
5 votes
1 answer
313 views

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

I have hosts, where I can setup application on a single node architecture or distributed. So I have an inventory. [STG] node1 [LIVE] app_node db_node gateway_node So a variable with default value be ...
Sollosa's user avatar
  • 1,941
-2 votes
2 answers
5k views

How to make "yes" the default of rm -i

I want to review a long list of files from being deleted, they are not very important so there is no problem if I accidentally delete some of them, but still I want to save some. How can I call rm -i ....
cabo's user avatar
  • 13
-1 votes
2 answers
2k views

Cannot set Brave as default xdg-open browser in Kubuntu 20.04

I am running Kubuntu 20.04 with KDE Plasma. I have recently switched from Google Chrome to the Brave Browser, version (taken from brave://settings/help) 1.34.81 Chromium: 97.0.4692.99 (Official Build) ...
AF7's user avatar
  • 818
-1 votes
1 answer
487 views

Setting Default Applications without a Desktop Environment [duplicate]

Since Awesome Window Manager is mainly a window manager, and not quite a full desktop environment, I don't know how to manage the concept of default applications. Without a desktop environment ...
Lonnie Best's user avatar
  • 5,135
4 votes
0 answers
808 views

How do I permanently set bluetooth device as default in pipewire

I am running latest Pipewire and I have a Bluetooth headset connected to it. What I'd like to achieve is that when I turn on my headset, all applications in the laptop start using the microphone ...
Alexandre Thenorio's user avatar
3 votes
1 answer
2k views

Chrome still opens Nautilus in spite changing the default file manager to Dolphin in Pop!_OS

Recently, I changed my default file manager from Nautilus to Dolphin in Pop!_OS by this command: xdg-mime default org.kde.dolphin.desktop inode/directory' and checked again which is the default file ...
lone wolf's user avatar
  • 168
0 votes
1 answer
459 views

Why do package managers like apt and pacman NOT use system proxy settings by default? [closed]

To be clear, this is a question on why the developers of apt chose to set it up this way. I’m not asking how to change my proxy settings, but rather why the out-of-the-box defaults make me have to ...
James Franklin's user avatar
-3 votes
1 answer
326 views

Why is ext4 offered as the default filesystem if Theodore Ts'o said this about it?

Wikipedia says that In 2008, Ts'o [the designer of ext3 and ext4] stated that although ext4 has improved features such as being much faster than ext3, it is not a major advance, it uses old ...
einpoklum's user avatar
  • 9,525
4 votes
0 answers
1k views

How to control pulseaudio automatic device switching priority?

PulseAudio has the ability to switch the default output on certain conditions: module-switch-on-port-available module-switch-on-connect this is neat, but - some of these events may be false alarms. ...
einpoklum's user avatar
  • 9,525
0 votes
0 answers
310 views

How to remove all Zorin Default themes

I wanted a lightweight Linux Distro which when researching about it, I found XFCE to be lightweight but it looked ugly, but when I saw Zorin Lite edition looking good, I thought - It looks good and ...
user avatar
3 votes
1 answer
1k views

Browser's Mechanism of font choosing on Linux Systems

Actually, I think my question is too basic, but, even after performing a deep search on internet, I still didn't understand how a browser selects a particular font for rendering a particular script on ...
cheesesticks's user avatar
0 votes
1 answer
473 views

How to prevent changing default Python version?

Many applications I use (arandr, inkscape, ...) get broken when default Python version is set to Python-3 by update-alternatives --config python. How can I prevent myself from setting default Python ...
ceremcem's user avatar
  • 2,351
1 vote
1 answer
5k views

What exactly is the default pcm ALSA device?

I'm on Lubuntu 20.04, with no PulseAudio installed. I'm having some trouble editing my ALSA setting, as any change I make interferes with my microphone. In particular, if I use the following basic ...
Svalorzen's user avatar
  • 113
1 vote
0 answers
967 views

How do I unset my default xdg browser?

I want to debug a program's behaviour when the user has no default web browser set, but I'm not sure how I'd return to this state after setting one. I know that I can set my default browser via xdg-...
Newbyte's user avatar
  • 1,036
3 votes
1 answer
3k views

How to set Awesome as the default WM in Ubuntu 20.04

I'm running Ubuntu 20.04. I just downloaded Awesome and I'd like to start running it by default. I tried to open Awesome on the command line and received the message E: awesome: main:772: another ...
Yehuda's user avatar
  • 301
3 votes
1 answer
153 views

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

While writing shell scripts, in order to achieve as much portability as possible, one might want to try and stick to using command line tools that are likely to be already installed on target systems. ...
rockfort's user avatar
1 vote
1 answer
529 views

KDE | Shortcuts to Open Default Applications?

Is it possible to define global keyboard shortcuts to open default applications? For example, I want to define a shortcut Meta + B to open up the default browser, such that if I ever decide to change ...
Gal Grünfeld's user avatar
2 votes
3 answers
5k views

How to make st the default terminal in linuxmint cinnamon

I have st installed in my $PATH (in /usr/local/bin). But still, I don't see st present in Prefered Applications list, nor is it present as an option when I run sudo update-alternatives --config x-...
mahbubweb's user avatar
  • 141
2 votes
0 answers
510 views

PulseAudio default.pa causes "No card found by this name or index."

I have some lines in my default.pa that I want to use to establish a default for a device whenever it may exist, like this: set-port-latency-offset bluez_card.FC_58_FA_B9_10_64 headphone-output 50000 ...
Evan Carroll's user avatar
  • 30.9k
1 vote
1 answer
798 views

set default pdf reader in debian 10 buster with cinnamon desktop

I looked through this question about setting the default pdf reader to evince. None of it seems to help for my install of debian 10.3 with the cinnamon desktop. I had a poke around and could find this:...
cardamom's user avatar
  • 550
2 votes
1 answer
23k views

What is AntiX's root default password?

Prompted for a system password on an AntiX Live USB/CD and it's not root...
Wolf's user avatar
  • 1,567
0 votes
0 answers
358 views

Questions about default applications in ElementaryOS Juno

I know this title seems a bit recurrent, but after several hours of search, I still don't understand. Basically, what I want to do is set Sublime Text as default text editor. Each time I see a valid ...
Tiranyk's user avatar
19 votes
1 answer
11k views

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. 2023 update: See also this pull request in KDE's GitLab for some details ...
andrybak's user avatar
  • 823
17 votes
1 answer
23k views

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 ...
Jan Hudec's user avatar
  • 651
1 vote
0 answers
501 views

Cannot change default text editor using update-alternatives

I want to use vim over nano as default text editor. I tried to do it with sudo update-alternatives --config editor From menu I chose vim. However, when I open any file, Linux launches nano just as ...
Em Ka's user avatar
  • 23
1 vote
1 answer
451 views

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

What's the difference between apt install php and apt install php-defaults? In a first glimpse I would theorize that php should include everything default for a (latest) php program. I ask this as a ...
user avatar
7 votes
2 answers
13k views

FreeBSD: How to set Bash as the default shell

I've used bash shell in all my Linuxes and in Mac OS X. I understand that tcsh is the default shell in FreeBSD. If I were to install bash, how would I make it my default shell?
Steve Wright's user avatar
3 votes
1 answer
3k views

Bash: Error in assigning default value to a variable

Inside my bash script: This works: CWD="${1:-${PWD}}" But, if I replace it with: CWD="${1:=${PWD}}" I get the following error line #: $1: cannot assign in this way Why I can't assign to ${1}?
Porcupine's user avatar
  • 1,902
2 votes
1 answer
227 views

Opera browser set itself as default without asking!

I just downloaded opera-stable_56.0.3051.99_amd64.deb from https://www.opera.com/de/download and ran sudo dpkg -i opera-stable_56.0.3051.99_amd64.deb It complained about some missing dependencies ...
cardamom's user avatar
  • 550
8 votes
1 answer
2k views

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 ...
Ondřej Grover's user avatar
1 vote
0 answers
48 views

What features did Ubuntu have on by default that made it like Windows?

In the last line of this explain xkcd it says, "This may be a reference to Ubuntu being developed with non-advanced users in mind, with many fail-safes and additional features being turned on by ...
Deoxal's user avatar
  • 111
0 votes
0 answers
2k views

How to set default gateway after boot

I have setup raspberrypi zero w running raspbian as wifi router. I have PPPoE broadband connection. After setting up pppoeconf , hostapd & dnsmasq. I get this routing table :: route -n Kernel IP ...
jonny789's user avatar
  • 499
1 vote
2 answers
2k views

Set the environment variable in bashrc for preferred PDF viewer

I am currently remoted into my linux workstation's command line environment (bash shell) using SSH with X11 forwarding enabled. I am using the mendeley citation manager's desktop application to ...
Dr Krishnakumar Gopalakrishnan's user avatar
6 votes
6 answers
17k views

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

Whenever I open an image in feh, the background is set to the standard, dark gray and gray checkboard pattern like this: As you can see, it's the checkboard background. How do I permanently change ...
M. Knepper's user avatar
5 votes
0 answers
2k views

Change default applications in Lubuntu

In Lubuntu I can change the default applications using Default applications for LXSession. It saves the default applications in the configuraion file /home/USER/.config/lxsession/Lubuntu/desktop.conf. ...
NESHOM's user avatar
  • 151
2 votes
2 answers
15k views

Setting default network interface?

I have a Debian workstation with two interfaces: the ethernet jack attached to the motherboard (eth0), and a USB to ethernet adapter (eth6). eth0 connects to the internet, while eth6 connects to some ...
user5104897's user avatar
1 vote
1 answer
196 views

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

I understand from Richard Stallman in this video, made probably in 2012/2013, that Ubuntu isn't 100% free by the GNU organization definition of Free Software, as according to Stallman there, it "spies"...
Arcticooling's user avatar
0 votes
1 answer
51 views

How to get the default version of an application in unix

Let’s say I have two versions of Firefox installed. What is the way to get the default version of firefox printed? I am running the script in python. Is there way to get the output into python?
Anoop Vk's user avatar
6 votes
1 answer
538 views

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

I am on a debian 9 system with unknown desktop environment (ssh access). How can I find out which program is used by default to view a file with a given extension (e.g. pdf)? Edit: Since extension is ...
a1an's user avatar
  • 301
1 vote
1 answer
1k views

Grub set default startup to a Ubuntu 16.04 installed at /dev/mapper

I have two Ubuntu systems installed, one 14.04 and one 16.04. From the Grub menu I can see that: *Ubuntu Memory test (memtest86+) Ubuntu 14.04.4 LTS (on /dev/sda1) Ubuntu 16.04.2 LTS (on /dev/mapper/...
Samo Jerom's user avatar
5 votes
1 answer
1k views

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

Similar to this question, I have some applications (Calibre, texdoc) open PDFs with Mendeley. Opening PDFs from Thunar, Thunderbird, Firefox etc. opens evince, the expected default. It seems that ...
Raphael's user avatar
  • 2,075
5 votes
1 answer
1k views

Mime Type Wildcard in Default Application List

I want to have a default application for (almost) all text/* mimetypes. To affect nautilus I'm editing the .local/share/defaults.list. Sadly, using something like text/x-*=vim.desktop, the entry is ...
rudib's user avatar
  • 1,602
1 vote
1 answer
3k views

Auto set write permission for a group

I want to create a directory where multiple users will be able to contribute to the same files and I want each file that any user creates to have write permission by default for everyone in the group. ...
Alex's user avatar
  • 113