All Questions

37,956 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
15
votes
1answer
509 views

Is it wrong to think of “memfd”s as accounted “to the process that owns the file”?

https://dvdhrm.wordpress.com/2014/06/10/memfd_create2/ Theoretically, you could achieve [memfd_create()] behavior without introducing new syscalls, like this: int fd = open("/tmp", O_RDWR | ...
15
votes
1answer
2k views

Scrolling with a WACOM tablet pen

I've got a wacom pen with a button. How can I trigger scrolling when moving the pen with the button pressed? According to xev, below, the triggering events are MotionNotify with state 0x200. If this ...
14
votes
0answers
303 views

How to power on an external hard-drive after powering it off?

When I "safely remove" an external hard-drive from my file-manager (Thunar), the whole hard-drive is powered off and disappears from /dev. Therefore, I guess that under the hood, this is done by ...
14
votes
1answer
12k views

Forcing zpool to use /dev/disk/by-id in Ubuntu Xenial

I'm giving the bundled OpenZFS on Ubuntu 16.04 Xenial a try. When creating pools, I always reference drives by their serials in /dev/disk/by-id/ (or /dev/disk/gpt on FreeBSD) for resiliency. Drives ...
13
votes
1answer
12k views

Attempting to compile any kernel yields a certification error

I'm currently attempting to follow this guide in order to install the 4.5.7 kernel with Grsecurity on my Kali Linux desktop. I am following that list of instructions verbatim, except for the fact ...
13
votes
1answer
5k views

xrandr scale 2x2 for multi display (4K HiDPI and Full HD mix) - blurred output

On Kubuntu 17.04 with nouveau, I'm trying to obtain a dual monitor setup with a 4K as main one and a Full HD (actually 1920x1200 but makes no difference) on the right. I'm using double KDE system ...
13
votes
1answer
4k views

Random “deauthenticating by local choice (Reason: 3=DEAUTH_LEAVING)”

I'm running uname -r 4.10.6-1-ARCH on my dell XPS 13 developer edition (2014). I'm currently having strange problems with my wifi (I use Networkamanger with nm-applet for KDE): 1) at the most ...
13
votes
1answer
1k views

Creating a virtual X11 output with Nvidia driver

I'm attempting to follow this guide to extend the desktop on computer A to computer B by creating a virtual output on computer A and using vnc to display the virtual output on computer B. The ...
13
votes
2answers
3k views

Kernel modesetting hangs my boot, but the ATI driver requires it

I have a late 2011 MacBook Pro. It has an integrated Intel video card and a discrete ATI video card. Ideally, I'd like my Xorg to use the ATI card with the free driver (no Catalyst). Here's the ...
13
votes
1answer
2k views

How to modify the default setting adopted by xrandr when connecting an external monitor?

I am confronted with a problem when connecting the external monitor while the computer is open. At that point it seems that xrandr adopts one of the combinations that do not work. As a workaround to ...
13
votes
3answers
3k views

Mutt: Automatically subscribe to IMAP mailboxes

I'm using a bunch of mailboxes in mutt which are populated by imapfilter. To avoid manual reconfiguration (by going to the folder list and pressing s at every new entry), I'd like to configure mutt to ...
12
votes
1answer
850 views

gnome-keyring usage without an x session

My use case is that I have a headless server that software development is performed on. I ussually enable X11 forwarding for the SSH connections to it, but I can't for distant locations with slow ...
12
votes
1answer
593 views

How can I minimise all GNOME/Wayland windows from the command line?

Before switching to Wayland I would minimise all GNOME Shell windows with the following command: wmctrl -k on ...but both wmctrl and xdotool are X11-only applications. What CLI command can I use to ...
12
votes
0answers
4k views

How do I take a screen shot of my Xvfb buffer?

I'm using Amazon Linux. I want to run a headless chromium browser to use on my node.js Selnium tests. So I fire up my Xvfb server like so ... if ! pidof /usr/bin/Xvfb; then Xvfb :0 -screen 5 ...
12
votes
2answers
786 views

How to make Firefox honour my configuration to disable font hinting for a single font?

I am using Debian GNU/Linux version 8 with LXDE. Regarding fonts, I have my system configured to use anti‐aliasing, subpixel rendering, and full hinting. However, I want to disable hinting for ...
12
votes
0answers
444 views

Why does my terminal letter-spacing decrease when I disable a display return from using /dev/tty?

I've got a curious hardware situation, and I've run into a curious software quirk. I have a laptop with a broken screen that I have hooked up to an external display. I start up an X session and open a ...
12
votes
0answers
794 views

Visual feedback for window focus with Alt-Tab? (Cinnamon)

I have a frequent problem that occurs with window-based desktops like Cinnamon or XFCE, especially on multiple monitors. I very often misread which Window has focus after Alt-Tab. So I will start ...
12
votes
1answer
3k views

Lenovo T440s battery status unknown, but charging?

I'm trying to configure my Lenovo on arch linux. The last thing I need to do is get the battery 100% working. Right now it appears that the main battery's state is unknown: ...
12
votes
1answer
2k views

Wget: convert-links and avoid redownloading already fetched files?

I am downloading data spread among multiple files that don't change once published. Therefore --timestamping is not good enough, because it is constantly checking whatever resource is changed, which ...
11
votes
1answer
4k views

Unionfs vs Aufs vs Overlayfs vs mhddfs, which one do I use

I have randomly been reading about union file system which enables a user to mount multiple filesystems on top of one another simultaneously. However, am finding trouble deciding on which one to use(...
11
votes
0answers
2k views

Overriding gtk3 theme colors

I'd like to achieve something I thought would take a couple of seconds and turns out to be a nervous breakdown: override a theme's selected item color in a GTK3 theme. At first, I naively though that ...
11
votes
1answer
917 views

ACPI group/action undefined: processor / LNXCPU

If I unplug my laptop from the AC adapter, I will get ACPI errors like these: May 07 21:45:04 veritas root[7067]: ACPI group/action undefined: processor / LNXCPU:00 May 07 21:45:04 veritas root[7076]:...
11
votes
2answers
2k views

Let's Encrypt - Apache - OCSP stapling

I would like to enable OCSP stapling in my Apache server. I'm using: Server: Apache/2.4.7 on Ubuntu Certificate: Let's Encrypt To the file: /etc/apache2/sites-available/default-ssl.conf I added: ...
11
votes
0answers
304 views

Is this documented behavior for BSD Awk, or a bug?

Apparently, a bracket expression in BSD Awk which contains a character class will ignore any further characters after the character class: MacOS $ cat file.txt _ - . a B 8 : ; @ ~ , MacOS $ awk '/[@~....
11
votes
0answers
4k views

How to disable sudo related logging for successful command execution under CentOS/Fedora?

You can disable sudo related log messages via adding something like Defaults:juser !syslog to the sudoers file. That will disable logging to syslog. But under e.g. CentOS/Fedora there is an auditd ...
11
votes
0answers
4k views

Graph is too large for cairo-renderer bitmaps Error

Im trying to use pyreverse to generate images of UML diagrams for a project source code. When I run the pyreverse command and specify to generate .png images, it runs and then after a while, it shows: ...
11
votes
2answers
3k views

Autofs doesn't mount shares on startup

I am using OpenSuSE 12.1 with homes shared through LDAP and NFS. ldap stores the maps. My problem is I can't have the shares mounted on boot. It's only working when restarting the autofs service ...
10
votes
3answers
386 views

Linux system time temporally jumps

I saw a strange system time changing behavior in some (hardware) servers: in /var/logs/syslog, the date time preceding each log message sometimes change to a random one and gets back to normal in the ...
10
votes
0answers
248 views

Use alternative file selector in mutt

In mutt, is it possible to use a file browser such as vifm or ranger (possibly in a tmux split) instead of the default file browser to select a file to attach to an email?
10
votes
1answer
630 views

zsh can't input to terminal when piping stdin and stdout with variable command that has tty output

System info: macOS Sierra 10.12.6 zsh 5.4.2 (x86_64-apple-darwin16.7.0) GNU bash, version 4.4.12(1)-release (x86_64-apple-darwin16.3.0) Scroll to the EXAMPLES at the bottom if you just want to dig ...
10
votes
0answers
754 views

wpa_supplicant end process if wrong password detected

Normally when I run wpa_supplicant I'll get some output like this: Successfully initialized wpa_supplicant ioctl[SIOCSIWAP]: Operation not permitted ioctl[SIOCSIWENCODEEXT]: Invalid argument ioctl[...
10
votes
1answer
722 views

Numpad emulation

My new laptop (Dell Inspiron 5578) has no numeric pad. Many laptops without dedicated numpad keys have numpad accessible through Fn, but not this one. When I run xev and try to use traditional Fn ...
10
votes
0answers
232 views

How to increase sound volume on eMac P69 running FreeBSD 10.3?

I've got FreeBSD 10.3 (PowerPC) installed on eMac P69. I'm using MPlayer to test loudness. I already use -af volume=10:1-like options but they tend to distort sound pretty quickly + it is not really ...
10
votes
1answer
2k views

Resetting bluetooth on Archlinux

Sometimes it happens that my bluetooth mouse gets disconnected from my laptop. Switching off/on the mouse doesn't help. Switching off/on my laptop bluetooth doesn't help either. Not even systemctl ...
10
votes
0answers
703 views

Why ZFS scrub does not complete?

First off let's start with what I'm running. This is a home media server running Ubuntu 16.10. I have one pool of mirrored 6 terabyte drives that are about half full. I built the system about a month ...
9
votes
1answer
616 views

Why can't I “swapoff” when there's plenty of memory?

I've recently noticed that even though there's a lot of memory on my system: # free -m total used free shared buffers cached Mem: 15965 9680 ...
9
votes
1answer
447 views

How to format & mount a large partition with 4k sector size in Freebsd?

gpart show -l: => 6 146239733 da0 GPT (558G) 6 10 - free - (40K) 16 128 1 (null) (512K) 144 262144 2 efi (1.0G) ...
9
votes
1answer
1k views

curl request to IPv6 localhost gets stuck

A docker container of mine exposes a HTTP interface on port 8500, which is mapped to host port 8500. It is not IPv6 enabled. This still means, I should be able to access it at localhost:8500. IPv6 ...
9
votes
2answers
11k views

How do I change the verbosity of the service command?

I am running Kali 2 Linux. I use the systemctl or service command to start a service such as Apache. On the previous version of Kali the command actually prints an "OK" message when starting a ...
9
votes
1answer
682 views

How can I prevent tmux from blocking when I scroll up?

tmux is awesome, but I'm often in situations where scrolling up causes (admittedly minor but still undesirable) problems. For instance, I have a node.js server running in one window, and BrowserSync ...
9
votes
1answer
2k views

Real GNOME Wayland session

I'm trying to test a "real" wayland gnome session. I know that not all applications can run on Wayland natively (for this we have XWayland) but at least I would like to have GTK+ applications to do so....
9
votes
0answers
1k views

How to display btrfs subvolume tree?

Is there a way to make a btrfs subvolume tree like what is shown below? (Only subvolumes - no regular directories or files.) # tree /mnt/1 /mnt/1 ├── a ├── snapshot │ ├── a │ └── subv └── subv ...
9
votes
1answer
1k views

Replace a image in a PDF using command line

I need to process some PDF files. The task consists in exchange a given image file by another. My first problem is how to replace a PDF image from command line in a batch process. Next I'll try to ...
9
votes
2answers
2k views

Automatically switch sound output device to Bluetooth headset & force to A2DP profile on connection

Using Mint 17 + MATE here. My bluetooth headset (Plantronics Backbeat Go2) is connected just fine with my system, but there are several manual steps I have to take to make this work that I would very ...
9
votes
2answers
643 views

Emacs slow loading time with AUCTeX on TeX files

I installed the auctex and emacs packages on two Xubuntu 14.04 computers, both of which have been working fine. Emacs itself works fine on both, but now with the auctex package installed, when I load ...
9
votes
2answers
5k views

Problem Installing UBUNTU 14.04 (AND Mint 16, which is based on UBUNTU 13.10) as dual boot on RAID 0 with Windows 8.1

Ok, I know that there is https://askubuntu.com/questions/455511/dual-boot-ubuntu-14-04-and-windows-7-on-fakeraid-installation-error-question-m#new-answer?newreg=f2b8bde40c8947f8ac8e3cedec0d1964 and ...
9
votes
2answers
6k views

diff -r only for certain file types

Is there a way I can perform a recursive diff of two directories but only compare (in their respective places) files that match a specific filename or filetype predicate? E.g. I would like to do ...
9
votes
0answers
862 views

What does hierarchy support do in cgroup?

cgroup has 2 options for memory control: memory.use_hierarchy = 1 : use hierarchy memory.use_hierarchy = 0 : use flat hierarchy, according to this answer What is the difference between the two? I ...
9
votes
2answers
572 views

Mailman / Postfix Configuration Assistance

I am writing for some help regarding Postfix configuration. I cannot seem to get Postfix configured properly to transfer mail to the mailing list installed on the same server. I followed many steps ...
9
votes
2answers
1k views

AP randomly gets unreachable for the clients while hostapd is running

I set up an old PC as a router using Debian Wheezy, hostapd, dhcpd etc. It has 3 NICs and 1 WiFi PCI card (TP-Link L-WN751ND). The problem is that AP randomly gets unreachable for the clients while ...

15 30 50 per page