Questions tagged [defaults]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0
votes
0answers
13 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 ...
0
votes
0answers
21 views

default inode/directory not working for google chrome on debian

I would like google chrome's option "Show in folder", like in chrome://downloads/, to be set to use terminator. If I issue open ~/Downloads/, or xdg-open ~/Downloads/ it works as expected. ...
0
votes
0answers
17 views

Force Password Change on Auto-Login Account

I was doing some experimentation this afternoon on Ubuntu with setting up an account to automatically log in as well as with setting up that account to force a password change on next login. That's ...
0
votes
0answers
34 views

How to add a command-line argument for mime-type default applications in KDE?

I want to register a software (XCrysDen) to a number of file type as the default application (that opens when I click the file). The thing is, the software needs a specific command-line option for ...
1
vote
0answers
157 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 ...
0
votes
1answer
90 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
1answer
107 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 ...
0
votes
0answers
204 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. ...
0
votes
0answers
85 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
1answer
28 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
1answer
51 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 ...
1
vote
1answer
524 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 ...
0
votes
0answers
151 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-...
1
vote
1answer
1k 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 ...
3
votes
1answer
49 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
1answer
136 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
3answers
1k 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-...
2
votes
0answers
244 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
1answer
420 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:...
1
vote
1answer
10k views

What is AntiX's root default password?

Prompted for a system password on an AntiX Live USB/CD and it's not root...
0
votes
0answers
281 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 ...
11
votes
0answers
6k 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&...
10
votes
1answer
12k 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 ...
1
vote
0answers
227 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 ...
1
vote
1answer
432 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 ...
1
vote
2answers
7k 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
1answer
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}?
2
votes
1answer
163 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 ...
7
votes
1answer
994 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
0answers
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 ...
0
votes
0answers
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 ...
1
vote
2answers
962 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 ...
4
votes
4answers
9k 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
0answers
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. ...
1
vote
2answers
11k 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
1answer
136 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"...
0
votes
1answer
32 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
1answer
513 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 ...
1
vote
1answer
992 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/...
4
votes
1answer
576 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 ...
4
votes
1answer
552 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
vote
1answer
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. ...
-2
votes
1answer
585 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
3answers
10k 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 ...
13
votes
1answer
45k 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 ...
14
votes
1answer
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
1answer
123 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"?...
7
votes
1answer
1k 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
1answer
424 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: ...
6
votes
4answers
19k views

Command for the default in-terminal text editor

I often see instructions that include vim or nano, meaning to open the file in that step in your text editor of choice. Is there an agnostic command I can use in place of the specific program that ...