11
votes
4answers
18k views

pdf to jpg without quality loss; gscan2pdf

When I convert a pdf file to bunch of jpg files using convert -quality 100 file.pdf page_%04d.jpg I have appreciable quality loss. However if I do the following, there is no (noticeable) quality ...
4
votes
3answers
604 views

General Linux support for IPv6 ready?

From an end user perspective, what needs to be, and have been done, by developers to support IPv6 in the Linux kernel and Linux distributions? In other words, when (and if) someday the worlds ...
0
votes
1answer
789 views

Backup parleys videos

I have Parleys Desktop installed on Fedora 13 and I want to format the disk. Can I make a backup of the videos I have installed so I can restore them after the format? What do I need to copy? I don't ...
2
votes
3answers
152 views

info about processors in linux

hello everyone I'm currently reading Understanding the Linux Kernel, I found there: Besides the fields included in each process descriptor, additional information is needed to describe what ...
4
votes
1answer
2k views

Inability to use IPv4-mapped IPv6 on debian squeeze

I have a squeeze box that I'm testing ipv6 on... eth3 is the interface... if I set up an 'normal' ipv6 address (::101:c0a8:3132/120), I see expected results in ifconfig... eth3 Link ...
13
votes
3answers
2k views

How can I tell bash valid tab-completions for arguments to my Python script

Say I have a program hello.py and one possible valid argument to it is: ./hello.py autoawesomesauce Is is possible to type in: ./hello.py auto[tab] at which point the partially completed ...
19
votes
4answers
1k views

What should I use when cut doesn't cut it?

I have a file cities like this: [1598] San Diego, US (inactive) [4517] St Louis, US (inactive) [6346] Orlando, US (inactive) I want to cut out the city names, so that I have: San Diego St Louis ...
8
votes
3answers
304 views

Automatizing the sequence of mounting commands

When I connect a device (tablet, camera, flash drive, external harddrive) to my laptop with Linux I often type the following sequence of commands. $ ls /dev/sd* Let's say that my device is /dev/sdc ...
0
votes
1answer
2k views

Centos 'Login incorrect' problem

When I type my username and password into the login field, I receive the following error: Login incorrect How can I solve this problem? I am using CentOS.
1
vote
2answers
1k views

How can I fix linux disk without unmount it?

I had large file 200GB in my ext2 disk, then I deleted it(three are no files in Trash). And I haven't gained any free space. I don't want to use fsck as it requres me to unmount disk. I were windows ...
4
votes
2answers
12k views

Replace all white spaces with commas in a text file

I need to replace all white spaces inside my text with commas. I'm currently using this line but it doesn't work: I get as output a text file which is exactly the same of the original one: sed ...
2
votes
2answers
2k views

supress error messages sent to console?

How can I suppress error messages sent to a console? On: Ubuntu? Fedora? Debian? CentOS? RedHat?
1
vote
1answer
382 views

How to block the execution of files owned by root through lighttpd?

I've created a group and a user to run lighttpd. I would like to run from the web server only files that have these permissions (myuser:mygroup). I don't want to run files with root permissions. Is ...
5
votes
1answer
2k views

USB 3.0 ports not working

I have a Sager NP8130 notebook with two USB 3.0 ports which I cannot get to work in any linux distros I've tried. The distros I've tried so far are the latest 64-bit (where available) versions of the ...
0
votes
1answer
483 views

How to write script for automatic joomla installation in webhost

I want to create a script in Linux that automatically downloads the latest Joomla from their website and then installs it to the specified user. Is it possible in a shell script? I don't know how it ...
3
votes
2answers
1k views

How to map one vim command to execute bash commands based on OS?

In short, can single bash commands in the terminal contain conditionals? If so, how? I have in my vimrc (shared across systems) the following command to open my current LaTeX document in .pdf form: ...
2
votes
2answers
829 views

What is the difference between Ubuntu and Debian?

Are they both different flavors of Linux? I often see these two used interchangeably or together, which is confusing. Either they may be competing versions of Linux, or parts of the same thing...but ...
10
votes
1answer
5k views

Why is lighttpd saying “unknown config-key: accesslog.filename”?

I have created a simply vhost on Lighttpd web server and put these lines on the .conf file. server.errorlog = "/var/log/lighttpd/error.log" accesslog.filename = ...
4
votes
2answers
748 views

Emacs font size changes frame size?

I'm using emacs 23.1.1. I set the font size in my .emacs with (set-face-attribute 'default nil :height 100) The problem is that my emacs is now really small. The outer box (what I call a window and ...
1
vote
1answer
3k views

Laptop web cam not recognised by Linux Mint

I am new to Linux and I have a 64-bit Linux Mint 10 but it does not recognise my Lenovo Y650 camera. When I try to open the Video4Linux Control Panel, I get the following error: Unable to open ...
-1
votes
1answer
144 views

standard VCS ignore list [closed]

What all do you think is the best standard list of ignored files for VCS? For example here's my .gitignore_global file. # Compiled Sources # ################### *.pyc *.pyo *.exe *.so *.o *.a *.la ...
0
votes
1answer
289 views

I am failing to build DocBook-utils

I was following these instructions (DocBook-utils 0.6.14), and now I get the following failure when running make: ... SGML_CATALOG_FILES=/etc/sgml/catalog \ SGML_SEARCH_PATH=../../doc:.. \ nsgmls ...
2
votes
1answer
537 views

Is there any PF log parser for FreeBSD

I am runing FreeBSD 8 stable with PF as firewall, I am looking for any tool for parsing PF log's.
1
vote
1answer
68 views

Equivalent of newusers for groups

The newusers command is useful for adding or modifying users in bulk. Is there an equivalent command for managing groups?
6
votes
1answer
1k views

Can I choose which of my dual screens a youtube video will maximize to?

Watching a youtube video, I click on "maximize to full screen" (the flash button). It maximizes to the wrong screen. How can I choose which screen will display the vid?
3
votes
1answer
608 views

Creating a .sh wrapper in my debian package

I'm trying to build a debian package for a program that uses mono. My make install target currently puts all of my binaries /usr/local/lib/mypackage, then creates a tiny executable script in ...
2
votes
1answer
273 views

Why do I get this message whenever I open a terminal?

I keep getting this strange message when I open a terminal: me@batcuter:~$ Message from syslogd@batcuter at Apr 21 14:10:38 ... such IMContext Message from syslogd@batcuter at Apr 21 14:10:38 ... ...
10
votes
1answer
13k views

Cron log on debian systems

On Redhat systems cron logs into /var/log/cron file. What is the equivalent of that file on Debian systems?
7
votes
1answer
4k views

Is NTFS under linux able to save a linux file, with its chown and chmod settings?

I'm having some doubts about how to install and allow linux to correctly read/write to a NTFS formated harddrive used as backup of various machines (windows included, that's how I need NTFS). For now ...
1
vote
2answers
4k views

Identifying open and closed server IP Address/ports

I use a fairly simple WGET command to verify if the IP Address and port are open or closed for a particular server: wget -a /tmp/ports.log -t1 -T1 10.178.30.45:443 The issue I have is that there are ...
3
votes
2answers
5k views

ldap_bind: Invalid credentials (49)

I'm trying to set up an openLdap server and after following the instructions I'm stuck at the point where I can't add any data. The error I'm getting is ldap_bind: Invalid credentials (49) Please ...
2
votes
0answers
266 views

Is there a version of Wine that actually runs mainstream chat clients?

Is there a version of Wine that actually runs mainstream chat clients? I'm willing to consider commercial forks. I'd need it to support at least: Yahoo QQ Skype (yes there's a native client but it's ...
4
votes
1answer
1k views

Does ssh compress connections in a tunnel individually?

I have one compressed SSH tunnel with one tunnel and multiple connections over it. Data in every connection tunneled is rather homogeneous, but compressing an interleaved stream will obviously make ...
1
vote
1answer
402 views

No exec permissions on programs in /usr/local/bin

I have installed the newest Erlang from source. As the final step I have executed sudo make install Among other things, it placed erl link in /usr/local/bin, but its permissions are insufficient ...
6
votes
1answer
543 views

emacsclient -t hangs

I'm trying to use emacs (23.2.1) in daemon mode. I started it as emacs --daemon and that works just fine. But whenever I try emacsclient -t somefile I first get a line of garbage (e.g., `1;25C2;'), ...
4
votes
2answers
949 views

How can I change the look of applications running via NoMachine?

I have set up the NoMachine NX server on a virtual machine running on a server in my datacenter to use for keeping applications running and connecting/disconnecting from them via my laptop. The ...
12
votes
2answers
4k views

How to diff a file and output from the command?

Normally you would write: diff file1 file2 But I would like to diff a file and output from the command (here I make command a trivial one): diff file1 <(cat file2 | sort) Ok, this work when I ...
2
votes
1answer
1k views

how to detect a laptop hibernate/resume(close lid,open) in osx from a bash script

This is a follow on question to how to trap a suspend a resume from a bash script How do you a trap the event that occurs when you close the lid and later reopen it from a bash script?
2
votes
1answer
529 views

[FreeBSD] rc.conf, loader.conf vs static kernel linking

I'm curious: What, exactly are the benefits to statically linking modules into the kernel rather than loading through rc.conf, etc? For example: To add linux emulation, I could add ...
3
votes
3answers
2k views

Switch to Gnome from KDE without logging out

Right now I'm using the KDE desktop on Fedora, but I want to switch to Gnome. Problem is, I have many things open right now (xterms, xemacs, etc, etc), and I don't want to close all of them, log out, ...
5
votes
2answers
376 views

Workings of top and ps commands

How do the commands top and ps calculate CPU utilization using the /proc/[$pid]/stat file? Also how do they obtain memory utilization information about the process?
0
votes
1answer
826 views

Building monotools-server, gtk+, pango - bizarre path issues

I'm attempting to build the monotools-server app from source. After days of hunting down missing dependencies (and in one case (xsp) having to manually modify a generated Makefile to remove a ...
3
votes
4answers
1k views

Matlab gets “crazy” after type special characters

I'm using a computer running Ubuntu and I'm connected through ssh to a RedHat machine where I use Matlab in command line mode (matlab -nodesktop). Matlab version is 7.10.0.499 (R2010a). My problem ...
1
vote
5answers
5k views

How to get some part of string in linux

The output of find command is like /home/user/test/folder1/abc.png Now i want to get folder1 from above string
13
votes
7answers
9k views

Are cygwin vim commands different than normal vim?

I am unable to edit text files using vim in cygwin. I have to press i many times to insert text. Sometimes it works and sometimes doesn't. Whenever I move cursor up down I have to press I many times. ...
3
votes
2answers
1k views

VirtualBox image from running VPS

I have an Ubuntu Server 10.04 VPS (Virtual Private Server) that hosts my website. I would like to clone this VPS and create a VirtualBox machine from it. How can I do this?
20
votes
4answers
21k views

How to record Skype video calls on Linux?

I'd like to conduct recorded video interviews with Skype and am looking for a reliable tool to accomplish that. Is there anything out there that's not slow or buggy? I'm running (K)Ubuntu.
7
votes
5answers
17k views

How copy and rename files found in “find” function Linux?

I have a folder named /home/user/temps which has 487 folders. In each folder I have a file called thumb.png. I want to copy all files named thumb.png to a separate folder and rename them based on ...
2
votes
1answer
460 views

Single command to move a domain from cPanel's localdomains to remotedomains file?

I find myself needing to do this a few times daily and would love an easier way to do it. The domain example.com's email is handled by a third party, so the server needs to be told this by listing ...
1
vote
1answer
672 views

Bind key to a bash script

I'm trying to bind a key (now without function) to a bash script that I have made on Ubuntu. I'm using a clevo W150HNM/Sager NP5160 I want to use button 1 or 4 for this. (see photo) I don't get any ...

15 30 50 per page