Re: [389-users] db2bak.pl error with changelogdb

2014-05-15 Thread Richard Megginson


- Original Message -
 David,
 
 Thank you so much for the 3 replies.  They are VERY illuminating and helpful
 for me to now press ahead and better address my own particular needs based
 on our “requirements”.  What I now intend to do is to perform, at regular
 intervals, db2bak to a specific directory.  as i would like to convert the
 bak db to ldif, it doesn’t appear there is a relatively easy way to do this…

You can use the dbscan tool to convert the id2entry.db4 file in the backup to 
an ldif-ish format.

dbscan -f /path/to/backup/id2entry.db4  db.ldif-ish

I say ldif-ish because it mostly looks like ldif, except the formatting is 
off.

The biggest issue is that the full DN is not stored as the dn: attribute in 
the ldif.  Instead, it is the RDN of the entry, and at runtime, the 
entryrdn.db4 index is used to construct the full DN.  I think there may be 
operational attributes like entrydn in the dbscan output that you might be able 
to use for the dn.  Otherwise, you'll also have to dbscan -f 
/path/to/entryrdn.db4 and parse the output to perform your own mapping of rdn + 
parentid to the full DN.

 either i’d have to mockup a new config dir to reference the bak db as the
 real db so db2ldif will work

That also might work.

 or i would have to create a new slapd instance
 and then configure it for schema and such to be identical to the real
 instance on the server and then db2bak with the output being the bak
 instance so i can run db2ldif on on the bak db.  Bummer.
 
 nonetheless, i do appreciate your timely responses and the education i gained
 from them.
 
 /mrg
   
 On May 14, 2014, at 5:49 PM, David Boreham david_l...@boreham.org wrote:
 
  
  On 5/14/2014 3:11 PM, Michael Gettes wrote:
  of course, you can have yet another ldap server lying around not being
  used by apps and it’s purpose is to dump
  the store periodically, but that may not be part of you what want to
  achieve with disparate locations and such.
  This is a useful approach if your servers are subject to heavy load,
  specifically heavy load that generates disk I/O.
  Backing up from a replica that is not serving client load can allow you to
  decouple the I/O load related to the backup from I/O activity related to
  client requests. With the use of SSDs (which have very high concurrent
  throughput vs disks) these days, this is less of an issue however.
  
  --
  389 users mailing list
  389-users@lists.fedoraproject.org
  https://admin.fedoraproject.org/mailman/listinfo/389-users
 
 --
 389 users mailing list
 389-users@lists.fedoraproject.org
 https://admin.fedoraproject.org/mailman/listinfo/389-users
--
389 users mailing list
389-users@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/389-users

Re: [389-users] db2bak.pl error with changelogdb

2014-05-15 Thread Noriko Hosoi

Richard Megginson wrote:


- Original Message -

David,

Thank you so much for the 3 replies.  They are VERY illuminating and helpful
for me to now press ahead and better address my own particular needs based
on our “requirements”.  What I now intend to do is to perform, at regular
intervals, db2bak to a specific directory.  as i would like to convert the
bak db to ldif, it doesn’t appear there is a relatively easy way to do this…

You can use the dbscan tool to convert the id2entry.db4 file in the backup to an 
ldif-ish format.

dbscan -f /path/to/backup/id2entry.db4  db.ldif-ish

I say ldif-ish because it mostly looks like ldif, except the formatting is 
off.

The biggest issue is that the full DN is not stored as the dn: attribute in 
the ldif.  Instead, it is the RDN of the entry, and at runtime, the entryrdn.db4 index is 
used to construct the full DN.  I think there may be operational attributes like entrydn 
in the dbscan output that you might be able to use for the dn.  Otherwise, you'll also 
have to dbscan -f /path/to/entryrdn.db4 and parse the output to perform your own mapping 
of rdn + parentid to the full DN.
We may want to implement a utility to get full DN from entryid... (or 
rdn + parentid)



either i’d have to mockup a new config dir to reference the bak db as the
real db so db2ldif will work

That also might work.


or i would have to create a new slapd instance
and then configure it for schema and such to be identical to the real
instance on the server and then db2bak with the output being the bak
instance so i can run db2ldif on on the bak db.  Bummer.

nonetheless, i do appreciate your timely responses and the education i gained
from them.

/mrg
   
On May 14, 2014, at 5:49 PM, David Boreham david_l...@boreham.org wrote:



On 5/14/2014 3:11 PM, Michael Gettes wrote:

of course, you can have yet another ldap server lying around not being
used by apps and it’s purpose is to dump
the store periodically, but that may not be part of you what want to
achieve with disparate locations and such.

This is a useful approach if your servers are subject to heavy load,
specifically heavy load that generates disk I/O.
Backing up from a replica that is not serving client load can allow you to
decouple the I/O load related to the backup from I/O activity related to
client requests. With the use of SSDs (which have very high concurrent
throughput vs disks) these days, this is less of an issue however.

--
389 users mailing list
389-users@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/389-users

--
389 users mailing list
389-users@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/389-users

--
389 users mailing list
389-users@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/389-users


--
389 users mailing list
389-users@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/389-users

Re: [389-users] db2bak.pl error with changelogdb

2014-05-15 Thread Orion Poplawski

On 05/14/2014 03:04 PM, Noriko Hosoi wrote:

Sorry, I forgot to ask you.  Could you please open a ticket at:
https://fedorahosted.org/389/newticket?
Thanks,
--noriko


Done: https://fedorahosted.org/389/ticket/47804

BTW - I just pushed some changes to the logwatch svn repository to start 
parsing the 389 errors log, which is how I discovered this.  Others may find 
it helpful as well.



--
Orion Poplawski
Technical Manager 303-415-9701 x222
NWRA, Boulder/CoRA Office FAX: 303-415-9702
3380 Mitchell Lane   or...@nwra.com
Boulder, CO 80301   http://www.nwra.com
--
389 users mailing list
389-users@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/389-users

Re: Logitech C310 webcam

2014-05-15 Thread Ian Malone
On 15 May 2014 01:20, Paul Cartwright pbcartwri...@gmail.com wrote:
 On 05/14/2014 05:31 PM, Paul W. Frields wrote:
 On 05/14/2014 12:01 PM, Paul Cartwright issued this missive:
  I am running Fedora 20  amd_64 . I just setup a Logitach HD webcam
  C310.  Audacity can record from the webcam, so I know it works. Skype
  video works, but no audio on the test call.. I've tried a bunch of fixes
  from the web, nothing seems to work for skype. Is it me?
 
  Make sure Skype is trying to use the webcam's mike as its input. If you
  have Skype set to use Pulse, then try pavucontrol (PulseAudio Volume
  Control on your desktop Applications-Multimedia menu) and verify that
  Pulse is using the camera's mike.
 Note that fine-grained PulseAudio control is part of the optional
 'pavucontrol' package that you may need to install first.  It's a
 useful utility that I sometimes install as well for multiple sound
 card machines.
 already installed. PA volume control crashes, so it is a moot point. I
 am running MATE desktop, I may have to try exfc or something else..


Until you have pavucontrol fixed there is a command line approach. I
think this should work:
$ pacmd list-sources
... find out the number N for your webcam (look for index at the
start of a section mentioning its type, or do something like:
$ pacmd list-sources|grep -E device.product.name|index

$ pacmd set-default-source N


To move a particular one (e.g. skype) once already started,
$ pacmd list-source-outputs
... find the number M for skype.
Or something like:
$ pacmd list-source-outputs|grep -E index|application.name

$ pacmd move-source-output M N
... should move only skype (output M) to the microphone (source N)


I've reconstructed this from what you'd do for sources, for which the
equivalents would be:
list sinks
set-default-sink
list-sink-inputs
move-sink-input
http://askubuntu.com/questions/71863/how-to-change-pulseaudio-sink-with-pacmd-set-default-sink-during-playback/72076#72076

-- 
imalone
http://ibmalone.blogspot.co.uk
-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org


Re: changing editor in m-c

2014-05-15 Thread Suvayu Ali
On Wed, May 14, 2014 at 01:52:11PM -0400, Frank McCormick wrote:
 
 I have tried suggestions from Googling including exporting EDITOR in
 $HOME/bashrc...running select-editor ( doesn't appear to be on Fedora )and
 creating a .select_editor text file in HOME. None have worked so
 far.
 
 If I open a terminal first then m-c loads the proper editor...but if I
 call m-c from a desktop file which loads a terminal, then loads m-c with the
 -e option then vi is loaded.

When you open a terminal and run mc yourself, bash is run in interactive
mode.  Whereas using the desktop file is not.  Since you set the value
of EDITOR in ~/.bashrc, only the interactive knows about it (see the
Invocation section in man bash).  All environment variable related
setup should go in ~/.bash_profile.  If you use multiple kinds of
sh-like shells, it should be ~/.profile.  This way your whole session
inherits the environment.

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
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org


Re: changing editor in m-c

2014-05-15 Thread Michael Schwendt
On Wed, 14 May 2014 13:52:11 -0400, Frank McCormick wrote:

 I have spent sometime trying to figure out how to change the default
 editor in Midnight Commander. I am running XFCE most of the time on 
 Fedora 19
 
 I have tried suggestions from Googling including exporting EDITOR in 
 $HOME/bashrc...running select-editor ( doesn't appear to be on Fedora 
 )and creating a .select_editor text file in HOME. None have worked so
 far.
 
 If I open a terminal first then m-c loads the proper editor...but if I
 call m-c from a desktop file which loads a terminal, then loads m-c with 
 the -e option then vi is loaded.
 
 I am missing something.

First of all, it's mc (man mc) or MC (as pointed out in the README). ;)

Disabling use internal edit in mc's menu and setting $EDITOR works for
me. Obviously, this can only work if the environment is kept intact and
not deleted prior to executing programs. Some terminals and tools don't
pass on the user's environment variables when executing programs. If you
make your desktop file not run mc but a script or another terminal, does
echo $EDITOR still show your customized setting?

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


Re: Logitech C310 webcam

2014-05-15 Thread Paul Cartwright
On 05/14/2014 08:52 PM, Ed Greshko wrote:
  and /var/log/messages showed:
  May 14 20:27:09 pauls-server kernel: [21555.078081] pavucontrol[6061]:
  segfault at 7f7d5bfff000 ip 7f7d6d023517 sp 7fff311a5590 error 4
  in libpulsecommon-4.0.so[7f7d6cff2000+6c000]
  May 14 20:27:09 pauls-server kernel: pavucontrol[6061]: segfault at
  7f7d5bfff000 ip 7f7d6d023517 sp 7fff311a5590 error 4 in
  libpulsecommon-4.0.so[7f7d6cff2000+6c000]
  May 14 20:27:10 pauls-server abrt-hook-ccpp: Saved core dump of pid 6061
  (/usr/bin/pavucontrol) to /var/tmp/abrt/ccpp-2014-05-14-20:27:09-6061
  (24649728 bytes)
  May 14 20:27:10 pauls-server abrt-server: Generating core_backtrace
  May 14 20:27:10 pauls-server abrt-server: Generating backtrace
 
 
 I should have added  could you post the bugzilla #.
bz 1047134

-- 
Paul Cartwright
Registered Linux User #367800 and new counter #561587

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


Re: Logitech C310 webcam

2014-05-15 Thread Paul Cartwright
On 05/14/2014 08:56 PM, Rick Stevens wrote:

 I should have added  could you post the bugzilla #.

 Since the traceback is complaining about libpulsecommon, can you tell
 us what version of pulseaudio-libs you have? I'm running
 4.0-13.gitf81e3.fc20. 

not sure why I have 2 versions..
yum list  pulseaudio-libs
Loaded plugins: langpacks
Installed Packages
pulseaudio-libs.i686   4.0-13.gitf81e3.fc20 
@updates
pulseaudio-libs.x86_64 4.0-13.gitf81e3.fc20 
@updates



-- 
Paul Cartwright
Registered Linux User #367800 and new counter #561587

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


Re: Acrobat fonts compared to Evince fonts

2014-05-15 Thread poma

For future reference, consider these two font families:

- The Liberation Fonts
  https://fedorahosted.org/liberation-fonts

- The Ubuntu Font Family
  http://font.ubuntu.com


poma


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


Re: Logitech C310 webcam

2014-05-15 Thread Paul Cartwright
On 05/15/2014 04:03 AM, Ian Malone wrote:
 Until you have pavucontrol fixed there is a command line approach. I
 think this should work:
 $ pacmd list-sources
 ... find out the number N for your webcam (look for index at the
 start of a section mentioning its type, or do something like:
 $ pacmd list-sources|grep -E device.product.name|index

 $ pacmd set-default-source N


 To move a particular one (e.g. skype) once already started,
 $ pacmd list-source-outputs
 ... find the number M for skype.

failed:
$ pacmd list-source-outputs
0 source output(s) available.

 Or something like:
 $ pacmd list-source-outputs|grep -E index|application.name

 $ pacmd move-source-output M N
 ... should move only skype (output M) to the microphone (source N)


 I've reconstructed this from what you'd do for sources, for which the
 equivalents would be:
 list sinks
 set-default-sink
 list-sink-inputs
 move-sink-input
 http://askubuntu.com/questions/71863/how-to-change-pulseaudio-sink-with-pacmd-set-default-sink-during-playback/72076#72076

after trying to set sources  sinks, now I have no sound in skype.. so I
have to log off  back on to get sound back.. but first I'll send this:)
maybe the list-source-outputs with no sources is the key??

-- 
Paul Cartwright
Registered Linux User #367800 and new counter #561587

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


Re: Logitech C310 webcam

2014-05-15 Thread Paul Cartwright
On 05/15/2014 04:03 AM, Ian Malone wrote:
 $ pacmd set-default-source N


 To move a particular one (e.g. skype) once already started,
 $ pacmd list-source-outputs
 ... find the number M for skype.
 Or something like:
 $ pacmd list-source-outputs|grep -E index|application.name

 $ pacmd move-source-output M N
 ... should move only skype (output M) to the microphone (source N)
well, after setting that default source, and setting a sink, I now have
no sound anywhere. I rebooted, and still no sound. Now what do I do?

-- 
Paul Cartwright
Registered Linux User #367800 and new counter #561587

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


Re: Logitech C310 webcam- sound back

2014-05-15 Thread Paul Cartwright
On 05/15/2014 04:03 AM, Ian Malone wrote:
 Until you have pavucontrol fixed there is a command line approach. I
 think this should work:
 $ pacmd list-sources
 ... find out the number N for your webcam (look for index at the
 start of a section mentioning its type, or do something like:
 $ pacmd list-sources|grep -E device.product.name|index

 $ pacmd set-default-source N


 To move a particular one (e.g. skype) once already started,
 $ pacmd list-source-outputs
 ... find the number M for skype.
 Or something like:
 $ pacmd list-source-outputs|grep -E index|application.name

 $ pacmd move-source-output M N
 ... should move only skype (output M) to the microphone (source N)


 I've reconstructed this from what you'd do for sources, for which the
 equivalents would be:
 list sinks
 set-default-sink
 list-sink-inputs
 move-sink-input
 http://askubuntu.com/questions/71863/how-to-change-pulseaudio-sink-with-pacmd-set-default-sink-during-playback/72076#72076
well, I finally got my sound back, I had to set-default-source 
set-default-sink back to my main SB card..
still no mic in Skype, but at least I have sound back. shouldn't play
around with pacmd without knowing what the defaults WERE:) or at least
the file it modifies..

-- 
Paul Cartwright
Registered Linux User #367800 and new counter #561587

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


Re: changing editor in m-c

2014-05-15 Thread Frank McCormick

On 15/05/14 05:32 AM, Suvayu Ali wrote:

On Wed, May 14, 2014 at 01:52:11PM -0400, Frank McCormick wrote:


I have tried suggestions from Googling including exporting EDITOR in
$HOME/bashrc...running select-editor ( doesn't appear to be on Fedora )and
creating a .select_editor text file in HOME. None have worked so
far.

If I open a terminal first then m-c loads the proper editor...but if I
call m-c from a desktop file which loads a terminal, then loads m-c with the
-e option then vi is loaded.


When you open a terminal and run mc yourself, bash is run in interactive
mode.  Whereas using the desktop file is not.  Since you set the value
of EDITOR in ~/.bashrc, only the interactive knows about it (see the
Invocation section in man bash).  All environment variable related
setup should go in ~/.bash_profile.  If you use multiple kinds of
sh-like shells, it should be ~/.profile.  This way your whole session
inherits the environment.

Hope this helps,




   Putting it in ~/.profile (which didn't exist before) works.
Thanks for the help



--
1984 was not meant as a blueprint for
democratic governments.


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


Re: changing editor in m-c

2014-05-15 Thread Frank McCormick

On 15/05/14 05:38 AM, Michael Schwendt wrote:

On Wed, 14 May 2014 13:52:11 -0400, Frank McCormick wrote:


I have spent sometime trying to figure out how to change the default
editor in Midnight Commander. I am running XFCE most of the time on
Fedora 19

I have tried suggestions from Googling including exporting EDITOR in
$HOME/bashrc...running select-editor ( doesn't appear to be on Fedora
)and creating a .select_editor text file in HOME. None have worked so
far.

If I open a terminal first then m-c loads the proper editor...but if I
call m-c from a desktop file which loads a terminal, then loads m-c with
the -e option then vi is loaded.

I am missing something.


First of all, it's mc (man mc) or MC (as pointed out in the README). ;)

Disabling use internal edit in mc's menu and setting $EDITOR works for
me. Obviously, this can only work if the environment is kept intact and
not deleted prior to executing programs. Some terminals and tools don't
pass on the user's environment variables when executing programs. If you
make your desktop file not run mc but a script or another terminal, does
echo $EDITOR still show your customized setting?




  It used to work when the desktop file ran a script consisting of 
(xterm -e mc) but stopped working when it ran xterm -e mc. Another
user suggested exporting EDITOR in ~/.profile, which works. Of course 
EDITOR is now exported in ~/.bash_profile, ~/.bashrc and ~/.profile. So

I guess ~/.profile is the place it belongs in this case.

--
1984 was not meant as a blueprint for
democratic governments.


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


Re: changing editor in m-c

2014-05-15 Thread Michael Schwendt
On Thu, 15 May 2014 09:26:12 -0400, Frank McCormick wrote:

It used to work when the desktop file ran a script consisting of 
 (xterm -e mc) but stopped working when it ran xterm -e mc. Another
 user suggested exporting EDITOR in ~/.profile, which works. Of course 
 EDITOR is now exported in ~/.bash_profile, ~/.bashrc and ~/.profile. So
 I guess ~/.profile is the place it belongs in this case.

From man bash:

   When  bash is invoked as an interactive login shell, or as a non-inter‐
   active shell with the --login option, it first reads and executes  com‐
   mands  from  the file /etc/profile, if that file exists.  After reading
   that file, it looks for ~/.bash_profile, ~/.bash_login, and ~/.profile,
   in  that order, and reads and executes commands from the first one that
   exists and is readable.  The --noprofile option may be  used  when  the
   shell is started to inhibit this behavior.
-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org


Re: changing editor in m-c

2014-05-15 Thread Suvayu Ali
On Thu, May 15, 2014 at 04:54:35PM +0200, Michael Schwendt wrote:
 On Thu, 15 May 2014 09:26:12 -0400, Frank McCormick wrote:
 
 It used to work when the desktop file ran a script consisting of 
  (xterm -e mc) but stopped working when it ran xterm -e mc. Another
  user suggested exporting EDITOR in ~/.profile, which works. Of course 
  EDITOR is now exported in ~/.bash_profile, ~/.bashrc and ~/.profile. So
  I guess ~/.profile is the place it belongs in this case.
 
 From man bash:
 
When  bash is invoked as an interactive login shell, or as a non-inter‐
active shell with the --login option, it first reads and executes  com‐
mands  from  the file /etc/profile, if that file exists.  After reading
that file, it looks for ~/.bash_profile, ~/.bash_login, and ~/.profile,
in  that order, and reads and executes commands from the first one that
exists and is readable.  The --noprofile option may be  used  when  the
shell is started to inhibit this behavior.

The key is to realise it inherits the environment from the parent login
shell (bash --login).

-- 
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
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org


Re: Logitech C310 webcam- sound back

2014-05-15 Thread Jan Litwiński


- Oryginalna wiadomość -
 Od: Paul Cartwright pbcartwri...@gmail.com
 Do: Ian Malone ibmal...@gmail.com, Community support for Fedora users 
 users@lists.fedoraproject.org
 Wysłane: czwartek, 15 maj 2014 14:17:21
 Temat: Re: Logitech C310 webcam- sound back
 
 On 05/15/2014 04:03 AM, Ian Malone wrote:
  Until you have pavucontrol fixed there is a command line approach.
  I
  think this should work:
  $ pacmd list-sources
  ... find out the number N for your webcam (look for index at the
  start of a section mentioning its type, or do something like:
  $ pacmd list-sources|grep -E device.product.name|index
 
  $ pacmd set-default-source N
 
 
  To move a particular one (e.g. skype) once already started,
  $ pacmd list-source-outputs
  ... find the number M for skype.
  Or something like:
  $ pacmd list-source-outputs|grep -E index|application.name
 
  $ pacmd move-source-output M N
  ... should move only skype (output M) to the microphone (source N)
 
 
  I've reconstructed this from what you'd do for sources, for which
  the
  equivalents would be:
  list sinks
  set-default-sink
  list-sink-inputs
  move-sink-input
  http://askubuntu.com/questions/71863/how-to-change-pulseaudio-sink-with-pacmd-set-default-sink-during-playback/72076#72076
 well, I finally got my sound back, I had to set-default-source 
 set-default-sink back to my main SB card..
 still no mic in Skype, but at least I have sound back. shouldn't play
 around with pacmd without knowing what the defaults WERE:) or at
 least
 the file it modifies..
 
to work sound in Skype in Fedora 20 you must edit file:

sudo nano /usr/share/applications/skype.desktop

and change:

Exec=skype %U

to:

Exec=env PULSE_LATENCY_MSEC=30 skype %U

then restart Skype
-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org


Re: Logitech C310 webcam- sound back

2014-05-15 Thread Paul Cartwright
On 05/15/2014 03:12 PM, Jan Litwiński wrote:
 to work sound in Skype in Fedora 20 you must edit file:

 sudo nano /usr/share/applications/skype.desktop

 and change:

 Exec=skype %U

 to:

 Exec=env PULSE_LATENCY_MSEC=30 skype %U

 then restart Skype
that line was already in there .:
[Desktop Entry]
Name=Skype
Comment=Skype Internet Telephony
Exec=env PULSE_LATENCY_MSEC=60 skype %U
Icon=skype.png
Terminal=false
Type=Application
Encoding=UTF-8
Categories=Network;Application;
MimeType=x-scheme-handler/skype;
X-KDE-Protocols=skype


-- 
Paul Cartwright
Registered Linux User #367800 and new counter #561587

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


Re: Logitech C310 webcam- sound back

2014-05-15 Thread Ian Malone
On 15 May 2014 13:17, Paul Cartwright pbcartwri...@gmail.com wrote:
 On 05/15/2014 04:03 AM, Ian Malone wrote:
 Until you have pavucontrol fixed there is a command line approach. I
 think this should work:
 $ pacmd list-sources
 ... find out the number N for your webcam (look for index at the
 start of a section mentioning its type, or do something like:
 $ pacmd list-sources|grep -E device.product.name|index

 $ pacmd set-default-source N


 To move a particular one (e.g. skype) once already started,
 $ pacmd list-source-outputs
 ... find the number M for skype.
 Or something like:
 $ pacmd list-source-outputs|grep -E index|application.name

 $ pacmd move-source-output M N
 ... should move only skype (output M) to the microphone (source N)


 I've reconstructed this from what you'd do for sources, for which the
 equivalents would be:
 list sinks
 set-default-sink
 list-sink-inputs
 move-sink-input
 http://askubuntu.com/questions/71863/how-to-change-pulseaudio-sink-with-pacmd-set-default-sink-during-playback/72076#72076
 well, I finally got my sound back, I had to set-default-source 
 set-default-sink back to my main SB card..
 still no mic in Skype, but at least I have sound back. shouldn't play
 around with pacmd without knowing what the defaults WERE:) or at least
 the file it modifies..


:( Sorry about that.

While you're making a test call Skype should show up as an output. For
me this looks like:
$ list-source-outputs|grep -E index|application.name
index: 3
application.name = PulseAudio Volume Control
index: 4
application.name = PulseAudio Volume Control
index: 5
application.name = PulseAudio Volume Control
index: 6
application.name = PulseAudio Volume Control
index: 12
application.name = PulseAudio Volume Control
index: 13
application.name = Skype

I'd misunderstood and thought you had no microphone recording, it
sounds like you have no sound altogether.
To move the microphone for Skype only I'd do:
$ pacmd move-source-output 13 1
(To move to source 1)

If Skype doesn't show up at all while making a test call then it's not
connecting to Pulseaudio. You need the alsa-plugins-pulseaudio package
installed that matches the version of Skype you have (686 or x86_64,
also this is why you have two pulseaudio-libs installed, one 32bit and
one 64bit copy). Try ldd on the skype binary and see if it contains a
line like libasound.so.2 = /lib/libasound.so.2 (0xf763c000)

-- 
imalone
http://ibmalone.blogspot.co.uk
-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org


Re: Logitech C310 webcam- sound back

2014-05-15 Thread Paul Cartwright
On 05/15/2014 05:15 PM, Ian Malone wrote:
 On 15 May 2014 13:17, Paul Cartwright pbcartwri...@gmail.com wrote:
 On 05/15/2014 04:03 AM, Ian Malone wrote:
 Until you have pavucontrol fixed there is a command line approach. I
 think this should work:
 $ pacmd list-sources
 ... find out the number N for your webcam (look for index at the
 start of a section mentioning its type, or do something like:
 $ pacmd list-sources|grep -E device.product.name|index

 $ pacmd set-default-source N


 To move a particular one (e.g. skype) once already started,
 $ pacmd list-source-outputs
 ... find the number M for skype.
 Or something like:
 $ pacmd list-source-outputs|grep -E index|application.name

 $ pacmd move-source-output M N
 ... should move only skype (output M) to the microphone (source N)


 I've reconstructed this from what you'd do for sources, for which the
 equivalents would be:
 list sinks
 set-default-sink
 list-sink-inputs
 move-sink-input
 http://askubuntu.com/questions/71863/how-to-change-pulseaudio-sink-with-pacmd-set-default-sink-during-playback/72076#72076
 well, I finally got my sound back, I had to set-default-source 
 set-default-sink back to my main SB card..
 still no mic in Skype, but at least I have sound back. shouldn't play
 around with pacmd without knowing what the defaults WERE:) or at least
 the file it modifies..

 :( Sorry about that.

 While you're making a test call Skype should show up as an output. For
 me this looks like:
 $ list-source-outputs|grep -E index|application.name
 index: 3
 application.name = PulseAudio Volume Control
 index: 4
 application.name = PulseAudio Volume Control
 index: 5
 application.name = PulseAudio Volume Control
 index: 6
 application.name = PulseAudio Volume Control
 index: 12
 application.name = PulseAudio Volume Control
 index: 13
 application.name = Skype
you really mean :
$ pacmd list-source-outputs...

I got 
$ pacmd list-source-outputs|grep -E index|application.name
pbc@pauls-server:~$



 I'd misunderstood and thought you had no microphone recording, it
 sounds like you have no sound altogether.
 To move the microphone for Skype only I'd do:
 $ pacmd move-source-output 13 1
 (To move to source 1) 

so when I tried a skype test call I got:
$ pacmd list-source-outputs|grep -E index|application.name
index: 3
application.name = Skype
pbc@pauls-server:~$ pacmd move-source-output 3 1

but as soon as the call ended I still have no sound., and every time I
run it the index is different.

-- 
Paul Cartwright
Registered Linux User #367800 and new counter #561587

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


Re: UEFI Big Drive question

2014-05-15 Thread Chris Murphy

On May 13, 2014, at 3:27 PM, Stephen Morris samor...@netspace.net.au wrote:

 On 05/13/2014 01:58 PM, Chris Murphy wrote:
 On May 12, 2014, at 3:05 PM, Stephen Morris samor...@netspace.net.au wrote:
 
 On 05/12/2014 09:36 AM, Chris Murphy wrote:
 On May 9, 2014, at 6:05 PM, Stephen Morris samor...@netspace.net.au 
 wrote:
 
 The one limitation with GPT as I understand it is that in order to use 
 GPT you must also have UEFI active in the Bios.
 No. First, BIOS ≠ UEFI they are not the same thing and it's easy to 
 remember because there's nothing basic about UEFI. Second, while it's true 
 GPT is defined in the UEFI spec, it's entirely up to the BIOS firmware 
 implementation whether it'll work. There's no blanket proscription using 
 GPT on BIOS computers, I have an old Dell Latitude laptop that permits 
 booting with GPT partitioned drives.
 
 But there are enough firmwares out there that crater when encountering 
 some aspect of GPT partitions, that on BIOS computers, the Fedora 
 installer doesn't use GPT by default unless the drive is larger than 
 ~2.2TB.
 
From experience I have also found that you can't install the windows 
 system partition on a GPT device and I thought I read somewhere that you 
 also can't put Linux /boot on GPT either.
 The first part is true, the second part is not true. Windows' installer 
 will only install and boot from GPT drives on UEFI computers, and boot 
 from MBR drives on BIOS computers.
 I'm probably a bit off topic here but Win 8 would not install on my machine 
 onto a GPT device with UEFI enabled in the bios. I had to finish up 
 configuring the partition on the 2TB hard disk with a DOS partition and 
 also turn off UEFI because I could not boot my system because UEFI did not 
 support my Nvidia GTX 650 graphics card.
 It's not off topic but the vernacular is incorrect, no doubt due to 
 manufacturers who have been using it incorrectly. Many of them continue to 
 refer to firmware updates for UEFI based firmwares as BIOS updates.
 
 If you have UEFI firmware you do not have a BIOS firmware. If you have BIOS 
 firmware you don't have UEFI firmware. If you have UEFI firmware you can't 
 enable or disable it, although some manufacturers have used this UI 
 convention to indicate whether a UEFI Compatibility Support Module is to be 
 used. The CSM presents an (emulated) BIOS interface to an OS, and it's there 
 for legacy OS support for OS's like Windows XP which have no idea what UEFI 
 is or how to talk to it.
 
 The fact your firmware with UEFI enabled (CSM disabled) caused Windows 8 
 install failure with a GPT is a bug either in the Windows 8 installer, or 
 with the firmware. If you have already confirmed that you have the latest 
 firmware applied to your hardware, I'd take my case to their support service 
 because there's no good reason why you should have to install Windows 8 with 
 a compatibility module enabled.

 I'm leaning towards the bug being in the windows installer, as when I looked 
 at the details for the error returned by the installer, the installer's 
 explanation of the error was that it could not install on a GPT device, so 
 given that it was the installer itself that was saying it couldn't do it I'd 
 be leaning towards it as being the culprit.

Something isn't right because if the CSM/legacy mode is not activated, then the 
Windows install can only have a conversation with the firmware using UEFI 
protocol, so it'd definitely know it was UEFI firmware. And it would disallow 
installation to an MBR device.

The only time I've ever gotten the message from the Windows installer that it 
could not install to a GPT device is when it was booting from BIOS hardware, or 
UEFI hardware with CSM/BIOS mode enabled.

You could boot from any Fedora media and issue the command efibootmgr -v and 
see what it says. You should either burn to a disk, or use dd to create a USB 
stick. Either of those methods will create EFI and BIOS bootable media. Other 
methods, this gets tricky. If you get some sensible result then the computer is 
UEFI booted. If you get an error message, then it's not UEFI booted.



 The firmware in my motherboard did not support disabling UEFI out of the box, 
 I had to get an update to provide that functionality. The update provided the 
 ability to only use UEFI, only use Legacy Bios, to use UEFI first then 
 legacy, or use Legacy first then use UEFI (this option doesn't really make a 
 lot of sense).

*sigh* what a clusterfuck. Well, if you have it set to use only UEFI then that 
certainly should compel Windows to install to a GPT disk. Or there are still 
firmware bugs.


 The ability to turn UEFI off was critical for my system as I could not use my 
 graphics card with UEFI as it was not supported by the built in signature 
 database, and being a relatively new purchase I was not prepared to buy 
 another one, also from what I have read, if using multiple Linux distros its 
 potentially critical to turn UEFI off.

I don't 

replacement for seamonkey?

2014-05-15 Thread lee
Hi,

are we going to need a replacement for seamonkey which comes without
restrictions management, and will there be one in Fedora?


-- 
Fedora release 20 (Heisenbug)
-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org