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.

19,102 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
17 votes
1 answer
3k 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 ...
  • 873
15 votes
4 answers
16k views

How do you import an EPS file in Inkscape?

I'm using Inkscape, and I'm trying to import an EPS file to use it as a vector and eventually save it as an SVG. This link here mentions several methods: http://www.inkscapeforum.com/viewtopic.php?f=...
  • 5,400
13 votes
1 answer
1k 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 "${...
  • 239
12 votes
0 answers
3k views

How do I move a KDE plasma panel, from commandline/scripts?

I Have a script that change my desktop layout using xrandr, but I also want to move my Panel. So far I played round with kwinscripts, using qdbus org.kde.plasmashell /PlasmaShell org.kde.PlasmaShell....
  • 338
12 votes
1 answer
989 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 ...
12 votes
1 answer
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&...
  • 15.1k
11 votes
2 answers
5k 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, ...
  • 2,656
10 votes
0 answers
3k views

Why my SUnreclaim is too high (issues with having free memory)?

I have lot of memory (32Gb) on my laptop though still have issues with having amount of free memory. I am using linux (Fedora 27) and this happens after while since reboot. If you check free output, ...
  • 101
10 votes
3 answers
1k 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-...
  • 301
10 votes
1 answer
16k 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, ...
  • 201
10 votes
2 answers
4k 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?
10 votes
1 answer
624 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 ...
  • 153
10 votes
0 answers
2k 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,...
  • 1,253
10 votes
1 answer
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 ...
  • 201
10 votes
1 answer
1k views

Limit Disk Usage of WSL2

As the title already states, I want to limit the disk usage of the Linux subsystem. I'm trying to build huge projects on the WSL while using Windows normally... I already limited the RAM and CPU usage ...
10 votes
2 answers
5k 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 ...
9 votes
2 answers
3k views

Why tick_sched_timer uses so much power on Linux

According to my powertop (on 5.3.1 kernel): Power est. Usage Events/s Category Description ... 3.85 W 7,7 ms/s 437,0 Timer tick_sched_timer 3....
9 votes
0 answers
2k views

USB tethering much slower than WiFi tethering

In my area, my home Internet will often go down due to storms. At these times, I need to tether using my 4G LTE mobile phone, which gets decent speeds of around 10 Mb/s download and similar for upload....
  • 2,024
9 votes
1 answer
9k 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 ...
  • 1,185
9 votes
1 answer
1k views

Debian server stops booting with Unknown symbol error

After a reboot my Debian Server don't want to boot anymore. Loding the Kernel Modules nfsd and ext4 fails with the following errors (in dmesg): nfsd: Unknown symbol setattr_prepare (err 0) nfsd: ...
9 votes
1 answer
321 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'...
9 votes
0 answers
4k 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 ...
9 votes
0 answers
1k views

Why systemd doesn't try to stop (some) processes on session termination?

When I try to close a logind session (by logging out), some processes remain running under the session, preventing it from properly terminating, resulting in user@uid.service not terminating either. I'...
  • 281
9 votes
0 answers
2k 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. ...
9 votes
1 answer
2k 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/...
  • 3,836
9 votes
1 answer
4k views

Is Xfce supposed to run slowly on Virtualbox?

I'm having problems getting Xfce systems on VirtualBox to run smoothly. What I mean by slow is that moving or resizing windows looks very "laggy" (basically just windows jumping from one ...
9 votes
2 answers
4k 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 ...
9 votes
2 answers
6k 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 ...
  • 1,789
9 votes
1 answer
2k 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 ...
  • 3,146
9 votes
2 answers
15k views

wifi p2p between ubuntu 14.04 and android

I attempted to make a wifi p2p connection between Ubuntu 14.04(kernel 3.13) and Android 4.4 Kitkat(Samsung Galaxy Note 2) In Ubuntu I use wpa_supplicant v2.1 which is built in to Ubuntu 14.04(/sbin/...
user avatar
9 votes
2 answers
24k views

How can I mount a single RAID 1 disk/partition as ext3?

I need to copy data from a single HD, which used to be part of a Linux RAID 1. I've googled around, but can't find any clue how to mount partitions from this single HD. Background: The HD comes from ...
8 votes
0 answers
9k views

Docker: "failed to get console mode for stdout: The handle is invalid."

When running docker-compose up in Windows PowerShell using Docker Desktop on WSL2, I get Creating network "test_default" with the default driver Building master failed to get console mode ...
8 votes
1 answer
2k 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:...
  • 201
8 votes
0 answers
1k views

Key remapping using xmodmap does not work for some gtk applications

I tried to remap some keys using xmodmap. For example, xmodmap -e "keycode 118 = Next" maps Insert key of my laptop (XPS 13 9360) to PgDn. It works for some applications such as firefox and visual ...
  • 81
8 votes
1 answer
912 views

Moving mouse in iTerm causes characters to be to printed to prompt

I am having an issue with iTerm that happens to me intermittently. When I am using iTerm and I move the mouse up and down, or click a bunch of random characters are printed to the prompt: I am in a ...
  • 181
8 votes
0 answers
649 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 ...
  • 81
8 votes
0 answers
2k 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 ...
  • 374
8 votes
2 answers
1k 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 ...
8 votes
1 answer
628 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 ...
8 votes
1 answer
2k 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. ...
8 votes
1 answer
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 ...
  • 181
8 votes
1 answer
1k 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 ...
  • 181
8 votes
1 answer
4k 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 ...
  • 91
8 votes
1 answer
7k views

Convert Linux symlinks to Windows symlinks

I've noticed that Linux symlinks don't work in Windows, and vice-versa. Is there any way to convert Linux symlinks to Windows symlinks? Specifically, I want to convert relative Linux symlinks to ...
7 votes
1 answer
4k views

NTFS external hard drive formatted on Linux is not recognized by Windows

I fully formatted a hard drive in NTFS on Linux from a completely empty (zeroed) drive and it is not recognized by Windows 10. It is not listed in the Windows File Explorer nor with the fsutil fsinfo ...
  • 615
7 votes
0 answers
1k views

Disable Linux Page Cache for Reads

Is there a way to turn-off page caching for reads in Linux? More specifically, I would like my processes to read directly from the disk. The setting of my problem: I am trying out new query ...
  • 71
7 votes
2 answers
479 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 ...
  • 79
7 votes
1 answer
8k views

Install Anbox without snap (on debian or other distros)

Is there a description / tutorial how to install anbox without snap / snapd? I am using a debian. And an unofficial deb repository with an deb package for anbox would be fine. Or is there any useful ...
7 votes
1 answer
908 views

Multiple operations with pdftk

I am using pdftk to perform some operations on PDFs. Right now I am doing it like this: pdftk <files> OPERATION <options> output - | \ pdftk - <other files> OPERATION <options>...
  • 2,134
7 votes
0 answers
2k 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 ...

1
2 3 4 5
383