Re: Is it normal that text in the clipboard gets lost?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Doug posted on Wed, 05 Jun 2013 18:28:03 -0400 as excerpted:

> On 06/05/2013 06:13 PM, Nikos Chantziaras wrote:>>> 

>> If you do:
>>
>>    ps aux | grep klipper
>>
>> you'll probably find it's running already.  You'll get something that
>> ends in:
>>
>>    kdeinit4: klipper [kdeinit]
>>
>> meaning it's running automatically when you login into KDE.
>>
>>
> Yep, you're right! It must be buried in here somewhere.
> 
> [doug@linux1 ~]$ ps aux | grep klipper

> doug      3450  0.0  0.5 164604 43328 ?        S    03:13   0:00 
> kdeinit4: klipper [kdeinit]

> doug     27074  0.0  0.0   6080   796 pts/1    S+   18:23   0:00
> grep --color klipper
> 
> I have not seen anything in cut/paste in color, however.

You're misunderstanding the output.

On your machine, "grep" is aliased to "grep --color", probably courtesy 
of your distro.  So it's grep's output that is in color (here on gentoo, 
the matching part shows up in red, but your distro might use a different 
color).

The first line of output (two lines as wrapped above) is the line we were 
talking about, kdeinit4 starting klipper.

The second line is the line from ps (process show) reporting on grep 
itself, since "klipper" appeared as part of grep's commandline too.

And because of the alias, the grep command that was actually run was
"grep --color klipper", not just the "grep klipper" that you typed in.

-- 
Duncan - List replies preferred.   No HTML msgs.
"Every nonfree program has a lord, a master --
and if you use the program, he is your master."  Richard Stallman

___________________________________________________
This message is from the kde mailing list.
Account management:  https://mail.kde.org/mailman/listinfo/kde.
Archives: http://lists.kde.org/.
More info: http://www.kde.org/faq.html.




[Index of Archives]     [Trinity (TDE) Desktop Users]     [Fedora KDE]     [Fedora Desktop]     [Linux Kernel]     [Gimp]     [GIMP for Windows]     [Gnome]     [Yosemite Hiking]
  Powered by Linux