Questions tagged [defaults]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
0 answers
16 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
635 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) ...
  • 760
-1 votes
1 answer
100 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,463
3 votes
0 answers
327 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 ...
0 votes
0 answers
160 views

How to set KDE 5's Default Web Browser to a Command

In KDE Plasma 5.20.5, I'm trying to set my default web browser to a command. I recall achieving this previously in other KDE Plasma versions, but I don't see a way to achieve this in 5.20.5. When I ...
  • 4,463
3 votes
0 answers
629 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 ...
  • 109
0 votes
1 answer
218 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 ...
-4 votes
1 answer
160 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 ...
  • 7,703
3 votes
0 answers
626 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. ...
  • 7,703
0 votes
0 answers
171 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 ...
0 votes
1 answer
175 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
138 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,037
1 vote
1 answer
2k 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
0 votes
0 answers
355 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-...
  • 614
3 votes
1 answer
2k 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 ...
  • 177
3 votes
1 answer
56 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
252 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 ...
1 vote
3 answers
2k 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-...
  • 111
2 votes
0 answers
334 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
593 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:...
  • 460
1 vote
1 answer
14k 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,327
0 votes
0 answers
315 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
8k 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&...
  • 662
14 votes
1 answer
15k 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 ...
  • 582
1 vote
0 answers
308 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
444 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 ...
's user avatar
5 votes
2 answers
9k 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?
2 votes
1 answer
2k 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,384
2 votes
1 answer
180 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 ...
  • 460
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
12k 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
13k 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
163 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,812
0 votes
1 answer
35 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
516 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 ...
  • 300
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
899 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,935
4 votes
1 answer
766 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,622
1 vote
1 answer
2k 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
640 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 ...
13 votes
3 answers
11k 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 ...
  • 331
14 votes
1 answer
52k views

What is the default value of LD_LIBRARY_PATH? [duplicate]

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 ...
  • 589
14 votes
1 answer
6k views

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 ...
1 vote
1 answer
134 views

Does Grub2 have a way of uniquely labelling the menu entries that can be used to set the default for booting?

Does grub2 have a means of selecting a menu entry by a unique label instead of the current numbering system which results in commands like grub-reboot '1>3', GRUB_DEFAULT="1", GRUB_DEFAULT="1>3"?...
  • 6,857
7 votes
1 answer
2k views

What does the "al" in "alarm", the default Arch Linux ARM processor username+password stand for?

ARM machines often have a default password. On Arch Linux, this is: User: alarm Password: alarm I am assuming that the "arm" part of "alarm" refers the architecture, but what does the "al" stand ...
0 votes
1 answer
487 views

Make pattern match directories

I'm using gnu make and stow to manage some configurations (dotfiles). I have multiple directories in my repo: dotfiles/ ├── Makefile ├── package1/ └── package2/ Currently, my Makefile looks like: ...
  • 35