LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Blogs
User Name
Password

Notices

Old

undeleting files that are still open

Posted 06-10-2012 at 09:28 PM by neonsignal

Normally it is tricky to recover a file that has just been deleted, but if the file is open by an application, its node still exists on the filesystem.

First find out the process id of the application:
Code:
ps -e | grep application-name
Then list all the files that the application has open:
Code:
ls -l /proc/process-id/fd/
The ones that are to be recovered can be copied:
Code:
cp /proc/process-id/fd/file-number
...
Senior Member
Posted in Uncategorized
Views 422 Comments 0 neonsignal is offline
Old

Improving/fixing font rendering on Debian's web browsers

Posted 06-08-2012 at 03:59 PM by the dsc (linux-related notes)

Warning: I don't know the whole story about this (no warranties, you're on your own if you decided to follow these instructions), but after some recent upgrades my Debian install (testing/unstable) had awful font rendering on web browsers (everything nice everywhere else somehow). I like to "force" freesans (which is very somooth and anti-aliased) on almost everything on the web, and it was looking like some pixelated Times New Roman or Courier New.

I went googling for solutions...
Member
Posted in Uncategorized
Views 1054 Comments 0 the dsc is online now
Old

So what game are you going to play first when Steam comes to Linux?

Posted 06-08-2012 at 09:52 AM by Seph64 (Seph64's Lair)

inb4L4D2

With all the brouhaha from Phoronix lately about Steam coming to Linux, if and when it does happen, what (Steam) game are you going to play first? Of course, this is assuming there'll be more than 1 game on steam that will be available to be played on Linux come launch.

Well, I am hoping that Valve will allow Doom 3 to be under Steamplay when it concerns the Linux version (although, it may not happen since Steam users didn't get the ability to play the Mac...
Member
Posted in Uncategorized
Views 2642 Comments 1 Seph64 is offline
Old

powering down a USB port

Posted 06-08-2012 at 09:25 AM by neonsignal

A USB device can be powered down by setting the power level parameter:
Code:
echo suspend >/sys/bus/usb/devices/usb-device/power/level
However, note that the power suspend is done by the slave device, not by the port. Not all USB devices can be suspended (particularly parasitic ones such as lights that have no communications interface).

The device can be turned back on by setting it to auto mode:
Code:
echo auto >/sys/bus/usb/devices/
...
Senior Member
Posted in Uncategorized
Views 358 Comments 0 neonsignal is offline
Old

What do you get when you make Mplayer a little better?

Posted 06-08-2012 at 12:39 AM by stretchedthin
Updated 06-08-2012 at 12:40 AM by stretchedthin

The nice thing about open source is that someone can take something that is very good and make it even better. I think Umplayer is a good example of this. Based on Mplayer, the team at Umplayer have found a way to make some of the more advanced features of Mplayer more accessible to the average user.
All software and graphics shown in this video are either GPL version 3 or Creative Commons Attribution 3. Each of which has commercial allowances. Software freedom is what makes this video...
Member
Posted in Uncategorized
Views 361 Comments 0 stretchedthin is offline

  



All times are GMT -5. The time now is 04:05 PM.

Main Menu
Advertisement

My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration