LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 05-10-2024, 05:04 AM   #1
Crb999
Member
 
Registered: Jan 2017
Location: West Coast Scotland
Distribution: Suse Linux 42.2 Now 15.1
Posts: 323

Rep: Reputation: Disabled
Kubuntu Kompare or Compare


PRETTY_NAME="Ubuntu 22.04.4 LTS"
NAME="Ubuntu"
VERSION_ID="22.04"
VERSION="22.04.4 LTS (Jammy Jellyfish)"
VERSION_CODENAME=jammy
ID=ubuntu
ID_LIKE=debian

Hi All,

A little while ago, months rather than years, i needed to compare two documents so as to produce a composite.
My notes tell me that i used:

kompare text1.txt text2.txt

This produced for me a screen with the two documents side by side, and differences were highlighted in colour.
But it doesn't work now!

I can use diff, but in a 60,000 word document, keeping track of which line comes from which document seems impossible.

What am i doing wrong?

All guidance apreciated.

regards

chris
 
Old 05-10-2024, 05:45 AM   #2
pan64
LQ Addict
 
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 21,982

Rep: Reputation: 7337Reputation: 7337Reputation: 7337Reputation: 7337Reputation: 7337Reputation: 7337Reputation: 7337Reputation: 7337Reputation: 7337Reputation: 7337Reputation: 7337
what do you mean by "it doesn't work"?
Is it properly installed? How did you try it?
 
Old 05-10-2024, 06:40 AM   #3
Crb999
Member
 
Registered: Jan 2017
Location: West Coast Scotland
Distribution: Suse Linux 42.2 Now 15.1
Posts: 323

Original Poster
Rep: Reputation: Disabled
Hi pan64,

"differences were highlighted in colour.
But it doesn't work now" Not clear enough, ok.


Code:
root@crb999-OptiPlex-7010:/# cat /home/crb999/Compare/crb1.txt 
this is a simple line

AND THIS iSn'T
root@crb999-OptiPlex-7010:/# cat /home/crb999/Compare/crb2.txt 
this IS a simple line 

and ths in't
root@crb999-OptiPlex-7010:/# 

root@crb999-OptiPlex-7010:/# kompare /home/crb999/Compare/crb1.txt /home/crb999/Compare/crb2.txt

That last command line produces this, if i can get a picture on here.
Attached Thumbnails
Click image for larger version

Name:	Kompare shot.jpeg
Views:	14
Size:	41.8 KB
ID:	42797  
 
Old 05-10-2024, 11:13 AM   #4
rclark
Member
 
Registered: Jul 2008
Location: Montana USA
Distribution: KUbuntu, Fedora (KDE), PI OS
Posts: 493

Rep: Reputation: 182Reputation: 182
You know, I've ran into this as well with xiphos Bible program on 22.04 KUbuntu. The program 'works', but no text displayed in any of the panes. I don't have a solution either... Hoping a later update will magically fix it . Went to my 24.04 machine and it works as it should there. A bit of web searching did say that a video sub system/renderer/webkit was 'broken' or something. I use an Nvidia card if that matters here. Oh one solution mentioned was go back to the 'default' driver instead of the Nvidia driver. Never tried that though.

Last edited by rclark; 05-10-2024 at 11:27 AM.
 
1 members found this post helpful.
Old 05-10-2024, 02:59 PM   #5
Crb999
Member
 
Registered: Jan 2017
Location: West Coast Scotland
Distribution: Suse Linux 42.2 Now 15.1
Posts: 323

Original Poster
Rep: Reputation: Disabled
Thanks rclark

I'm trying KDiff3 interesting!
 
Old 05-10-2024, 03:07 PM   #6
wpeckham
LQ Guru
 
Registered: Apr 2010
Location: Continental USA
Distribution: Debian, Ubuntu, RedHat, DSL, Puppy, CentOS, Knoppix, Mint-DE, Sparky, VSIDO, tinycore, Q4OS, Manjaro
Posts: 5,714

Rep: Reputation: 2734Reputation: 2734Reputation: 2734Reputation: 2734Reputation: 2734Reputation: 2734Reputation: 2734Reputation: 2734Reputation: 2734Reputation: 2734Reputation: 2734
You might also look into sdiff. That is my tool of choice for this.
 
1 members found this post helpful.
Old 05-10-2024, 04:24 PM   #7
rclark
Member
 
Registered: Jul 2008
Location: Montana USA
Distribution: KUbuntu, Fedora (KDE), PI OS
Posts: 493

Rep: Reputation: 182Reputation: 182
On Windoze I use WinMerge (at work). Really like it there. I've not had a need for some reason on Linux yet to check diff and merge files. I do prefer a gui for this activity as I not only compare, but also move the changed sections to the other file if needed. Do this a lot when our Energy Management System (EMS) gets us an service pack. Need to compare source files where we made custom changes and such and re-merge where needed. Oh, and it looks like it is supposed to run under Wine.

Looks like KDiff3 hasn't been touched since 2014.

Last edited by rclark; 05-10-2024 at 04:39 PM.
 
1 members found this post helpful.
Old 05-11-2024, 02:09 PM   #8
Crb999
Member
 
Registered: Jan 2017
Location: West Coast Scotland
Distribution: Suse Linux 42.2 Now 15.1
Posts: 323

Original Poster
Rep: Reputation: Disabled
Thanks all.

I eventually used KDiff3.

Once I'd changed all the defaults and could read the screen, the real work started.
It wasn't easy.

The original program would have been faster, not in it°s operation, but in my implimentation of what I saw.

None the less 177,000 weords later, job's done.

Thanks for your guidance folks.

Regaros

Chris
 
Old 05-13-2024, 12:44 AM   #9
pan64
LQ Addict
 
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 21,982

Rep: Reputation: 7337Reputation: 7337Reputation: 7337Reputation: 7337Reputation: 7337Reputation: 7337Reputation: 7337Reputation: 7337Reputation: 7337Reputation: 7337Reputation: 7337
you can also try meld .
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] kompare settings qrange Linux - Software 4 05-21-2018 12:54 PM
Kompare window incorrectly rendered atelszewski Slackware 4 12-18-2017 04:20 PM
prog like Kompare/kdiff3 allowing editing ? Sabinou Linux - Software 1 07-31-2012 02:07 PM
kompare question puishor Linux - Software 0 09-30-2005 09:12 AM
Selecting text in Kompare. squall14716 Linux - Software 1 03-25-2004 06:37 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 05:07 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration