Questions tagged [defaults]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
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
1answer
117 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
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 ...
1
vote
1answer
952 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/...
0
votes
1answer
1k 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
520 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 ...
12
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 ...
1
vote
1answer
119 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
382 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: ...
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 ...
0
votes
1answer
2k views

Change default image viewer

# ... def show(): """ Show image """ t = Twitter(auth=authen()) try: target = g['stuff'].split()[0] if target != 'image': return id = int(g['...
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
436 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 ...
0
votes
1answer
192 views

What do are group permission missing on new directories?

Normally when I make a directory with mkdir the permissions I expect are 751 or 755. However for some reason when new files are created, even in a users home directory, they are set to 700. What ...
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.
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 ...
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?
1
vote
1answer
2k views

Which configuration files override /etc/default/locale?

For some strange reason, I find my I have several LC_ locale variables set to a value I don't recognize having chosen (en_ZA.UTF-8). So, I want to set it differently - permanently, from the command-...
1
vote
0answers
1k views

Is there a way to set the default TTL for multicast packets?

This Question Provided some valuable insight on how to set the default TTL for IP packets on a system. I would like to do the same thing, but for multicast packets. I do not know if this is possible....
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 ...
2
votes
2answers
5k 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.
1
vote
1answer
79 views

Where do I edit the keyboard “system settings” these days?

The last time I manually edited keyboard settings was sometime last decade. There days it looks like things have have changed. Now, when I use the Keyboard layouts dialog in XFCE or LXDE, I can either ...
0
votes
1answer
171 views

Default Folder Order in Gnome

How do I set the default folder order in Gnome? I'm talking about setting 'type order' as default so the folders will always be listed at the top, and other files after them. Here is the image: You ...
0
votes
1answer
2k views

Why doesn't Google Chrome show up in the “Default Applications” list in Gnome 3?

I'd like to configure Google Chrome as my default web browser on Arch Linux. I've already done the following: Made sure I have a ~/.local/share/applications/google-chrome.desktop which has an Exec ...
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 ...
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 ...
0
votes
0answers
146 views

Change default OS loading

Installed Ubuntu 12.04 Feb 2014 - upgraded to 14.04LTS. I believe there is still remnants of older OS's still there somewhere, (they appear on the Grub multi-boot menu at start up). An earlier ...
1
vote
1answer
67 views

Is there an xdg comliant DE independant “default-aplication-setter application”?

Topic is the question. Requirements: FOSS of course Independant of desktop environments is compliant with the Association between MIME types and applications standard Has optionally a neat GUI (my ...
0
votes
1answer
703 views

Nginx using default configuration on its own

I have set up Nginx on Ubuntu server 14.04 I want to configure a very simple server block that listens for /app path and redirects traffic to a running nodejs instance locally. I have done that with ...
1
vote
1answer
294 views

How can I consistently set an environment variable for a single program?

I'm using LC_TIME="en_AU.UTF-8" in general, and I'm happy with that. However, when I use Thunderbird, I'd like it to use a 12-hour clock. I've created a custom locale, and it works fine if I launch ...
1
vote
2answers
1k views

read first element in array

defaults read -g AppleLanguages produces something like this: ( en, de ) I'd like to extract just the first element, in this case "en", defaults read -g AppleLanguages | awk '/\(/ , /,...
1
vote
1answer
1k views

3 versions of BerkelyDB installed

I have 3 versions of BerkelyDB installed on my server following 2 versions Package db4-4.3.29-10.el5_5.2.x86_64 Package db4-4.3.29-10.el5_5.2.i386 which are included in the Centos 5 Distro and a ...
1
vote
0answers
36 views

Problem using Access control lists for new users, ex ( afolder created in skel directoy have acl set, it should apply to new users)

I have a doubt regarding ACL I want to give permissions to a group using ACL A directory created in SKEL directory needs to have a default ACL set that allows the members of the group “linux” to ...
1
vote
2answers
566 views

How can I prioritize 'open with' apps in KDE?

When I right click an mkv file in file browser and select 'Open With' I see the list: Dragon Player VLC Media PLayer When I double click it, it launches the file in Dragon Player. I'd like to change ...
1
vote
1answer
7k views

RHEL5/6/7 : If NM_CONTROLLED is not set what is the default value?

If /etc/sysconfig/network-scripts/eth0 does not include any NM_CONTROLLED setting on a RHEL-based distribution, what's the default behaviour? Is there any difference in the default setting between ...
0
votes
1answer
176 views

setting default options for cryptsetup

Is there a way to set default options for cryptsetup? For example, lets say I want to make sure that I only open cryptsetup devices with the -r option. I would like to add it to a config file, so that ...
1
vote
3answers
2k views

Debian thinks my file system is encoded as ISO-8859-1

This may not be the appropriate site for this question, because it's more a complaint than a question, but here goes. Today I updated my computer from Mint 15 to Debian 7.6. And after I'd done that, ...
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?
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 ...
2
votes
1answer
351 views

How are default permissions determined (on OS X)?

My (limited) understanding of basic Unix is that any files that are created will be created based on the permissions of the creating user. In particular, the group assigned will be the creating user's ...
3
votes
1answer
484 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-...
5
votes
2answers
4k views

Changing shutdown broadcast message

Is it possible to change the default message broadcasted by shutdown to something else?
1
vote
2answers
1k views

Setting default emacs font not saving (built from source OS X 10.8)

I built emacs 24.3 from source on OS X 10.8 and when I attempt to set the default font with Options -> Set Default Font -> [font] My choice is not saved next time I open emacs. I'm attempting ...
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
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 ...
6
votes
1answer
9k 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 ...
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, ...
1
vote
1answer
145 views

Default configuration I need to change?

A few days ago I installed a new linux os. Today i realize /root has o+r (755) so EVERYONE is able to see my root sql password in /root/.my.cnf. I freaked out and simply changed /root to 750. My /var/...