Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [configuration]

The action of modifying a program's behavior, generally by modifying a text file.

0
votes
1answer
16 views

Sending email via mutt as root on RaspberryPi

I have an application that needs to run as root for access to hardware on the Raspberry Pi. In this application I need to send emails with attachments containing data. I am able to write a bash ...
0
votes
0answers
12 views

How to set layout toggle on <win+caps> in configuration.nix?

How can I set layout toggling on <win+caps> in NixOS configuration.nix only?
1
vote
0answers
21 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
1answer
25 views

How do configure ZSH commands substition to not use backticks (`)?

I only want echo $(date) to return the date not the backticked version. echo $(date) # should return Wed Mar 6 09:50:41 EST 2019 echo `date` # should return `date`
0
votes
1answer
53 views

Why use tristate vs bool in the Linux kernel Kconfig?

Here is my current understanding of why one would choose to use one vs the other, can you please confirm or correct me? Run-time vs compile-time: If you don't know whether or not you want this ...
0
votes
1answer
35 views

Is there a tool to check /etc/hosts.{allow,deny} syntax?

I am looking for a command line tool that checks tcp_wrapper configuration file syntax to make sure daemon names are set right and things like that, check for spelling or syntax errors etc.
0
votes
1answer
24 views

Initialize AIDE in Slackware 14.2

I have succesfully installed AIDE in my slackware installation. I want to initialiaze using the command below : aide --init But since I dont have the aide.conf file yet, I could not start the ...
0
votes
0answers
11 views

Where does Caja save folder state and icon?

I'm using icons to categorize my folders but sometimes I move the icons to a more appropiate place so the next time I load the folder, the folder icon isn't set. Could I edit manually (replace text) ...
0
votes
1answer
15 views

Supercat can't find configuraion

Recently I've downloaded supercat but I can't get it to work. There is always a message "can't find a config file" although I've created it in ~/.spcrc/spcrc . Anyone knows what's going on?
0
votes
1answer
25 views

Samba write access problem: parameter does not show in testparm even though it is in smb.conf

I am trying to get a samba share setup so that users have both read and write permissions. I thought that I would be able to do this by editing /etc/samba/smb.conf to add my share like so: [CLOUD] ...
1
vote
0answers
44 views

Debian — XFCE4 panel backup [closed]

The problem is the following. I have xfce4 and I have configured my panels on my machine (source machine). I have an other machine (dest machine) running also under the same distribution and same DE ...
0
votes
0answers
12 views

New entry in xmodmap creates new group instead of layer

Here is my dotfile: ! Key ! Shift+Key ! Mode_switch+Key ! Mode_switch+Shift+Key ! ISO_Level3_Shift+Key ! ISO_Level3_Shift+Shift+Key keycode 43 = h H BackSpace NoSymbol U20BD NoSymbol Cyrillic_er ...
0
votes
1answer
56 views

What do the lines for root, sudo and wheel in sudoers mean?

I am trying to understand the sudoers file, but I have a few things that I don't understand. This line: root ALL=(ALL) ALL Users in root on any host (what does host mean, can you give me the real ...
1
vote
1answer
53 views

How to add an additional configuration file to an existing nix derivation?

Using the linux distribution nixos, I have 2 similar problems: I have to add my custom_syntax_color_scheme.vim file to the existing /share/vim/vim80/colors folder in the nix store from existing ...
3
votes
0answers
33 views

kernel 2.6.35.3 - how to convert .config to defconfig

If you have newer kernel (i.e. > 2.6.35.3) you can create a 'defconfig' from a '.config' by using make savedefconfig But in kernel 2.6.35.3 - does not provide you with 'savedefconfig' target. How ...
7
votes
3answers
610 views

How can I prevent unsupported 'shopt' options from causing errors in my .bashrc?

I work in a relatively heterogeneous environment where I may be running different versions of Bash on different HPC nodes, VMs, or my personal workstation. I like the default behavior of Bash <= 4....
0
votes
0answers
20 views

Insert is pasting in Waterfox

Pressing the insert key in Waterfox seems to paste the clipboard contents, as opposed to the usual behavior. Why is this? How can I change it?
1
vote
1answer
43 views

Finding out who can ssh into a certain account without typing a password (Debian)

Is there a way that I can find out what users have permission to ssh into a certain account without typing a password? Lets say that I have three users: alice, bob, and john. Is there a way to see if ...
1
vote
0answers
39 views

Unity Settings reset after login on Ubuntu 18.10 (Cosmic Cuttlefish)

I've been using Ubuntu 18.10 (Cosmic Cuttlefish) for about 1 month, I've done some small customization like installing the compizconfig to change some stuff and gnome extensions to have Dash-to-Dock ...
0
votes
0answers
17 views

FRRouting Configuration

I am trying to configure FRR on CentOS 7 and I cloned the source code from github. The next step was to run ./bootsrap.sh but I can't seem to run the script. Whenever I run the script an error ...
1
vote
1answer
41 views

How to open multiple man pages in split in vim?

From View man pages in Vim, I learnt how to open man pages in vim by adding the following lines to ~/.vimrc: " Enable viewing man page in vim by ":Man ..." runtime ftplugin/man.vim " Set keyword 'K' ...
0
votes
1answer
20 views

Stop openvz vps from resetting hostname and resolv.conf to default on reboot?

So ive found with several hosting companies that my vps plan will reset its hostname and dns resolve.conf files to their initial state after reboot, loosing any changes. I suspect this is a openvz ...
0
votes
0answers
22 views

Converting SMF service from solaris to SystemD in RHEL

I am converting a few Solaris SMF services into RHEL/SystemD services. I see Solaris SMF is feature rich and trying to figure out corresponding features in RHEL/Ubuntu SystemD framework. The things ...
1
vote
1answer
61 views

Configure firefox without using the gui

in the context of automating the installation of a machine, I would like to configure firefox, specifically the proxy settings, from the command line, either by executing commands or by editing ...
0
votes
2answers
67 views

Disable automounting with commands in Xubuntu 18.04

I run a number of Xubuntu 18.04 machines, and set up more from time to time. I want to be able to turn off automounting of USB sticks with commands, so that it becomes an automatic part of my setup. ...
1
vote
1answer
97 views

Arch: Is there any chance to use Apache all default for 2 or more virtual hosts?

I consider establishing an Arch based LAMP. From reading this document, it seems there is must configuration to be done just for Apache itself, not to mention MySQL and PHP. In Debian LAMP there's ...
0
votes
1answer
45 views

LAMP DB-agnostic way to create a DB stack

Is there a LAMP-MySQL (or equivalent) agnostic way to create a DB stack that includes: DB-user and a relative password DB with the same name as of the user Setting a host for the DB (say, localhost) ...
0
votes
1answer
144 views

How to setup DNS manually on Linux?

In Linux /etc/resolv.conf get often overwritten when we setup the DNS, because of the multitude of programs managing the DNS servers. How to properly setup the DNS ?
0
votes
1answer
34 views

Is there a list of names indexed by xprop to i3 config?

XPROP returns WM_CLASS, and WM_NAME how do I target the different values returned by XPROP in i3?
2
votes
0answers
34 views

Apache startup error with symlinked configuration file with 777 permissions

Ubuntu virtual machine with Apache 2.4.7 I'm getting these errors: apache2: Syntax error on line 216 of /etc/apache2/apache2.conf: Could not open configuration file /etc/apache2/conf-enabled/...
2
votes
2answers
155 views

How to enable or disable Apache modules in a distro-agnostic way?

I usually work with Debian/Ubuntu as a basis for Apache and recently learned that commands like a2enmod MOD or a2dismod MOD are Debian-specific. Is there a global / distro-agnostic way (maybe with ...
0
votes
1answer
37 views

What's the difference between CMs “push” method (Ansible) to “pull” method (Chef/Puppet)?

I know that some of the advantages of Ansible over many other CMs are these: Ansible's scripts being written in YAML, a simple serialization language. The fact that one doesn't have to install it on ...
0
votes
0answers
14 views

How to resume system (from disk) manually

I suspend the system to disk using s2ram. When I reboot into shell (busybox sh) and run resume $SWAP ($SWAP is my swap partition), it only writes a message that says resume is started but nothing ...
0
votes
1answer
35 views

simulate geographic distance between servers

I want to simulate geographic distance, so I need to add delay to each receive/transfer package. I read that squid could work, however, playing with its configuration haven't given me the right ...
4
votes
2answers
57 views

Does lubuntu have an anti-blue light feature?

Does lubuntu have an anti-blue light feature?
0
votes
1answer
74 views

How to check if wpa_supplicant.conf has any syntax errors?

I would like to know if there is a tool that allows me to check if I made any syntax errors in wpa_supplicant.conf(5). I am looking for a utility for wpa_supplicant(8) that would server the same ...
5
votes
0answers
65 views

Thunderbird: How to transfer CalDAV/CardDAV Connections from one Machine to another?

On my main machine I am running Thunderbird with Lightning and have several CalDAV calendars connected. Furthermore there is also a CardDAV address book hooked up. How can I transfer those CalDAV and ...
1
vote
1answer
150 views

Can't permanently assign additional IP addresses to USB ethernet adapter via /etc/network/interfaces. Why?

I want to assign multiple IP4 addresses to a USB->Ethernet adapter in an Ubuntu 18.04 LTS system. I have removed netplan, since I find the yaml-based configuration even more obscure than the ...
0
votes
0answers
45 views

Permanently disable all networking in Tails OS?

I would like to use Tails OS to create a pseudo air-gapped system. The system has WiFi hardware still, but it is "unusable" in Tails due to lack of firmware. I would like to further ensure it remains ...
2
votes
1answer
52 views

Should the last line in a configuration file have a newline after it?

I sometimes whether I should put a newline after the last line in a configuration file, especially if it is a one-line configuration file, like the hostname file. Does it not matter, or is there a ...
-1
votes
1answer
48 views

ProjectM “Easter Egg Parameter” in config.inp?

What does Easter Egg Parameter = 1 Do in ~/.config/projectM/config.inp? I didn't put it there. Just wondering.
0
votes
0answers
43 views

Can I trigger a bindsym command with i3 from the commandline?

Let's say I have a command inside a mode, mode "foo" { bindsym $mod+~ exec something } Can I trigger that command with something like i3-msg? Or also specify that bindsym to run on the initial i3 ...
0
votes
0answers
10 views

i3 immutable window?

IRSSI has a concept of an immutable window: a window that can not be closed. Does i3 have a similar concept. I don't like the idea of being to mess up my formatting after I have it the way I want. I'...
2
votes
1answer
26 views

Does tmux support session initialization?

Tmux supports creating sessions, and with the -A flag attaching to session if they already exist rather than creating them. But, if they don't exist and tmux has to create them, what's the best way to ...
0
votes
1answer
54 views

Does Konsole permit launching a terminal with a custom font-size on the command-line?

If I want to launch a Konsole can I do so with a font-size of 30px rather than the default?
1
vote
3answers
106 views

How does Linux find/configure something like 'wlan0' when it is not a device that appears in /dev?

(On raspberry pi zero w, kernel 4.14y) It seems the wireless adapter chip isn't a device in the /dev fs, but is the name of something that 'ifconfig' knows about. I understand that this is an ...
0
votes
1answer
64 views

Hiding Chromium tab bar, omnibar (address bar) and window decorations?

I'm using both i3 and Chromium. I love Chromium tabs, but hate having that tab-bar there if there is only one tab open. I want it to behave more like a terminal (sanely) If there is more than one tab,...
2
votes
0answers
233 views

Thermald throttle unsupported CPU after certain temperature using coretemp

I have a Samsung R519 notebook running Arch Linux 4.19.2. The CPU is an Intel Pentium Dual T3400 (2.16GHz). The CPU often hits its thermal critical level and shuts down during heavy workloads. Fan is ...
1
vote
1answer
55 views

How to refer to Unsafe Browser in Tails OS using environment variable in .bashrc

I need to set a SageMath environment variable in .bashrc to use the Unsafe Browser to connect to localhost:8080 and use Sage's notebook interface (as far as I can tell, the Tor Browser can't view ...
0
votes
1answer
23 views

Monit - How to use different configurations for Day and Night time?

What is the most convenient way to configure monit to act different in day and night hours? The only thing I can figure out , is to use a cron job switch the monitrc file - let's say - at midnight, ...