Questions tagged [defaults]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
1 answer
16 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 ...
0 votes
1 answer
32 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 ...
  • 246
2 votes
1 answer
54 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 ...
  • 1,083
1 vote
1 answer
43 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)?
  • 849
4 votes
1 answer
98 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 ...
  • 1,833
-2 votes
2 answers
2k 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 ....
  • 13
0 votes
0 answers
26 views

Mutt: Open with first old messsage selected?

Is there a way to configure MUTT so that when I open it, the first old message is selected instead of the first new message? I thought that maybe setting a higher score to new messages than old ...
  • 1
0 votes
2 answers
1k 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) ...
  • 770
-1 votes
1 answer
195 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 ...
  • 4,693
4 votes
0 answers
455 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 ...
3 votes
0 answers
955 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 ...
  • 129
0 votes
1 answer
339 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 ...
-3 votes
1 answer
212 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 ...
  • 8,123
3 votes
0 answers
962 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. ...
  • 8,123
0 votes
0 answers
245 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 ...
1 vote
1 answer
421 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 ...
0 votes
1 answer
237 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 ...
  • 2,151
1 vote
1 answer
3k 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 ...
  • 113
1 vote
0 answers
518 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-...
  • 776
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 ...
  • 197
3 votes
1 answer
66 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. ...
1 vote
1 answer
333 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 ...
2 votes
3 answers
3k 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-...
  • 121
2 votes
0 answers
423 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 ...
1 vote
1 answer
683 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:...
  • 462
2 votes
1 answer
17k views

What is AntiX's root default password?

Prompted for a system password on an AntiX Live USB/CD and it's not root...
  • 1,437
0 votes
0 answers
329 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 ...
15 votes
1 answer
9k 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. Linux has many ways of "marking" an application "as a default&...
  • 682
16 votes
1 answer
17k 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 ...
  • 622
1 vote
0 answers
362 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 ...
  • 23
1 vote
1 answer
446 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
6 votes
2 answers
11k 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?
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}?
  • 1,510
2 votes
1 answer
195 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 ...
  • 462
8 votes
1 answer
1k 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 ...
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 ...
  • 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 ...
  • 479
1 vote
2 answers
1k 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 ...
5 votes
4 answers
13k 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 ...
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. ...
  • 151
2 votes
2 answers
14k 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 ...
1 vote
1 answer
183 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"...
  • 1,972
0 votes
1 answer
40 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?
6 votes
1 answer
520 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 ...
  • 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/...
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 ...
  • 1,995
4 votes
1 answer
904 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 ...
  • 1,532
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. ...
  • 113
-2 votes
1 answer
687 views

Change of python default version gets automatically reset after exiting terminal

So I am trying to change my python default version to 3.5.2 or any 3 in general. I am running Gnu/Linux Mint 18 Cinnamon. My OS came preinstalled with 3.5.2(I'm sure most do these days) So if I try ...
14 votes
3 answers
12k views

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 ...
  • 351