Re: [gentoo-user] Dolphin, CPU usage and process ID to which window.

2020-09-07 Thread Franz Fellner
On Mon Sep  7 22:05:36 2020, Dale  wrote:
> Another question.  I use top to see what is using the CPU so much.  When
> it is Dolphin, I can't tell which window it is.  I sometimes have a few
> instances of Dolphin open at the same time.  Sometimes I have my spot
> marked by highlighting a file or files.  If I kill it, I don't get to
> write down where I was.  Thing is, I can't tell from top which window it
> is that is using the CPU more than it should.  Is there a way to figure
> out which process goes with which window or running instance of
> Dolphin?  In top, it shows a ID number like this.

In a console run:

xprop _NET_WM_PID

Your cursor will turn into a crosshair.
now click on the first dolphin window.
In the console you now get something like

_NET_WM_PID(CARDINAL) = 576073

Compare the number with the PID in top from the dolphin instance
with high CPU usage.
If it is the same you have your instance.
If not repeat with the next dolphin window.



[gentoo-user] Dolphin, CPU usage and process ID to which window.

2020-09-07 Thread Dale
Howdy,

Has anyone else noticed that Dolphin is using more CPU than it used to? 
It used to sit around 1% or even less.  For the past month or so, mine
has increased to 2, 3, 4 and 5% with occasional brief instances of even
higher usage.  I notice this in top.  Memory usage is normal tho.  Mine
is usually a few hundred MBs or so.  Closing and restarting Dolphin
seems to help for a little while. 

Another question.  I use top to see what is using the CPU so much.  When
it is Dolphin, I can't tell which window it is.  I sometimes have a few
instances of Dolphin open at the same time.  Sometimes I have my spot
marked by highlighting a file or files.  If I kill it, I don't get to
write down where I was.  Thing is, I can't tell from top which window it
is that is using the CPU more than it should.  Is there a way to figure
out which process goes with which window or running instance of
Dolphin?  In top, it shows a ID number like this.


16577 dale  20   0  986256 160680  79288 S   2.8   0.5  25:56.63
/usr/bin/dolphin -session
10c8caded100015521120210315890017_1597693134_23929  
   

16565 dale  20   0  719940 107576  75616 S   1.9   0.3  77:19.07
/usr/bin/dolphin -session
10c8caded100015521118380315890011_1597693134_23758


Is there a way to know what window that ID belongs too? 

I was hoping the upgrade today would help.  It doesn't seem so. 

Thanks. 

Dale

:-)  :-) 


Re: [gentoo-user] Re: How to switch from rust to rust-bin?

2020-09-07 Thread Matt Connell (Gmail)
On Sun, 2020-09-06 at 16:39 +0300, Nikos Chantziaras wrote:
> On 06/09/2020 10:48, Walter Dnes wrote:
> >I notice that there is a "rust-bin" ebuild present.  If nothing
> > else,
> > I'd like to switch over to that to save the notebook from
> > unnecessary
> > grinding when rust updates.  What's the procedure for selecting it?
> 
> emerge -C dev-lang/rust
> emerge -a1 virtual/rust dev-lang/rust-bin
> emerge -auD @world
> emerge -a --depclean

This worked for me, but only after setting the abi_x86_32 USE flag for
dev-lang/rust-bin, since packages upstream in the dependency chain are
multilib on this system.

Just putting it out there for anyone else who runs into it.




[gentoo-user] Re: How to switch from rust to rust-bin?

2020-09-07 Thread Grant Edwards
On 2020-09-07, Andreas K  Hüttel  wrote:

> That works, but pretty please try something else first!
>
> # make sure source-based rust is not in the world file
> emerge --deselect dev-lang/rust
>
> emerge -1 dev-lang/rust-bin
>
> It should be as easy as that. *If* all dependencies are fulfilled by
> both rust and rust-bin, then the second emerge call will unmerge
> rust and merge rust- bin.

It did not.  I executed the two commands shown above (the first
reported that no such atom was found in the world file).  I ended up
with both dev-lang/rust and dev-lang/rust-bin installed.

When I subsequently ran "emerge --depclean --ask" it wanted to unmerge
dev-lang/rust-bin.

I had to manually unmerge dev-lang/rust to get rid of it (which then
prevented --depclean from trying to unmerge rust-bin).

--
Grant






Re: [gentoo-user] Re: How to switch from rust to rust-bin?

2020-09-07 Thread Andreas K . Hüttel
Am Sonntag, 6. September 2020, 16:39:27 EEST schrieb Nikos Chantziaras:
> On 06/09/2020 10:48, Walter Dnes wrote:
> >I notice that there is a "rust-bin" ebuild present.  If nothing else,
> > 
> > I'd like to switch over to that to save the notebook from unnecessary
> > grinding when rust updates.  What's the procedure for selecting it?
> 
> emerge -C dev-lang/rust
> emerge -a1 virtual/rust dev-lang/rust-bin
> emerge -auD @world
> emerge -a --depclean

That works, but pretty please try something else first!

# make sure source-based rust is not in the world file
emerge --deselect dev-lang/rust

emerge -1 dev-lang/rust-bin

It should be as easy as that. *If* all dependencies are fulfilled by both rust 
and rust-bin, then the second emerge call will unmerge rust and merge rust-
bin.

-- 
Andreas K. Hüttel
dilfri...@gentoo.org
Gentoo Linux developer 
(council, qa, toolchain, base-system, perl, libreoffice)

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


[gentoo-user] Re: How to switch from rust to rust-bin?

2020-09-07 Thread Nikos Chantziaras

On 07/09/2020 13:13, Walter Dnes wrote:

On Sun, Sep 06, 2020 at 12:47:34PM -0400, Walter Dnes wrote


Since I don't yet have rust on my desktop, I'll try "emerge -1
rust-bin" before doing the world update.  Hopefully, that'll satisfy
the virtual/rust dependency from the get-go.


   I decided to go a bit more heavy-handed route with my backup desktop
I included "dev-lang/rust" in package.mask before running the update.
It worked...

[i3][root][~] eselect rust list
Available Rust versions:
   [1]   rust-bin-1.45.2 *

   That route only applies to systems that don't have rust installed yet.


That's not necessary. If a system doesn't have rust installed yet, all 
you need is `emerge -1 rust-bin`. This will then satisfy the virtual.





Re: [gentoo-user] Re: How to switch from rust to rust-bin?

2020-09-07 Thread Walter Dnes
On Sun, Sep 06, 2020 at 12:47:34PM -0400, Walter Dnes wrote

> Since I don't yet have rust on my desktop, I'll try "emerge -1
> rust-bin" before doing the world update.  Hopefully, that'll satisfy
> the virtual/rust dependency from the get-go.

  I decided to go a bit more heavy-handed route with my backup desktop
I included "dev-lang/rust" in package.mask before running the update.
It worked...

[i3][root][~] eselect rust list
Available Rust versions:
  [1]   rust-bin-1.45.2 *

  That route only applies to systems that don't have rust installed yet.

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