Questions specifically about Linux but not specific to a particular distribution. If the question could apply to any Unix-like system, specify your Linux distribution in the body of your question but do not use the /linux tag.

learn more… | top users | synonyms

11
votes
0answers
313 views

Linux kernel dropping custom keyboard scan codes

I have a vintage IBM 122 key model M keyboard that I am adapting for use on a modern computer. I am using a Teensy 2.0 to do the encoding and to handle the USB side of things. I borrowed the firmware ...
8
votes
0answers
483 views

Why does hdparm see two different values for the size of a drive?

I have a 1 TB drive attached via USB. It contains an LVM physical volume filling the entire device (without any partition table). When I tried to extend a logical volume by using the entire PV, the ...
8
votes
0answers
795 views

How do I let an SDL app (not running as root) use the console

I want to use an SDL-based program to display graphics on the console, without having to log on from the console, and without running the program as root. For example, I want to be able to run it via ...
6
votes
0answers
221 views

cabal dies on NixOS in KVM

I set up a NixOS system on KVM and installed the haskelPlatform package. Everything works fine, ghci works fine, but cabal dies without any helpful error message: [michas@nix:~]$ type -a cabal cabal ...
6
votes
0answers
1k views

Mouse scroll wheel speed far too sensitive

In my crunchbang installation with X11, openbox, my wireless usb mouse is listed at both /dev/psaux and /dev/input/mouse0. It's working fine apart from the scroll wheel, which although active, is far ...
6
votes
0answers
548 views

'OS X-like' momentum scrolling in linux?

Is there a way to make the scrolling on a linux machine (running X11) more like OS X's natural scrolling? With 'natural scrolling' I mean the fact that you can flick trough the pages, there is ...
5
votes
0answers
149 views

audit activity on abstract domain sockets?

Using the audit system (auditd, auditctl) on Linux, is it possible to log connections to Unix domain sockets on the abstract namespace (or more exactly to filter them based on the (abstract) path)? ...
4
votes
0answers
125 views

Linux - mount command returns zero/0 but not working

Sounds strange, I have a shell script that it gets trigger by udev rules, to mount attached USB device to the system file tree. The script runs when an usb device attaches to system, so the rules ...
4
votes
0answers
45 views

Does managing cgroups require root access?

I am trying to work with control groups on two different operating systems (Ubuntu and Centos). There are few concerns that I would like to ask. I am trying to create a control group using the ...
4
votes
0answers
616 views

Understanding Broadcom setup and kernel files

I often install Linux distros form live usb/CDs. For that I would like to be able to setup my wireless without any internet connexion. I have a Broadcom chipset : $ lspci -k 04:00.0 Network ...
4
votes
0answers
2k views

How can I properly reload a kernel module?

Related Question I can't reload a kernel module for trying new flags. Example: thinkpad_acpi default is without fan_control=1. So if my computer runs really hot and the fans don't go to full speed it ...
4
votes
0answers
308 views

Can inotify be used to watch for a specific file to be created without monitoring the entire directory?

I want to be notified when a specific filename is created. I'm looking at inotify. The IN_CREATE flag is available for monitoring a directory for any changes within it, but I'd prefer not to monitor ...
4
votes
0answers
475 views

Have tmux wait until I SSH in, to complete rest of Tmuxinator script

After recently discovering tmux and Tmuxinator, I've been trying to set up a development environment to use. Per protocol, we aren't allowed to store passwords/passphrases in scripts. So what I'm ...
4
votes
0answers
1k 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: ...
4
votes
0answers
328 views

How to reset linux centOS 6.0 keyboard shortcuts with custom changes to default one?

On Single Desktop Environment.... I created some custom shortcuts, but currently I want to revert all the changes to default settings (which having no custom changes). Example: created like CTRL + N ...
4
votes
0answers
41 views

Queuing disciplines are per-interface, what happen with interfaces using same device?

I have read about queuing disciplines here http://lartc.org/. I understand that for instance band 0 of pfifo policy is prioritized over band 2 within same qdisc, but what happen when i have ppp0 and ...
4
votes
0answers
620 views

Are there any tools to test MTD/JFFS2 for Linux 2.4 kernels

I have some issues with a platform I support and I suspect memory problems. I wanted to check the Flash parts using some MTD JFFS2 test tools, I found a link to a bunch on this site. However they ...
4
votes
0answers
338 views

Screen flickers in Fedora 17

Screen flickers every 10 seconds. (I timed with a stopwatch, screen flickers every 10 seconds, 6 times a minute exactly.) I've used Windows and I'm trying to use Linux. I don't know much about Linux. ...
4
votes
0answers
2k views

How do I find out the device node corresponding to my device in SuSE 8?

I'm forced to work with a bunch of point-of-sale systems running SuSE 8. They are my client's computers. We are stuck dealing with these old systems until they get to upgrade their whole fleet to SLE ...
4
votes
0answers
645 views

How to set up an encrypted directory to be mounted only during samba access?

(This is not about restricting client access, for which ext3 permissions do the trick) I'd like to encrypt the data on my NAS drive (Buffalo LinkStation Pro with SSH access enabled, if that matters) ...
4
votes
0answers
409 views

Setting Framebuffer splash resolution when exiting X

I installed a copy of BackTrack 5 R2 (Ubuntu 10.04) to my HDD and dual-booted with Windows 7. After a bit of tweaking I set about updating the native Intel drivers because it was only allowing me to ...
4
votes
0answers
139 views

Restricting sound control

I need to restrict users so that they cannot output sound from built-in speakers. They should plug their headphones to hear any sound. They should be able to control headphone volume level, but not ...
4
votes
0answers
455 views

How can I configure Yast to switch languages completely?

I have an installation of openSUSE 11.4 which was installed in German. I started Yast2 (which displayed in German, like "Netzwerkdienste") and switched the language to English under "System" -> ...
4
votes
0answers
1k views

Automounting not working correctly for CIFS shares; weird results

I followed the guide on this page to get samba shares working via autofs: http://www.howtoforge.com/accessing_windows_or_samba_shares_using_autofs Servers and Configuration My Samba server (remote) ...
4
votes
0answers
223 views

fsarchiver error

I'm running the following fsarchiver command: $ fsarchiver restfs /tmp/backup/c0d0p2.fsa id=0,dest=/dev/cciss/c0d0p2 I get the following error: [errno=22, Invalid argument]: ...
3
votes
0answers
64 views

How to best track adventures of a novice administrator

I have this user that has limited sudo privileges, yet he manages to screw up from time to time. I would like to keep an eye on his adventures, so that I can reverse any damage with less digging. ...
3
votes
0answers
18 views

OverlayFS - How to make changes to upper filesystem persistent without unmounting?

I am using an USB drive to start a linux system which needs changes from time to time and also writes some logs. Flash drives tend to fail early if there are many write operations. That brought me to ...
3
votes
0answers
25 views

What could cause dropping cache to be extremely slow on a large cluster?

I'm attempting to time file I/O on my disks. In order to make sure all the I/O is happening off the hard drives and not from ram, before I time any read, I run a drop cache command. Specifically, I ...
3
votes
0answers
46 views

Setting mouse acceleration using xset and xinput

I am having trouble sorting out how the different commands for setting mouse acceleration relate to each other. I will post the different settings that I have set by gathering information from ...
3
votes
0answers
104 views

How can I make my user services wait till the network is online?

I have written a couple of systemd user service files which I want users to enable and which need a working network connection. I thought that would be as easy as: Wants=network-online.target ...
3
votes
0answers
43 views

Cannot use keyboard within Qt app without sudo

I have an embedded Qt application crosscompiled that runs on BeagleBone Black. It works Ok, but one thing- It doesnt accept keyboard input if i wont run in directly on BeagleBone Black preceeding with ...
3
votes
0answers
103 views

On what level is touch screen support implemented in Linux?

I'm trying to use a Linux OS on my tablet PC (Lenovo Thinkpad Helix 15). I tried Ubuntu, but except for switching and moving windows and bringing up the launcher, there doesn't seem to be a lot of ...
3
votes
0answers
41 views

Cocoa API implementation for Linux?

Is there any Wine-like project for running OS X apps on Linux? I mean an implementation of Cocoa API for standard Linux machine, as it is done with Wine.
3
votes
0answers
48 views

Linux Routing Question

I was wondering how it would be possible to have multiple IPv6 default gateways on CentOS linux. I currently have two interfaces with IPv6 (venet0 and tb0), both with different blocks routed to them. ...
3
votes
0answers
46 views

Linux Angstrom can't start without serial cable plugged

I'm using the Altera Cyclone V Soc dev Kit and Linux Angstrom provides by rocketboards (http://rocketboards.org/foswiki/Documentation/GSRD141) Kernel is : 3.10 LTSI Linux can't start if any serial ...
3
votes
0answers
353 views

Is it possible to throttle upload bandwidth per `IP` basis using `tc`, `htb` and `iptables` ? (Download limitation not required)

Problem I've searched internet like anything but couldn't find much about limiting upload. The solutions given are not limiting IP basis like this one but LAN as a whole. +-----+ ...
3
votes
0answers
69 views

Expanding root partition CentOS 6 With using fdisk

I am trying to expand the root partition on a VM which is not using LVM and I do not have (nor want to try and create then use) a disk to boot from. As such I followed what I felt was the logical ...
3
votes
0answers
24 views

Is posix_fadvice / POSIX_FADV_DONTNEED functional in Linux?

If I am doing once only scanning across big files then do I need to worry about impact on the page cache or does the OS take care to avoid my scan causing pointless churn in the page cache. I want to ...
3
votes
0answers
16 views

Radiusd(freeradius): User only for a special client

Is it possible to restrict a user from the "users" file to a special client? I try to use one radiusd server for two wifi access points but I will use one user credentials only for one access point ...
3
votes
0answers
78 views

Best practice to customize date/time format system-wide?

I'd like to customize exclusively the date and time format for my system, while sticking to the rest of the locale as is. I know that environment variable LC_TIME will make it possible to customize ...
3
votes
0answers
58 views

Limit the inode cache used by a command

I want to run a task with limits on the kernel objects that they will indirectly trigger. Note that this is not about the memory, threads, etc. used by the application, but about memory used by the ...
3
votes
0answers
89 views

Scripted write-then-read from Unix domain socket using socat

I have a simple server listening on a Unix domain socket (on a CentOS box in case that's important). When I send the command "DATE" to the socket it writes back a welcome message and then "APRIL 15 ...
3
votes
0answers
52 views

Automatically restarting process in the X server

I would like to know how to have a process that starts with the X server and automatically restarts when it stops running. I am running Ubuntu 14.04 with a KDE 4.13.3 desktop. I am running the ...
3
votes
0answers
75 views

Problems with file system

I created a partition with EXT4 file system and when I'm writing in this partition frequently the Kernel return the following error: Jan 01 01:17:54 infobuffer360 kernel: r7:c0561280 Jan 01 01:17:54 ...
3
votes
0answers
73 views

How to generate graphs from lmbench results?

I need to use the lmbench benchmarking tool to get the system performance statistics. I am able to execute and run the results. In the results folder this is a MakeFile with this information # ...
3
votes
0answers
64 views

Is there a thing like “veth”, but without link-level headers?

When I use separate network namespace, I often set up networking there using veth: ip link add type veth ip link set veth0 netns 1 ifconfig veth1 192.168.60.2 ip route add default via 192.168.60.1 ...
3
votes
0answers
113 views

Does ZFS for Linux over stress VirtualBox?

I've been using MD raid + LVM for many years, but recently decided to take a look at ZFS. In order to try it, I created a VirtualBox VM with a similar layout to my main server - 7 'SATA' drives or ...
3
votes
0answers
85 views

What is the difference between “systemctl restart” and “systemctl start”?

I have two services A and B where B is dependent on A which means in the A's service unit i have After and Requires set to B After=B.service Requires=B.service Now when i stop the service B the ...
3
votes
0answers
120 views

Set maximum volume in Arch Linux

Recently, I purchased new over-ear headphones that have some really powerful speakers. I usually have to listen at ~4% volume to use them comfortably. Each time I restart my computer, they move back ...
3
votes
0answers
430 views

Can a zImage be used with U-Boot and ArchLinuxARM?

I am using U-Boot on a Cubieboard 2, sun7i AllWinner A20 board to boot into ArchLinux ARM. The kernel version that I have is the sun7i latest, which is 3.4.103-5-ARCH so, in kernel terms, it's a bit ...