Re: [gentoo-user] KDE 5
On 13/07/16 11:51, konsolebox wrote: > On Wed, Jul 13, 2016 at 1:30 AM, Philip Webbwrote: >>... >> Before I plunge into that, is anyone else using KDE 5 every day ? >> What are people's experiences with it ? > > ... I decided to try it on a MS Surface Pro 4 on a new, clean install. Plasma/KDE seemed ok, except hibernate would not work. After seeing this thread on various "problems" I installed xfce alongside KDE last night, and logged in. Hibernate now works fine and I am on my 4th resume without a crash :) bye bye KDE ... BillK
Re: [gentoo-user] KDE 5
On Wed, Jul 13, 2016 at 1:30 AM, Philip Webbwrote: > It looks as if in the near future I am going to have to install KDE 5 , > if I want to go on using my regular daily apps Konsole Gwenview Okular ; > yes, I know I can limit exposure to their requirements > & don't need to install the whole desktop system. > > Before I plunge into that, is anyone else using KDE 5 every day ? > What are people's experiences with it ? I just installed KDE 5 in order to try how one application works on it, and also due to my curiosity. The applications that depend on it: konsole and dolphin, doesn't work well if KDE5 is not itself the one that's running. In dolphin, some icons don't show. konsole also doesn't show some icons when it uses them as its own icon. It seems to be like a problem with rendering stuff that require some services running. This happened before and after I changed appearance settings. I even cleared cache and stuff. Firefox seems to have been affected by it as well. It doesn't show the scroll bar button, and some widget borders looked a little different. Perhaps this is also just about Gtk3, but I'm not sure about it since stuff work when KDE itself is running. KDE5 or Plasma itself seems to have gotten much more responsive and faster compared to the last time it was in 4, but I still find XFCE4 easier to configure to appear and work the way I want a desktop environment should. I just downgraded konsole and dolphin for now, and also rebuilt firefox with gtk2. -- konsolebox
Re: [gentoo-user] KDE 5
Philip Webb wrote: > It looks as if in the near future I am going to have to install KDE 5 , > if I want to go on using my regular daily apps Konsole Gwenview Okular ; > yes, I know I can limit exposure to their requirements > & don't need to install the whole desktop system. > > Before I plunge into that, is anyone else using KDE 5 every day ? > What are people's experiences with it ? > The things that are weird or don't work right. My clock on the panel thingy at the bottom, it winks at me, a lot. It's annoying. It isn't as bad after the update a couple days tho so maybe it is being worked on. Also, if I put to many widgets/??? on the panel, it locks up a lot. Things that update a lot make it worse. It works fairly well with a CPU and network monitor. If I go past that, it tends to lock up more. The device notifier thing, worthless except for telling you plugged something in. Nothing I click on does anything. Now to plasmashell. It gets CPU hungry to the point I have to kill it. If it isn't that, it locks up completely. Either way, I have to kill it and then restart it, or log out and back in again. If you run into this, I'll be glad to share the command, maybe you can even improve it more. ;-) Konqueror. Well, I haven't been able to use it for a while and been stuck with Dolphin. I don't like Dolphin but it works, just not like I'm used to with Konqueror. What it does. I use a folder desktop which means I have folders and such on my desktop that I can click on to go find a pic, video, document etc. When I do click it with Konqueror enabled, I get hundreds of Konqueror processes/windows. Even after I kill it with pkill, it pops up again and starts opening new processes/windows. I just have to keep killing it until it stops. I'm not sure what to make of that. Oh, after you kill and restart plasma, you can't click and open a desktop folder any more. I had several other oddities until I gave KDE a fresh start on configs. I renamed .kde4 and .config and some things did improve or just started working correctly. I think the .config is the most important part on this. There doesn't seem to be near as much in .kde4 any more. If you use Kmail or something, that could change things. So, depending on your settings, you may or may not have those issues. I run somewhat stable but I've got all of KDE and its related packages running keyworded packages. I'm not using the - ones but I'm right there close to it. My core stuff, things needed for booting etc, those I try to keep on stable. If you want to run like mine, let me know and I'll send you my short list keyword file, emerge's autounmask will give you the rest based on your USE flags etc. Oh, I use Seamonkey for my email so I have no info on things like Kmail and such. I see others have posted about those. That's all I can recall at the moment. Hope this helps. Dale :-) :-)
Re: [gentoo-user] executing a command as a nologin user
jens wwrote: > Am Tue, 12 Jul 2016 22:59:16 +0200 > schrieb Alan McKinnon : > > > On 12/07/2016 22:39, jens w wrote: > > > Am Tue, 12 Jul 2016 16:17:42 +0200 > > > schrieb wabe : > > > > > >> jens w wrote: > > >> > > >>> .procmailrc > > >>> :0 c > > >>> * !^X-Loop: n...@example.com > > >>> | formail -X "From:" | $HOME/bin/script.sh > > >>> > > >>> procmail.log > > >>> procmail: Executing " formail -X "From:" | $HOME/bin/script.sh > > >>> > > >>> for incoming mail, a script is executed. logfile has the same > > >>> entry as it is in other users. but the script do nothing. > > >>> > > >>> How executing a command as a nologin user? > > >> > > >> Is script.sh readable and executable for the procmail user? > > >> > > >> Does script.sh contain a definition for a command interpreter > > >> (something like #!/bin/sh)? > > > > > > yes and yes. > > > it works for default user. it does not work for nologin user. > > > as workaround I forward the mail to a helper-user, and process it > > > there > > > > > > > > > > > > does that nologin user have a mailbox? A real one, actually on the > > disk? > > real user, real unix useraccount. we will exchange confidential news, > but the user can't use pgp. so he has a local mailaccount, so we > change news via ssl over my mailserver. > when a message arrives for the user, I will send a alert to his > aol-account. > > I test the script before, but it works not on nologin-user. Are you sure that the HOME envar is defined for the "nologin-user"? Is there a existing home directory defined in /etc/passwd for this user? -- Regards wabe
Re: [gentoo-user] Re: Konsole
On 07/12/2016 03:29 PM, konsolebox wrote: > Well I expected that problem earlier. > > The issue is this: > > * Error: The above package list contains packages which cannot be > * installed at the same time on the same system. > > (kde-plasma/kactivitymanagerd-5.5.0:5/5::gentoo, ebuild scheduled > for merge) pulled in by > kde-plasma/kactivitymanagerd:5 required by > (kde-base/kactivities-4.13.3-r2:4/4.13::gentoo, installed) > >=kde-plasma/kactivitymanagerd-5.4.1:5 required by > (kde-frameworks/kactivities-5.21.0:5/5.21::gentoo, ebuild scheduled > for merge) > > And the culprit is this: > > https://github.com/gentoo/gentoo/commit/6da1ba829e1e240c7c4fe467a22d23d275368154 > > The problem is that: > > 1) kde-base/kactivitymanagerd-4.13.3-r1 was just removed and not even > copied to kde-sunset. > 2) kde-base/kactivities-4.13.3-r2 was just modified with a dependency > to kde-plasma/kactivitymanagerd:5. Not even a revision bump was made. > It was also not copied to kde-sunset. > > The probable solution: > > 1) Export those ebuild files before the commit was made to local overlay. > E.g.: > > su portage > cd /usr/portage > git checkout 6da1ba829e1e240c7c4fe467a22d23d275368154^1 > emerge -fO =kde-base/kactivities-4.13.3-r2::gentoo > =kde-base/kactivitymanagerd-4.13.3-r1::gentoo > rsync -av kde-base/kactivities kde-base/kactivitymanagerd > /usr/local/portage/kde-base > for A in /usr/local/portage/kde-base/{kactivities,kactivitymanagerd}/*.ebuild; > do ebuild "$A" digest; done > git checkout master > > (Or you could just download the attached file and extract its contents > to /usr/local/portage. Use at your own risk.) > > Change ownerships to portage:portage if necessary. > > 2) Then mask kde-base/kactivities::gentoo. You can also be more > specific: =kde-base/kactivities-4.13.3-r2::gentoo > Thanks for the solution, I moved stuff to the local overlay and now my emerge @world is chugging along. Of course that leads to the question... why on earth did they give a kde4 package a dependency on a kde5 package. No wonder everything got screwed up. Dan
Re: [gentoo-user] KDE 5
On Tue, 12 Jul 2016 22:56:38 +0100, Mick wrote: > Unlike Neil I found Plasma 5 a major climb down from KDE4 in terms of > interface usability. A lot of things were broken and for me still > are. For example Konqueror on my laptop does not integrate with > Dolphin anymore, Oh yes, I agree with that one. -- Neil Bothwick How do you know when it's time to tune your bagpipes? pgpgrmJhk8xiq.pgp Description: OpenPGP digital signature
Re: [gentoo-user] Wireless DHCP takes over resolv.conf
The solution I use when dealing with the problem of network software overwriting '/etc/resolf.conf' is to make that file immutable with 'chattr +i'. Not quite an answer to your question on nameserver prioritization, but could be useful to prevent your nameservers from being changed. -- Marat On 07/09/2016 07:53 AM, Mick wrote: > Hi All, > > I just noticed my resolv.conf is topped up with the nameservers of the > wireless LAN I happen to be associated at the time and my wired ethernet > nameserver(s) are pushed further down. This happens despite the fact that I > have configured my wired ethernet to have a lesser priority than the wired > NIC. > > For example: > > less /etc/resolv.conf > # Generated by dhcpcd from wlan0.dhcp, enp11s0.dhcp > # /etc/resolv.conf.head can replace this line > domain openwifi > nameserver 192.168.22.22 > nameserver 192.168.22.23 > nameserver 10.10.10.254 > # /etc/resolv.conf.tail can replace this line > > The first 3 non-commented entries were produced by wlan0, demoting my wired > ethernet nameserver. > > ip route show > default via 10.10.10.254 dev enp11s0 metric 10 > default via 10.160.95.1 dev wlan0 metric 20 > 10.10.10.0/24 dev enp11s0 proto kernel scope link src 10.10.10.7 metric > 10 > 10.160.95.0/29 dev wlan0 proto kernel scope link src 10.160.95.2 metric > 20 > 127.0.0.0/8 dev lo scope host > > If I am associated, but not authenticated with the wireless LAN, any URLs I > try to visit will be queried with the 192.168.22.2* nameserver, before it > times out and 10.10.10.254 takes over. > > Waiting for URLs to resolve becomes tedious after a while. Is there a way to > prioritise nameservers so that the NIC metric is respected, whenever the > resolv.conf content is updated? >
[gentoo-user] Re: Wireless DHCP takes over resolv.conf
On 2016-07-12, Emanuele Rusconiwrote: > That's why I phrased my suggestion as a question. I'm honestly curious: > aren't DNS servers like Google ones (8.8.8.8 etc.) supposed to be reachable > from anywhere? If you can't reach them, isn't your connectivity inherently > broken? I'm sure I'm missing something here. Oh, I'm sure there's some brain-dead ISP or BofH somewhere who blocks traffic to outside DNS servers. Inevitably it's done in the name of security. Even if 8.8.8.8 is reachable, there may be internal, locally defined hostnames that Google won't know about. That said, after problems with various DNS servers on various networks, I usually default to using 8.8.8.8... -- Grant Edwards grant.b.edwardsYow! Does someone from at PEORIA have a SHORTER gmail.comATTENTION span than me?
[gentoo-user] Re: Is "-fomit-frame-pointer" a gcc default?
On Tue, 12 Jul 2016 12:14:57 -0500 R0b0t1wrote: > Pale Moon is routinely behind Firefox on security fixes (actual fixes, > not wanking-in-a-corner fixes). Is anyone other than the Pale Moon team itself trying to track its vulnerabilities? I could only find one CVE for it, from 2013.
Re: [gentoo-user] executing a command as a nologin user
Am Tue, 12 Jul 2016 22:59:16 +0200 schrieb Alan McKinnon: > On 12/07/2016 22:39, jens w wrote: > > Am Tue, 12 Jul 2016 16:17:42 +0200 > > schrieb wabe : > > > >> jens w wrote: > >> > >>> .procmailrc > >>> :0 c > >>> * !^X-Loop: n...@example.com > >>> | formail -X "From:" | $HOME/bin/script.sh > >>> > >>> procmail.log > >>> procmail: Executing " formail -X "From:" | $HOME/bin/script.sh > >>> > >>> for incoming mail, a script is executed. logfile has the same > >>> entry as it is in other users. but the script do nothing. > >>> > >>> How executing a command as a nologin user? > >> > >> Is script.sh readable and executable for the procmail user? > >> > >> Does script.sh contain a definition for a command interpreter > >> (something like #!/bin/sh)? > > > > yes and yes. > > it works for default user. it does not work for nologin user. > > as workaround I forward the mail to a helper-user, and process it > > there > > > > > > > does that nologin user have a mailbox? A real one, actually on the > disk? real user, real unix useraccount. we will exchange confidential news, but the user can't use pgp. so he has a local mailaccount, so we change news via ssl over my mailserver. when a message arrives for the user, I will send a alert to his aol-account. I test the script before, but it works not on nologin-user.
Re: [gentoo-user] KDE 5
On Tuesday 12 Jul 2016 15:27:36 Philip Webb wrote: > 160712 Mick wrote: > > On Tuesday 12 Jul 2016 20:06:05 Jens Reinemuth wrote: > >> KDE 5 is usable iff you dont use kdepim/akonadi with mailing lists ... > >> As soon as my count of Mails grow over some thousands, > >> Akonadi simply stops working, ie is no longer fetching or displaying > >> Mail. > >> The desktop is cool and stable pim is not really since some versions ago. > > > > I don't use the full plasma desktop, but use KDEPIM and some other KDE > > apps > > with all their unavoidable dependencies. It is usable for me, > > on two machines where akonadi is running on MySQL > > and on my laptop with PostgreSQL. I use Enlightenment as my day to day DE > > and Fluxbox as a fall back. Having to install some parts of Plasma > > does not mean you have to use it as your desktop. > > I'm quite satisfied with Fluxbox & have no intention of using KDE desktop. > > > You need some CPU horsepower and patience > > to let Akonadi index all messages in the database. > > If your PC is resource constrained, > > it'll have trouble managing large mail boxes. > > I remember a Pentium Duo with 4G RAM taking overnight to update mailboxes, > > which in their totality contained more than 125,000 messages. > > When I repeated the exercise with < 5000 messages, the response > > was much more reasonable : it took a few minutes, rather than hours. > > I've been a contented user of Mutt since 1998, so that's no problem. > > BTW Whatever is the point of keeping 125 K mail messages ? > -- at 1 min each , it would take 90 days to read them (without sleep). With Gmail I used to (almost) never delete messages and they accumulated over the years. Kmail searches through them very efficiently. > As for desktop indexing, it's simply an overweight tool > for those too lazy to keep their directories + files in proper order > (smile). It seems to have been invented to try to help users of proprietary > systems which make it difficult to keep track of anything for long. The semantic desktop with database indexing was an attempt of Linux to break into the MSWindows monopoly of the enterprise desktop. The world has moved since, but back then EU money was invested to kick all this off. > Anyone else have comments on using KDE 5 ? -- thanks so far. Unlike Neil I found Plasma 5 a major climb down from KDE4 in terms of interface usability. A lot of things were broken and for me still are. For example Konqueror on my laptop does not integrate with Dolphin anymore, menu icons on Dolphin are not shown, Network places are empty, Kim4 does not show up in the dropdown menu, etc. I noticed the same problems on a desktop which had the full Plasma5 desktop installed. Things are gradually improving, but they are at present a rather retrograde attempt at improving something which was not broken. In other words, similar to the KDE3 to KDE4 migration, but not as bad this time. At least two ex-KDE4 users asked me to remove Plasma from the their desktop and install something different ... -- Regards, Mick signature.asc Description: This is a digitally signed message part.
Re: [gentoo-user] executing a command as a nologin user
Am Tue, 12 Jul 2016 21:54:46 +0100 schrieb Neil Bothwick: > On Tue, 12 Jul 2016 22:39:59 +0200, jens w wrote: > > > > > .procmailrc > > > > :0 c > > > > * !^X-Loop: n...@example.com > > > > | formail -X "From:" | $HOME/bin/script.sh > > > > > > > > procmail.log > > > > procmail: Executing " formail -X "From:" | $HOME/bin/script.sh > > > > > > > > for incoming mail, a script is executed. logfile has the same > > > > entry as it is in other users. but the script do nothing. > > > > > > > > How executing a command as a nologin user? > > > > > > Is script.sh readable and executable for the procmail user? > > > > > > Does script.sh contain a definition for a command interpreter > > > (something like #!/bin/sh)? > > > > yes and yes. > > it works for default user. it does not work for nologin user. > > as workaround I forward the mail to a helper-user, and process it > > there > > So you have copies of the same script in each user's $HOME/bin? Why > not call them from a single location? Are you sure the scripts are > identical? is one user, i will send an alert. > > Does the procmail log give any clues? > > same entry default / nologin user. see above.
Re: [gentoo-user] KDE 5
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 On 07/12/2016 01:30 PM, Philip Webb wrote: > It looks as if in the near future I am going to have to install KDE 5 , > if I want to go on using my regular daily apps Konsole Gwenview Okular ; > yes, I know I can limit exposure to their requirements > & don't need to install the whole desktop system. > > Before I plunge into that, is anyone else using KDE 5 every day ? > What are people's experiences with it ? > I haven't fully migrated yet because I like to test this kind of thing on my test box but it has a very old NV34 (I don't throw good hardware away) video card and both SDDM and KF5 are useless with it. On SDDM only the user icons show, everything else is black. On plasma 5 most images and some UI elements are garbled or black. So if you have old or rare video card check that it works with a live CD before you take the plunge. -BEGIN PGP SIGNATURE- Version: GnuPG v2 iQIcBAEBCAAGBQJXhWQhAAoJEPbOFX/5UlwcsMAP/iv8BmepJOKyhKCOvzvRxk8S h1dtCdFVHc8oJvIf9sBOsprn6mGtlfYSePaPAE50rdJTFvDuXpkvkpfYsVcLTyX8 ssKZDJKdGcDdPOHd0mstjtv4r4xnxc9DjIbhJt55j4O1PTMRY8yEBBWK2BgKykRq qWpzpH5Xorkg/ZOAU7gu+M3z/dmX0V6UbjgZz7YNDllB4rpHAagM2SArPS8ROJsD 6KYErWEuIFLZVPVgfAHZJswYreS5ZXKBt+KgZHVE4P/YU/yK5EL0qNFlZMdiM5zu LmYR+zXYhzDm+fZ93i5uJk6V3aifIugn+mpksM3pJrWfNBTM4riLkD9s1x1lar17 mTB7ClgNq330eon8KqAQ124gTbFHu8Y3IoRIUR/fEfRHerdiiAanEqDUvLlaf/Dv FpgkOWYc6mddthGyzXUXKGWV8qc8kKr+Tl3wpotxPzPOB8ojeVaJxTSdsYyMbpyL N0yNSYhfY2/6ICJ3CDUpIty9wWL2kKF5IpgVbvNKlCYuv6dGQxXrboPGKZ7TOZIR B6qWV0DTFOlGj6gFCVFau1yk/NhAnpALrj2tGiw1F1zUyQEy+iHNgcNZJ5WSuBL6 sWpoD003JQVsDo/wh/1+Ch2zS0cjxmTR+y7bXYvQg8OHHX4StiCPYGBELA6Hqzpm Ts9elhzM2KUNT3TxQsDi =oPX4 -END PGP SIGNATURE-
Re: [gentoo-user] Wireless DHCP takes over resolv.conf
On 11 July 2016 at 17:31, Alan McKinnonwrote: > On 11/07/2016 10:32, Emanuele Rusconi wrote: > > Wouldn't it be better to just use the same servers for both wired and > > wireless? It's what I use and it works flawlessly. > > It works flawlessly *for you*, but by no means can you consider it > correct or stable. > > There is no guarantee that a wired and wireless network will use the > same dns caches. > > If it happens to work, great, use it. But be aware there will come a day > when that is no longer true. That's why I phrased my suggestion as a question. I'm honestly curious: aren't DNS servers like Google ones (8.8.8.8 etc.) supposed to be reachable from anywhere? If you can't reach them, isn't your connectivity inherently broken? I'm sure I'm missing something here. -- Emanuele Rusconi
Re: [gentoo-user] executing a command as a nologin user
On 12/07/2016 22:39, jens w wrote: Am Tue, 12 Jul 2016 16:17:42 +0200 schrieb wabe: jens w wrote: .procmailrc :0 c * !^X-Loop: n...@example.com | formail -X "From:" | $HOME/bin/script.sh procmail.log procmail: Executing " formail -X "From:" | $HOME/bin/script.sh for incoming mail, a script is executed. logfile has the same entry as it is in other users. but the script do nothing. How executing a command as a nologin user? Is script.sh readable and executable for the procmail user? Does script.sh contain a definition for a command interpreter (something like #!/bin/sh)? yes and yes. it works for default user. it does not work for nologin user. as workaround I forward the mail to a helper-user, and process it there does that nologin user have a mailbox? A real one, actually on the disk? Alan
Re: [gentoo-user] executing a command as a nologin user
On Tue, 12 Jul 2016 22:39:59 +0200, jens w wrote: > > > .procmailrc > > > :0 c > > > * !^X-Loop: n...@example.com > > > | formail -X "From:" | $HOME/bin/script.sh > > > > > > procmail.log > > > procmail: Executing " formail -X "From:" | $HOME/bin/script.sh > > > > > > for incoming mail, a script is executed. logfile has the same entry > > > as it is in other users. but the script do nothing. > > > > > > How executing a command as a nologin user? > > > > Is script.sh readable and executable for the procmail user? > > > > Does script.sh contain a definition for a command interpreter > > (something like #!/bin/sh)? > > yes and yes. > it works for default user. it does not work for nologin user. > as workaround I forward the mail to a helper-user, and process it there So you have copies of the same script in each user's $HOME/bin? Why not call them from a single location? Are you sure the scripts are identical? Does the procmail log give any clues? -- Neil Bothwick I don't know if I can assimilate one more Borg Tagline! pgprkqh1qGCpA.pgp Description: OpenPGP digital signature
Re: [gentoo-user] Is "-fomit-frame-pointer" a gcc default?
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 On 07/11/2016 04:51 PM, J. García wrote: > El lun, 11-07-2016 a las 16:27 -0400, waltd...@waltdnes.org escribió: >> I put it into CFLAGS/CCFLAGS years ago, and left it there. During >> a >> discussion on the Pale Moon forum about build options, the opinion >> seems >> to be that "-fomit-frame-pointer" is now the default. Is that >> correct? >> I'd like to simplify my CFLAGS/CCFLAGS both in Gentoo and the Pale >> Moon >> build process. >> > I think it is, at least here it is a default, you can find out by > running: > gcc -c -Q --help=optimizers > > It gets activated with -O, and -O2 is the default in Gentoo, so it > should be. No. At least for me it is -O0. I tested by compiling a small program with different options and diffing the binaries. You can get a definitive answer for any gcc option defaults like that. As long as your test program is complex enough to use those features. You can also diff the output of the -f and -fno flags and if they don't differ then either the test program is not complex enough or the feature has not effect on your arch or platform. > From the gcc manual: > "-O also turns on -fomit-frame-pointer on machines where doing so does > not interfere with debugging." > -BEGIN PGP SIGNATURE- Version: GnuPG v2 iQIcBAEBCAAGBQJXhVkRAAoJEPbOFX/5Ulwcpi4P/2btg0u+HquLcpHQnw7Ja/KT 8Y0rOPeU38aL0vbI3Qfc/9cLjlZbdsK7G53GYhdOVMhbO5h8OxZiKQraIErTJmhC BFR4tZosCft636jsEDD1H5XlmjpeBmvt+YnwnUSXOJe6mjqzpaV1Cyj2ikjQIm3p etoZQ2odXOCHS4zYA9td1HA6/W3C/frCYXr18w3Nx5qO8BbCzFZx6vxC8ts9krym xkg3EZhShPnyOIfSkZNq3yotnRoiN1JFZjr1hzfEaMnNlMfn5T6a1hHHUs3/khsP aQMlLZAbnxpjNQTslLvEsLPhCwqPylJXa28iHD4SvbGrz9PvCWkOsbIB1XN6J0f2 ZYnHBZ0ZGF8CMdLsIF6SEbseIeq41Wxy3iKH5LpP6TWMRL3RGFAHG8VZAJoxH/fI l2WsVLotAHfdg6Zm2cx/ZxQQyjtQl1lohfhY+NtWHhLymrWpZl5aiiTsty7DBjKa M3y9kX0q9CcixK868jRgB11wtWGXp0jMzBs052Y0zpB6IPWx/h9Xc5eTqVjKd18Z teioIIAGUUkIobNuC6Yo9RVSHS7vjVBYSLPD1uiOnxkTFL9zzWvc+gtYRY2NCzhj ZRg1OPFGgXQW9SoKlpMw6G0nrtx/zO7aQzRWD15JzafdCa9PckegAidpoEJg11cg VewJz+zagKPgGAl1euw1 =1mBf -END PGP SIGNATURE-
[gentoo-user] KDE 5
As you talking about KDE 5, tell me something, nowadays is a good moment to migrate from KDE 4? I only use mplayer, firefox, wine and simple diary apps. Is it a reliable choice to migrate?
Re: [gentoo-user] executing a command as a nologin user
Am Tue, 12 Jul 2016 16:17:42 +0200 schrieb wabe: > jens w wrote: > > > .procmailrc > > :0 c > > * !^X-Loop: n...@example.com > > | formail -X "From:" | $HOME/bin/script.sh > > > > procmail.log > > procmail: Executing " formail -X "From:" | $HOME/bin/script.sh > > > > for incoming mail, a script is executed. logfile has the same entry > > as it is in other users. but the script do nothing. > > > > How executing a command as a nologin user? > > Is script.sh readable and executable for the procmail user? > > Does script.sh contain a definition for a command interpreter > (something like #!/bin/sh)? yes and yes. it works for default user. it does not work for nologin user. as workaround I forward the mail to a helper-user, and process it there
Re: [gentoo-user] KDE 5
As you talking about KDE 5, tell me something, nowadays is a good moment to migrate from KDE 4? I only use mplayer, firefox, wine and simple diary apps. Is it a reliable choice to migrate?
Re: [gentoo-user] KDE 5
160712 Mick wrote: > On Tuesday 12 Jul 2016 20:06:05 Jens Reinemuth wrote: >> KDE 5 is usable iff you dont use kdepim/akonadi with mailing lists ... >> As soon as my count of Mails grow over some thousands, >> Akonadi simply stops working, ie is no longer fetching or displaying Mail. >> The desktop is cool and stable pim is not really since some versions ago. > I don't use the full plasma desktop, but use KDEPIM and some other KDE apps > with all their unavoidable dependencies. It is usable for me, > on two machines where akonadi is running on MySQL > and on my laptop with PostgreSQL. I use Enlightenment as my day to day DE > and Fluxbox as a fall back. Having to install some parts of Plasma > does not mean you have to use it as your desktop. I'm quite satisfied with Fluxbox & have no intention of using KDE desktop. > You need some CPU horsepower and patience > to let Akonadi index all messages in the database. > If your PC is resource constrained, > it'll have trouble managing large mail boxes. > I remember a Pentium Duo with 4G RAM taking overnight to update mailboxes, > which in their totality contained more than 125,000 messages. > When I repeated the exercise with < 5000 messages, the response > was much more reasonable : it took a few minutes, rather than hours. I've been a contented user of Mutt since 1998, so that's no problem. BTW Whatever is the point of keeping 125 K mail messages ? -- at 1 min each , it would take 90 days to read them (without sleep). As for desktop indexing, it's simply an overweight tool for those too lazy to keep their directories + files in proper order (smile). It seems to have been invented to try to help users of proprietary systems which make it difficult to keep track of anything for long. Anyone else have comments on using KDE 5 ? -- thanks so far. -- ,, SUPPORT ___//___, Philip Webb ELECTRIC /] [] [] [] [] []| Cities Centre, University of Toronto TRANSIT`-O--O---' purslowatchassdotutorontodotca
Re: [gentoo-user] KDE 5
On Tue, 12 Jul 2016 13:30:58 -0400, Philip Webb wrote: > It looks as if in the near future I am going to have to install KDE 5 , > if I want to go on using my regular daily apps Konsole Gwenview Okular ; > yes, I know I can limit exposure to their requirements > & don't need to install the whole desktop system. > > Before I plunge into that, is anyone else using KDE 5 every day ? > What are people's experiences with it ? I've been using KDE 5 for months. There were a few glitches at first, but it's been fine recently. I don't use KMail, I've never liked it, or any part of KDEPIM. -- Neil Bothwick A real programmer never documents his code. It was hard to make, it should be hard to read pgpqrnPFjV539.pgp Description: OpenPGP digital signature
Re: [gentoo-user] KDE 5
Having to install some parts of Plasma does not mean you have to use it as your desktop. On Tuesday 12 Jul 2016 20:06:05 Jens Reinemuth wrote: > Hi... > > I am using kde5 daily at work in a PC and a laptop, @ home in an other PC... > It is usable as long as you dont use kdepim / akonadi with e.g. mailing > lists... I don't use the full plasma desktop, but use KDEPIM and some other KDE apps with all their unavoidable dependencies. It is usable for me, on two machines where akonadi is running on MySQL and on my laptop with PostgreSQL. I use enlightenment as my day to day DE and Fluxbox as a fall back. > As soon as my count of Mails grow over some thousands, akonadi > simply stops working, that means is no longer fetching or displaying > Mails... so yes, the desktop is cool and stable pim is not really since > some versions... You need some CPU horsepower and patience to let akonadi index all messages in the database. If your PC is resource constrained it'll have trouble managing large mail boxes. I remember a Pentium Duo with 4G RAM taking overnight to update my mailboxes, which in their totality contained more than 125,000 messages. When I repeated the exercise with fewer messages (less than 5,000) the response was much more reasonable. it took a few minutes, rather than hours. -- Regards, Mick signature.asc Description: This is a digitally signed message part.
Re: [gentoo-user] KDE 5
Hi... I am using kde5 daily at work in a PC and a laptop, @ home in an other PC... It is usable as long as you dont use kdepim / akonadi with e.g. mailing lists... As soon as my count of Mails grow over some thousands, akonadi simply stops working, that means is no longer fetching or displaying Mails... so yes, the desktop is cool and stable pim is not really since some versions... Am 12. Juli 2016 19:30:58 MESZ, schrieb Philip Webb: >It looks as if in the near future I am going to have to install KDE 5 , >if I want to go on using my regular daily apps Konsole Gwenview Okular >; >yes, I know I can limit exposure to their requirements >& don't need to install the whole desktop system. > >Before I plunge into that, is anyone else using KDE 5 every day ? >What are people's experiences with it ? > >-- >,, >SUPPORT ___//___, Philip Webb >ELECTRIC /] [] [] [] [] []| Cities Centre, University of Toronto >TRANSIT`-O--O---' purslowatchassdotutorontodotca -- Diese Nachricht wurde von meinem Android-Mobiltelefon mit K-9 Mail gesendet.
Re: [gentoo-user] Re: Konsole
On 07/11/2016 08:47 PM, konsolebox wrote: > On Tue, Jul 12, 2016 at 10:29 AM, Daniel Freywrote: >> On 07/11/2016 06:06 PM, Daniel Frey wrote: >>> I would think that if eshowkw is picking up things in the kde-sunset >>> overlay it would be indicated in the repo column? >>> >>> However, I don't see any kde4 packages. Maybe they're still moving them >>> over? >>> >>> Dan >>> >>> >>> >> >> I really shouldn't try troubleshooting when tired... >> >> I had to explictly do: >> >> emerge -pv =kde-apps/kde-meta-4.14.3-r1 > > The file is in there: > > # ls /var/local/overlays/kde-sunset/kde-apps/kde-meta/ > kde-meta-4.14.3-r1.ebuild metadata.xml > >> However, if I try to update @world, it still wants to drag in a bunch of >> kde5 crap. > > You have to mask packages. > > `USE='-wayland' emerge -pvet kde-apps/kde-meta` shows this mask works. > (Just for testing. Don't run `emerge` with `-e`.) > > # shopt -s extglob > # ( printf '%s\n' kde-frameworks/\* kde-plasma/\*; cd /usr/portage; > printf '>=%s-15\n' kde-apps/!(kde4*|kde-wallpapers) ) > > /etc/portage/package.mask/kde5+.mask > >> I think this is due to kdelibs. And of course they've removed the old >> kdelibs from the tree: >> >> # equery list kdelibs >> * Searching for kdelibs ... >> [I--] [??] kde-base/kdelibs-4.14.16:4/4.14 >> >> I also appears that old kde4 versions of kdelibs are not in kde-sunset >> (yet?) or maybe it's not planned to put one there. > > kdelibs-4 is still in `gentoo`: > > # ls /usr/portage/kde-base/kdelibs/ > files kdelibs-4.14.20-r2.ebuild kdelibs-4.14.21.ebuild Manifest > metadata.xml > I did manually mask everything, I added yours to it as well, but emerge still wants to pull in qt5 and a bunch of stuff not needed. I've attached the emerge output - you can see it's pulling masked packages in. I can't figure out what wants to pull in all the qt5 stuff. I've already manually installed the packages from kde-sunset: # emerge -pv kde-meta These are the packages that would be merged, in order: Calculating dependencies... done! [ebuild R] kde-apps/kde-meta-4.14.3-r1:4::kde-sunset USE="nls -accessibility (-aqua) -kdepim -minimal -sdk" 0 KiB Total: 1 package (1 reinstall), Size of downloads: 0 KiB ...but a world update wants to change everything. And I can't figure out how to read the tree output from emerge. I've attached that too. Oh, I also read the manpage for eshowkw and it doesn't show packages from overlays by default. You have to use the -O switch, then it shows it. One more thing to remember... Dan # emerge -pvuDN world These are the packages that would be merged, in order: Calculating dependencies... done! [ebuild U ] app-arch/bzip2-1.0.6-r7::gentoo [1.0.6-r6::gentoo] USE="-static -static-libs" ABI_X86="32 (64) (-x32)" 0 KiB [ebuild U ] dev-libs/expat-2.1.1-r2::gentoo [2.1.0-r5::gentoo] USE="unicode -examples -static-libs" ABI_X86="32 (64) (-x32)" 396 KiB [ebuild U ] sys-apps/debianutils-4.7::gentoo [4.4::gentoo] USE="-static" 153 KiB [ebuild U ] sys-apps/which-2.21::gentoo [2.20-r1::gentoo] 146 KiB [ebuild U ] www-plugins/chrome-binary-plugins-51.0.2704.106:stable::gentoo [51.0.2704.103:stable::gentoo] USE="flash widevine" 48,134 KiB [ebuild U ] media-libs/libpng-1.6.21:0/16::gentoo [1.6.19:0/16::gentoo] USE="apng (-neon) -static-libs" ABI_X86="32 (64) (-x32)" 932 KiB [ebuild U ] sys-libs/cracklib-2.9.6::gentoo [2.9.1-r1::gentoo] USE="nls zlib -python -static-libs {-test}" ABI_X86="32 (64) (-x32)" PYTHON_TARGETS="python2_7" 628 KiB [ebuild U ] sys-libs/timezone-data-2016d::gentoo [2016c::gentoo] USE="nls -leaps_timezone" 494 KiB [ebuild U ] sys-apps/file-5.25::gentoo [5.22::gentoo] USE="zlib -python -static-libs" ABI_X86="(64) -32 (-x32)" PYTHON_TARGETS="python2_7 python3_4 (-pypy) -python3_3" 723 KiB [ebuild U ] sys-devel/m4-1.4.17::gentoo [1.4.16::gentoo] USE="-examples" 1,123 KiB [ebuild U ] dev-libs/libksba-1.3.4::gentoo [1.3.3::gentoo] USE="-static-libs" 605 KiB [ebuild U ] sys-apps/sysvinit-2.88-r9::gentoo [2.88-r7::gentoo] USE="(-ibm) (-selinux) -static" 0 KiB [ebuild U ] dev-lang/nasm-2.12.01::gentoo [2.11.08::gentoo] USE="-doc" 762 KiB [ebuild U ] media-libs/libjpeg-turbo-1.5.0::gentoo [1.4.2::gentoo] USE="-java -static-libs" ABI_X86="32 (64) (-x32)" 1,616 KiB [ebuild U ] dev-perl/TermReadKey-2.330.0::gentoo [2.300.200-r1::gentoo] 81 KiB [ebuild U ] dev-perl/Test-Deep-1.120.0::gentoo [0.110.0-r2::gentoo] USE="{-test}" 39 KiB [ebuild U ] dev-util/desktop-file-utils-0.23::gentoo [0.22::gentoo] USE="-emacs" 129 KiB [ebuild U ] media-libs/freetype-2.6.3-r1:2::gentoo [2.5.5:2::gentoo] USE="X adobe-cff bzip2 png -bindist -debug -doc -fontforge -harfbuzz -infinality -static-libs -utils (-auto-hinter%)" ABI_X86="32 (64) (-x32)" 1,712 KiB [ebuild U ] app-misc/pax-utils-1.1.6::gentoo [1.0.3::gentoo] USE="seccomp%* -caps -debug% -python" 633 KiB [ebuild N ]
[gentoo-user] KDE 5
It looks as if in the near future I am going to have to install KDE 5 , if I want to go on using my regular daily apps Konsole Gwenview Okular ; yes, I know I can limit exposure to their requirements & don't need to install the whole desktop system. Before I plunge into that, is anyone else using KDE 5 every day ? What are people's experiences with it ? -- ,, SUPPORT ___//___, Philip Webb ELECTRIC /] [] [] [] [] []| Cities Centre, University of Toronto TRANSIT`-O--O---' purslowatchassdotutorontodotca
Re: [gentoo-user] Is "-fomit-frame-pointer" a gcc default?
Pale Moon is routinely behind Firefox on security fixes (actual fixes, not wanking-in-a-corner fixes).
Re: [gentoo-user] Using SSH around the LAN
On Tue Jul 12 16:42:12 2016, Peter Humphrey wrote: > Hello list, > > I remember some time ago reading a guide on the Web to using ssh and keychain > to simplify routine tasks, but now I can't find it. > > What I want to do is to use scp, ssh and rsync to copy files and directories > from one local machine to another, without having to submit a password on > every occasion. I want to be able to do this as myself, as portage or as root. > > Is there a guide to setting up password-less authentication to enable me to > do > this? Hi, You can use a password-less key and you will not be prompted to enter a password. -- alarig signature.asc Description: Digital signature
Re: [gentoo-user] Using SSH around the LAN
On Tue, Jul 12, 2016 at 10:42 AM, Peter Humphreywrote: > Is there a guide to setting up password-less authentication to enable me to do > this? > > -- > Rgds > Peter http://askubuntu.com/questions/46930/how-can-i-set-up-password-less-ssh-login First one is free...
Re: [gentoo-user] Using SSH around the LAN
On 12/07/2016 17:42, Peter Humphrey wrote: > Hello list, > > I remember some time ago reading a guide on the Web to using ssh and keychain > to simplify routine tasks, but now I can't find it. > > What I want to do is to use scp, ssh and rsync to copy files and directories > from one local machine to another, without having to submit a password on > every occasion. I want to be able to do this as myself, as portage or as root. > > Is there a guide to setting up password-less authentication to enable me to > do > this? > http://www.funtoo.org/Keychain Note that you, portage and root are 3 different users, so you must make key pairs for reach on each source machine you will ssh from. Then you need to add each of those user's public keys to each destination user's authorized_keys file on each machine you want to ssh to. That can be a lot of key copying :-) 3 x 3 x # of machines Finally, on each machine you will ssh from and as each user who will do the ssh'ing, you must run keychain at least once to store the key creds. They should then persist until reboot, when you must run keychain again for each user. The idea is that a given user's keychain creds are valid over all that user's login sessions on a machine. User's cannot share each other's keychain -- Alan McKinnon alan.mckin...@gmail.com
[gentoo-user] Using SSH around the LAN
Hello list, I remember some time ago reading a guide on the Web to using ssh and keychain to simplify routine tasks, but now I can't find it. What I want to do is to use scp, ssh and rsync to copy files and directories from one local machine to another, without having to submit a password on every occasion. I want to be able to do this as myself, as portage or as root. Is there a guide to setting up password-less authentication to enable me to do this? -- Rgds Peter
Re: [gentoo-user] executing a command as a nologin user
jens wwrote: > .procmailrc > :0 c > * !^X-Loop: n...@example.com > | formail -X "From:" | $HOME/bin/script.sh > > procmail.log > procmail: Executing " formail -X "From:" | $HOME/bin/script.sh > > for incoming mail, a script is executed. logfile has the same entry as > it is in other users. but the script do nothing. > > How executing a command as a nologin user? Is script.sh readable and executable for the procmail user? Does script.sh contain a definition for a command interpreter (something like #!/bin/sh)? -- Regards wabe
Re: [gentoo-user] Is "-fomit-frame-pointer" a gcc default?
On Tue, Jul 12, 2016 at 6:07 PM, Andrew Savchenkowrote: > Hi, > > On Mon, 11 Jul 2016 16:27:42 -0400 waltd...@waltdnes.org wrote: >> I put it into CFLAGS/CCFLAGS years ago, and left it there. During a >> discussion on the Pale Moon forum about build options, the opinion seems >> to be that "-fomit-frame-pointer" is now the default. Is that o? >> I'd like to simplify my CFLAGS/CCFLAGS both in Gentoo and the Pale Moon >> build process. > > gcc-5.3.0 manual says: > The default setting (when not optimizing for size) for 32-bit > GNU/Linux x86 and 32-bit Darwin x86 targets is > -fomit-frame-pointer. You can configure GCC with the > --enable-frame-pointer configure option to change the default. And this was first mentioned in 4.6.0's changelog, but I don't see anything about x86_64. -- konsolebox
Re: [gentoo-user] Is "-fomit-frame-pointer" a gcc default?
Hi, On Mon, 11 Jul 2016 16:27:42 -0400 waltd...@waltdnes.org wrote: > I put it into CFLAGS/CCFLAGS years ago, and left it there. During a > discussion on the Pale Moon forum about build options, the opinion seems > to be that "-fomit-frame-pointer" is now the default. Is that o? > I'd like to simplify my CFLAGS/CCFLAGS both in Gentoo and the Pale Moon > build process. gcc-5.3.0 manual says: The default setting (when not optimizing for size) for 32-bit GNU/Linux x86 and 32-bit Darwin x86 targets is -fomit-frame-pointer. You can configure GCC with the --enable-frame-pointer configure option to change the default. So it depends not only on the arch, but also on how gcc was compiled. Strange, but here Gentoo x86 I have -fomit-frame-pointer disabled by default, so either gcc manpage is wrong or Gentoo disables frame pointer during gcc configuration (I can't confirm the latter after digging into toolchain eclass). This flag is yummy on amd64 and very important on x86, since x86 has only 8 "general purpose" CPU registers, 4 of which have special use, so only 4 are available for general computations and 1 of them is wasted on frame-pointer, not nice. The cost of extra register is that profiling is no longer possible and debugging may be mangled a bit. Looks like -fpic disables -fomit-frame-pointer at least for some pieces of the code: hand-written 4-registers assembly makes -fpic fail in some cases on x86 (e.g. ffmpeg). Best regards, Andrew Savchenko pgpR2ZOUwzOdB.pgp Description: PGP signature
[gentoo-user] Re: Is "-fomit-frame-pointer" a gcc default?
On Mon, 11 Jul 2016 19:23:24 -0600, "J." García wrote: > El lun, 11-07-2016 a las 20:47 -0400, waltd...@waltdnes.org escribió: >> On Tue, Jul 12, 2016 at 01:48:37AM +0200, Volker Armin Hemmann wrote >> >> > so it is not turned on on x86. Not sure about amd64. IIRC it is >> > default >> > on amd64, but I am not sure and too lazy to google. Just like the >> > thread >> > starter. >> >> Actually, I did Google. So did another particpant in the Pale Moon >> forum. We got different answers, and various other people chimed in. >> That's why I posted here. BTW, "gcc -O2 -Q --help=optimizers" >> returns >> >> -fomit-frame-pointer [disabled] >> >> ...in both my real 64-bit Gentoo install and my 32-bit VM Gentoo. >> > I made a mistake, I didn't ran the 'gcc -Q .." command correctly, a > typo, so I didn't really checked just got the list of optimizers, but > checking again I also have it disabled by default: > > $ gcc -c -march=core2 -O2 -Q --help=optimizers |\ > grep fomit-frame-pointer > -fomit-frame-pointer[disabled] No, gcc is just lying. See this reddit comment thread for details: https://www.reddit.com/r/Cprog/comments/2iv09b/frame_pointer_omission_fpo_optimization_and/ Running the 'gcc -v' snippet shows that -fomit-frame-pointer is indeed enabled by default on amd64. -h