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.

15,892 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
18
votes
1answer
6k views

Setting up a Bluetooth PAN

I am trying to create a Bluetooth PAN between two devices where I can access REST based web services over the Bluetooth connection. I have had some success with various proof of concepts (both ...
16
votes
2answers
6k views

How to get rEFInd working with FileVault 2 on OSX 10.8

I installed rEFInd on my new Macbook Air which I planned on using to do a dual boot to Linux, but prior to installing Linux, I decided to encrypt my drive. I knew I was going to do this, so I had ...
9
votes
0answers
570 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 "${...
9
votes
1answer
3k views

How to set default display for new windows in Gnome 3

I have 2 displays, a monitor and a TV. The first one I use all the time and it has set as primary in Gnome settings, but a TV is turned on only when watching movies from a sofa. Mainly, everything is ...
9
votes
1answer
6k views

Sierra Wireless AirCard 313U (AT&T Momentum 4G) on Ubuntu Linux

I'm trying to get a Sierra Wireless AirCard 313U (more specifically, the AT&T Momentum 4G) working under Ubuntu Linux. I've looked at a number of pages so far: How to connect internet using AT&...
8
votes
1answer
148 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
9k 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/...
8
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. ...
8
votes
1answer
519 views

Attach to the same tmux session from different nodes of a cluster

I'm working on a computing cluster which has several hundreds of nodes. A load-balancing scheme picks an idle node to login to when ssh-ing into the cluster. As a result, it is very unlikely to re-...
8
votes
1answer
1k views

Problems with tmux, mutt, and terminal colors

If I start mutt in a tmux session like this: $ tmux new-session -s mutt mutt Mutt complains: Error in /home/lars/.mutt/colors, line 20: 230: color not supported by term Error in /home/lars/.mutt/...
8
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 ...
8
votes
0answers
420 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 ...
8
votes
1answer
3k views

Is Xfce supposed to run slowly on Virtualbox?

This is my first question, so I'm sorry in advance if my question is not good/descriptive enough. I'm having problems getting Xfce systems on Virtualbox to run smoothly. What I mean by slow is that ...
8
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,...
8
votes
2answers
5k views

UTF-8 locale portability (and ssh)

I spend a lot of my time sshed into various machines, all of which are different (some are embedded, some run Linux, some run BSD, &c.). On my own local machines, however, i use OS X, which of ...
7
votes
1answer
116 views

Can I crop an image without fully loading it into memory?

I managed to generate a PNG image with a fractal. The image is 65,536 pixels high and 65,536 pixels wide. It’s too big to be decoded into memory and displayed. It has probably a lot of unused space ...
7
votes
0answers
5k 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 ...
7
votes
1answer
10k views

TigerVNC viewer: no matching security types

I'm trying to remote control the desktop of a Raspberry Pi (Raspbian Jessie) from a Samsung Chromebook (ARM Arch Linux). The VNC server running on the Pi is RealVNC. The VNC viewer on the Chromebook ...
7
votes
2answers
504 views

Linux UI frequently freezes for <1 second

The Linux Desktop (Xubuntu 16.04) freezes frequently (multiple times a minute) for less than 1-2 seconds and then returns operating normally. During the freeze only the mouse cursor is movable. The ...
7
votes
1answer
2k views

Delete kernel module completely

I would like to ask you how can I delete some kernel module completely? I mean really delete, not unload or prevent to load. I tried to use rmmod, but it just unloaded module, same as modprobe -r. So ...
7
votes
1answer
2k views

Howto run a raw-disk Virtualbox VM when using UEFI

I have a dual-boot setup on my computer with Windows 10 and Linux (Arch, if relevant). I'm trying to virtualize my on-disk Linux install in Windows (and plan on doing the opposite direction once I ...
7
votes
1answer
969 views

fail2ban ban multiply recidive hosts

We are using fail2ban on our web-facing servers to block IP addresses that repeatedly fail to authenticate properly. Our normal bantime hereby is one hour; IPs that have already been banned multiple ...
7
votes
1answer
644 views

Using diff-highlight with Git GUI

Is there a way to use diff-highlight with git gui? The extra highlighted info is invaluable when comparing lines that only changed a bit, and while using diff-highlight from the terminal (described ...
7
votes
1answer
662 views

“Open File” dialog box takes a long time to appear on all applications

On Ubuntu 14.04. While using KeepassX, I tried to open a database with the Ctrl+O shortcut, but it appeared to crash with a non-responsive window. I then noticed the same behavior with Firefox, gedit,...
7
votes
0answers
3k 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....
7
votes
1answer
305 views

locked Ubuntu screen - apps do not detect locked status

I use Ubuntu 12.10 (happens also in 14.04) but I did not really like Unity GUI because of performance issues and total inability to easily customize launcher. So I switched to Xubuntu, which is much ...
7
votes
1answer
2k views

xkb set keyboard level 3 chooser to ctrl+alt

The title says it all: I'm interested to mimic the Windows behavior, where Left Ctrl + Left Alt acts as a 3rd level chooser. This is relatively important to me, because, as a programmer, on my ...
7
votes
1answer
2k views

Murrine engine on GTK3?

I'm trying to use a GTK theme which requires the Murrine engine, so I installed gtk2-engines-murrine from apt-get. It works fine in most apps, but some such as nm-applet segfault as soon as I try to ...
7
votes
2answers
3k views

Cannot make mobile broadband Vodafone USB connection Ubuntu 13.04

I have Ubuntu 13.04 and I bought yesterday a Vodafone USB stick for internet connection. I am located in Romania. This is what I've did: First Thing Network Connections, added connection. Selected ...
7
votes
1answer
2k views

How to disable CD-ROM/DVD-ROM polling during boot in Linux?

I have a Dell XPS L501X laptop dual-booting Linux Mint 12 "Lisa" (x64) and Windows 7. It has a TSSTcorp DVD+-RW TS-L633J DVD drive, which generates a lot of vibrations and noise whenever data is being ...
7
votes
0answers
842 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. ...
7
votes
1answer
1k views

sshfs: cannot set file timestamp

Using sshfs with autofs on Ubuntu, I cannot set timestamps on remote files: $ touch /sshfs/server/some/file touch: setting times of `/sshfs/sshfs/server/some/file': Permission denied I do have write ...
7
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 ...
7
votes
3answers
17k views

How do I install python with proper permissions?

So python installed probably fine. Or perhaps it was already on here (I'm using xubuntu 12.10). But I tried to install networkx today using pip: pip install networkx then says I don't have ...
7
votes
2answers
4k views

Verizon USB551L 4G Stick on Linux

I have been trying to get a Verizon USB551L 4G USB Stick working on Debian Linux. I have been able to get it to connect, but it always disconnects after 10 secs to 2.5 minutes, then it cannot connect ...
6
votes
0answers
106 views

Insanely slow USB harddisks on Linux in 2019

We use a simple backup system at work: Every day we connect an external USB harddisk to our Ubuntu Linux server, which then calls a backup script (cronjob) at night to perform all the backup. Next day ...
6
votes
2answers
298 views

fsck has been running for more than 30 days on 30TB ext4 partition, can't mount

Given a 30TB partition of disks on hw raid5. LVM is on top and filesystem is ext4. (It's 99,9% full of data.) I wanted to add another 20TB and resize the partition and filesystem. Before resizing, it ...
6
votes
1answer
326 views

How to bridge two LAN segments through serial port using Linux?

I have an application where two subnets are bridged transparently through two Serial to Ethernet Bridges and a null modem serial cable (RS-232, TX and RX only). This setup behaves exactly as an ...
6
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:...
6
votes
0answers
377 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 ...
6
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 ...
6
votes
0answers
799 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 ...
6
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 ...
6
votes
1answer
4k views

How can mounting a VeraCrypt drive be done without root in Linux?

I used TrueCrypt for a long time in Kubuntu, in which I used a keyboard shortcut to automatically mount a drive. Nowadays I use VeraCrypt, but I am always prompted for my sudo password after entering ...
6
votes
1answer
409 views

dd always fails to write one partition on first try; succeeds on second

For a robotics project, I've assembled a make target that uses dd (actually dcfldd) to write a Raspbian Jessie image to SD card. This way, I can be assured that my environment is reproducible from ...
6
votes
0answers
771 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. ...
6
votes
2answers
1k views

Can I keep firefox running in the background?

I'd like to keep Firefox running in the background for quick opening of new windows (on Lubuntu with i3). Is this possible by changing settings, installing extensions, etc.?
6
votes
2answers
1k views

can't unlock system settings, such as network settings, to edit in xubuntu

I can't change any settings nor install anything using the xfce GUI on my xubuntu 14.04. Some setting-windows have that unlock button you usually click to enter your password to gain root privileges, ...
6
votes
1answer
1k views

Using directory as initrd in QEMU

Is there a way to use a directory as initrd when booting QEMU? I know how to use the -kernel and -initrd flags for QEMU to boot a kernel and initrd without needing to first create a bootable device ...
6
votes
0answers
13k views

How to install libwebkit (libwebkitgtk-1.0.so.0) in order to run CodeLite?

A pre-requisite for running codelite is WebKitGTK. codelite: error while loading shared libraries: libwebkitgtk-1.0.so.0: cannot open shared object file: No such file or directory I'm on CentOS, ...