Questions tagged [defaults]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
10
votes
3answers
7k views

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 ...
0
votes
0answers
11 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. ...
9
votes
3answers
11k views

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 ...
0
votes
0answers
10 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
0answers
9 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
39 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
2answers
725 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 ...
1
vote
1answer
50 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 ...
5
votes
4answers
16k 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 ...
4
votes
2answers
2k views

Change default web browser to lynx from terminal

I'm on Linux Mint Olivia. I just installed Lynx. How do I set Lynx as my browser, so when I open links from the terminal, they open in that terminal with Lynx?
21
votes
7answers
50k views

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 ...
0
votes
0answers
62 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-...
0
votes
1answer
371 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 ...
2
votes
2answers
7k 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 ...
1
vote
2answers
2k views

Linux mint does not remember default browser

When I launch Chrome on Linux Mint, it asks for being the default browser. I confirm and it is remembered between browser relaunches. But when I shut my laptop down and then turn on again, default ...
6
votes
0answers
3k views

How to set the default browser in KDE?

Linux has many ways of "marking" an application "as a default". You can check some of them using following commands: xdg-settings get default-web-browser ls -o /etc/alternatives/*browser* ls -o /usr/...
1
vote
2answers
5k 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
1answer
44 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. ...
12
votes
2answers
8k 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 ...
3
votes
1answer
387 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 ...
16
votes
6answers
33k views

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 ...
1
vote
1answer
59 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 ...
0
votes
1answer
461 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-...
7
votes
1answer
777 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
126 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
231 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:...
0
votes
1answer
5k views

What is AntiX's root default password?

Prompted for a system password on an AntiX Live USB/CD and it's not root...
16
votes
2answers
11k views

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] ...
3
votes
2answers
6k views

How to save customized interface of DeadBeef?

DeadBeeF has a new option, 'Designer mode' allowing to modify the displayed features, modules, addons, in the way Foobar2000 is doing by its layout editing mode. Example of difficulty: All the ...
12
votes
1answer
38k 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 ...
1
vote
2answers
9k 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 ...
7
votes
2answers
6k views

How do I change the location where screenshots are saved in Linux Mint 17 Cinnamon?

Pressing PrnScr "Print Screen" on the keyboard results in a screenshot being silently saved under /home/%user%/Pictures/ How can I change this location?
1
vote
0answers
173 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 ...
0
votes
0answers
230 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 ...
1
vote
2answers
873 views

xdg-mime not behaving

I am trying to set the default application for magnet links using: ~ $ xdg-mime default deluge.desktop x-scheme-handler/magnet Checking this with grep -i deluge ~/.local/share/applications/* yeilds:...
6
votes
1answer
8k 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 ...
3
votes
1answer
344 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
390 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 ...
2
votes
1answer
5k views

How to change the default web page in Linux Mint 12

I am using Linux Mint 12. I am trying to change the default web page, so that people using guest-session will open a specific web page instead of Linux Mint's corny default site. Also, please note ...
0
votes
0answers
1k 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 ...
5
votes
1answer
10k views

set default g++ on CentOS?

I'm trying to set the default g++ to 4.7.2 which I'm told by my host is installed (I'm also told that c++11 is also installed); however, neither of us know how to set the default g++ to 4.7.2 because ...
2
votes
1answer
1k 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}?
3
votes
4answers
2k views

How to make GNU grep the default in FreeBSD?

I'm running FreeBSD 9.1-RELEASE. I've installed GNU grep with portmaster textproc/gnugrep. However the "default" grep for users is still FreeBSD grep. # /usr/local/bin/grep -V /usr/local/bin/grep (...
6
votes
2answers
586 views

What files in /var need to have specific owners?

I accidentally wreaked unknown amounts of havoc on my web server by running sudo chown -R myuser:mygroup * .* in /var/www, not remembering that .* would include the parent directory (as ..). I ...
2
votes
1answer
119 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 ...
1
vote
0answers
47 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 ...
3
votes
1answer
416 views

Knowing default clipboard manager

There are many Clipboard Manager for Unix-based Operating System but is there a way to actually know which one is being used? I am on Fedora 20 under Gnome 3.10.1 and I know that I'm using GPaste 3....
5
votes
0answers
1k 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
1answer
114 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
31 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?