If someone wants Welcome to support “vim -d” with pacdiff, please tell me here.
It requires a small change in Welcome.
Sorry, my typo, it is:
/etc/eos-script-lib-yad.conf
ls /etc/eos-script-lib-yad.conf 2 ↵
ls: cannot access '/etc/eos-script-lib-yad.conf': No such file or directory
$ ls -l /etc/eos-script-lib-yad.conf
-rw-r--r-- 1 root root 3257 2020-12-11 19:09 /etc/eos-script-lib-yad.conf
$ pacman -Qo /etc/eos-script-lib-yad.conf
/etc/eos-script-lib-yad.conf is owned by eos-bash-shared 1.4.10-1
I have /etc/eos-script-lib-yad.conf but not /eos/eos-script-lib-yad.conf.pacnew
Interesting!
What’s the contents of your /etc/eos-script-lib-yad.conf ?
/etc/eos-script-lib-yad.conf
Thanks! So it is OK already for you, unless you want to change the order of the diffing programs.
For me pacman almost always creates a .pacnew file. But then again, I’m experimenting with the configurations a lot, so I do have changes there. Then pacman will not overwrite my changed config file, but creates a .pacnew file.
But you didn’t have any changes in the config file, so pacman can simply overwrite it and doesn’t create a .pacnew file.
Okay i’m not sure how to use it. When i click on it it gives this.
Edit:
[sudo] password for ricklinux:
==> ERROR: Cannot find the vim -d binary required for viewing differences.
Press ENTER to close this window:
Don’t you have any of these programs installed:
kdiff3 kompare diffuse meld diff
What programs versions do you have:
pacman -Q welcome eos-bash-shared
What program are you running?
Nothing I’m just clicking on the box on the welcome screen. Do i have to have something open first? I really don’t know anything about it.
Edit: I guess i need meld installed? I switched from kde to xfce. I had meld on kde.
Edit2: I installed meld but same thing?
i have meld installed but it do use vim, seems it do not read config file?
it is acting like run pacdiff without editor settings:
not sudo DIFFPROG=$differ pacdiff
instead runs sudo pacdiff
Looks like it is not reading the config file properly in your systems. Very strange indeed. Here it works as expected.
I try to figure out the reason. Meanwhile just ignore the new button.
i do try very hard but i do have had a short look into welcome code and find the reason
"RunInTerminal DIFFPROG=$differ sudo pacdiff")
should be:
"RunInTerminal sudo DIFFPROG=$differ pacdiff")
Yes, sudo is related to the problem.
I made a bit different change, now it uses su-c_wrapper instead of sudo.
And I know why it worked here: my sudo actually is a wrapper to su-c_wrapper…
So thanks for both of you for testing this! Otherwise it would have taken more time to find this strange issue.
Please report if Welcome 3.8.7-1 still causes problems.
it does work now indeed!
Thanks for the confirmation!
This issue was so strange, and unfortunately caused by my own tinkering to my system, which is embarassing.
But now it seems solved.
Okay so is working but is this correct?
Edit: My problem is i don’t know how it is supposed to work? If i close the meld screen then the terminal gives me the options to close etc. I was just wondering about the error messages.
Those error messages on the terminal should not cause any real problems, so they can be ignored.
You could test the pacdiff
program directly from the terminal (i.e. without Welcome). Then you’ll see what pacdiff assumes. It is a traditional CLI program, and for me initially it seemed a bit clumsy, but it works.
Mostly used command letters in pacdiff are:
V = view (use a diffing program to compare current and new version of a file)
S = skip (go to the next file)
Q = quit (quit pacdiff)
Terminal command is:
sudo DIFFPROG=meld pacdiff