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

learn more… | top users | synonyms

4
votes
1answer
604 views

Is there an analog of Bash's Ctrl+Z & fg in Powershell?

I find the combination of Ctrl+Z with subsequent fg on Bash very handy, it's like a command line analog of alt+tab, so I can switch from viewing one file to the output of a running process etc. Is ...
4
votes
1answer
439 views

Windows 7 / Linux Dual Boot Chkdsk Everytime

I have a problem with a dual boot win7/linux system. Every time I boot in Linux, and then boot into win7, I have the annoying problem of windows 7 running a check disk. Initially I dismissed it as ...
4
votes
1answer
193 views

BASH Completion: Ignore repeated?

I have a bad habit of pressing TAB too many times when using the terminal. If whatever bash completion routine invoked is particularly slow, this causes a huge wait while the terminal shows me the ...
4
votes
1answer
608 views

Bluetooth mouse won't reconnect after reboot or wake from sleep in Debian squeeze

I have a Microsoft Bluetooth Notebook Mouse 5000 and have experienced the same problem with two laptops, a Sony Vaio Z, and now a Lenovo Thinkpad T420s: I can pair the bluetooth device to the ...
4
votes
1answer
5k views

VirtualBox NAT over proxy

I use VirtualBox 4.1.8 on a Ubuntu 10.04 host system. I have an HTTP proxy server on the host system. How do I configure the VirtualBox to NAT the virtual machine's network and use the HTTP proxy for ...
4
votes
1answer
1k views

How to get different terminals for dual monitor scheme without X

I have Ubuntu installed without X.org with two monitors(single card: vga and dvi) Login shell is cloned for both monitors. I there any way to have different shells(tty) for these monitors?
4
votes
1answer
1k views

Keyboard Shortcut to Move Mouse Cursor to Current Window

Under X Windows it is possible to move mouse cursor using shift+Num Lock and the numeric keypad as described in this wikipedia page. However, when you have two monitors running resolution of 3360x1050 ...
4
votes
1answer
2k views

Synergy config dual monitors separately

In Synergy, is it possible to set up your config so that you have one server and one client, both with dual monitors, but the client machine has its monitors such that one is on the left of the ...
4
votes
1answer
1k views

How to improve the HTML formatting in Evolution mail client

I have a question about viewing HTML emails in the Evolution mail client. Basically, I am receiving some emails that look lovely in Thunderbird but not in Evolution because the HTML rendering of ...
4
votes
1answer
983 views

How to mount remote samba share from local host with multiple groups?

I am using mount.cifs to mount a remote samba share (both client and server are Ubuntu server 8.04) like this: mount.cifs //sambaserver/samba /mountpath -o ...
3
votes
1answer
139 views

How do I PROPERLY map a keyboard key to a mouse button?

Question summary: I want one of my mouse buttons to be registered as the left Windows button (Super_L) by X11. In my window manager, I can move windows around by holding the "left Windows button" ...
3
votes
1answer
187 views

Unknown linux process with random command

I have a unknown process when I run top: When I kill the process it is coming again with another random name. when I check the rc.d levels and init.d there are many random name similar like this ...
3
votes
1answer
70 views

Will the usb disk wear out when it is set to read-only

I'm aware that usbs' have a limited read/write cycles. What if, I put a whole linux installation, about 4Gb, on a usb and set the usb to read-only. Then set a ramfs for those apps that needed a ...
3
votes
1answer
58 views

Quickly write byte to Bluetooth dongle's serial port when webpage loads

I have a USB Bluetooth dongle mounted (?) as /dev/rfcomm0, and when I navigate to my local IP address from another device on my network in a browser, I want it to write a 't' to the serial port so ...
3
votes
1answer
248 views

Use /sys/class/gpio/ in Python without root permissions

I want to interact with the GPIO pins using the Python module Ablib. And I want to do this without root permissions. How can I achieve this? When I create an ablib.Pin instance the module opens ...
3
votes
1answer
38 views

On Linux, how do I enforce a whitelist of USB devices?

With the things like RubberDucky, and available code to reprogram USB Flash, the USB port on my laptop is becoming a security risk. How can I begin using a whitelist of acceptable USB storage and HID ...
3
votes
1answer
102 views

Why is size on disk so large for a single file?

I've read a couple posts explaining that when you have many small files, the "size on disk" reported by windows can be much larger than the reported "size". This makes good sense to me, but from what ...
3
votes
1answer
295 views

How can a process in “interruptible sleep” state use 100% CPU?

According to this reference, a process has the following states R running or runnable (on run queue) D uninterruptible sleep (usually IO) S interruptible sleep (waiting for an event to complete) Z ...
3
votes
1answer
106 views

Connect internet camera and bridge/forward IP traffic

I have an Ubuntu (14.04) machine with two Ethernet cards. One Ethernet card (eth0) is connected to the office network. The machine is addressable from the outside Internet. I have a Web camera that ...
3
votes
1answer
368 views

Aggregating multiple internet connections into a single connection to allow improved throughput over a single connection

I have 2 or more internet access paths e.g.: 3G (2 Mb/s) Eth0 (20 Mb/s) Eth1 (separate network) (20Mb/s) I'd like to aggregate them like Speedify i.e. a single download could benefit from ...
3
votes
1answer
4k 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 ...
3
votes
1answer
52 views

Download yum packages on Debian for an offline fedora20 system

I need to download YUM packages (namely java-1.7.0-openjdk, gstreamer-plugins-good, gstreamer-plugins-bad and gstreamer-plugins-ugly) for an offline Fedora 20 machine, and I'm working on a Debian 7. ...
3
votes
1answer
243 views

How to register shutdown script on Amazon Linux in AWS EC2

I am using Amazon Linux (RH-based distro) in AWS EC2. I followed the structure of /usr/share/doc/initscripts-*/sysvinitfiles to create an init script in /etc/init.d. /etc/init.d/do_something ...
3
votes
1answer
339 views

How to set gpg2 as default implementation of gpg on debian?

My debian installation came with gpg 1.4.12, while I would like to be running 2.0.19. The former comes in the package gnupg and the latter gnupg2. They can coexist peacefully as far as I know, but I ...
3
votes
1answer
210 views

How to use wget to download images from messages on facebook?

This look a bit harder than usual. I'm a new user wget and i was thinking that maybe it's possible to somehow login into facebook and download only images from a specific conversation. I mean, i'd ...
3
votes
1answer
428 views

Use dconf (or comparable) to set configs for another user

On Ubuntu Desktop 13.10, I have a setup script which runs as root. It essentially configures the computer as necessary, but I need to set some things with dconf. The script runs in a Terminal window ...
3
votes
1answer
141 views

What causes files to use up more more disk space than the file size suggests?

du was showing some drives with much less space than I was expecting, and ls -alh also showed the sum at the top to be a factor of three more than the sum of the individual files. Following this ...
3
votes
1answer
1k 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 ...
3
votes
1answer
2k views

How to unmark an NTFS cluster as bad?

How do I unmark clusters as bad in NTFS? Background I mistakenly ran >chkdsk /R on my SSD, where /R: Locates bad sectors and recovers readable information (implies /F) /F: Fixes errors ...
3
votes
1answer
270 views

Can't Get libpam-ssh-agent-auth Working In Ubuntu 13.10

I've been wrestling with this particular issue most of the day, and have been making SOME progress, but I'm still a bit stuck. I would like to be able to authenticate an SSH session using a private ...
3
votes
1answer
47 views

debian diff current /etc to default /etc

I have a Debian system I wish to migrate to newer, improved hardware. Over the years there have been changes to /etc both from myself and from system updates. I would like to create a diff of my /etc ...
3
votes
1answer
704 views

Recover data from USB which doesnt appear to have a partition

Possible duplicate but all other example seems to have output for sudo fdisk -l /dev/sdx. Upon inserting the USB the following appears in dmesg· Ubuntu doesn't acknowledge the device in terms of ...
3
votes
1answer
904 views

Downmix from 5.1 Surround to two channel stereo using avconv

I have a .wmv with the audio codec of wmapro, which my target video player chokes on. I am generally in the process to "standardise" my collection to x264/aac (as this works fine on all my devices), ...
3
votes
1answer
279 views

Installation VT220 terminal in Ubuntu

I want to know how to connect a Digital VT220 terminal to PC-Linux with Ubuntu 12.04 using a serial-USB device. At the moment I did next steps: sudo vi ttyS1.conf (at /etc/init) # ttyS1 - getty ...
3
votes
1answer
407 views

How can I write a Windows (NTFS) .img file to a partition and add it to grub?

I'm trying some crazy stuff here. First, I had a VirtualBox machine with Windows XP installed, using .vdi format. Then I exported the image to a OVA, extracted the .vmdk and converted it to a raw .img ...
3
votes
1answer
128 views

Independence of SATA channels and ports

I'm working on setting up a simple RAID and am wondering about how independent my SATA ports really are. There are 4 ports on the motherboard, but lspci shows only two controllers 00:0e.0 IDE ...
3
votes
1answer
575 views

Why is the kernel and the watchdogs consuming all the CPU?

I run a bunch of heavy user space processes on a powerful Xeon machine (32 virtual processors according to /proc/cpuinfo). The CPU load is normally around 30 and the machine feel responsive, but later ...
3
votes
1answer
573 views

`ifconfig` isn't showing stats for an alx gigabit card

So I just setup conky on my arch box for monitoring various stats on the desktop, and I'm having a small problem. The relevant text in my conky config: down $alignr ${downspeedf enp9s0} kb/s - ...
3
votes
1answer
265 views

Transparent Linux FS (FUSE or similar) that presents encrypted virtual files from unencrypted physical files?

I have this unlimited online backup solution, which has very few good things to say about it apart from it being free. For instance, though it claims to offer encryption, this seems not to be the ...
3
votes
1answer
426 views

Set “default” application for mime type in Firefox

I have set basically all file types in Edit->Preferences->Applications to "Always ask" because I want to decide for every file whether I want to open or save it. My usual workflow when saving a file ...
3
votes
1answer
387 views

Linux: execute given command when file/directory changes?

I'm aware about inotifywait/inotifywatch from inotify-tools, about entr (http://entrproject.org/) and that dozen of shell scripts around, but they are not what I need. What I need is something ...
3
votes
1answer
3k views

Permission denied while mounting samba cifs share on linux

I have a samba server set up on a Linux computer that uses winbind on an AD domain. Everything seems to be working but I haven't been able to mount a samba share on another machine. Right now, I would ...
3
votes
1answer
115 views

Is it possible to check which stream is used by the command? (bash)

I have an irritating problem: redirecting stderr does not work. I get: iptables: Chain already exists I can't be bothered to check if a chain exists already (pointless, iptables just throws an ...
3
votes
1answer
219 views

ssh session occasionally hangs for some time

I have several ssh connections to a server that is in the same LAN as my desktop machine. Some sessions have X forwarding enabled, some don't. Both types of sessions occasionally hang for a couple of ...
3
votes
1answer
611 views

USB mouse disconnecting and reconnecting in windows and linux

I have a problem similar to what is described at "Why is my USB mouse disconnecting and reconnecting randomly and often?" except is is happening in both Windows 7 and Linux (Ubuntu 12/04TLS, fully ...
3
votes
1answer
313 views

Making TT-RSS cache images

Due to Google Reader's untimely demise, I've installed tiny-tiny RSS on my Linux machine under Apache 2. It's mostly a good enough replacement and I can at least go back to reading RSS feeds in my web ...
3
votes
1answer
461 views

Wicd set up on centos

I am having difficulties with wicd on start up on CentOS 6. When it starts up it complains that it cannot connect to the DBus and that the daemon has shut down. When I check the log file there is ...
3
votes
1answer
3k views

Hard drive error - NTFS damaged

I am helping a friend recover data from a computer (lenovo). After what I was told was a hard shutdown, the computer does not get past the system repair screen. (Windows failed to start) Booting off ...
3
votes
1answer
492 views

SSH: “no such identity”

I'm having a very peculiar problem getting SSH to work on my Linux box. I have a passwordless git user identified by an OpenSSH key. If I attempt to ssh into it from either the same or a different ...
3
votes
1answer
285 views

Creating a custom input method

Is there any standard way of creating a custum input method for X11/linux in general? I've poked around scim and iBus but I can't seem to find any example of it having been done before. In reality I ...