Stack Exchange Network

Stack Exchange network consists of 174 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 [linux]

A family of Unix-like operating systems using the Linux kernel. If your question is about a certain distribution only, use a more specific tag.

9
votes
0answers
108 views

Echo asterisks/passphrase as it's being typed in gnupg with tty pinentry

I'm using gnupg with tty pinentry agent to encrypt a file with a symmetric passphrase. When I'm typing it, both to encrypt and decrypt the file, gnupg's tty pinentry avoid displaying the characters I'...
8
votes
0answers
2k views

ffmpeg pipe images extracted from video

I can use the following command to extract images from a video using ffmpeg, saving them to the filesystem: ... | ffmpeg -i - -f image2 'img-%03d.png' I would like to pipe these images to another ...
7
votes
0answers
437 views

Trap on DEBUG signal for the dash shell?

With the bash shell, you can install a trap on the synthetic DEBUG signal. This is useful and will execute your function or bit of code on every shell command. For example: $ trap 'logger -t shell "${...
7
votes
0answers
8k views

“Missing LSB tags and overrides” error on /etc/init.d script

I made a script as showed in this tutorial: http://edv-huber.com/index.php/problemloesungen/15-custom-splash-screen-for-raspberry-pi-raspbian But after executing a command: insserv /etc/init.d/...
7
votes
0answers
1k views

How do I install Nix on a custom directory?

I have been trying to follow the Nix wiki to install Nix on a custom path /scratch/gopinath/nix. The /nix path is not accessible to me due to the restrictions on the system provided by my university. ...
6
votes
0answers
2k views

How to know which file or inode triggered a systemd.path unit?

Systemd offers unit files whom control monitoring of a certain path trough inotify: systemd.path(5). If a file or directory is modified in the watched path the corresponding systemd.service(5) is ...
6
votes
0answers
394 views

How to interpret state and log files written by preload program in Linux?

Preload is a program which prefetches files from the disk needed by various applications to reduce application startup time. It seems to be very popular and useful (just google preload+linux) but the ...
6
votes
0answers
1k views

webdav davfs2 input/output error

I've got a box.com account configured in a Linux system so a user can mount it in a certain mountpoint and access its contents. It is declared in fstab as: https://www.box.com/dav /media/box davfs rw,...
6
votes
0answers
1k views

Gnome 3 move window to 2nd monitor?

I am running Mint Linux 12 with Gnome 3. My setup has 2 screen. I am wondering if there is a program to move the windows to a 2nd monitor? Something like display fusion for Linux that makes a button ...
5
votes
0answers
1k views

OSX: gpg command error, dyld: Library not loaded:

After I migrating my MacBook, I found out I miss the command gpg. And it threw this error when I wanted to install rvm ⋊> ~ gpg 15:...
5
votes
0answers
4k views

Raspberry Pi won't bring up wlanX interface - multiple wireless interfaces

Let me jump straight in. I am using a raspberry pi 3 running latest version of raspbian (pixel) as a router/wifi hotspot I have 3 wireless interfaces: built in wifi interface (brcmfmac) TP-Link ...
5
votes
0answers
7k views

TigerVNC viewer: no matching security types

I'm trying to control remotely the desktop of a Raspberry Pi (Raspbian Jessie) from a Samsung Chromebook (ARM Arch Linux). The vnc server in the pi is RealVNC. The vnc viewer in the Chromebook is ...
5
votes
0answers
1k views

Magic Trackpad 2 with Fedora 25

I'm trying to make my Magic Trackpad 2 work on Fedora with all it's features (or at least some basics). The current (default) state is moving the mouse and left-clicking work out of the box, but right ...
5
votes
0answers
646 views

I can't access from Linux to MacOS (Authentication), Samba, LAN

I have multiple Virtual Machines (Guests) on VirtualBox 5.1.14 installed On MacBook Air, All with the same UserAdmin and same Password for test porpouse. On my Host (MacBook Air) System ...
5
votes
0answers
3k views

jenkins:Broken AVD system path. Check your ANDROID_SDK_ROOT value

I have docker-image of jenkins. Home directory of jenkins is: /var/jenkins_home wich mapped to /home/user So, i install android-sdk wich mapped to: /home/user/tools/android-sdk/ When i install ...
5
votes
0answers
1k views

How can I prevent the kernel from limiting TX power as advertised by AP

I am connecting to eduroam over a distance of about 150m using an external 23dBm Antenna and an Ubiquiti SR71-E with an Atheros AR9285 chip. My system is Debian Jessie server - so the connection is ...
5
votes
0answers
445 views

How to load entire process memory from swap quickly (linux)?

I run a bunch of CPU-hungry processes in parallel; they normally use a few GB of memory each. From time to time they allocate large amount of memory too (say 150-250GB). Usually at most one of the ...
5
votes
0answers
585 views

Samba execute permission is always set

I have a Ubuntu 14.04 server that exposes a samba share to Windows machine. When I connect to the share and create files with notepad, permissions are respected and files don't become executable. ...
5
votes
0answers
535 views

Ubuntu Trickle Will Not Open Chrome

I'm trying to open Chrome with trickle to throttle the upload speed so I can test a sites image uploading progress display, but the build in dev tools for chrome only allow throttling for downloads. ...
5
votes
0answers
1k views

Can't start Weston anymore

For a few weeks, I haven't been able to start Weston anymore on my Arch Linux machine. My Graphics card is: $ glxinfo | grep 'renderer string' OpenGL renderer string: Mesa DRI Intel(R) Ivybridge ...
5
votes
0answers
6k views

Pairing Bluetooth device with PIN fails

I'm trying to pair my old BlackBerry 8310 to my Linux desktop (up-to-date Debian Sid, 3.15-10.dmz.1-liquorix-amd64) by using blueman and its associated tools. Scanning for the device works equally ...
5
votes
0answers
2k views

Dual page view in MuPDF?

I am really liking using MuPDF. Is there a way to enable a dual page view? Or, does it just display whatever was the original formatting/specification during the creation of the PDF? http://www.mupdf....
5
votes
0answers
988 views

Linux compatibility layer for Mac OS X

I have a closed-source piece of Linux software written in a combination of Java and C. The application installs on my Mac (it uses InstallAnywhere), however, it isn't intended to run on a Mac. The ...
5
votes
0answers
2k views

Is it possible to run Corona SDK on ReactOS or Wine?

I dumped Windows, I'm now using Xubuntu. Is it possible to run Corona SDK on Wine? On Corona forums, they say no, but I wounder how this guy did it? Is ZeroBrane a solution? What about ReactOS (or ...
5
votes
0answers
1k views

How do I disable a bluetooth adapter and install a new one in ubuntu?

I am running Ubuntu 13.04 on a Macbook Pro (8.2). I have a faulty bluetooth antenna that I am not interested in paying to fix. In windows I have a usb bluetooth dongle and I just keep the built in ...
5
votes
0answers
655 views

Ubuntu 12.04 shuts down suddenly when running on fully charged battery

When I use battery power in Ubuntu 12.04, it sometimes suddenly shuts itself down without any warning even though I am sure that the battery is almost fully charged. This never occurs when plugged in (...
5
votes
0answers
1k views

mdadm RAID monitoring no DegradedArray email

So, I have a couple of MDADM RAID arrays and I want to set up monitoring with email notifications for drive failures through sSMTP but I can't seem to get it working. The system in question is a ...
5
votes
0answers
2k views

redshift color adjustment with hardware/software cursor

I'm running Arch Linux (with Con Kolivas' ck1 patchset, although that shouldn't affect this issue) and using the proprietary Nvidia graphics driver, currently at version 313.26 (my card is a GeForce ...
5
votes
0answers
823 views

Dropbox causes xorg to use 100% CPU

For some time, I noticed that my xorg process uses up between 60 and 100% of the CPU (according to top). I also noticed that interactive work becomes sluggish, even on my multi-core i7 processor. ...
5
votes
0answers
654 views

Bluetooth not seeing mouse (Fedora)

I have a Lenovo S10 'netbook' that I've installed Fedora 17 ("LXDE spin") on. So far pretty much everything works great, except, the on-board Bluetooth. lsusb shows the controller present (0a5c:2101 ...
5
votes
0answers
565 views

Computer-to-Computer network between OS X and Linux

I want to make a connection point to point via wifi between Mac and Linux. What I did was: I have created Computer-To-Computer network in OS X I have set manually an ip address for Mac, 10.0.0.1/255....
4
votes
0answers
91 views

Configuring Heartbeat to run shell script

I set up a high availability system with Heartbeat, I wish that when there was a drop in the main cluster and the secondary cluster was activated, Heartbeat start in it and execute a shell script. ...
4
votes
0answers
379 views

Linux hangs when it runs on out of memory

I am getting unexpected behaviour when my machine runs out of memory. I have a Intel i7-6700 with 32GB of RAM and I'm running Arch Linux with vanilla 4.14.8 kernel. I have a 32GB swap on a encrypted ...
4
votes
0answers
320 views

Reverse horizontal scroll in chrome

I have an issue regarding my Logitech MX Master mouse which have a dedicated horizontal scroll wheel. I've created a file in /usr/share/x11/xorg.conf.d called 52-mouse-map.conf which have the ...
4
votes
0answers
67 views

How to determine which Linux program is keeping monitor awake?

After I lock the screen and leave my machine alone, sometimes the monitor sleeps after some delay but sometimes it doesn't. I have already set system settings to allow monitor sleeping but I suspect ...
4
votes
0answers
302 views

-keyhook parameter is not working with VcXsrv on Windows 10

I am running Xfce in Full-Screen mode using Windows Subsystem for Linux and VcXsrv. I'd like to use Alt + Tab to alternate between open Xfce programs. However when I press Alt + Tab it triggers ...
4
votes
0answers
2k views

How do I get mDNS (avahi) to work on Windows Subsystem for Linux?

I've followed the last example in this thread: https://github.com/Microsoft/WSL/issues/384 In other words: ~$ sudo service dbus start * Starting system message bus dbus ...
4
votes
0answers
1k views

Deoplete is not working for Neovim

So I've installed neovim and deoplete plugin. I did call :UpdateRemotePlugins afterwards. Now, when I write C/C++ code, its simply doesn't complete. It actually works for things like patht = ~/Desktop/...
4
votes
0answers
412 views

losetup refuses to detach

I've done the following several times, but now it doesn't work anymore: downloaded the latest Raspbian image qemu-img resize 2017-06-21-raspbian-jessie-lite.img +300M sudo losetup -P /dev/loop0 2017-...
4
votes
0answers
572 views

How to move images of docker in aufs directory to overlay2?

I update my kernel of Debian from 3.x to 4.x. Docker storage become overlay2. ls /var/lib/docker/ containers image network overlay2 plugins swarm tmp trust volumes old directory structure ...
4
votes
0answers
397 views

Getting openal audio on nvidia hdmi

I want to get programs that use openal to send sound over the hdmi output of my nvidia card by using alsa libraries directly. Here’s my configuration : root@localhost /root % cat /proc/asound/cards ...
4
votes
0answers
3k views

dd function seems to freeze when done

I'm trying to copy an iso on a usb stick with this command: sudo dd bs=4M if=lubuntu-17.04-desktop-amd64.iso of=/dev/sdc status=progress What is quite straight forward. The iso is 912M big in size. ...
4
votes
0answers
69 views

How to force processes to be reloaded back into memory from swap?

I have a nightly cron job that does a lot of data import and database inserts on my personal laptop. It runs for a couple hours, but it uses enough memory that come morning, my Gnome desktop is frozen ...
4
votes
0answers
508 views

Unable to ssh into my linux machine behind a router from outside the network

We are about to deploy some of the gateway devices (Raspberrypi) in the field. Although we are trying to make them so robust that we should not be required to remotely access them but as this is one ...
4
votes
0answers
144 views

What linux capabilities are necessary for DRI (Direct Rendering Infrastructure)?

Background: I'm looking to create a docker image that can run opengl. To do that I followed the steps found here, which worked like a charm. The issue is that the instructions recommend that ...
4
votes
0answers
410 views

Want unchanged HDMI output when lid closed (Linux)

My question is similar to a couple of other questions except I need a Linux/Ubuntu solution. When I plug a HDMI cable into my laptop, I automatically get a second desktop on the second screen. This ...
4
votes
0answers
283 views

Simulate two root windows on single monitor with use of RANDR extension

This question might seen similar to Emulating extra displays but it's different in the important detail. Suppose I'd like to test a feature for certain window manager with multi monitor support using ...
4
votes
0answers
836 views

VNC from MacOS screen sharing to linux Ubuntu

I’m trying to screen share from a MacBook to a VM running Ubuntu on Parallels on a MacBook Pro on the same network. I can ssh to it fine, but using the same account and IP address in MacOS screen ...
4
votes
0answers
898 views

Hibernation without swap enabled

My laptop has plenty of RAM and a SSD. To not wear out the SSD, I do not want to have swap be used ever. If a process ever uses so much RAM that it has to start using swap, then it clearly is ...
4
votes
0answers
737 views

TX packet and TX byte count zero in ifconfig output

I wonder how is it possible to achieve such configuration that no TX bytes and packets are ever counted? There is substantial amount of traffic on loopback interface though. The server runs RHEL 6 ...