Re: find / grep to list files with php's short_open_tag

2013-05-10 Thread Suvayu Ali
Hi Reindl,

On Thu, May 09, 2013 at 03:05:01PM +0200, Reindl Harald wrote:
 
 because it does not work and i have no idea how to mask the LF for grep
 
 [harry@srv-rhsoft:~]$ find /mnt/data/www/ -type f -name \*.php -exec grep -l 
 -i -n -F ?$ '{}' \;

Did you look at my response earlier?

http://mid.gmane.org/20130509123904.gc6...@kuru.dyndns-at-home.com

Hope this helps,

-- 
Suvayu

Open source is the future. It sets us free.
-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org


Re: Cannot mount MMC (don't see the partition with fdisk -l)

2013-05-10 Thread Andy Johnson
Hi,
Can anybody try
 ls -al /sys/block/mmcblk*
with a machine which has can mount MMC USB flash ?

Best,
Andy

On Thu, May 9, 2013 at 2:24 PM, Andy Johnson johnson...@gmail.com wrote:
 Hi,
   Well tried both ways and it did not help.
 I would very much appreciate if anyone who has an
 mmc/sdio flash which he can mount on his linux,
 will send the output of
 1) ls -al /sys/block/mmcblk*
 2) /sys/log/messages when he inserts the usb plug of the MMC.

 3) if he has /sys/block/mmcblk* and can try to move this device files
 to a backup and try again, I will appreciate it.

 rgs,
 Andy


 shows,

 On Wed, May 8, 2013 at 10:33 PM, Ed Greshko ed.gres...@greshko.com wrote:
 On 05/08/13 12:29, Andy Johnson wrote:
 I am trying to mount an SD/MMC card on Fedora x86_64 and I cannot see it
 in fdisk -l.


 The SD/MMC is ENE Flash (UB623X)

 Silly question  But, do you have a card in one of the slots of the 
 reader?

 It was a while ago, but I did have a reader and if I plugged it in with a 
 card in the reader it would not register.  I first had to plug in the empty 
 reader then insert an SD card.

 --
 The only thing worse than a poorly asked question is a cryptic answer.
 --
 users mailing list
 users@lists.fedoraproject.org
 To unsubscribe or change subscription options:
 https://admin.fedoraproject.org/mailman/listinfo/users
 Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
 Have a question? Ask away: http://ask.fedoraproject.org
-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org


Re: fedora 18 gnome-shell core dumps before live system starts

2013-05-10 Thread Bram Mertens
Hi,

For the VM on CentOS I found a solution: changing the video driver
from the default cirrus driver to xvga, after that the gdm screen
indeed showed a list of users.  Previously the error I got was
before/during the gdm so I never saw the gdm screen.

For the VM on Virtualbox I switched the displaymanager using
system-switch-displaymanager on the command line.

lxdm now offers me a username input field, nothing more.

I also used switchdesk to switch from Gnome3 to XFCE and that works.

Regards

Bram

On Wed, May 1, 2013 at 9:58 PM, Joe Zeff j...@zeff.us wrote:
 On 05/01/2013 03:03 AM, Bram Mertens wrote:

 Now I do get a graphical login screen but after I log on I still get
 the oh no something has gone wrong.
 It is still trying to start Gnome 3, and gnome-shell is still getting
 killed by signal 4.


 If all were working properly, when you select your account from the list
 (assuming there's more than one account to select) there should be a little
 drop-down list allowing you to select from all the DEs you have installed,
 and defaulting to whatever you used last.  Presumably, it says GNOME right
 now.  If you do see that, try changing to a different one, because the error
 you're getting is very Gnome 3 specific.

 If that doesn't work, the error might be in gdm, the Gnome greeter, that
 shows the login window.  It's supposed to be possible to select a different
 one from a CLI, but I've never had it work; probably because lightdm, the
 one I want, isn't supported.  If all else fails, you can always use a CLI to
 install a different greeter, such as lightdm or (I think) kdm and remove
 gdm.  Then, when you reboot, nothing starts that's part of Gnome unless you
 either select it as your DE, or you run a program that needs it, and the
 latter shouldn't get you that message. Not ideal, I know, but if nothing
 else it will get you running until you can track down what's causing that
 error.  Good luck, and if you do find out, please let us know; that's one of
 the least helpful error messages I've ever run across[1], and having some
 idea of what it means would be a great help to everybody using Gnome.

 [1]Possibly the least helpful was one used by a friend of mine: 1=2.  Of
 course, he was a genius[2] and he had the source code.  And, to be fair, he
 only used it to indicate that something unanticipated had happened.
 [2]Look up Dan Alderson in Wikipedia for more information.

 --
 users mailing list
 users@lists.fedoraproject.org
 To unsubscribe or change subscription options:
 https://admin.fedoraproject.org/mailman/listinfo/users
 Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
 Have a question? Ask away: http://ask.fedoraproject.org
-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org


Re: find / grep to list files with php's short_open_tag

2013-05-10 Thread Reindl Harald

Am 10.05.2013 01:52, schrieb David Beveridge:
 [egreshko@meimei try]$ find /tmp/try -type f -name \*.php -exec grep -l -i 
 -n -G ?$ '{}' \;
 /tmp/try/one.php

 The only thing worse than a poorly asked question is a cryptic answer.

 So you want all the ? but not the ?php, ?xml, ?= in text files?
 
 grep -r ? * | grep -v Binary file | grep -v \?php | grep -v
 \?xml | grep -v \?=

i finally solved it with a php-script itself using a years ago written
PHP-SPL-wrapper for recursive listing of files started in the dir the
php-cli-script is living

relevant is ? followed by space, LF, CR, TAB to catch also files with
windows or OSX line-breaks

you must not list here files containing value=?=(int)$id? because this
short echo-variant is starting with PHP 5.4 always supported and no longer
in context with short_open_tag from php.ini

well, i found 7 files out of some thousand written in the last 10 years :-)

script and 3 test-files below
__

#!/usr/bin/php
?php
 if(PHP_SAPI != 'cli')
 {
  exit('Forbidden');
 }
 require('global.inc.php');
 $fs = new rh_filesystem();
 $liste = $fs-ListFilesRecursive(/**$path*/__DIR__, /**$details*/false, 
/**$excludes*/array());
 foreach($liste as $file)
 {
  if($file != __FILE__  strtolower(pathinfo($file, PATHINFO_EXTENSION)) == 
'php'  is_readable($file))
  {
   $content = file_get_contents($file);
   if(strpos($content, '? ') !== false || strpos($content, ?\r) !== false 
|| strpos($content, ?\n) !== false
|| strpos($content, ?\t) !== false)
   {
echo $file . MY_LE;
flush();
   }
  }
 }
?

__

$fs-ListFilesRecursive() is basically this:

 $spl_objects = new RecursiveIteratorIterator(new 
RecursiveDirectoryIterator($path));
 try
 {
  foreach($spl_objects as $filename=$spl_object)
  {
   if(!$spl_object-isDir())
   {
if(DIRECTORY_SEPARATOR === \\)
{
 $filename = str_replace(DIRECTORY_SEPARATOR, '/', $filename);
}
if(substr($filename, 0, 2) === './')
{
 $filename = substr($filename, 2);
}
if(empty($pattern) || !preg_match($pattern, $filename))
{
 if(!$ignore_svn || strpos($filename, '/.svn') === false)
 {
  $enumerate_list[] = $filename;
 }
}
   }
  }
 }
 catch(UnexpectedValueException $e)
 {
  error_log('Directory ' . $path . ' contained a directory we can not 
recurse into');
  return false;
 }
 sort($enumerate_list);

__

[harry@srv-rhsoft:/www]$ cat test-short-open-1.php
?
 echo 'TEST';
?
__

[harry@srv-rhsoft:/www]$ cat test-short-open-2.php
?php
 echo 'TEST';
?
form action=? echo TEST?/form
__

[harry@srv-rhsoft:/www]$ cat test-short-open-3.php
?
 echo 'TEST';
?
td
 ?
  echo 'TEST';
 ?
/td
__



signature.asc
Description: OpenPGP digital signature
-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org


Re: fedora18 and ipods/iphones

2013-05-10 Thread Dario Lesca
Il giorno gio, 09/05/2013 alle 21.52 +0930, Tim ha scritto:
 Allegedly, on or about 09 May 2013, Dario Lesca sent:
  For iP*, cell phone and Cloud, try Richard Stallman's solution:
  http://www.networkworld.com/news/2011/031411-richard-stallman.html
  
  Work for me. 
 
 Don't have one?
no, I have one for work

 My mobile phone is as basic as it gets, phone calls and text, nothing
 more.  ;-)  By deliberate choice.

Like me.

-- 
Dario Lesca - sip:da...@solinos.it
(Inviato dal mio Linux Fedora18+Gnome3)


-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org


Re: f18+gnome3: howto recording desktop with audio

2013-05-10 Thread Dario Lesca
Il giorno mer, 08/05/2013 alle 10.37 +0200, Olav Vitters ha scritto:
 On Sat, Jan 26, 2013 at 10:09:50PM +0100, Dario Lesca wrote:
  Someone have suggest?
 
 Requires work in GNOME shell:
 https://bugzilla.gnome.org/show_bug.cgi?id=665548

in Gnome 3.6 seems the bug is solved ...
What are the exact string to put into pipeline?

-- 
Dario Lesca - sip:da...@solinos.it
(Inviato dal mio Linux Fedora18+Gnome3)


-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org


Re: f18+gnome3: howto recording desktop with audio

2013-05-10 Thread Dario Lesca
Il giorno lun, 06/05/2013 alle 17.57 -0300, Germán A. Racca ha
scritto:
 On 01/26/2013 07:09 PM, Dario Lesca wrote:
  How to record via ctrl+alt+shift+r, video and audio together ?
 
  I have fount this trick:
  http://askubuntu.com/questions/112473/audio-not-working-for-gnome-screencast-ctrl-alt-shift-r
 
  But the command for set the org.gnome.shell.recorder pipeline key:
 
  gsettings set org.gnome.shell.recorder pipeline queue ! \
  videorate !  vp8enc quality=10 speed=2 ! mux. pulsesrc ! \
  audio/x-raw-int ! queue !  audioconvert ! vorbisenc ! \
  mux. webmmux name=mux
 
  ... do not work, and break the recording, likely this setting is for
  gstreamer-0.10, bud f18 use gstreamer1-1.x, true?.
 
  This is home page of shell recorder, but there is nothing for enable
  audio recording.
  http://developer.gnome.org/shell/stable/shell-shell-recorder.html
 
  Someone have suggest?
 
  Many thanks
 
 
 Hi Dario,
 
 Did you find a solution?

For now I rec video/audio via this command line:

 gst-launch ximagesrc ! ffmpegcolorspace ! queue ! vp8enc quality=10 speed=2 ! 
 mux. pulsesrc ! audio/x-raw-int ! queue ! audioconvert ! vorbisenc ! mux. 
 webmmux name=mux ! filesink location=/tmp/screencast.webm

Found here:
https://plus.google.com/111049168280159033135/posts/8Ra2uhYCgGm

-- 
Dario Lesca - sip:da...@solinos.it
(Inviato dal mio Linux Fedora18+Gnome3)


-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org


Re: fedora18 and ipods/iphones

2013-05-10 Thread Steven Stern
On 05/10/2013 08:44 AM, Dario Lesca wrote:
 Il giorno gio, 09/05/2013 alle 21.52 +0930, Tim ha scritto:
 Allegedly, on or about 09 May 2013, Dario Lesca sent:
 For iP*, cell phone and Cloud, try Richard Stallman's solution:
 http://www.networkworld.com/news/2011/031411-richard-stallman.html

 Work for me. 

 Don't have one?
 no, I have one for work
 
 My mobile phone is as basic as it gets, phone calls and text, nothing
 more.  ;-)  By deliberate choice.
 
 Like me.
 

In a way, I really miss my old Motorola Razr. It looked good and was an
excellent phone.  But now I have the Internet in my pocket. I listen to
more music than I ever did when I had just a plain MP3 player. I SSH
into my server when necessary.  Sometimes, I even make phone calls.

-- 
-- Steve
-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org


RE: F18 on Raspberry Pi

2013-05-10 Thread MLists
On May 9, 2013, at 1:17 AM, MLists 
mli...@starmania.netmailto:mli...@starmania.net wrote:
 Just wondering if anyone has any hints/tips on getting Fedora 18
 up and running on a Raspberry Pi (specifically the latest 2.0
 model B 512M version). I've tried about 4 different tutorials

Anything could be the problem Mike, but maybe you suffer from this issue:
I got two raspberry's, both model B 512 version. One raspberry was delivered 
in October 2012 and the other one in April 2013. The old model boots
well with rpfr18 final image. The new model did not ;-( Only the red power LED 
stays ON and the green (SD card) LED only flashes very briefly.
Then nothing happened

Thanks Ted, that sounds *exactly* like what I am experiencing, and the 
timeframe is about right as I received the Pi's in late March or early April.

I'll give those links a read and try your suggestion, sounds like the right 
track.

Cheers,
 Mike 

-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org


Rant of the day: Insane dependencies for liveusb-creator

2013-05-10 Thread Fernando Cassia
14 packages, 104 MB installed just for a simple GUI that calls
other low-level system utils...
Sheesh...

Thinking that liveusb-creator is often run from LiveCD, wouldn't it be
nice to create a statically linked liveusb-creator that can be
downloaded as a single binary and run?. Furthermore, such statically
linked executable could be compressed with the UPX executable
compressor...


# yum install liveusb-creator
Loaded plugins: fastestmirror, langpacks, presto
Determining fastest mirrors
 * fedora: mirrors.dcarsat.com.ar
 * updates: mirror.globo.com
Resolving Dependencies
-- Running transaction check
--- Package liveusb-creator.noarch 0:3.11.8-1.fc18 will be installed
-- Processing Dependency: syslinux-extlinux for package:
liveusb-creator-3.11.8-1.fc18.noarch
-- Processing Dependency: PyQt4 for package:
liveusb-creator-3.11.8-1.fc18.noarch
-- Running transaction check
--- Package PyQt4.i686 0:4.10-1.fc18 will be installed
-- Processing Dependency: sip-api(9) = 9.2 for package: PyQt4-4.10-1.fc18.i686
-- Processing Dependency: qt4(x86-32) = 4.8.4 for package:
PyQt4-4.10-1.fc18.i686
-- Processing Dependency: libphonon.so.4 for package: PyQt4-4.10-1.fc18.i686
-- Processing Dependency: libQtXmlPatterns.so.4 for package:
PyQt4-4.10-1.fc18.i686
-- Processing Dependency: libQtXml.so.4 for package: PyQt4-4.10-1.fc18.i686
-- Processing Dependency: libQtWebKit.so.4 for package: PyQt4-4.10-1.fc18.i686
-- Processing Dependency: libQtTest.so.4 for package: PyQt4-4.10-1.fc18.i686
-- Processing Dependency: libQtSvg.so.4 for package: PyQt4-4.10-1.fc18.i686
-- Processing Dependency: libQtSql.so.4 for package: PyQt4-4.10-1.fc18.i686
-- Processing Dependency: libQtScriptTools.so.4 for package:
PyQt4-4.10-1.fc18.i686
-- Processing Dependency: libQtScript.so.4 for package: PyQt4-4.10-1.fc18.i686
-- Processing Dependency: libQtOpenGL.so.4 for package: PyQt4-4.10-1.fc18.i686
-- Processing Dependency: libQtNetwork.so.4 for package: PyQt4-4.10-1.fc18.i686
-- Processing Dependency: libQtMultimedia.so.4 for package:
PyQt4-4.10-1.fc18.i686
-- Processing Dependency: libQtHelp.so.4 for package: PyQt4-4.10-1.fc18.i686
-- Processing Dependency: libQtGui.so.4 for package: PyQt4-4.10-1.fc18.i686
-- Processing Dependency: libQtDesigner.so.4 for package:
PyQt4-4.10-1.fc18.i686
-- Processing Dependency: libQtDeclarative.so.4 for package:
PyQt4-4.10-1.fc18.i686
-- Processing Dependency: libQtDBus.so.4 for package: PyQt4-4.10-1.fc18.i686
-- Processing Dependency: libQtCore.so.4 for package: PyQt4-4.10-1.fc18.i686
--- Package syslinux-extlinux.i686 0:4.05-4.fc18 will be installed
-- Running transaction check
--- Package phonon.i686 0:4.6.0-5.fc18 will be installed
-- Processing Dependency: phonon-backend(x86-32) = 4.4 for package:
phonon-4.6.0-5.fc18.i686
-- Processing Dependency: libqzeitgeist.so.1 for package:
phonon-4.6.0-5.fc18.i686
-- Processing Dependency: kde-filesystem for package: phonon-4.6.0-5.fc18.i686
--- Package qt.i686 1:4.8.4-17.fc18 will be installed
-- Processing Dependency: qt-settings for package: 1:qt-4.8.4-17.fc18.i686
--- Package qt-x11.i686 1:4.8.4-17.fc18 will be installed
-- Processing Dependency: libmng.so.1 for package: 1:qt-x11-4.8.4-17.fc18.i686
--- Package qtwebkit.i686 0:2.2.2-8.fc18 will be installed
-- Processing Dependency: libQtSensors.so.1 for package:
qtwebkit-2.2.2-8.fc18.i686
-- Processing Dependency: libQtLocation.so.1 for package:
qtwebkit-2.2.2-8.fc18.i686
--- Package sip.i686 0:4.14.5-1.fc18 will be installed
-- Running transaction check
--- Package kde-filesystem.i686 0:4-42.fc18 will be installed
--- Package libmng.i686 0:1.0.10-8.fc18 will be installed
--- Package libqzeitgeist.i686 0:0.8.0-8.fc18 will be installed
--- Package phonon-backend-gstreamer.i686 2:4.6.3-1.fc18 will be installed
--- Package qt-mobility.i686 0:1.2.2-0.3.20120224git.fc18 will be installed
--- Package qt-settings.noarch 0:4.9-20.fc18 will be installed
-- Finished Dependency Resolution

Dependencies Resolved


 Package   ArchVersion   Repository
   Size

Installing:
 liveusb-creator   noarch  3.11.8-1.fc18 updates  176 k
Installing for dependencies:
 PyQt4 i6864.10-1.fc18   updates  2.6 M
 kde-filesystemi6864-42.fc18 updates   47 k
 libmngi6861.0.10-8.fc18 fedora   175 k
 libqzeitgeist i6860.8.0-8.fc18  fedora73 k
 phononi6864.6.0-5.fc18  fedora   209 k
 phonon-backend-gstreamer  i6862:4.6.3-1.fc18updates  140 k
 qti6861:4.8.4-17.fc18   updates  4.7 M
 qt-mobility   

Re: Restricting browsers to only listed websites

2013-05-10 Thread Tim
On Thu, 2013-05-09 at 16:48 +0200, Reindl Harald wrote:
 dns is not needed for networking on the technical level
 enter the domains you need and want to allow to access in /etc/hosts

Then, later on, when you find that the site isn't accessible anymore,
because the service changed where they host their site, change the IPs
you list in your hosts file.  Worse, find that you have to keep doing
this quite often, because the site spreads itself across different IPs.

-- 
[tim@localhost ~]$ uname -r
2.6.27.25-78.2.56.fc9.i686

Don't send private replies to my address, the mailbox is ignored.  I
read messages from the public lists.



-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org


Re: Restricting browsers to only listed websites

2013-05-10 Thread Frank Murphy
On Thu, 9 May 2013 14:11:04 +
davidscha...@mobilicity.blackberry.com wrote:

 Is there a way to allow a machine on the network to only access a
 small list of websites?
 

in the machine you want limited.
Use Opendns as the dns servers.
You can set to block all,
but sites you specify.
Even on their free service.
https://www.opendns.com/

Even within a Parish Lan,
have used it to curtail
a public usable PC.


-- 
Regards,
Frank - I check for new mail app. 20min
www.frankly3d.com
-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org


Re: f18+gnome3: howto recording desktop with audio

2013-05-10 Thread Germán A. Racca

On 05/10/2013 11:02 AM, Dario Lesca wrote:

Il giorno lun, 06/05/2013 alle 17.57 -0300, Germán A. Racca ha
scritto:

On 01/26/2013 07:09 PM, Dario Lesca wrote:

How to record via ctrl+alt+shift+r, video and audio together ?

I have fount this trick:
http://askubuntu.com/questions/112473/audio-not-working-for-gnome-screencast-ctrl-alt-shift-r

But the command for set the org.gnome.shell.recorder pipeline key:


gsettings set org.gnome.shell.recorder pipeline queue ! \
videorate !  vp8enc quality=10 speed=2 ! mux. pulsesrc ! \
audio/x-raw-int ! queue !  audioconvert ! vorbisenc ! \
mux. webmmux name=mux


... do not work, and break the recording, likely this setting is for
gstreamer-0.10, bud f18 use gstreamer1-1.x, true?.

This is home page of shell recorder, but there is nothing for enable
audio recording.
http://developer.gnome.org/shell/stable/shell-shell-recorder.html

Someone have suggest?

Many thanks



Hi Dario,

Did you find a solution?


For now I rec video/audio via this command line:


gst-launch ximagesrc ! ffmpegcolorspace ! queue ! vp8enc quality=10 speed=2 ! 
mux. pulsesrc ! audio/x-raw-int ! queue ! audioconvert ! vorbisenc ! mux. 
webmmux name=mux ! filesink location=/tmp/screencast.webm


Found here:
https://plus.google.com/111049168280159033135/posts/8Ra2uhYCgGm



Using that pipeline it can't even start recording with Ctrl+Alt+Shift+R, 
at least using gnome-shell 3.6.3.1 :(


Germán.

--
Germán A. Racca
Fedora Package Maintainer
https://fedoraproject.org/wiki/User:Skytux
--
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org


Re: Restricting browsers to only listed websites

2013-05-10 Thread Reindl Harald
Am 10.05.2013 18:09, schrieb Frank Murphy:
 On Thu, 9 May 2013 14:11:04 +
 davidscha...@mobilicity.blackberry.com wrote:
 
 Is there a way to allow a machine on the network to only access a
 small list of websites?
 
 in the machine you want limited. Use Opendns as the dns servers.
 https://www.opendns.com/

after we moved a server to a new location, prepared the change
hours ago by lower the TTL from 1 hour to 5 minutes and find out
that openDNS was one of few dns-servers which answered with the
old IP *some months* later i would not recommend anybody using
it because such things *must not happen - never*

 Original-Nachricht 
Betreff: WRONG REPSONSES
Datum: Thu, 16 Feb 2012 15:16:42 +0100
Von: Reindl Harald h.rei...@thelounge.net
An: cont...@opendns.com

good day

can you explain me why a server which was migrated
Oct 2011 to a new location is still with the old IP
in your nameservers?

OLD: 193.104.1.241
CURRENT: 91.118.73.17

we are SOA for this zone and had a TTL of 5 Minutes
some hours before migration and of 1 hour months
before it was done!

[harry@rh:~]$ nslookup caladan.thelounge.net 208.67.222.222
Server: 208.67.222.222
Address:208.67.222.222#53
Non-authoritative answer:
Name:   caladan.thelounge.net
Address: 193.104.1.241



signature.asc
Description: OpenPGP digital signature
-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org


Re: f18+gnome3: howto recording desktop with audio

2013-05-10 Thread Jack Craig
i am using mplayer to record sessions of favorite web stream FM station,

crontab entry, ..
## JimHihgtower 8/4/2012
22 7 * * 1,2,3,4,5 /home/jackc/Music/audio/record/bin/record_kpig 15
jim_hightower

script attached, HTH, ...






On Fri, May 10, 2013 at 11:18 AM, Germán A. Racca
german.ra...@gmail.comwrote:

 On 05/10/2013 11:02 AM, Dario Lesca wrote:

 Il giorno lun, 06/05/2013 alle 17.57 -0300, Germán A. Racca ha
 scritto:

 On 01/26/2013 07:09 PM, Dario Lesca wrote:

 How to record via ctrl+alt+shift+r, video and audio together ?

 I have fount this trick:
 http://askubuntu.com/**questions/112473/audio-not-**
 working-for-gnome-screencast-**ctrl-alt-shift-rhttp://askubuntu.com/questions/112473/audio-not-working-for-gnome-screencast-ctrl-alt-shift-r

 But the command for set the org.gnome.shell.recorder pipeline key:

  gsettings set org.gnome.shell.recorder pipeline queue ! \
 videorate !  vp8enc quality=10 speed=2 ! mux. pulsesrc ! \
 audio/x-raw-int ! queue !  audioconvert ! vorbisenc ! \
 mux. webmmux name=mux


 ... do not work, and break the recording, likely this setting is for
 gstreamer-0.10, bud f18 use gstreamer1-1.x, true?.

 This is home page of shell recorder, but there is nothing for enable
 audio recording.
 http://developer.gnome.org/**shell/stable/shell-shell-**recorder.htmlhttp://developer.gnome.org/shell/stable/shell-shell-recorder.html

 Someone have suggest?

 Many thanks


 Hi Dario,

 Did you find a solution?


 For now I rec video/audio via this command line:

  gst-launch ximagesrc ! ffmpegcolorspace ! queue ! vp8enc quality=10
 speed=2 ! mux. pulsesrc ! audio/x-raw-int ! queue ! audioconvert !
 vorbisenc ! mux. webmmux name=mux ! filesink location=/tmp/screencast.webm


 Found here:
 https://plus.google.com/**111049168280159033135/posts/**8Ra2uhYCgGmhttps://plus.google.com/111049168280159033135/posts/8Ra2uhYCgGm


 Using that pipeline it can't even start recording with Ctrl+Alt+Shift+R,
 at least using gnome-shell 3.6.3.1 :(

 Germán.

 --
 Germán A. Racca
 Fedora Package Maintainer
 https://fedoraproject.org/**wiki/User:Skytuxhttps://fedoraproject.org/wiki/User:Skytux
 --
 users mailing list
 users@lists.fedoraproject.org
 To unsubscribe or change subscription options:
 https://admin.fedoraproject.**org/mailman/listinfo/usershttps://admin.fedoraproject.org/mailman/listinfo/users
 Guidelines: 
 http://fedoraproject.org/wiki/**Mailing_list_guidelineshttp://fedoraproject.org/wiki/Mailing_list_guidelines
 Have a question? Ask away: http://ask.fedoraproject.org



record_kpig
Description: Binary data
-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org


Re: Restricting browsers to only listed websites

2013-05-10 Thread Michael Hennebry

On Fri, 10 May 2013, Reindl Harald wrote:


Am 10.05.2013 18:03, schrieb Tim:

On Thu, 2013-05-09 at 16:48 +0200, Reindl Harald wrote:

dns is not needed for networking on the technical level
enter the domains you need and want to allow to access in /etc/hosts


Then, later on, when you find that the site isn't accessible anymore,
because the service changed where they host their site, change the IPs
you list in your hosts file.  Worse, find that you have to keep doing
this quite often, because the site spreads itself across different IPs


I haven't used this and don't know how well it works:
https://addons.mozilla.org/en-US/firefox/addon/easy-whitelist/


nobody said it is a good solution and i personally would not do it

but if the OP does not want a appliance between the machine
and the not by him controlled router there not much left


Could the appliance be something running in a virtual machine?

--
Michael   henne...@web.cs.ndsu.nodak.edu
On Monday, I'm gonna have to tell my kindergarten class,
whom I teach not to run with scissors,
that my fiance ran me through with a broadsword.  --  Lily
--
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org


no audio with HDMI

2013-05-10 Thread Mike Wright

Hi all,

Need help from the audio gurus.

f18, up to date.

Anybody using their HDMI out for a TV?

I've connected the HDMI output from a PC to an HDTV's HDMI port.  The TV 
reports HDMI no audio.


On the PC, PulseAudio Volume Control-Output Devices shows:

  HDA ATI HDMI Digital Stereo (HDMI)
  Port: HDMI/Display Port

followed by check boxes for various codecs.  PCM is checked but 
grayed-out/disabled (which is the one I think I need).


Below that the Front-Left/Right volume control indicators *do* respond 
to the keyboard's volume keys and below that is a graphical sound 
indicator that matches the expected output.  All of that shows that the 
audio is making it into the system but is not making its way out.


A hunch says PCM issue, but I really haven't a clue.  It would be very 
sweet to have this resolved.


Thanks,
Mike Wright
--
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org


Re: no audio with HDMI

2013-05-10 Thread Tom Horsley
On Fri, 10 May 2013 16:58:03 -0700
Mike Wright wrote:

HDA ATI HDMI Digital Stereo (HDMI)

I think there are versions of ATI cards without working
HDMI audio. Is it a very new model? I believe the support
is documented somewhere on the X.org wiki.

I also had HDMI just suddenly stop working on my Intel
output a few weeks ago, then suddenly start back up
again a few hours later. Never did figure that out.
-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org


Re: no audio with HDMI

2013-05-10 Thread Mike Wright

05/10/2013 05:34 PM, Tom Horsley wrote:

On Fri, 10 May 2013 16:58:03 -0700
Mike Wright wrote:


HDA ATI HDMI Digital Stereo (HDMI)


I think there are versions of ATI cards without working
HDMI audio. Is it a very new model? I believe the support
is documented somewhere on the X.org wiki.

I also had HDMI just suddenly stop working on my Intel
output a few weeks ago, then suddenly start back up
again a few hours later. Never did figure that out.



Nice to hear from you Tom.

My volume control popup showed up today ;)

Recent hardware is Gigabyte board with onboard audio:
  Audio device: Advanced Micro Devices [AMD] nee ATI RS880 HDMI Audio 
[Radeon HD 4200 Series]


chipset is Realtek ALC892.

Do you know where I could find a flowchart or some graphical 
representation of how things come in and things go out and they shake it 
all about?


alsa wiki about this was most recently updated three years ago.  pulse 
vs jack was also 3 years ago.


I know I can't be the only person wanting to understand fedora/linux sound.
--
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org


Re: Restricting browsers to only listed websites

2013-05-10 Thread Tim
On Fri, 2013-05-10 at 18:06 +0200, Reindl Harald wrote:
 but if the OP does not want a appliance between the machine
 and the not by him controlled router there not much left

There are probably browser plugins that could do it (parental controls,
perhaps), or the configuring a proxy configuration script, as I
mentioned earlier on.

For example, of how to actually do that, this website 
http://www.proxypacfiles.com/proxypac/index.php?option=com_contentview=articleid=54Itemid=83
details the following:

  -- begin paste --

Blocking sites is also handy. This can be done for a number of reasons –
Spyware/malware sites are very good examples Blocking these sites can be
done very easily – Simply return a proxy value somewhere on a loopback
address so that the requests never actually leave the local machine to
take up network bandwidth. The only caveat with this is to ensure that
your selection of port number isn’t actually listening on the PC which
could odd behavior.

if (dnsDomainIs(host, .badspyware.com) ||
dnsDomainIs(host, .worsespyware2.com)) {
return PROXY 127.0.0.1:48890;
}

  -- end paste --

I might add to that and actually run a simple webserver on the same
machine that responds to any and all local connection attempts to it.
It could respond with an error message saying why it failed, e.g. saying
that only the following list of sites are allowed on this machine (and
list your allowed sites on the page).

-- 
[tim@localhost ~]$ uname -r
2.6.27.25-78.2.56.fc9.i686

Don't send private replies to my address, the mailbox is ignored.  I
read messages from the public lists.



-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org