All Questions

27
votes
0answers
6k views

git-upload-pack hangs indefinitely

I have the following call structure: Jenkins runs fab -Huser@host set_repository_commit_hash:123abc. set_repository_commit_hash runs git fetch with pty = False. The child process ssh git@github.com ...
10
votes
0answers
677 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 ...
10
votes
0answers
629 views

What happens with unix stream ancillary data on partial reads

So I've read lots of information on unix-stream ancillary data, but one thing missing from all the documentation is what is supposed to happen when there is a partial read? Suppose I'm receiving the ...
9
votes
0answers
3k 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 ...
9
votes
0answers
325 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 ...
8
votes
0answers
882 views

Why is the default output of ss so strange?

When I run ss -tnlp to display all programs listening for tcp connections (something I do rather often) I get something like this: Despite the terminal being wide enough, ss chooses to split some ...
8
votes
0answers
2k 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: ...
8
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: ...
7
votes
0answers
554 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[...
7
votes
0answers
173 views

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 ...
7
votes
0answers
470 views

Normal notifications over full screen applications in Gnome 3

In my workflow I use applications in fullscreen mode most of the time. The only serious drawnback I have in that is the way Gnome 3 handles desktop notifications, I can't get any normal notification, ...
7
votes
0answers
215 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 '/[@~....
7
votes
0answers
370 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) ...
7
votes
0answers
696 views

Is it possible to set specific version of packages, which main package depends on?

We have development environment on FreeBSD 10.3. I've heard that FreeBSD manages package dependencies in that way, that it always looks for the newest version of all packages, which main package ...
7
votes
0answers
554 views

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 ...
7
votes
0answers
666 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 ...
7
votes
0answers
1k views

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 ...
7
votes
0answers
454 views

How can I connect to the same server in multiple irssi instances?

I have an irssi session which is connected to Freenode (via /server fn), in which I am in multiple related channels. This session is inside of a tmux instance which has other terminals, also related ...
7
votes
0answers
207 views

Discover what is cached by dm-cache

I am using dm-cache successfully for quite a while now. Now I would like to know which files are being currently in the cache. I understand that dm-cache works with blocks, not files, but since there ...
7
votes
0answers
3k 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 our sudoers file. That is disabling logging to syslog. But under e.g. CentOS/Fedora there is an auditd ...
7
votes
0answers
123 views

How much space would be freed by removing a btrfs subvolume?

Is there any way to calculate how much space I would free if I would remove one (or several) subvolumes on a Btrfs disk (without actually removing them)? I know that there is "currently no code that ...
7
votes
0answers
796 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 ...
6
votes
0answers
7 views

How can I make ethernet take precedence over wifi on Ubuntu 18.04?

Goal Let ethernet take precedence over wireless when ethernet cable is plugged in Method After having done a fair amount of Googling and reading I've come to a point where I believe what I should ...
6
votes
0answers
264 views

How to disable the volume popup in KDE Plasma 5.13?

In older versions I used to comment out osd.show(percent) in the functions increaseVolume and decreaseVolume in the file /usr/share/plasma/plasmoids/org.kde.plasma.volume/contents/ui/main.qml (blog ...
6
votes
0answers
180 views

How is it possible to be able to browse the web, when I can't resolve domains?

My networking is clearly bollixed, but I can't figure out how: derek@vinka:~$ nslookup google.com ;; connection timed out; no servers could be reached derek@vinka:~$ curl google.com <HTML><...
6
votes
0answers
178 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?
6
votes
0answers
544 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 ...
6
votes
0answers
1k views

unlock login gnome-keyring on i3wm autologin

Problem This question seems to have been asked a billion times, but I'm still completely unable to unlock my login keyring automatically. Background I automatically login, chvt and startx along ...
6
votes
0answers
493 views

How exit from videotest in the grub?

I am checking different video resolutions in the grub menu by using videotest and vbetest programs and can't go back to the grub command line, after using this programs. System doesn't respond - like ...
6
votes
0answers
697 views

Merge pdf files and automatically create a table of contents with each file as an entry

I have several pdf files (chapter1.pdf, chapter2.pdf, etc.), each one being a chapter of a book. I now how to merge them into a single pdf (I use the command pdfunite from poppler), but since the ...
6
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 theme's selected item color in a GTK3 theme. At first, I naively though that ...
6
votes
0answers
3k 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 for use with my node.js Selnium tests. So I fire up my Xvfb server like so ... if ! pidof /usr/bin/Xvfb; then Xvfb :0 -screen 5 ...
6
votes
0answers
1k 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 ...
6
votes
0answers
493 views

xsel and xclip hang

My objective is to make a text on my remote machine (CentOS 7.2) available to seamlessly paste on my local machine (OS X 10.12.2) with the standard ⌘V shortcut. My setup connects to the remote ...
6
votes
0answers
91 views

How is the page cache mapped in the kernel on 64-bit x86 architectures?

On a modern 64-bit x86 Linux, how is the mapping between virtual and physical pages set up, kernel side? On the user side, you can mmap in pages from the page cache, and this will map 4K pages in ...
6
votes
0answers
838 views

Sound playback over bluetooth lags

I followed the instructions on Arch Linux Wiki and managed to set up sound playback thorugh bluetooth. However, there is a serious lag when using A2DP profile. No problems when using the headset ...
6
votes
0answers
1k views

How to run systemd services in Arch Linux Docker container?

There seems to be tons of different ways people have been able to run systemd services within Docker containers. The latest example of direct advice I've found is to run Docker with --volume=/sys/fs/...
6
votes
0answers
439 views

User-based GPU priority

I have a computer running Linux (Kubuntu 14.04.3 LTS x64), where I use the CUDA toolkit to perform some computations on some Nvidia GPUs. I share the computer with a few other users. How can I define ...
6
votes
0answers
999 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 ...
6
votes
0answers
2k views

Setting the EFI Framebuffer's Resolution during boot

I've got a MSI WD-60 laptop running Gentoo. It has one of those 3840x2160 screens so I've had to setup Gnome/Firefox/IntellJ to double their DPI for anything to be readable. It all works fine except ...
6
votes
0answers
4k views

Enable Alt+Ctrl+t to open a terminal in LXDE

How can I enable shortcut Alt + Ctrl + T to open terminal on Debian in LXDE? I found that this is possible to define in rc.xml file. In LXDE webpage I found message: How do I define LXDE settings ...
5
votes
0answers
50 views

What would cause glob to list results twice?

System: Raspbian 8 on a Raspberry Pi 3 An errant space in a sudo command caused a bunch of system directories (/bin, /etc, /usr, etc.) to be moved into a subdirectory. I was able to fix it by putting ...
5
votes
0answers
53 views
+100

How to verify a kernel module signature?

When you compile a kernel source, you can choose to sign kernel modules using the CONFIG_MODULE_SIG* options. The modinfo tool should handle the task of verifying the module signature, but there has ...
5
votes
0answers
40 views

How to compare string values with seccomp?

Some Linux system calls (such as execve, openat) have string type arguments. But the comparison function SCMP_CMP provided by seccomp seems to be comparing two pointers. So how can I limit files that ...
5
votes
0answers
61 views

cifs: Cannot cd into a directory

For some reason I cannot cd into a particular remote directory for which I have access, it fails with: $ cd Data\ Services/ -bash: cd: Data Services/: Invalid argument This is how I mounted it: $ ...
5
votes
0answers
53 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 ...
5
votes
0answers
63 views

Correct treatment of quotes in parameter expansions

Using the default value of IFS, consider unset var set -- ${var:-"hello"} echo "$#" This prints 1 as the parameter expansion expands to the single string hello. unset var set -- "${var:-"hello"}" ...
5
votes
0answers
1k views

Virtual Machine Manager wants to inhibit shortcuts - again and again - on Wayland

I've recently reinstalled my workstation with Fedora 27, and since doing so, virt-manager has been doing one strange thing. Every time I open a VM console and then move the mouse into the window, a ...
5
votes
0answers
864 views

How to read pdf annotations in Zathura?

I opened a pdf with annotations (created in evince) with Zathura, and I see the little yellow sign for notes at the right place, but how to open them? It seems that there is a commit about it, but ...
5
votes
0answers
123 views

How can a systemd service detect that system is going to power off?

I have a systemd service controlling some hardware, let's take lamps as a good example. It is OK to restart the service, or reboot the PC, because it is safe that the lamps are left switched on for ...

15 30 50 per page