Re: [gentoo-user] Updating menu in KDE

2007-07-06 Thread Petr Uzel
On Friday 06 July 2007, Mick wrote:
> I am not particularly versed with the KDE desktop, but this must have
> started happening recently.  Until now the KDE menu would update
> automatically when installing or removing applications.
>
> Has any one else also observed this?

I have the same problem. But my KDE-menu is highly customized with my own 
categories and subcategories. So I thought that broken updating is happening 
because of this.

-- 
Petr Uzel
[EMAIL PROTECTED]
Jabber : [EMAIL PROTECTED]
ICQ : 101606095
Gentoo Linux
-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] [OT] Python IDE

2007-06-10 Thread Petr Uzel
On neděle 10 června 2007, b.n. wrote:
> By the way: I am looking for a good, general Python IDE on Linux. Most
> people advice Eclipse+PyDev. I tried it and it looks good, but it's damn
> too memory intensive (I need to use it on an office machine with 512 K
> ram, and it eats almost half of it).
>
> Any other suggestion?
>
> m.

Hi,
try dev-util/eric

-- 
Petr Uzel
[EMAIL PROTECTED]
Jabber : [EMAIL PROTECTED]
ICQ : 101606095
Gentoo Linux
--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Thermal cpu

2007-03-30 Thread Petr Uzel
On pátek 30 března 2007, Sylvain Chouleur wrote:
> I'have installed lm_sensors and run sensors-detect but after, when I run
> sensors, he tell me that no sensors have been detected
>
IIRC you have to start lm_sensors first.
/etc/init.d/lm_sensors start

-- 
Petr Uzel
[EMAIL PROTECTED]
Jabber : [EMAIL PROTECTED]
ICQ : 101606095
Gentoo Linux
--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] printing within kpdf

2007-02-16 Thread Petr Uzel
On pátek 16 února 2007, James wrote:
> Hello,
>
> I use to have kpdf printing with cups. Now it's broken.
> Since I only print a pdf file directly form kpdf occasionally,
> I'm not certain when (which emerge) it quite working..
>
>
> I googled and looked at bugzilla, but nothing relevant.
> I re-emerged both cups and kpdf. All other printing is
> fine.
>
> Any ideas?

Hello,
I've had exactly the same problem (broken printing from kpdf, all other 
printing was ok), but after re-emerging kpdf everything worked well again. 
May you should try running revdep-rebuild...

-- 
Petr Uzel
[EMAIL PROTECTED]
Jabber : [EMAIL PROTECTED]
ICQ : 101606095
Gentoo Linux
--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Best printer to use with Gentoo.

2007-01-24 Thread Petr Uzel
On Wednesday 24 January 2007 17:32, Carl Adams wrote:
> Daniel Pielmeier wrote:
> > At OpenPrinting there is no record for your HP PSC 1610 but for HP PSC
> > 1600 which should work perfectly. So yours should be working as well i
> > guess! Are you using the HP drivers?
>
> Yes, I've downloaded the recommended hpijs driver, and this should work.
>
> The problem is using the localhost:631 interface, I don't know either:
>
> 1. The device. It's a USB printer, but the choices are:
>   AppSocket/HP JetDirect
>   Backend Error Handler
>   Internet Printing Protocol (http)
>   Internet Printing Protocol (ipp)
>   LPD/LPR Host or Printer
>   SCSI Printer
>   Serial Port #1
>   Serial Port #2
>None of these seem appropriate.
>

Hi,
make sure you have hplip running before configuring cups. Then there should 
appear something like hp:/ in that list.

I've PSC 1610 and it works perfectly.

I hope it will help, otherwise, feel free to ask :)


-- 
Petr Uzel
[EMAIL PROTECTED]
Jabber : [EMAIL PROTECTED]
ICQ : 101606095
Gentoo Linux
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] QT4's qtconfig

2007-01-07 Thread Petr Uzel
On Sunday 07 January 2007 12:29, Andrew Gaydenko wrote:
> Hi!
>
> Funny situation. I have ~amd64 Gentoo machine, and two slotted Qt are
> installed:
>
> eix -e qt
> [I] x11-libs/qt
>  Available versions:
> (3) 3.3.4-r8 3.3.6-r4 (~)3.3.6-r5
> (4) 4.1.4-r2 (~)4.2.1 (~)4.2.2
>  Installed versions:  3.3.6-r5(3)(03:23:16 AM 12/24/2006)(cups debug
> doc examples -firebird gif -immqt -immqt-bc ipv6 mysql -nas -nis -odbc
> opengl -postgres sqlite -xinerama) 4.2.2(4)(01:02:41 PM
> 01/07/2007)(accessibility cups -dbus debug doc examples -firebird gif -glib
> -input_devices_wacom jpeg -mng mysql -nas -nis -odbc opengl -pch png
> -postgres -qt3support sqlite -sqlite3 -xinerama zlib)
>
> My aim was to set default font for Qt4 applications. I have tried to find
> Qt4's 'qtconfig' and discovered: there is *the only* 'qtconfig' in my
> system. And it is /usr/qt/3/bin/qtconfig, i.e. for Qt3 (I have scanned /usr
> recursively).
>
> OK, I have reinstalled Qt4 - nothing changed.
>
> Is it for me only?

Hello,
I have also slotted installation of qt (3.3.6-r4 and 4.1.4-r2) on ~x86. There 
are two versions of qtconfig on my system :
/usr/qt/3/bin/qtconfig
/usr/bin/qtconfig (this belongs to qt-4.x.x)

What about
equery f =x11-libs/qt-4.1.4-r2 | grep qtconfig
?

-- 
Petr Uzel
[EMAIL PROTECTED]
Jabber : [EMAIL PROTECTED]
ICQ : 101606095
Gentoo Linux
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] emerge

2006-12-11 Thread Petr Uzel
On Monday 11 December 2006 13:21, Cosmin Rentea wrote:
> Hi all,
>
> Is it possible to have in "emerge" something similar to the "-k" option
> of "make" ?
>
>
> -k, --keep-going
>  Continue as much as possible after an error.  While the
> target that failed, and those that depend on it, cannot be  remade,  the
> other dependencies of these targets can be processed all the same.
>
>
> It would be particularly useful when emerging "world", "system" or
> multiple packages, some of which have broken ebuilds.

Hello,
you could find some inspiration here :
http://www.sabayonlinux.org/forum/viewtopic.php?p=12114&sid=f0df8f7562aae360b3bb527e5d5b7c01
and
http://forums.gentoo.org/viewtopic-t-497125-highlight-updateworld.html

I haven't tried it myself.

Regards
-- 
Petr Uzel
[EMAIL PROTECTED]
Jabber : [EMAIL PROTECTED]
ICQ : 101606095
Gentoo Linux
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Random number generation

2006-12-09 Thread Petr Uzel
On Saturday 09 December 2006 21:07, Randy Barlow wrote:
> On Saturday 09 December 2006 19:58, Petr Uzel wrote:
> > make menuconfig->Device drivers->Character devices->Hardware Random
> > Number Generator Core support
>
> How would you know if you had such a device?  Would it show up in lspci
> output?
>
> R

I don't know, because I don't use this device. I only knew where to find it in 
kernel configuration :)
-- 
Petr Uzel
[EMAIL PROTECTED]
Jabber : [EMAIL PROTECTED]
ICQ : 101606095
Gentoo Linux
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Random number generation

2006-12-09 Thread Petr Uzel
On Sunday 10 December 2006 01:37, Grant wrote:
> apache2 is taking a long time "generating secret for digest
> authentication".  Bryan suggested the following fixes a little while
> back:
>
> 1. Use a hardware RNG (random number generator), some chipsets provide
> that but you need to enable support in the kernel.
> 2. emerge apr with USE=urandom. This makes apr use /dev/urandom
> instead of /dev/random. urandom isn't as strong cryptographically
> speaking as random but might be good enough for your use.
> 3. Disable digest authentication in the apache configuration.
> 4. Use some entropy gathering daemon like sys-apps/clrngd,
> media-sound/sound-entropyd or media-video/video-entropyd.
>
> I emerged and started clrngd and it seems to work nicely.  I'd rather
> use a hardware RNG if I have one.  Where in the kernel should I find
> RNG support?

make menuconfig->Device drivers->Character devices->Hardware Random Number 
Generator Core support

Regards
-- 
Petr Uzel
[EMAIL PROTECTED]
Jabber : [EMAIL PROTECTED]
ICQ : 101606095
Gentoo Linux
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Installation of openoffice in 4 hours or more?! :s

2006-12-05 Thread Petr Uzel
Dne úterý 05 prosinec 2006 19:21 Leandro Melo de Sales napsal(a):
> Hi,
>
>   # date
>   Tue Dec  5 10:12:01 BRT 2006
>   # emerge openoffice
>   { in other terminal }
>   # date
>   Tue Dec  5 15:24:01 BRT 2006
>
> and portage continues to compile openoffice, it didn't finished yet.
> Is it so slow or there are something wrong? My machine is a P4 (with
> HyperThreading enabled), 512Mb.

Hi,
don't worry. I have P4 HT, 2,8GHz with 1GB RAM and compilation of openoffice 
took more than 7 hours :)

Regards
-- 
Petr Uzel
[EMAIL PROTECTED]
Jabber : [EMAIL PROTECTED]
ICQ : 101606095
Gentoo Linux

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Die, process! Die!

2006-11-03 Thread Petr Uzel
Dne pátek 03 listopad 2006 20:02 Michael Sullivan napsal(a):
> So how would I issue a SIGKILL?

All of these should work with the same effect :

kill -SIGKILL pid
kill -KILL pid
kill -9 pid

Alternatively, you could also use

killall -9 progname

if you know only name of the program but not its pid.


Regards,
-- 
Petr Uzel
[EMAIL PROTECTED]
Jabber : [EMAIL PROTECTED]
ICQ : 101606095
Gentoo Linux

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] revdep-rebuild wants to re-emerge gcc-4.1.1 endlessly

2006-09-13 Thread Petr Uzel
> revdep-rebuild keeps wanting to re-emerge gcc-4.1.1 over and over again. Is
> anyone else seeing this?

I have the same problem. I ignore that and everything works well ;)

-- 
Petr Uzel
[EMAIL PROTECTED]
Jabber : [EMAIL PROTECTED]
ICQ : 101606095
Gentoo Linux
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] OT: get process name in c++

2006-06-28 Thread Petr Uzel
Dne středa 28 červen 2006 15:51 Petr Uzel napsal(a):
> Dne středa 28 červen 2006 15:04 Iain Buchanan napsal(a):
> > Hi again :)
> >
> > I have been googling for this one for a little while, and trying various
> > options, but I can't seem to find it:  How do I get the process from
> > within a process in c or c++?
> >
> > I don't want to use argv[0], because the particular place is deep within
> > classes, and there are too many (I'm doing some porting) to edit all of
> > their constructors, for example, to pass argv[0].
> >
> > something like
> >
> > char *name = getpsname (pid);
>
> Hi,
> what about directly reading /proc/pid_of_the_process/stat (may be some
> other file in this directory).

Now I found better solution :
file /proc/self/status is a link pointing to the 
directory /proc/pid_of_process. And by parsing status file in this directory 
you should get all the informations you want.

-- 
Petr Uzel
[EMAIL PROTECTED]
Jabber : [EMAIL PROTECTED]
ICQ : 101606095
Gentoo Linux

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] OT: get process name in c++

2006-06-28 Thread Petr Uzel
Dne středa 28 červen 2006 15:04 Iain Buchanan napsal(a):
> Hi again :)
>
> I have been googling for this one for a little while, and trying various
> options, but I can't seem to find it:  How do I get the process from
> within a process in c or c++?
>
> I don't want to use argv[0], because the particular place is deep within
> classes, and there are too many (I'm doing some porting) to edit all of
> their constructors, for example, to pass argv[0].
>
> something like
>
> char *name = getpsname (pid);
>
Hi,
what about directly reading /proc/pid_of_the_process/stat (may be some other 
file in this directory).

-- 
Petr Uzel
[EMAIL PROTECTED]
Jabber : [EMAIL PROTECTED]
ICQ : 101606095
Gentoo Linux

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] OT - Stupid Question about su That I Should Already Know The Answer To But Don't

2006-06-20 Thread Petr Uzel
Dne úterý 20 červen 2006 15:22 Michael Sullivan napsal(a):
> Since my reinstall last week, when I su - to root from the michael
> account, root can't use GUI apps.  It used to be able to before the
> install, and as far as I know, I didn't do anything special to enable
> it.  How would I go about doing that?

Hi,
this may help : http://www.gentoo.org/doc/en/faq.xml#suinx

-- 
Petr Uzel
[EMAIL PROTECTED]
Jabber : [EMAIL PROTECTED]
ICQ : 101606095
Gentoo Linux


pgppT0If4CyhB.pgp
Description: PGP signature


Re: [gentoo-user] SSH authentication attempts - serious issue

2006-06-05 Thread Petr Uzel
Dne pondělí 05 červen 2006 19:12 Leandro Melo de Sales napsal(a):
> 2006/6/5, Leandro Melo de Sales <[EMAIL PROTECTED]>:
> > Yes, but how can I do it?
> >
> > 2006/6/5, Joseph <[EMAIL PROTECTED]>:
> > > Try port knocking.  It is very effective.
> > > Your ssh port will be closed until you successfully hit certain number
> > > of ports and even though the ssh port will be open only to the IP
> > > address that successfully opened the port all others will see ssh port
> > > as closed.
> > >
> > > --
> > > #Joseph
> > >
> > > On Mon, 2006-06-05 at 12:06 -0300, Leandro Melo de Sales wrote:
> > > > Hi,
> > > >
> > > >today when I was checking the server log I got many external
> > > > attempts to connect to my sshd service:
> > > >
> > > > ...
> > > > Jun  5 05:09:45 embedded sshd[4740]: Invalid user barbara from
> > > > x.y.w.z Jun  5 05:09:46 embedded sshd[4742]: Invalid user barb from
> > > > x.y.w.z Jun  5 05:09:48 embedded sshd[4744]: Invalid user barbie from
> > > > x.y.w.z Jun  5 05:09:50 embedded sshd[4746]: Invalid user barbra from
> > > > x.y.w.z Jun  5 05:09:51 embedded sshd[4748]: Invalid user barman from
> > > > x.y.w.z Jun  5 05:09:53 embedded sshd[4750]: Invalid user barney from
> > > > x.y.w.z ...
> > >
> > > --
> > > gentoo-user@gentoo.org mailing list
>
> I mean, setup it!

Hi,

this should help you : http://gentoo-wiki.com/HOWTO_Port_Knocking
Works well

Petr


pgph9XjZD7dRU.pgp
Description: PGP signature


Re: [gentoo-user] Mouse and console

2006-04-09 Thread Petr Uzel
Dne neděle 09 duben 2006 13:35 [EMAIL PROTECTED] napsal(a):
> Hi all,
> I do not remember anymore which program to emerge for enabling mouse on a
> console.
>
> emilio

Hi,
have you tried google? Searching for 'gentoo console mouse' will give you 
http://www.gentoo.org/doc/en/gpm.xml as the first link :)

Petr


pgpz1xA7ZqiHx.pgp
Description: PGP signature


Re: [gentoo-user] KDE version

2006-03-21 Thread Petr Uzel
> Hi everybody.
> To-day I installed kdebase using "emerge kdebase".
> But the installed version was 3.4.3.
> Is it right? Did not KDE reach 3.5 version?

Hi, that's normal, because all kde-3.5 packages are still masked. You have to 
unmask them to get kde-3.5 installed.
This link should help you :

http://gentoo-wiki.com/HOWTO_Update_KDE_3.3_to_KDE_3.4

Petr

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Stop and continue emerge -e world

2006-03-14 Thread Petr Uzel
> Actually, the faster way would be to use revdep-rebuild instead of
> emerge -e world (isn't this mensioned in the upgrade guide for gcc?). 

Yes, it is. But in addition to upgrade of gcc I have changed CFLAGS form O2 to 
O3 so I wanted to recompile the whole system. 

Petr
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Stop and continue emerge -e world

2006-03-14 Thread Petr Uzel
> > wouldnt say it is possible, unless u have hibernaton enabled, which
> > probably is not in your case. besides emerge --resume only resumes not
> > downloaded fully files from internet to be downloaded...
>
> Not so. emerge --resume restarts the previous emerge process, even after
> a reboot, exactly as Petr needs.
>
> I doubt the fact that some packages are compiled with one GCC and others
> with a different one is going to cause a problem, especially as you'll
> carry on with the recompiling after the reboot. Even if you don't reboot,
> your system will be running with a mixture of 3.3/3.4-compiled packages
> during the emerge.

Ok, I'll give it a try. Thank you for quick answers.

Petr
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Stop and continue emerge -e world

2006-03-14 Thread Petr Uzel
Dne úterý 14 březen 2006 23:39 Petr Uzel napsal(a):
> Hello everybody!
> I'm currently running emerge -e world because of gcc upgrade. I would
> appreciate if I can stop this emerge and continue tomorrow from where it
> was stopped.
>
> I have two questions:
>
> 1) Is there any possibility to stop and later continue (after reboot)
> emerge -e world without compiling every package again?

OK, I can answer this myself (I hope correctly) : "pick your emerge" script or 
emerge --resume. I should better RTFM. 

> 2) If I do this, will be the system usable after reboot? (some of packages
> compiled with gcc-3.3.6 and other with gcc-3.4.5)

With this I still need your help... :)

> Thank you, Petr

-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] Stop and continue emerge -e world

2006-03-14 Thread Petr Uzel
Hello everybody!
I'm currently running emerge -e world because of gcc upgrade. I would 
appreciate if I can stop this emerge and continue tomorrow from where it was 
stopped.

I have two questions:

1) Is there any possibility to stop and later continue (after reboot) emerge 
-e world without compiling every package again?

2) If I do this, will be the system usable after reboot? (some of packages 
compiled with gcc-3.3.6 and other with gcc-3.4.5)

Thank you, Petr
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] mount nfs thru mount system call

2006-03-08 Thread Petr Uzel
> It's been about 4 years since I last had to do that (so no guarantees), but
> If I remember correctly the data argument for NFS is not just a string.
> Instead I believe that you have to do some other magic to encode the data
> correctly.  I would recommend looking at the source code for mount and see
> what happens.

IMHO it's easier to look at 'man 2 mount' :

...
Values for the filesystemtype argument supported by the kernel are listed 
in /proc/filesystems (like  "minix",  "ext2", "msdos", "proc", "nfs", 
"iso9660" etc.).
...

But I also can't help more...

Petr
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] kde panel hiding behind something...

2006-02-15 Thread Petr Uzel

> I can't get to the control center because I can't get to any menu's with
> the application launchers and settings.  All I can do is right-click >
> run command, but I can't find a command for the control center...

try 'kcontrol'

Petr
-- 
gentoo-user@gentoo.org mailing list