Re: [gentoo-user] no more googleearth in portage

2017-09-27 Thread R0b0t1
On Wed, Sep 27, 2017 at 5:03 PM, Frank Steinmetzger  wrote:
> On Wed, Sep 20, 2017 at 07:55:43AM +0200, Raffaele Belardi wrote:
>> I suppose it's due to Google's choice to support only Chrome, although I 
>> missed the Gentoo
>> news bit if there was one.
>>
>> For Android there is the really good Open Street Map application, are there 
>> any desktop
>> alternatives in Portage for non-Chrome users? I know OSM has a web interface 
>> but I'd
>> prefer a standalone application.
>
> Coincidentally, I am looking for a program with which to manage a collection
> of locations. Many a year ago I did this with Googleearth – it offered a
> tree in which I sorted all sorts of locations, mostly places that I have
> been on holiday, with my school class, on tour with choirs and so on.
>
> In the end I would like to be able to view a map of my
> area/country/continent with a cloud of colourful flags/markers.
>
> I don’t really want to use Osmand for this even though it uses kml(?), the
> same format used by Googleearth. The reason being I only have a small-screen
> Android device which screen is not comfortable enough for this task and its
> storage space (for maps) is rather limited.
>
> I had a quick look at viking, but I couldn’t really get a hang of the UI and
> I got the impression that it’s not meant for this kind of use case.
>
> I do use marble now and again, but unfortunately, it does not have a marker
> feature at all.
>
> Can anyone give a suggestion? Cheerio.
>

I think QGIS is a good option. I invite you to search for "QGIS import
location data." You should turn up something like
http://www.qgistutorials.com/en/docs/importing_spreadsheets_csv.html.

I have no personal experience with QGIS, but I have come across it a
few times (coincidentally in the context of replacing Google Earth).
It supports everything from amateur projects to professional civil
engineering. It might feel like going 0-60 but try to give it some
time.

Respectfully,
 R0b0t1



Re: [gentoo-user] Strange Xmonad problem

2017-09-27 Thread R0b0t1
On Wed, Sep 27, 2017 at 4:06 PM, Simon Thelen  wrote:
> On 17-09-27 at 19:22, Melleus wrote:
>> After last update my Xmonad starts from 8-th workspace instead of
>> 1-st. I did not change anything but updated Xmonad and GHC, config
>> remained the same (file attached). What have I done wrong other than I'd
>> better not updated my system?
>>
>> Thank you ahead of time.
>>
> https://github.com/xmonad/xmonad/blob/master/CHANGES.md#014-not-yet-released
>
> Probably the Bug Fix listed under 0.14 (Not Yet Released)
> try deleting ~/.xmonad/xmonad.state before starting xmonad
>

With a lot of these programs (tiling window managers and their
supporting utilities) it's useful to track the repository directly.
Sadly it looks like Xmonad doesn't have a ** version.

Cheers,
 R0b0t1



Re: [gentoo-user] no more googleearth in portage

2017-09-27 Thread Frank Steinmetzger
On Wed, Sep 20, 2017 at 07:55:43AM +0200, Raffaele Belardi wrote:
> I suppose it's due to Google's choice to support only Chrome, although I 
> missed the Gentoo
> news bit if there was one.
> 
> For Android there is the really good Open Street Map application, are there 
> any desktop
> alternatives in Portage for non-Chrome users? I know OSM has a web interface 
> but I'd
> prefer a standalone application.

Coincidentally, I am looking for a program with which to manage a collection
of locations. Many a year ago I did this with Googleearth – it offered a
tree in which I sorted all sorts of locations, mostly places that I have
been on holiday, with my school class, on tour with choirs and so on.

In the end I would like to be able to view a map of my
area/country/continent with a cloud of colourful flags/markers.

I don’t really want to use Osmand for this even though it uses kml(?), the
same format used by Googleearth. The reason being I only have a small-screen
Android device which screen is not comfortable enough for this task and its
storage space (for maps) is rather limited.

I had a quick look at viking, but I couldn’t really get a hang of the UI and
I got the impression that it’s not meant for this kind of use case.

I do use marble now and again, but unfortunately, it does not have a marker
feature at all.

Can anyone give a suggestion? Cheerio.

-- 
Gruß | Greetings | Qapla’
Please do not share anything from, with or about me on any social network.

Freedom for the pavements -- death to the dogs!


signature.asc
Description: Digital signature


Re: [gentoo-user] Strange Xmonad problem

2017-09-27 Thread Simon Thelen
On 17-09-27 at 19:22, Melleus wrote:
> After last update my Xmonad starts from 8-th workspace instead of
> 1-st. I did not change anything but updated Xmonad and GHC, config
> remained the same (file attached). What have I done wrong other than I'd
> better not updated my system?
> 
> Thank you ahead of time.
> 
https://github.com/xmonad/xmonad/blob/master/CHANGES.md#014-not-yet-released

Probably the Bug Fix listed under 0.14 (Not Yet Released)
try deleting ~/.xmonad/xmonad.state before starting xmonad

-- 
Simon Thelen



Re: [gentoo-user] gentoo on SSD

2017-09-27 Thread Stefano Crocco
On Wednesday, 27 September 2017 17:04:53 CEST Stefan G. Weichinger wrote:
> aside from that you might want to specify a different IO scheduler for
> the SSD, I do that via udev rules like:
> 
> # 60-sched.rules
> # set deadline scheduler for non-rotating disks
> ACTION=="add|change", KERNEL=="sd[a-z]", ATTR{queue/rotational}=="0",
> ATTR{queue/scheduler}="deadline"
> 
> # set cfq scheduler for rotating disks
> ACTION=="add|change", KERNEL=="sd[a-z]", ATTR{queue/rotational}=="1",
> ATTR{queue/scheduler}="cfq"
> 
> -
> 
> and I have a systemd-timer for running fstrim now and then

Thanks for the hint.

Stefano



[gentoo-user] Strange Xmonad problem

2017-09-27 Thread Melleus
After last update my Xmonad starts from 8-th workspace instead of
1-st. I did not change anything but updated Xmonad and GHC, config
remained the same (file attached). What have I done wrong other than I'd
better not updated my system?

Thank you ahead of time.

import XMonad
-- import XMonad.Hooks.EwmhDesktops
import XMonad.Hooks.DynamicLog
import XMonad.Hooks.ManageDocks
-- import XMonad.Hooks.ManageHelpers
-- import XMonad.Layout.NoBorders
import XMonad.Util.Run(spawnPipe)
import XMonad.Util.EZConfig(additionalKeys)
import System.IO

myManageHook = composeAll
 [ title =? "GnuCash" --> doFloat
--, isFullscreen --> doFullFloat
  ]

main = do
xmproc <- spawnPipe "xmobar"
	xmonad $ defaultConfig
  {
		modMask = mod4Mask,
terminal = "urxvt",
manageHook = manageDocks <+> myManageHook <+> manageHook defaultConfig,
layoutHook = avoidStruts $ layoutHook defaultConfig,
logHook = dynamicLogWithPP xmobarPP
{ ppOutput = hPutStrLn xmproc,
  ppTitle = xmobarColor "green" "" . shorten 50
},
-- handleEventHook - makes space for xmobar, docksEventHook must be last
handleEventHook = mconcat
--  [ fullscreenEventHook
  [ docksEventHook
  , handleEventHook defaultConfig ]
,startupHook = do
spawn "source ~/.xmonad/autostart"
		}
  `additionalKeys`
[ ((mod4Mask, xK_d), spawn "dmenu_run -b -nb black"),
  ((0, xK_Print), spawn "~/.xmonad/screen2file.sh"),
  ((mod4Mask, xK_b), sendMessage ToggleStruts) ]


Re: [gentoo-user] gentoo on SSD

2017-09-27 Thread Stefan G. Weichinger


aside from that you might want to specify a different IO scheduler for 
the SSD, I do that via udev rules like:


# 60-sched.rules
# set deadline scheduler for non-rotating disks
ACTION=="add|change", KERNEL=="sd[a-z]", ATTR{queue/rotational}=="0", 
ATTR{queue/scheduler}="deadline"


# set cfq scheduler for rotating disks
ACTION=="add|change", KERNEL=="sd[a-z]", ATTR{queue/rotational}=="1", 
ATTR{queue/scheduler}="cfq"


-

and I have a systemd-timer for running fstrim now and then



Re: [gentoo-user] no more googleearth in portage

2017-09-27 Thread Róbert Čerňanský
On Tue, 26 Sep 2017 09:15:49 +0200
Raffaele Belardi  wrote:

> Urs Schütz wrote:
> > On 09/20/17 07:55, Raffaele Belardi wrote:  
> >> I suppose it's due to Google's choice to support only Chrome,
> >> although I missed the Gentoo news bit if there was one.
> >>
> >> For Android there is the really good Open Street Map application,
> >> are there any desktop alternatives in Portage for non-Chrome
> >> users? I know OSM has a web interface but I'd prefer a standalone
> >> application. 
> > 
> > Maybe  sci-geosciences/viking ?
> > Try to change the map from MapQuest to MapNik to get a first
> > impression. 
> 
> Thanks to all for replies, I think I'll start with viking, qgis looks
> more complicated for a beginner. But as always (mapquest vs mapnik?
> why there are two? why should  choose?) when you scrape the surface
> complexity immediately emerges so it will take some time and study.

kde-apps/marble is good.  But unlike OsmAnd for Android it only uses
online, pre-rendered maps (they are cached to disk though).

Robert


-- 
Róbert Čerňanský
E-mail: ope...@tightmail.com
Jabber: h...@jabber.sk



Re: [gentoo-user] distributed emerge

2017-09-27 Thread Adam Carter
>
> Distcc seems to work for some people, but other setups have lots of
> issues with it.
>

Just works for me, all the time. I use the same gcc, bintutils etc versions
on all hosts and use the same USE flags for those packages. I dont use
-march=native of course. OP will also need to take extra care to set CFLAGS
to the lowest common function set across his fleet, since he wants to use
the same binaries on each system.


Re: [gentoo-user] Re: Changing dependencies without upping version ??

2017-09-27 Thread Neil Bothwick
On Tue, 26 Sep 2017 18:30:33 -0700, Ian Zimmerman wrote:

> I do so already, and in fact my initial workaround was to fork the
> ebuild in my repo, pretty much like you recommend.
> 
> But I didn't know that this was the official way of stopping upgrades.
> I thought package.mask was that, and I think that's what the Handbook
> (or maybe some other part of the wiki) recommends.

This is Gentoo, "official" is a moving target. package.mask is good for
preventing upgrade to a specific version, but it can't be used to block
all updates on its own because eventually the older versions will be
treecleaned. That's why you need to keep them n a local overlay, and be
prepared to deal with any breakage they may introduce.


-- 
Neil Bothwick

This tagline is baroque; please call Bach.


pgpi3oFVK9XXB.pgp
Description: OpenPGP digital signature