Re: checking for hexadecimal vals only in a string in bash

2014-09-18 Thread Dennis Kaptain
try this:

if [[ $VAL2 =~ ^[A-Fa-f0-9]*$ ]] ; then
 echo is hex
else
 echo is not hex
fi

2014-09-18 17:34 GMT-05:00 Fred Smith fre...@fcshome.stoneham.ma.us:
 On Thu, Sep 18, 2014 at 04:31:03PM -0500, Chris Kottaridis wrote:
 In a bash shell script I want to see if a string has nothing but
 hexadecimal values in it.

 So:

 A098FE or af098fe

 should be true

 hello

 should not.

 How do  I check for that ?

 I've been playing with

 if [[ $val =~ '/^[A-Fa-f0-9]+$/' ]] ; then
echo is hex
 else
echo is not hex
 fi

 I've tried various incantations of above  and also tried using grep
 but can't seem to get it just right.

 Any help appreciated.

 Have you looked in the Advanced Bash Scripting guide? I dunno if
 it discusses that particular thing, but there is a lot of tricky
 stuff there that may help you.

 http://tldp.org/LDP/abs/html/

 --
  Fred Smith -- fre...@fcshome.stoneham.ma.us -
For the word of God is living and active. Sharper than any double-edged
sword, it penetrates even to dividing soul and spirit, joints and marrow;
   it judges the thoughts and attitudes of the heart.
  Hebrews 4:12 (niv) --
 --
 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



-- 
The LORD bless you and keep you; the LORD make his face shine upon you
and be gracious to you; the LORD turn his face toward you and give you
peace.
Numbers 6:24-26
-- 
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


how to disable tmpfs

2014-08-08 Thread Dennis Kaptain
While lurking on the list, I learned in a thread Cannot make a copy
of video DVD with k3b that the way fedora is configured, tmpfs will
consume 50% of my RAM and mount itself in /tmp. If you have gobs of
RAM I suppose you'd never miss it unless you are doing serious video
editing or something like that.

My system has only 3GB of RAM and it does appear that 1.5GB is now a
tmpfs. I really don't have that to spare. I do have a 5GB /tmp
partition on a physical HDD that I thought I had been using for years.
Only now did I learn that I'm not.

Rick Stevens suggested  systemctl mask tmp.mount  as a fix. I tried
that and then I couldn't log in. It turns out, that command will make
my / partition read only. I googled it and discovered that someone
else had the same problem. There was no answer to that thread. You can
fix this by mount -o remount,rw / and then issuing systemctl unmask
tmp.mount and rebooting again.


I tried editing the entry in /etc/fstab from

UUID=996d5f64-0745-4af7-9260-559d5c66c7bd /ext4defaults   1 1

to

UUID=996d5f64-0745-4af7-9260-559d5c66c7bd /ext4defaults,rw1 1

but that still didn't mount / rw.


So, how do I turn off fedora's tmpfs forever so I can use my physical
/tmp partition and not consume all my valuable RAM? Or stated
otherwise, how do I disable tmpfs AND keep / read-write?


Thanks,
-- 
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: how to disable tmpfs

2014-08-08 Thread Dennis Kaptain
2014-08-08 10:46 GMT-05:00 Chris Adams li...@cmadams.net:
 Once upon a time, Dennis Kaptain dennis.kapt...@gmail.com said:
 While lurking on the list, I learned in a thread Cannot make a copy
 of video DVD with k3b that the way fedora is configured, tmpfs will
 consume 50% of my RAM and mount itself in /tmp. If you have gobs of
 RAM I suppose you'd never miss it unless you are doing serious video
 editing or something like that.

 There's a lot of misinformation about this.  The tmpfs does _not_
 consume 50% of [your] RAM.  The maximum size of a tmpfs defaults to
 50% of RAM, but it only uses space as needed.  Also, space used in tmpfs
 can be pushed to swap (so if you run low on RAM, files in tmpfs will be
 pushed out to swap on disk to free up RAM for programs).

 --
 Chris Adams li...@cmadams.net
 --

Thanks for clearing that up Chris.

It still doesn't seem like an ideal way to handle /tmp when I have a
perfectly good partition and swapping is a major performance killer.
I'd rather disk access wait time is caused by accessing /tmp when I
need to rather than swapping tmpfs in and out for a program.

Is there a way to totally disable tmpfs and keep / read-write?
-- 
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: Error while updating system

2014-06-17 Thread Dennis Kaptain
Note: Don't use the -y option while removing packages. It's better to let
yum tell you it's intentions so you can review them first. If everything
looks good, then type y to continue with the remove operation.


2014-06-17 5:59 GMT-05:00 Michael Schwendt mschwe...@gmail.com:

 On Mon, 16 Jun 2014 23:39:16 +0800, Someone wrote:

   Once you've booted with a newer kernel, you could uninstall older
 kernel
   packages *and* any kmod packages for those kernels.
  
 
  What would that look like, in my case?

 Since you've referred to sudo yum update -y, you would also use yum
 to remove installed packages with yum remove (see man yum or the
 help output for details). Note that if you specify a package to remove,
 Yum will also try to remove any dependencies. So, if you specify an
 old kernel (after checking with uname -r that you run a newer one),
 it will also remove anything that depends on that kernel package.

 --
 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




-- 
The LORD bless you and keep you; the LORD make his face shine upon you and
be gracious to you; the LORD turn his face toward you and give you peace.
Numbers 6:24-26
-- 
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: hacked - looking for doc/suggestions on hardening/securing systems from the start

2013-12-20 Thread Dennis Kaptain
2013/12/20 Patrick O'Callaghan pocallag...@gmail.com


 On Fri, Dec 20, 2013 at 5:06 PM, Tim ignored_mail...@yahoo.com.au wrote:

 It gets worse if you use multiple computers.  It's a nightmare trying to
 do something that's accessible on all, and secure.  Whether that be
 letting applications remember passwords, and I'm severely pissed with
 browsers that can't remember passwords because some *utterly*
 *unimportant* site thinks they should block your browser from doing so
 (though I don't object to a bank site doing that), or having a special
 password safe application.  I can remember but a few passwords off the
 top of my head.



 Online password managers such as Lastpass or Dasher are a way round this,
 and also can generate complex random passwords for you that you don't have
 to remember. Of course you then have to trust them to work properly, but as
 their entire business depends on them getting it right and the data they
 store is encrypted and decrypted locally using a single key known only to
 you, it seems to be a reasonable compromise. Unfortunately they tend to be
 closed-source.

 poc

 --
 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



I use keepassx. It's a good application for this.
https://admin.fedoraproject.org/pkgdb/acls/name/keepassx
-- 
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: What to try instead of gnome - Re: f20 - gedit

2013-12-18 Thread Dennis Kaptain
Mate is a fork of Gnome2. I use it and like it a lot.


2013/12/18 Robert Moskowitz r...@htt-consult.com


 On 12/18/2013 04:21 PM, Dan Thurman wrote:

 On 12/18/2013 01:07 PM, Tom Horsley wrote:

 On Wed, 18 Dec 2013 19:42:35 +0100
 bitlord wrote:


  (just as example), but probably should have some fallback solution on
 NONgnome-shell desktops

  I'm pretty sure it does. When I run GTK apps under FVWM, they actually
 get buttons in the app itself where they belong. *Yet another reason
 to run as far away from Gnome as possible.*

  1+


 I am getting so close to pulling the plug on gnome.  Just getting too hard
 to use with a mouse and keyboard.

 would like to get back to something close to gnome 2.  Like I still have
 on my Centos boxes.



 --
 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




-- 
The LORD bless you and keep you; the LORD make his face shine upon you and
be gracious to you; the LORD turn his face toward you and give you peace.
Numbers 6:24-26
-- 
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: Does anybody know what package this is in....?

2013-07-10 Thread Dennis Kaptain
/var/log/yum.log  will show you what packages were updated.


2013/7/10 Bill Oliver ven...@billoblog.com


 I just had the oddest thing happen to me.  I performed a multipackage
 update on F19.  I don't remember what packages, it was just one of those
 notifications of You have 18 updates pending and I hit Update.

 When I rebooted my box, my alsa system was dead.  No little mixer icon in
 the system tray (I am running KDE), no sound, no nothing.  Alsamixer
 ncurses program was still there, but changing levels didn't change the
 (nonexistent) sound.

 I brought up Apper (the KDE software manager) and it indicated that the
 alsa-firmware, alsa-lib, and alsa-tools were not installed -- though they
 had been before.  I tried to install them, but nothing happened.  So, then
 I went to the cli and tried yum install alsa-firmware, and it came back
 with the statement that it was already installed!

 So, I *reinstalled* them using yum reinstall.  At that point things
 started working again.

 But... I still can't get the little mixer icon on my system tray.  It's
 not an option when I try to configure it, though all the rest are still
 there.  I can add the ALSA volume control plasmoid, and it works, but I'd
 like the little icon in the system tray.

 So, I have two questions:

 1) Anybody know why an update would kill the sound system?

 2) What package might I need to reinstall to get that little widget in the
 system tray?

 Thanks!

 billo


 --
 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

-- 
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: How to keep a particular kernel version?

2012-02-23 Thread Dennis Kaptain



 De: M A Young m.a.yo...@durham.ac.uk
Para: Community support for Fedora users users@lists.fedoraproject.org 
Enviado: Jueves, 23 de febrero, 2012 15:29:49
Asunto: Re: How to keep a particular kernel version?
 
On Thu, 23 Feb 2012, enclair wrote:

 I have these three kernels: 3.1.9, 3.2.5 and 3.2.6
 There is a new kernel in -updates (3.2.7).
 If I update to the new kernel, yum will want to remove 3.1.9.
 Is there a possibility to set up yum to keep the older kernel (3.1.9) and to
 remove 3.2.5 instead (the middle one)?
 (There is the possibility to remove the middle kernel before each updates,
 but it's not really convenient).

You could make sure you are running on the kernel you want to keep as yum 
won't remove the running kernel.

    Michael Young
-- 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




Yum is configured to keep 3 kernels. If you remove the middle one 3.2.5 
manually, when yum runs it shouldn't remove any kernels since you only have 2. 
Alternately, you can configure yum to keep more than 3 kernels. But that will 
take up more disk space unnecessarily. 


DK
-- 
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: adios flash, watch youtube videos in html5

2012-01-31 Thread Dennis Kaptain




- Mensaje original -
 De: Itamar Reis Peixoto ita...@ispbrasil.com.br
 Para: Community support for Fedora users users@lists.fedoraproject.org
 CC: 
 Enviado: Martes, 31 de enero, 2012 17:56:49
 Asunto: adios flash, watch youtube videos in html5
 
 adios flash, watch youtube videos in html5
 
 http://www.youtube.com/html5
 
 -- 
 
 
 Itamar Reis Peixoto
 msn, google talk: ita...@ispbrasil.com.br

I am running Fedora 16 x86_64 with Firefox 9.0.1
The site this link takes me to says my browser does not support h.264. WebM is 
supported.
What do I need to install To fix that?

Thanks
Dennis K

-- 
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: Why do e.g. ssh sessions hang when I try to log out?

2012-01-30 Thread Dennis Kaptain








 De: Thomas Cameron thomas.came...@camerontech.com
Para: users@lists.fedoraproject.org 
Enviado: Sábado, 28 de enero, 2012 14:16:33
Asunto: Why do e.g. ssh sessions hang when I try to log out?
 
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

I've noticed this a lot recently. I want to run an X app off another
machine, say thunderbird. So I do ssh -X user@host to log in and run
thunderbird from the command line. When I get done, I exit thunderbird
and get a command prompt back. Then when I hit ctrl-D or type exit
or whatever, the session hangs. When I hit ctrl-C it finally exits.

As a test, I just did this against my local F16 machine, and I tried
to log out after using thunderbird as a different user.

I see that I have these processes running as my user:

tcameron  5615  0.0  0.0  22356   764 ?        S    14:10   0:00
dbus-launch --autolaunch 812e3e28dfa6439dcc2013e
tcameron  5616  0.1  0.0  29932  1156 ?        Ssl  14:10   0:00
/bin/dbus-daemon --fork --print-pid 5 --print-ad
tcameron  5619  0.0  0.0 136548  2744 ?        S    14:10   0:00
/usr/libexec/gconfd-2

So it appears that dbus is not letting me log out. This is merely an
annoyance, so I'm not sure it's really a bug. Even if it is, I'm not
sure it's worth reporting as a bug.

Anyone else notice this?

Thomas
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk8kV58ACgkQmzle50YHwaDXNQCeJCNN+tz4MKsh3i8LuPYfAHMO
kz4AnAiXopjfe86oXlgEB1w01TgYG4qd
=xm3I
-END PGP 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


 

This is not necessarily pretty, but it works. Add the following code to 
.bash_logout. It will kill all processes you have open and then clear the 
screen. Your session will then end.

[dennis@amor ~]$ cat .bash_logout
# ~/.bash_logout

for p in `ps | awk '{print $1}'`
do
   if [[ $p =~ ^[0-9]+$ ]]
   then
  kill $p
   fi
done

/usr/bin/clear

[dennis@amor ~]$ 
-- 
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: Neal Becker Software Package..?

2012-01-04 Thread Dennis Kaptain
 
 Either the moderators ban this user, or I'm unsubscribing. The
 signal-to-noise ratio is just too low at the moment and it's wasting
 my time.

Most people already left for fedora forum and the like. The list is
basically not managed so its useless. If you want to fix that you need
to take it up with the fedora board I believe.

Alan
-- 



Alan,


Things are not as bleak as you seem to think. I am a regular reader and 
occasional contributor to this list and have been for years.  True, from time 
to time we attract some world class trolls. But I have learned more about 
Linux, Fedora, and computers in general from this list than any other single 
source. I've seen people ask questions, some very technical ones, on a very 
wide variety of Linux/Fedora topics and get good answers within minutes. 


This list is far from useless. It's a fantastic resource and I want to thank 
everyone here for all the help they have given me either directly to my 
questions or indirectly through helping someone else.


Dennis
-- 
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: Enable PHP on local Apache2 server

2011-12-28 Thread Dennis Kaptain




 De: Klaus-Peter Schrage kpschr...@gmx.de
Para: Fedora users@lists.fedoraproject.org 
Enviado: Miércoles, 28 de diciembre, 2011 8:28:44
Asunto: Enable PHP on local Apache2 server
 
I have set up a local webserver for testing static html (of which I have some 
basic knowledge) and dynamic html (which is quite new to me). After I had set 
proper permissions on /var/www/ and had copied my testfiles to the appropriate 
locations, httpd worked out of the box (i. e. with the original httpd.conf 
that came with Fedora 16). I could run Perl scripts (e. g. a guestbook) in 
cgi-bin, but no PHP scripts. Apache's error log gave:

(8)Exec format error: exec of '/var/www/cgi-bin/test.php' failed
Premature end of script headers: test.php

The script test.php simply calls phpinfo() and works on my hired external 
webspace, so this must be a configuration issue with my local webserver. 
Strange enaugh, I didn't find many clues on enabling PHP in the Apache.org 
documentation and even elsewhere.

Thanks for any pointers
Klaus

-- 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




Try moving the file to /var/www/html/test.php

DK
-- 
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: Help with sudo yum update

2011-11-30 Thread Dennis Kaptain



 De: Lucélio Gomes de Freitas aa.luce...@gmail.com
Para: Community support for Fedora users users@lists.fedoraproject.org 
Enviado: Miércoles, 30 de noviembre, 2011 14:23:19
Asunto: Help with sudo yum update
 

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256

Hi everybody,

I've never seen an error like this.  Anybody helps?
=
[Lucelio@MAQ02 ~]$ uname -r
3.1.2-1.fc16.x86_64
[Lucelio@MAQ02 ~]$ sudo yum update
Plugins carregados: refresh-packagekit
Configurando o processo de atualização
Resolvendo dependências
- -- Executando verificação da transação
- --- Package gtk2.i686 0:2.24.7-3.fc16 will be atualizado
- --- Package gtk2.i686 0:2.24.8-2.fc16 will be an update
- --- Package preupgrade.noarch 0:1.1.9-1.fc16 will be atualizado
- --- Package preupgrade.noarch 0:1.1.10-1.fc16 will be an update
- -- Resolução de dependências finalizada
Error: Protected multilib versions: gtk2-2.24.8-2.fc16.i686 !=
gtk2-2.24.7-3.fc16.x86_64
[Lucelio@MAQ02 ~]$
=
So I can't update the system.

Thanks in advance.

- -- 
Lucélio Gomes de Freitas
ETFCSF- U.G.F.- P.U.C.(RJ)
Engº, Analista Suporte(Free Mind).
Email: aa.luce...@gmail.com
Tel: 55 0XX 21 85964911
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iF4EAREIAAYFAk7WkLcACgkQENqGaHfBA/eC9gD9HEDn7ph5Km6BtnLouoriv3eW
NxOkqhVa9Jq68GnhnN4A/RuT2oabrYBkzyXoMbzBjFtvyuUAS/KM+PX4+0Ys+U0s
=0wn3
-END PGP 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




A partial workaround is
sudo yum --skip-broken update

You will still not get the update for gtk2 but at least the others will work.

DK
-- 
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: Public computer control

2011-10-28 Thread Dennis Kaptain

De: antonio.montagn...@alice.it antonio.montagn...@alice.it
Para: users@lists.fedoraproject.org
Enviado: Viernes, 28 de octubre, 2011 5:59:10
Asunto: Public computer control

We are installing linux on public library network

I have two easy questions:


1) how can I control time of a session, i.e. to have logout automatically after 
a certain time from login?? 
2) how can I make all personal data flushed at 
logout??

Any applications available?? 

Any experience in library installation 
of Fedora???

Tnx

Antonio
-- 
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
 
 
Brute force method:
save a copy of /home/guest in /somethingorother/guest
on login, have .bash_profile set a timestamp in /home/guest/.logintime
make a cronjob that checks the .logintime timestamp every 5 minutes.
when the time expires, kill the session, delete /home/guest, copy 
/somethingorother/guest to /home
 
shouldn't be that hard to do and meets all your requirements. It's kind of rude 
killing a like that session if someone is still working though...
 
Dennis K
-- 
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


Analog video capture

2011-05-20 Thread Dennis Kaptain
I want to convert my analog VCR tapes and analog Camcorder video to digital
I plan on purchasing a BT878 card as below.
http://cgi.ebay.com/PixelView-PV-BT878P-REV-10B-TV-TUNER-/260776721005?pt=LH_DefaultDomain_0hash=item3cb780fa6d



I believe the Linux Kernel should already have the drivers for this ready to go 
and I can use mencoder to copy the video/audio to a file.

The ebay photos seem to show the card having inputs for 1/8 in plugs. My VCR 
and 

Camcorder have RCA output jacks. Do I need a simple cable with 1/8 on one end 
and RCA on the other or is there more to it than that?

Does anyone have experience with this particular card? Tips? Advise? Warnings?

I'm running Fedora 14. 3GB RAM, Dual Intel 4300 processors 1.8GHz

Thanks
Dennis
-- 
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


Re: Audacious

2011-01-28 Thread Dennis Kaptain


- Mensaje original 
 De: Michael Schwendt mschwe...@gmail.com
 Para: users@lists.fedoraproject.org
 Enviado: viernes, 28 de enero, 2011 17:14:19
 Asunto: Re: Audacious
 
 On Fri, 28 Jan 2011 18:27:29 -0400, Jorge wrote:
 
  On 01/28/2011 05:24  PM, Kostas Sfakiotakis wrote:
   After yesterdays updates audacious  seems to have lost the mp3 plugin and 
   can no longer play mp3  files
  
  Arrrgh. I just updated 2 minutes ago and indeed audacious  is broken.
 
 Arrrgh, no, it is not broken.
 
 Please do read the Update  Notes and my other reply in this thread.
 -- 
 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


To fix this what you need to do is downgrade audacious.

$ yum list installed | grep audacious
take note of what you have installed

$ yum erase audacious
you will have to take out several other packages which are dependencies

go to http://pkgs.org/download/fedora-14/
Find and download:
audacious-2.4.0-3.fc14.1.x86_64.rpm
audacious-libs-2.4.0-3.fc14.1.x86_64.rpm
audacious-plugins-2.4.0-5.fc14.x86_64.rpm

note: my system is 64bit. download the 32 bit if you need.

install the old working packages.
$ rpm -ivh audacious*

now, 
$ yum install audacious-plugins-freeworld-mp3

along with whatever other packages you want and you are back in business.


  
-- 
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


copy and paste

2010-04-14 Thread Dennis Kaptain
I've noticed that copy/paste isn't working as it used to.

Highlight text by dragging mouse over it to copy
middle click to paste.

It seems now I need to type Ctrl C to copy and Ctrl V to paste.

Is there a setting that could have changed that altered this behavior?

this is a fully updated F11 system.

[den...@confianza ~]$ uname -a
Linux confianza 2.6.30.10-105.2.23.fc11.x86_64 #1 SMP Thu Feb 11 07:06:34 UTC 
2010 x86_64 x86_64 x86_64 GNU/Linux


Thanks

 Dennis


  
-- 
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


Re: copy and paste SOLVED

2010-04-14 Thread Dennis Kaptain




- Mensaje original 
 De: Dennis Kaptain dkapt...@yahoo.com.mx
 Para: Community support for Fedora users users@lists.fedoraproject.org
 Enviado: miércoles, 14 de abril, 2010 16:21:00
 Asunto: Re: copy and paste
 
 - Mensaje original 

 De: suvayu ali fatkasuvayu+
 ymailto=mailto:li...@gmail.com; 
 href=mailto:li...@gmail.com;li...@gmail.com
 Para: Community 
 support for Fedora users 
 href=mailto:users@lists.fedoraproject.org;users@lists.fedoraproject.org
 
 Enviado: miércoles, 14 de abril, 2010 13:36:46
 Asunto: Re: copy and 
 paste
 
 On 14 April 2010 11:20, Dennis Kaptain 
 
 ymailto=mailto:
 href=mailto:dkapt...@yahoo.com.mx;dkapt...@yahoo.com.mx 
 
 href=mailto:
 href=mailto:dkapt...@yahoo.com.mx;dkapt...@yahoo.com.mx
 ymailto=mailto:dkapt...@yahoo.com.mx; 
 href=mailto:dkapt...@yahoo.com.mx;dkapt...@yahoo.com.mx wrote:
 
 
 I've noticed that copy/paste isn't working as it used 
 to.

 
 Highlight text by dragging mouse over it to 
 copy
 middle click to 
 paste.

 It seems now I need 
 to type Ctrl C to copy and 
 Ctrl V to 
 paste.

 Is there a setting that could have 
 changed that 
 altered this behavior?

 this is a fully updated F11 
 
 system.


Do you have some kind of clipboard manager installed. If 
 
 yes then
check whether they are set to sync selections. If you want 
 
 the
selection to stay separate from the regular desktop clipboard, 
 turn 
 of
sync'ing of selections.

 Thanks

 
 
  Dennis


-- 
Suvayu

Open source is the 
 future. It sets 
 us free.
-- 
users mailing list

It seems 
 all I have installed is Glipper. I can see it in gconf-editor. There doesn't 
 seem to be anything else installed or running. 
xclipper is installed but 
 does not show up in ps aux | grep clip
if I try to start xclipper via the 
 command line I get an error that it is already running but I see via google 
 that 
 it really isn't running it's just a strange way it interacts (or doesn't) 
 with 
 Gnome.

Do you have any specific ideas what I can check in Glipper?
I 
 looked in ~/.gconf/apps/glipper and found nothing interesting.
Thanks 
 again.


   I have determined that the problem is the touchpad buttons on my laptop. I 
would click both buttons with one finger and it would be seen as both buttons 
being pressed.

Well, that isn't happening now. I need to press both buttons with both fingers 
and it works as expected. So it's a simple Hardware issue.

Thanks for your help.


  
-- 
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


Re: Directory permissions

2010-03-12 Thread Dennis Kaptain




De: Steve Searle st...@stevesearle.com
Para: fed...@capercaillie.stevesearle.com
Enviado: viernes, 12 de marzo, 2010 15:05:22
Asunto: Directory permissions

Can anyone help me with this setup.

User champs is a member of the webeditors group. I want the users in
this group to be able to create files in a certain directory, and have
tried to set it correctly, but obviously haven't. Can anyone point out
where I have gone wrong.

(cha...@gadwall:~)$ groups champs
champs : champs webeditors
(cha...@gadwall:~)$ ls -lhd /var/www/lamprey/champs
drwxrwsr-t 2 steve webeditors 4.0K Mar 12 20:42 /var/www/lamprey/champs
(cha...@gadwall:~)$ touch  /var/www/lamprey/champs/steve
touch: cannot touch `/var/www/lamprey/champs/steve': Permission denied

Thanks

Steve

-- 

(owww.stevesearle.com
//\ Powered by Fedora
V_/_No MS products were used in the creation of this message

20:59:15 up 6 days,  9:41,  4 users,  load average: 0.00, 0.04, 0.16



Try 
newgrp webeditors

then 
touch /var/www/lamprey/champs/steve


  Encuentra las mejores recetas en Yahoo! Cocina.   
http://mx.mujer.yahoo.com/cocina/-- 
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


Re: F12: Latest Two Kernels Won't Boot

2010-01-23 Thread Dennis Kaptain



  When a few weeks ago the new auto-updated kernel would not boot,
 used an older kernel, waiting for the next update. This was today, and
 now the two latest kernels don't work. Booting stops after the Fedora
 logo fills up white, after which it says (copying manually from
 screen, whitespaces probably not correct):

 ERROR: asr: wrong # of devices in RAID set asr_BOOT  [1/2] on /dev/sda
 No root device found
 Boot has failed, sleeping forever

  The third oldest kernel apparently boots fine. Interestingly, Google
 finds nothing for ERROR: asr: wrong.

 If you add the following entry to your grub.conf, can you boot from it?
 begin
 title Fedora Test (2.6.31.12-174.2.3 with 2.6.31.6-162 initramfs)
 root (hd0,0)
 kernel /vmlinuz-2.6.31.12-174.2.3.fc12.i686 ro
 root=UUID=7dc291fd-739e-4280-8196-c906e8b6ea00 rhgb quiet
 SYSFONT=latarcyrheb-sun16 LANG=en_US.UTF-8 KEYTABLE=us
 initrd /initramfs-2.6.31.6-162.fc12.i686.img
 /end

  Yes, that one actually booted! Does that provide any insight?

It means that the initramfs files of the new kernels are not loading
dmraid either because the dmraid module is not being loaded, dmraid
-ay is not being run or both.

Do you have any dracut and/or dmraid errors in
/var/log/messages
or
/var/log/boot.log

Is there a dmraid directory or module in
/usr/share/dracut/modules.d
-- 

You probably already know this but change in /etc/yum.conf 
installonly_limit=3  to a higher value, 
I have mine set to 5. This means the next kernel update you get won't erase 
your only
working kernel.

Dennis Kaptain



  Encuentra las mejores recetas en Yahoo! Cocina.   
http://mx.mujer.yahoo.com/cocina/-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe: https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines