Questions tagged [defaults]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
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 ...
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 ...
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] ...
13
votes
4answers
50k views

Setting default username and group for files in directory

Using this helpful post I am able to set a default group and file permissions in a folder. I'm having trouble setting a default owner (teamlead uid 1234). setfacl -d -m g::rwx /my/test/folder ...
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 ...
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 ...
11
votes
1answer
5k 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 ...
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 ...
9
votes
2answers
11k views

Set default application for particular file types in nautilus

I use nautilus as file manager and would like to use Vim instead of Gedit to edit my text files. Many files (log files, empty files, …) are already opened with Vim, however not all of them, e.g. tex ...
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 ...
8
votes
2answers
2k views

Purpose of find command's default size unit 512 bytes

The find command allows you to search by size, which you can specify using units spelled out in the man page: File uses n units of space. The following suffixes can be used: `b' for 512-byte ...
7
votes
3answers
5k views

My default browser is set to Firefox but links open with Chromium

I'm using Linux Mint Debian edition and I have set Firefox as my default browser in my settings. But HTTP links in other apps like hotot and pidgin open with Chromium! Why is this happening is there ...
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?
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 ...
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 ...
6
votes
1answer
510 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 ...
6
votes
2answers
588 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 ...
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 ...
6
votes
1answer
8k views

Default username for Samba share that is not the user name on the client system

When mounting a Samba share the user name is defaulting to the user name from the client machine rather than the "User Name" field from the earlier "Connect to Server" dialogue. Accessing a Samba ...
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/...
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 ...
5
votes
1answer
3k views

in i3wm how can I set the default layout for all works spaces

By default when you start i3wm all work spaces start as vertical/horizontal split splith/splitv layout. Is there a way to set the a different default like stacking or tabbed as the default for all ...
5
votes
2answers
7k views

how to check default cache mode for disk in kvm

KVM/qemu support various types of cache - none, writethrough, writeback. How to check which one is default and is used on system when no cache= is specified? For RHEL6 i found that it's writethrough ...
5
votes
1answer
436 views

How can I set desktop defaults for new users? [duplicate]

How can I set up desktop defaults, much like most distributions do, for every new user? (ex. default wallpaper, apps, etc)
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 ...
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. ...
4
votes
2answers
10k views

Why is the firewall off by default with Linux Mint?

One of the most common recommendations that I read for users that recently installed Linux Mint is to enable their firewall, which is pretty simple to do. But why is the firewall off by default in the ...
4
votes
2answers
4k views

Changing shutdown broadcast message

Is it possible to change the default message broadcasted by shutdown to something else?
4
votes
1answer
1k views

Get “recent files” in global file manager (Dolphin?)

I just switched to OpenSUSE (KDE) from my Fedora 20 KDE setup,and I find myself greatly missing a feature that was a default in Fedora: a "Recently Used" option in the file manager when saving and ...
4
votes
2answers
4k views

What sets the $SHELL environment variable?

Where is the environment variable $SHELL first set on a UNIX system? How can I find and print all of this type of default settings of my terminal?
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?
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 (...
3
votes
4answers
11k views

Set Default/Global Gnome Preferences (Gnome 3)

I have recently switched to Gnome 3 from Gnome 2 (and switched to Linux recently before that), and Gnome 3 doesn't give me as many options to change settings via the GUI, and especially not to change ...
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. ...
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 ...
3
votes
1answer
10k views

How to change the default version of Python in Debian 7.5?

I'm using Debian 7.5, and I've installed Python 3.3 and 3.2. How do I make 3.3 the default for when someone types python in the command line?
3
votes
3answers
5k views

How to make my tmux which starts via crontab @reboot use bash?

I have a crontab which launches tmux-launching-script as follows : -sh-3.00# crontab -l @reboot /root/scripts/tmux_autostart.sh where #!/bin/bash # setup tmux session tmux new -d -s my_session ...
3
votes
1answer
390 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 ...
3
votes
1answer
345 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 ...
3
votes
1answer
482 views

Redirect home to shared NTFS partition

I've installed windows 7 and linux dualboot. My partitions are: /dev/sda2: UUID="EC328C61328C329E" TYPE="ntfs" /dev/sda3: UUID="800E88610E8851D8" TYPE="ntfs" /dev/sda4: UUID="20e7c430-bab0-4aa1-...
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....
2
votes
2answers
4k views

dd count default

What is the count default in dd command if not specified ? dd if=/dev/mem bs=1k skip=768 instead of full form like dd if=/dev/mem bs=1k skip=768 count=50 I did not find an answer with Google.
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 ...
2
votes
2answers
15k views

Skeleton directory - how to add my own directories

I want to add a few directories to the skeleton directory. When I add new user I want to add my own directories to the new home directories.
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}?
2
votes
1answer
2k views

Have Thunar remember file ordering for folders

I often attach files when on the web (using Chrome/Firefox), or when using email (Thunderbird). I need to navigate to a specific folder, and there I often need one of the most recent files. However, ...
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 ...
2
votes
1answer
6k views

Setting rwx default permissions for the group, but just rw default permissions for files

I have a collection of directories that should have permissions rw-rw-r-- for all contained regular files, and rwxrwxr-x for all contained directories. I can set the default permissions for all ...
2
votes
1answer
424 views

How to determine default algorithm mcrypt uses

mcrypt selects a default from one of its possible encryption algorithms if one isn't explicitly named. mcrypt --list shows all available algorithms, but doesn't mark which one is default. Neither ...
2
votes
2answers
2k views

Auto login for Ubuntu (or other Linux) without GUI?

I am thinking about doing an Ubuntu installation with their mini ISO, which comes only with the barebones system without a desktop environment/GUI. I remember being given the option to set up ...