LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Blogs > neonsignal
User Name
Password

Notices

Uncategorized Entries with no category
Old

Pepper Flash plugin for Chromium browser

Posted 06-16-2013 at 07:01 PM by neonsignal
Updated 06-16-2013 at 07:46 PM by neonsignal

A few sites require the the newer version of Adobe Flash with the Pepper API.

This is included in the closed Chrome browser package, but it can also be used with the open source Chromium browser from which Chrome is derived. The Pepper API is not supported by Firefox.

There are packages available for some distros, but it can also be installed manually.

First download the current Chrome package to suit your architecture, eg:
Code:
wget https://dl.google.com/linux/direct/google-chrome-stable-current_
...
Senior Member
Posted in Uncategorized
Views 725 Comments 0 neonsignal is offline
Old

user space access to parallel port

Posted 06-17-2012 at 09:53 PM by neonsignal

When using a parallel port for a printer, typically it will be accessed through a kernel printer driver.

However, the parallel port can also be used as a multi-purpose bit port from user space. This can be done by loading the ppdev driver:
Code:
modprobe ppdev
In the past, you would also have to create the access node, but this is now scripted and will happen automatically:
Code:
mknod /dev/parport0 c 99 0 -m 660
Senior Member
Posted in Uncategorized
Views 623 Comments 0 neonsignal is offline
Old

user mounted filesystems

Posted 06-14-2012 at 10:51 PM by neonsignal

Rather than mount a filesystem as root (whether from the command line or through /etc/fstab), non-privileged users can make use of the fuse (filesystem in userspace) system. This requires the installation of the fuse-utils package, and the user has to be added to the fuse group.

There are a number of useful systems implemented on top of fuse.

For example, an ISO system might be required to run a particular application, and just mounted temporarily by the user executing...
Senior Member
Posted in Uncategorized
Views 430 Comments 0 neonsignal is offline
Old

shutdown instead of reboot from ctrl-alt-del

Posted 06-14-2012 at 03:30 AM by neonsignal

Typically the ctrl-alt-del in Debian will cause the system to reboot (or the GUI may bring up a dialog).

If the preference is to have this shut down the system instead, the relevant line in /etc/inittab is changed from:
Code:
ca:12345:ctrlaltdel:/sbin/shutdown -t1 -a -r now
to:
Code:
ca:12345:ctrlaltdel:/sbin/shutdown -t1 -a -h now
Senior Member
Posted in Uncategorized
Views 549 Comments 0 neonsignal is offline
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 428 Comments 0 neonsignal is offline

  



All times are GMT -5. The time now is 03:53 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