Re: [gentoo-user] System76 Hardware

2015-10-02 Thread Emanuele Rusconi
On 2 October 2015 at 10:28, Nuno Magalhães  wrote:

>
> [1] http://www.pcidatabase.com/
>

I didn't know that. It doesn't seem to have System76 in the database,
though.

Once you have your hands on the laptop, this site can help you to know
which drivers you need to build in the kernel:

http://kmuto.jp/debian/hcl/

-- Emanuele


Re: [gentoo-user] System76 Hardware

2015-10-02 Thread Nuno Magalhães
I'd say the method is the same as with any other laptop: pick one
specific model, look into its hardware (this[1] and a liveCD may be
handy), search for drivers, search "gento" + ,
follow the handbook.
You have the slight assurance those laptops are built with linux in
mind; anything else is just business as usual.

Cheers,
Nuno

[1] http://www.pcidatabase.com/



Re: [gentoo-user] Re: Using KDE apps in a non KDE environment

2015-10-02 Thread Alan McKinnon
On 02/10/2015 17:42, Grant Edwards wrote:
> On 2015-10-02, Andrew Lowe  wrote:
>> Hi all,
>>  I'm getting disillusioned with the direction KDE is taking, with
>> respect to forcing users to use things they don't want to. The semantic
>> desktop, or whatever they are now calling bits and pieces of it, is one
>> thing that comes immediately to mind.
>>
>>  Anyway, I've decided to move on and am thinking of going to lxqt. The
>> problem is that I'm used to several KDE apps, kwooty, kwrite and a few
>> more. Is it possible to run something such as lxqt and then emerge in
>> kde apps where it will bring in just a few kde libraries, which I can
>> live with, but not the whole desktop environment?
> 
> Yes, for some value of "a few libraries".
> 
> I've used KDE apps on XFCE systems (which is gtk based).  It can be
> done. It requires a lot of KDE librarys, but you don't have to use the
> KDE desktop.
> 
> But, in my experience, whenever there's a major upgrade to KDE and you
> have KDE apps that require different versions of libraries, or
> backwards compatibility features built into libraries, it gets ugly
> fast.  At that point, I ususally end up uninstalling all KDE apps/libs
> and doing without for a while.


With situations like this, one has to apply some intelligence (and the
reverse is also true - running gtk/Gnome apps on a KDE system). A few
simple apps like say okular or konsole will be very manageable, as they
have specific narrow functionality and are not core.

As soon as you get into apps like dolphin or, god forbid, plasma - then
the wheels come off. Both those things hook into core KDE functionality
and go to the heart of what makes KDE KDE. Plasma in the context of gtk
doesn't make any sense to me, plasma really is intended to drive the
heart of a KDE desktop. ANd god help anyone that tries to run anything
with kdepim in it - that abomination should not even run on KDE!

I have the reverse here, a few GTK apps on a KDE desktop and it's very
manageable. The main apps are handbrake, firefox, thunderbird. I see no
reason why the opposite wouldn't also be true if the admin is smart


-- 
Alan McKinnon
alan.mckin...@gmail.com




[gentoo-user] Re: Using KDE apps in a non KDE environment

2015-10-02 Thread Grant Edwards
On 2015-10-02, Andrew Lowe  wrote:
> Hi all,
>   I'm getting disillusioned with the direction KDE is taking, with
> respect to forcing users to use things they don't want to. The semantic
> desktop, or whatever they are now calling bits and pieces of it, is one
> thing that comes immediately to mind.
>
>   Anyway, I've decided to move on and am thinking of going to lxqt. The
> problem is that I'm used to several KDE apps, kwooty, kwrite and a few
> more. Is it possible to run something such as lxqt and then emerge in
> kde apps where it will bring in just a few kde libraries, which I can
> live with, but not the whole desktop environment?

Yes, for some value of "a few libraries".

I've used KDE apps on XFCE systems (which is gtk based).  It can be
done. It requires a lot of KDE librarys, but you don't have to use the
KDE desktop.

But, in my experience, whenever there's a major upgrade to KDE and you
have KDE apps that require different versions of libraries, or
backwards compatibility features built into libraries, it gets ugly
fast.  At that point, I ususally end up uninstalling all KDE apps/libs
and doing without for a while.

-- 
Grant Edwards   grant.b.edwardsYow! I'm in direct contact
  at   with many advanced fun
  gmail.comCONCEPTS.




Re: [gentoo-user] Failure to start md at boot

2015-10-02 Thread Peter Humphrey
On Sunday 31 May 2015 10:01:43 I wrote:
> I've split this out from the previous thread because it was getting messy.
> I'd followed Rich Freeman's advice to specify arrays by UUID in mdadm.conf,
> and this is what happened:
> 
> On Friday 29 May 2015 01:10:52 I wrote:
> > OK, so this is what I have at present. I haven't booted with it yet to
> > test
> > it - I'll do that in the morning:
> > 
> > DEVICE /dev/sd[abcde][123456789]
> > ARRAY /dev/md1 UUID=ea156c7f:183ca28e:c44c77eb:7ee19756
> > ARRAY /dev/md5 UUID=e7640378:966a5b3a:c44c77eb:7ee19756
> > ARRAY /dev/md7 UUID=c2d056c4:9118021f:ad73c633:b38fa97c
> 
> Specifying the UUIDs hasn't helped. I still get failure to start /dev/md7
> during boot as often as not.

What I hope will be the final postscript:

I did eventually find the right setup, thus:

# cat /etc/mdadm.conf
# mdadm configuration file
#
DEVICE /dev/sd[ab][123456789]
ARRAY /dev/md1 metadata=0.90 UUID=0240695f:38fe6523:7bfe4778:da957cc1
ARRAY /dev/md5 metadata=0.90 UUID=a6a8a1bf:f7058f1d:7bfe4778:da957cc1
ARRAY /dev/md7 metadata=1.2 UUID=77f93f10:1ff22cae:81c5117d:5c25873e
ARRAY /dev/md8 metadata=0.90 UUID=ce921c64:3685e8c7:7bfe4778:da957cc1
ARRAY /dev/md9 metadata=1.2 UUID=0f74fff3:cdae1a64:0a44d949:4f1ad406

But I was still getting occasional failures of /dev/md7 to start - this 
contains all except the root and boot partitions of my everyday system, in 
LVM. It turns out that I had the wrong UUID specified in the file above, but 
nevertheless, almost always the system found the right devices to start. Now 
that I've corrected it I don't expect any more failures (that's what I meant 
when I said I hope this is the final postscript.)

In case anyone's interested, I've been installing a qt5 equivalent of my main 
system, using md8 as the root partition and md9 (plus LVM) for everything 
else. Oh, except /boot, which is md1 in common with the main system. My fstabs 
are getting long and complicated!

-- 
Rgds
Peter




Re: [gentoo-user] Re: Using KDE apps in a non KDE environment

2015-10-02 Thread Walter Dnes
On Fri, Oct 02, 2015 at 06:30:03PM +0200, Alan McKinnon wrote

> With situations like this, one has to apply some intelligence (and the
> reverse is also true - running gtk/Gnome apps on a KDE system). A few
> simple apps like say okular or konsole will be very manageable, as they
> have specific narrow functionality and are not core.

  You'd be surprised.  First some background on my system.  When I
installed it as 32-bit years ago, I went with USE="-*" like so...

USE="-* a52 aac bzip2 cxx fortran ncurses netifrc nptl nptlonly nsplugin
offensive openssl posix readline ssl threads vim-syntax zlib X dga dri
exif ffmpeg flac classic gif intel jpeg mng mp3 mpeg ogg opengl png rtmp
theora tiff truetype vorbis xcomposite webm x264 xpm xv xvid xvmc"

  When I re-did it as 64-bit, I went to "the regular way" like so...

USE="X apng bindist ffmpeg jpeg png truetype x264 x265 xorg -acl -berkdb
-chatzilla -cracklib -crypt -gallium -gdbm -gmp-autoupdate -graphite
-gstreamer -iconv -introspection -ipc -iptables -ipv6 -libav -llvm -nls
-openmp -pam -pch -roaming -sendmail -tcpd -udev -udisks -unicode
-upower -xinerama"

  When Xpdf was deprecated, I eventually settled on mupdf, which is nice
and lightweight.  I skipped okular, because it brought in a big chunk of
KDE.  Just for s and giggles, I had a look today at what would be
required to build okular on my system.  Repeat emerge commands showed
that my package.use would require the following extras...

dev-qt/qtcore qt3support
app-text/poppler qt4
dev-qt/qtsql qt3support
dev-qt/qtgui qt3support
sys-apps/dbus X
media-video/vlc dbus ogg vorbis
sys-libs/zlib minizip
sys-libs/ncurses unicode
sys-auth/consolekit policykit
dev-qt/qtdeclarative qt3support
dev-qt/qtopengl qt3support

  File-attached is the "emerge -pv okular" output.  To summarize...
Total: 53 packages (50 new, 3 reinstalls), Size of downloads: 329,492 KiB

...because a pdf-reader really needs libogg, libvorbis, www-misc/htdig,
qtcore-4.8.6-r4, 2 versions of qtgui, qt3support, qtwebkit, libdbusmenu,
strigi, spidermonkey, phonon, vlc, polkit, consolekit, etc, etc.

  Similarly, gnumeric is a great spreadsheet, but it's being loaded
with a ton of egregiously unnecessary GNOME dependancies, via gtk3
and goffice.  Remember when Bill Gates showed how IE.EXE was an
eensy-weensy-teensy-itty-bitty little program that you could easily
remove?  But he failed to mention that it was merely an interface to a
whole bunch of Windows libraries that were continuously running in the
background.  Similarly, gnumeric has been adding hard dependancies on
various GNOME libraries over time.

  I try to keep a minimal profile.  Every so often, stuff like dbus,
harfbuzz, ghostscript, etc, etc, have been added as hard dependancies
to gnumeric.  I'd be willing to contribute money to developers who would
fork gnumeric, and move it off of GTK and on to FTLK (Fast Light Tool
Kit) http://www.fltk.org/index.php and get rid of hard dependancies on
a bunch of GNOME stuff.

-- 
Walter Dnes 
I don't run "desktop environments"; I run useful applications



Re: [gentoo-user] Re: Using KDE apps in a non KDE environment

2015-10-02 Thread Walter Dnes
On Fri, Oct 02, 2015 at 04:33:09PM -0400, Walter Dnes wrote
> 
>   File-attached is the "emerge -pv okular" output.  To summarize...
> Total: 53 packages (50 new, 3 reinstalls), Size of downloads: 329,492 KiB

  Oops; forgot the attachment.  Here it is...

-- 
Walter Dnes 
I don't run "desktop environments"; I run useful applications


e_okular.txt.gz
Description: Binary data


Re: [gentoo-user] Re: Using KDE apps in a non KDE environment

2015-10-02 Thread Neil Bothwick
On Fri, 2 Oct 2015 16:33:09 -0400, Walter Dnes wrote:

>   File-attached is the "emerge -pv okular" output.  To summarize...
> Total: 53 packages (50 new, 3 reinstalls), Size of downloads: 329,492
> KiB
> 
> ...because a pdf-reader really needs libogg, libvorbis, www-misc/htdig,
> qtcore-4.8.6-r4, 2 versions of qtgui, qt3support, qtwebkit, libdbusmenu,
etc.

That's because Okular is not a PDF reader, it's a "Universal document
viewer", so it needs to support a lot of formats and protocols. That
does mean that if you need a simple PDF reader and don't run KDE, Okular
may well be way OTT, but it is very good at handling PDFs and forms.


-- 
Neil Bothwick

A real programmer never documents his code.
It was hard to make, it should be hard to read


pgpv6zZUkK8kD.pgp
Description: OpenPGP digital signature


Re: [gentoo-user] System76 Hardware

2015-10-02 Thread Rich Freeman
On Fri, Oct 2, 2015 at 4:28 AM, Nuno Magalhães  wrote:
> I'd say the method is the same as with any other laptop: pick one
> specific model, look into its hardware (this[1] and a liveCD may be
> handy), search for drivers, search "gento" + ,
> follow the handbook.
> You have the slight assurance those laptops are built with linux in
> mind; anything else is just business as usual.

Unless they or Ubuntu are carrying out-of-mainline drivers I'd say
your assurance is more than slight, but I'm not reimbursing you if for
some reason it doesn't work.  :)

If you want to run a 2.6-series kernel on it you could have problems,
but if you don't mind running a recent stable (ie what Gentoo ships by
default anyway) I suspect you'll be fine.  Worst case you'll just run
closer to bleeding-edge on ~arch for the kernel for a few months until
longterm catches up, and lots of people around here run ~arch anyway.

-- 
Rich



RE: [gentoo-user] System76 Hardware

2015-10-02 Thread Hunter Jozwiak


-Original Message-
From: freemanr...@gmail.com [mailto:freemanr...@gmail.com] On Behalf Of Rich 
Freeman
Sent: Friday, October 2, 2015 18:02
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] System76 Hardware

On Fri, Oct 2, 2015 at 4:28 AM, Nuno Magalhães  wrote:
> I'd say the method is the same as with any other laptop: pick one 
> specific model, look into its hardware (this[1] and a liveCD may be 
> handy), search for drivers, search "gento" + , 
> follow the handbook.
> You have the slight assurance those laptops are built with linux in 
> mind; anything else is just business as usual.

Unless they or Ubuntu are carrying out-of-mainline drivers I'd say your 
assurance is more than slight, but I'm not reimbursing you if for some reason 
it doesn't work.  :)

If you want to run a 2.6-series kernel on it you could have problems, but if 
you don't mind running a recent stable (ie what Gentoo ships by default anyway) 
I suspect you'll be fine.  Worst case you'll just run closer to bleeding-edge 
on ~arch for the kernel for a few months until longterm catches up, and lots of 
people around here run ~arch anyway.

--
Rich
I will be running to ~arch on install anyways.




Re: [gentoo-user] Using KDE apps in a non KDE environment

2015-10-02 Thread Rich Freeman
On Fri, Oct 2, 2015 at 1:30 AM, Alan McKinnon  wrote:
> On 02/10/2015 05:31, Andrew Lowe wrote:
>> Hi all,
>>   I'm getting disillusioned with the direction KDE is taking, with
>> respect to forcing users to use things they don't want to. The semantic
>> desktop, or whatever they are now calling bits and pieces of it, is one
>> thing that comes immediately to mind.
>>
>>   Anyway, I've decided to move on and am thinking of going to lxqt. The
>> problem is that I'm used to several KDE apps, kwooty, kwrite and a few
>> more. Is it possible to run something such as lxqt and then emerge in
>> kde apps where it will bring in just a few kde libraries, which I can
>> live with, but not the whole desktop environment?
>
> Yes. Remove all of KDE then emerge back in the apps you want, they have
> deps on the libs they need. Whatever they pull in is required.

It is easier than that.

Edit your /var/lib/portage/world
Remove anything kde-related you're not explicitly interested in, such
as kde-meta
Add anything you are explicitly interested in, such as kwooty or kwrite
Add kde-apps/kdebase-runtime-meta

Then run emerge --depclean and watch all the other stuff go away.

No need to purge yourself of stuff like kdelibs that takes a long time
to rebuild just to add it back.  Let the dependency manager help you
out for a change.  :)

I'm not even certain you need to explicitly add kdebase-runtime-meta -
other packages might pull that in on their own but I'm not certain of
that.  Run a --depclean -p first and see what portage wants to get rid
of before going that route.  Software may-or-may not work correctly
without that virtual installed and your bugs will be closed as
invalid.  That virtual is intended to be a somewhat-minimalist one for
situations like yours, but kde applications still will tend to pull a
lot of stuff in.

-- 
Rich



Re: [gentoo-user] Using KDE apps in a non KDE environment

2015-10-02 Thread Philip Webb
151002 Andrew Lowe wrote:
> I'm getting disillusioned with the direction KDE is taking
> with respect to forcing users to use things they don't want to.
> The semantic desktop or whatever they are now calling bits and pieces of it,
> is one thing that comes immediately to mind.

I took  1  look at the KDE 4 desktop & started using Fluxbox straightaway.

> Anyway, I've decided to move on and am thinking of going to lxqt.

You might like Fluxbox, which is easy to configure to taste.
I had a look at Xfce 12 yesterday & was much impressed : another option.

> I'm used to several KDE apps, kwooty, kwrite and a few more.
> Is it possible to run something such as lxqt and then emerge
> kde apps where it will bring in just a few kde libraries,
> which I can live with, but not the whole desktop environment ?

I've been doing it for years (smile).
I use 'startx' & in  .xinitrc  I have :

  xscreensaver &
  kdeinit &
  startfluxbox

This speeds things up.  I even manage to go on using  3  KDE 3 games.

The power of Gentoo !

-- 
,,
SUPPORT ___//___,   Philip Webb
ELECTRIC   /] [] [] [] [] []|   Cities Centre, University of Toronto
TRANSIT`-O--O---'   purslowatchassdotutorontodotca




Re: [gentoo-user] Major site redesign, SEO, and 301 redirects

2015-10-02 Thread Mick
On Friday 02 Oct 2015 00:00:08 Walter Dnes wrote:
> On Thu, Oct 01, 2015 at 03:35:48PM +0100, Mick wrote
> 
> > PS.  I hope someone will show them the door if they suggest designing
> > a new Flash based web interface ...
> 
>   Especially true given that Ipads/Iphones do not support Flash.  Another
> major problem is websites that parse the user agent, and assume that any
> browser they don't recognize is a mobile device.  It's a standing joke
> amongst geeks... see https://xkcd.com/869/ and https://xkcd.com/1174/
> Back in the day when "smartphones" only had 320x240 pixel screens, a
> separate mobile site may have been necessary.  

I think the reason was that at the time we did not have CSS3 and responsive 
web design was not available for the majority of CMS themes.  Many web 
designers were providing a separate generic style sheet for mobile browsers.  
If for some reason the browser was not able to process the desktop style sheet 
it would drop to the mobile style sheet.  I am sure I have seen this happening 
with Opera.  With responsive design it is left to the device to resize the 
layout elements, which is a relief for the web developers - they now only have 
to sniff MSIE8 and friends and send to them a completely different (crippled) 
layout that they are able to render.  :-D

-- 
Regards,
Mick


signature.asc
Description: This is a digitally signed message part.


Re: [gentoo-user] Using KDE apps in a non KDE environment

2015-10-02 Thread Mick
On Friday 02 Oct 2015 08:06:50 Philip Webb wrote:
> 151002 Andrew Lowe wrote:
> > I'm getting disillusioned with the direction KDE is taking
> > with respect to forcing users to use things they don't want to.
> > The semantic desktop or whatever they are now calling bits and pieces of
> > it, is one thing that comes immediately to mind.
> 
> I took  1  look at the KDE 4 desktop & started using Fluxbox straightaway.
> 
> > Anyway, I've decided to move on and am thinking of going to lxqt.
> 
> You might like Fluxbox, which is easy to configure to taste.
> I had a look at Xfce 12 yesterday & was much impressed : another option.
> 
> > I'm used to several KDE apps, kwooty, kwrite and a few more.
> > Is it possible to run something such as lxqt and then emerge
> > kde apps where it will bring in just a few kde libraries,
> > which I can live with, but not the whole desktop environment ?
> 
> I've been doing it for years (smile).
> I use 'startx' & in  .xinitrc  I have :
> 
>   xscreensaver &
>   kdeinit &
>   startfluxbox
> 
> This speeds things up.  I even manage to go on using  3  KDE 3 games.
> 
> The power of Gentoo !

Or give enlightenment-0.19.10 a spin.  It works nicely with KDE apps without 
pulling in thunar and a tonne of gnome libs you never wanted.

-- 
Regards,
Mick


signature.asc
Description: This is a digitally signed message part.


Re: [gentoo-user] Question about initial/default ownership of /usr/portage

2015-10-02 Thread Philip Webb
151002 Raymond Jennings wrote:
> Who is supposed to own /usr/portage?

On my system, it's 'portage:portage'.

-- 
,,
SUPPORT ___//___,   Philip Webb
ELECTRIC   /] [] [] [] [] []|   Cities Centre, University of Toronto
TRANSIT`-O--O---'   purslowatchassdotutorontodotca




[gentoo-user] Question about initial/default ownership of /usr/portage

2015-10-02 Thread Raymond Jennings
Who is supposed to own /usr/portage?