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

3
votes
1answer
102 views

How do I highlight “copy this” text on a website so that I might middle-click paste?

It seems to be one common practice on websites which intend to give the user text for copying/pasting to place this text in an <input/> or <textarea/> and pre-select it for the user. ...
3
votes
1answer
216 views

What is the recommended way to make a new keyboard mapping for a new language on Linux?

I have to type extensively in Sgaw Karen. As far as I have discovered, ready made keyboard layouts for this language exist only on Windows. So, my question is, what is the preferred approach one ...
3
votes
1answer
203 views

How can I print two small files on the same page with a2ps?

I'm using Ubuntu Linux 12.0.4.1 LTS and I like the auto-formatting that a2ps does. I just want to print several small files using as few pages as possible. Example: a2ps file1.c file2.c file3.c ...
3
votes
1answer
244 views

On linux, how do I prevent the creation of .DS_Store files?

defaults write com.apple.desktopservices DSDontWriteNetworkStores true works on Mac but not Linux. This problem is caused by my use of SSHFS.
3
votes
1answer
215 views

Maximum TCP session time on Linux

I have two python scripts, which reside on different machines and are connected by a TCP connection. If the scripts do not share any data, they send dummy packets, so that the session is never idle ...
3
votes
1answer
2k views

Error on changing the resolution of a vnc session in linux on the fly

I connect to my workstation which is a linux box(Red Hat Linux) from a my laptop(windows 7 machine) through RealVNC . When I am work I use a docking station and the resolution of it is quite high and ...
3
votes
1answer
348 views

Error while installing OpenVZ kernel using yum in Fedora 17

I was trying to install OpenVZ kernel(rhel 6) in Fedora 17.Things worked fine until i issued the 'yum install vzkernel' command.The messages that i get at the end are: Error: systemd conflict with ...
3
votes
1answer
1k views

How to use different ip address between virtual machine and your laptop?

How to use different ip address between virtual machine and laptop. For laptop, my os is mac. And within my laptop, i run a virtual machine (vbox). The os within vbox is ubuntu 11. Thank you.
3
votes
1answer
434 views

Terrible multi-threaded performance in Kubuntu in VirtualBox in Debian machine

We have an unpleasant performance issue when running our multi-threaded rendering software inside a virtual machine. We are running Kubuntu 12.04 in a VirtualBox 4.0.10_Debianr72436 which runs ...
3
votes
1answer
284 views

How to reroute sound from one hardware output to another using software?

My notebook had some champagne spilt on it a long time ago. As a result of this disaster the internal speakers went silent and don't make any sound, so I was forced to use external speakers via ...
3
votes
1answer
479 views

Disable the DVD eject button on a Thinkpad running Linux

My Thinkpad T420 has a problem. It's just too sensitive. I just slightly touch it on the right side, and woosh, the DVD drive pops open. (I think this is called a premature ejection :)). Is there a ...
3
votes
1answer
927 views

No space left on device, df shows 50%

I have done everything I know about, and now I'm completely lost. I'm getting an error on my Storage partition. The drive is a ntfs, and I'm using ntfs-3g, the disk is being shared between my Windows ...
3
votes
1answer
944 views

NFS: Network disconnect causes Gnome Nautilus to hang / Jumping progress bars

I mount NFSv4 export via /etc/fstab and mount and use the shared folder in nautilus. There are two issues: When I copy a large file (around 4 GB) to the NFS server, the progress bar rapidly goes to ...
3
votes
1answer
497 views

chmod always unsets setgid bit on directories if I'm not in a group

Here's the scenario: I'm using Ubuntu Linux (12.10, if it matters), and I've got a directory whose permissions are thus: drwxrws--- paul www-data myfolder/ You can see the setgid bit is set. If ...
3
votes
1answer
164 views

How to output a simple network activity plot in console in Linux?

There's tload that plots load average. There's iftop that network usage as bars. How to do something like this: # tcpdump -i eth0 --plot 'host 1.2.3.4' 13:45:03 | | 0 in 0 ...
3
votes
1answer
1k views

Setting up dual monitors in xorg.conf

I have a dual-monitor setup where the second (smaller) monitor extends the desktop of the first one. This works perfectly fine using the KDE monitor settings/XRandr, but Xorg's default behaviour is ...
3
votes
1answer
187 views

Lighttpd: Serve all files in directory as static

How can I prevent any code execution under a specific directory path using Lighttpd configuration? I do not want to use a whitelist/blacklist, but simply serve any file as a static file under that ...
3
votes
1answer
389 views

How to properly use stunnel?

I'm trying to setup Wireshark ssl debugging, and to do this, I'm trying to follow instructions in this article. I'm currently at stunnel part, and I'm trying to execute sudo stunnel -p ps.pem -d ...
3
votes
1answer
441 views

Using a custom keyboard map

I'm trying to not overwrite /usr/share/X11/symbols/us, even thought I've been doing that for years. So I added to ~/xkb/jpic, a copy of dvorak-alt-intl from /usr/share/X11/symbols/us, since that's ...
3
votes
1answer
286 views

Can I prioritize IPv6 traffic over IPv4 traffic on Linux?

Is there a way I can give traffic over IPv6 a higher priority than traffic over IPv4? Purpose is 2-fold: Promote IPv6, and be able to connect even when my server is swamped by IPv4 users.
3
votes
1answer
412 views

XDM login loop, missing or wrong session and resources files

I use Debian Wheezy/Sid with XDM urxvt as terminal as well as i3 as window manager ~/.xsession and /.Xresources as session and resources file, respectively. Last night I accidentally used up all ...
3
votes
1answer
81 views

Automated printouts from a wireless printer

I have a wireless printer which is always on, and an always on fanless Linux server. Looking at the mprinter project on Kickstarter I started to wonder if there is a way for me to prepare an ...
3
votes
1answer
2k views

Two parts: linux startup script to connect to bluetooth and cron to keep it connected

I have a mini bluetooth keyboard and a Raspberry Pi running a Debian-based distro. I know the MAC address of the keyboard but for this question, let's just use AA:BB:CC:DD:EE:FF. Right now I have to ...
3
votes
1answer
742 views

How to make WinServer's AD work with Linux DNS/DHCP on VMware?

I got 2 virtual machines : Windows Server 2008 with Active Directory installed. Linux that works as a DNS and DHCP Server I need to make them work together, but I don't if this is going to be ...
3
votes
1answer
582 views

ignore ipv6 router advertisements for static addresses with bonded interfaces

I need to attribute static IPv6 addresses (not use autoconfigured addresses, and ignore router advertisements). This can be done as follows for a standard interface like eth0 iface eth0 inet6 static ...
3
votes
1answer
254 views

Using a Ubuntu AWS instance as tunnel for RDP to simulate bandwidth

I have a bunch of windows instances on EC2 which I can connect to using RDP. I want to test the performance of RDP under various bandwidth and latency conditions. I know about thetc qdisc tool which ...
3
votes
1answer
1k views

AWS Load Balancer is slow?

I realize I should probably ask this question on AWS forums but I tend to get quicker responses here. I'm trying to setup a load balanced environment in AWS. I have two EC2 instances that are ...
3
votes
1answer
2k views

Connect ps/2->usb keyboard to linux?

I have a lovely ancient ergonomic keyboard (no name SK - 6000) connected via a DIN->ps/2 adapter to a ps/2->usb adapter to my docking station. After Grub it stops working. It takes either suspending ...
3
votes
1answer
4k views

Default permissions with setfacl

Just started using setfacl to assign permissions for a specific group to /var/www/html (CentOS 5). Files in this directory are 640, root:apache. However, I've noticed that after doing something ...
3
votes
1answer
724 views

VLC, realtime priority and rtkit

How can I increase the priority of VLC to some realtime level? The realtime setting inside of VLC does not seem to have any effect. I figure it nowerdays (on a modern Linux system, not a from scratch ...
3
votes
1answer
757 views

How can I force linux to use HDMI video for the console?

A while ago I repurposed an old Acer 8940 laptop to be a home theatre system using XBMC on top of Gentoo. I have video over HDMI to my 1080p TV which is working perfectly with X, and audio via the ...
3
votes
1answer
2k views

Can't write or download to SFTP on Ubuntu Server 10.04

I'm having a problem setting up SFTP with an Ubuntu Server 10.04 LTS x64. I use openSSH with public key authentication, I can login with SSH perfectly with the keys no problem. I can also connect to ...
3
votes
1answer
360 views

SFTP with chroot in a folder that can not have root privileges

I have troubles with setup a SFTP with chroot in "public" folder. Each client on my server has 3 to X accounts. These three accounts are: USER - system account only for internal use, requires full ...
3
votes
1answer
1k views

ALSA: Audio playback is clipped and has low volume

I'm hoping that someone can help me debug my audio problems. The problem is that audio playback is clipped and has low volume. The details of my setup are as follows: Arch Linux 3.1.3-1 An onboard ...
3
votes
1answer
600 views

How do I figure out what to set my DISPLAY variable to for a virtual display?

Here's my uname -a info ... Linux qa3398c 2.6.18-194.8.1.el5 #1 SMP Wed Jun 23 10:52:51 EDT 2010 x86_64 x86_64 x86_64 GNU/Linux I'm running some Google Web toolkit tests that require access to a ...
3
votes
1answer
683 views

How do I keep mac terminal keybindings when connected via ssh to a linux server?

My Setup computer: Macbook pro OS: OS X Snow Leopard Software: Terminal.app, GNU bash, version 3.2.48(1)-release (x86_64-apple-darwin10.0) The Server's Setup Hardware: Not sure OS: ...
3
votes
1answer
1k views

fdisk / sfdisk not saving partitions on USB drive

I am having some problems with an USB drive that is not working correctly, I am trying to recreate partitions with fdisk or sfdisk but once I do it I do "-l" and there's no partitions. This is how I ...
3
votes
1answer
215 views

Ubuntu network stop working after heavy load of packets received

My LAN has 2 PCs installed, Ubuntu 10.04 and Windows XP. I run the server on Ubuntu, and client on Windows XP. Because I am doing stress test, so the client will keep sending tons of packets to ...
3
votes
1answer
12k 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 ...
3
votes
1answer
531 views

PDT/PHP plugin in Eclipse in Ubuntu not working - “page not found” error

I am not having success getting the PDT (PHP Development Tools, SDK 2.0.2 and 2.1.2) plugin to work in Eclipse in Ubuntu 11.04. I encounter the following page when attempting to run a php file: Not ...
3
votes
1answer
2k views

Booting Clonezilla from a LiveUSB on a Macbook running Ubuntu

I have Ubuntu 10.04 running on a Macbook Pro 5.5. It's using rEFIt to allow Ubuntu to boot via grub despite the Mac's EFI. For backup purposes, I'd like to clone it's harddrive using Clonezilla. I ...
3
votes
1answer
475 views

Alternatives to Gentoo Prefix?

Are there any package managers that: work without root privileges, and install packages at a custom location (similar to ./configure --prefix), and install stable packages (unlike Gentoo Prefix ...
3
votes
1answer
2k views

Upload only modified files to FTP server

I want to upload files from my computer to an FTP site and I don't want to upload files that are already on the server. So I need a tool that finds out which local files that are different from the ...
3
votes
1answer
358 views

Multiple monitors under X: eliminating gaps due to different monitor heights

I am using nvidia-settings to configure multiple monitors . The monitors' native resolutions are different, so this generates 'gaps' where the items are drawn on the virtual screen but not on any of ...
3
votes
1answer
372 views

Use Linux to connect to a wireless network shared by a Mac

Mac OS X has built-in support for internet connection sharing through the settings as in the following screenshot: This works very well with other Macs, but I'm having problems connecting to such a ...
3
votes
1answer
376 views

Running a small IPTV station

I'm looking to run an iptv station for my dorm. I know I can serve multicast so that's not a problem. The station will serve out podcasts and other cc licensed content. The target endpoint is xbmc- ...
3
votes
1answer
167 views

Firefox keyboard shortcuts don't work when a form field is focused

When using Firefox in Linpus Linux (on an Acer One netbook) some hot keys don't work. Ctrl + w Alt + d However Ctrl + Tab Does still work. Edit: The version installed is 3.6.
3
votes
1answer
1k views

Is there Linux Live USB that works with Snow Leopard macbook pro from 2010 april

I was searching for a long time for a Linux Live USB that I can boot my MacBook Pro from. Is there such a distro I can install on Snow Leopard or Windows 7? Update: I've found this: "isohybrid" ...
3
votes
1answer
457 views

Report Linux memory cache content

Is there a way to report the contents of the file cache held on RAM?
3
votes
1answer
700 views

File 'pagefile.sys' in CIFS mount of '//windowshost/C$' makes Nautilus give up in disgust

So, I'm running a Fedora 13 VM in VirtualBox under Windows Server 2008. I need to have access to the host drives from inside the VM, so I mount them. I use the C$ and D$ default shares. Here's the ...