Unix & Linux Stack Exchange
Q&A for users of Linux, FreeBSD and other Unix-like operating systems
Latest Questions
0
votes
0
answers
50
views
ubuntu 24.04 meld error through ssh -X , but xclock works fine
meld through ssh -X from ubuntu mate 18.04 to 24.04 gets errors... apt search meld | grep meld outputs: ``` meld/noble,noble,now 3.22.2-1 all [installed] python3-meld3/noble 1.0.2-4 amd64 ``` `apt search fuse | grep fuse | grep install`: ``` fuse3/noble,now 3.14.0-5build1 amd64 [installed,automatic]...
meld through ssh -X from ubuntu mate 18.04 to 24.04 gets errors...
apt search meld | grep meld outputs:
meld/noble,noble,now 3.22.2-1 all [installed]
python3-meld3/noble 1.0.2-4 amd64
apt search fuse | grep fuse | grep install
:
fuse3/noble,now 3.14.0-5build1 amd64 [installed,automatic]
gvfs-fuse/noble,now 1.54.0-1ubuntu2 amd64 [installed,automatic]
libfuse3-3/noble,now 3.14.0-5build1 amd64 [installed,automatic]
Again, xlock displays just fine from 24.04 machine onto 18.04
But meld gets errors:
2025-06-05 12:46:12,494 CRITICAL Gtk:
(org.gnome.Meld:8439): GLib-GIO-CRITICAL **: 12:46:12.494: GFileInfo created without standard::type
2025-06-05 12:46:12,494 CRITICAL Gtk:
(org.gnome.Meld:8439): GLib-GIO-CRITICAL **: 12:46:12.494: file ../../../gio/gfileinfo.c: line 1610 (g_file_info_get_file_type): should not be reached
...
UPDATE1: I have a feeling that the error messages were a red herring:
the result of the differences is actually shown on the monitor hooked up to the 24.04 machine. BTW, the error message have disappeared.
xclock is still shown correctly in the X $DISPLAY localhost:11.0
So the problem now is: "meld" displays on the wrong monitor...
gene
(85 rep)
Jun 5, 2025, 05:28 PM
• Last activity: Jun 6, 2025, 07:05 PM
0
votes
1
answers
87
views
meld won't run on Cygwin: AttributeError: module 'gi' has no attribute 'require_version
I'm trying to run meld on Cygwin, after having installed it, and circumvented the ["no module named 'meld'" issue by forcing it to use Python 3.6][1]. Now, I get: ``` $ meld Traceback (most recent call last): File "/usr/bin/meld", line 341, in check_requirements() File "/usr/bin/meld", line 193, in...
I'm trying to run meld on Cygwin, after having installed it, and circumvented the "no module named 'meld'" issue by forcing it to use Python 3.6 . Now, I get:
$ meld
Traceback (most recent call last):
File "/usr/bin/meld", line 341, in
check_requirements()
File "/usr/bin/meld", line 193, in check_requirements
gi.require_version("Gtk", "3.0")
AttributeError: module 'gi' has no attribute 'require_version'
Where do I get gi
from, and what do I do to get meld
to work?
Version info:
* Windows: Version 10.0.19045.5131
* Cygwin: Updated 2024-12-05
* meld: 3.18.0-1
* Python3: 3.9.16
* Python3.6: 3.6.15
I can provide additional information as relevant, just ask in a comment.
einpoklum
(10753 rep)
Dec 5, 2024, 01:21 PM
• Last activity: Dec 20, 2024, 05:40 PM
3
votes
3
answers
1336
views
Add meld in the contextual menu
Is it possible to add Meld in the contextual menu to easily compare 2 files ? On Windows, I can do that with Beyond Compare, would it be possible to do the same in Nautilus ? [![enter image description here][1]][1] Thank you [1]: https://i.sstatic.net/gJpiA.png
Is it possible to add Meld in the contextual menu to easily compare 2 files ?
On Windows, I can do that with Beyond Compare, would it be possible to do the same in Nautilus ?
Thank you

Frederic
(329 rep)
Jan 31, 2022, 05:52 PM
• Last activity: May 23, 2024, 04:59 PM
0
votes
0
answers
156
views
After installing meld via pip, I can't run it
I've installed meld as a non-root user via `pip install meld` (on a relatively old distribution - SLES 15). After installation, I see a file named `/home/joeuser/.local/lib/python3.6/site-packages/meld/meld.py` ; but no `meld` executable on my path. And if I try to run that, I get: ``` $ python3.6 /...
I've installed meld as a non-root user via
pip install meld
(on a relatively old distribution - SLES 15).
After installation, I see a file named /home/joeuser/.local/lib/python3.6/site-packages/meld/meld.py
; but no meld
executable on my path. And if I try to run that, I get:
$ python3.6 /home/ctuser/.local/lib/python3.6/site-packages/meld/meld.py
Traceback (most recent call last):
File "/home/ctuser/.local/lib/python3.6/site-packages/meld/meld.py", line 7, in
from . import utils
ImportError: cannot import name 'utils'
what am I doing wrong?
einpoklum
(10753 rep)
May 16, 2023, 01:25 PM
1
votes
1
answers
48
views
How to generate a list of daily changes to my notes?
**Background**: I use [Obsidian][1] to organize my notes as I study. It's an application which works "on top of" a collection of markdown formatted plain text files and then shows the links and connections between them graphically. The text files I stored within sub folders of a single folder **What...
**Background**:
I use Obsidian to organize my notes as I study. It's an application which works "on top of" a collection of markdown formatted plain text files and then shows the links and connections between them graphically. The text files I stored within sub folders of a single folder
**What I want:**
Since I am studying for an upcoming exam, I add information to several of these text files each day. At the end of the day, I'd like to have an automatically generated single text file containing all the changes I made to each of my files. A kind of "daily digest" which I can then read through to revise everything I learned on that day.
**Additional background:**
I already have a cron job set up to use rsync to make an uncompressed copy of my notes folder every day at 3:00 AM. I assume this copy can act as a reference when I want to see what modifications have been made at the end of the current day.
**An example**
Let's say on the 15th of May, I made the following changes
Added "
This is some new text
" to file A
Added - "this is some more textual information
" to file B.
My "daily digest" at the end of the 15th of May would read
"This is some new text"
This is some more textual information"
**My Research:**
I understand that tools like diff and meld (GUI) are great for comparing files.
The diff output formatting it a quite difficult to understand. Meld on the other hand is very easy to use but it's a GUI app so I can't figure out how to direct it's output to a single text file.
mahela007
(193 rep)
May 16, 2023, 08:13 AM
• Last activity: May 16, 2023, 09:30 AM
1
votes
3
answers
547
views
Compare directories ignoring time differences of 1h +- 2s
I often want to synchronize my Music folders between my Android mobile phone and my Linux PC. The files on my phone are stored on an SD card using FAT32 and can come from either my Windows laptop or my Linux desktop PC. I want to compare only metadata, otherwise it takes ages to compare contents. Wh...
I often want to synchronize my Music folders between my Android mobile phone and my Linux PC. The files on my phone are stored on an SD card using FAT32 and can come from either my Windows laptop or my Linux desktop PC. I want to compare only metadata, otherwise it takes ages to compare contents.
When I use Meld or rsync to find differences, I get a lot of false positives caused by the fact that FAT32 stores file times with 2-second resolution and local time (UK time), whereas on Linux file modification times are stored with sub-second resolution and UTC. So when I am looking at a file copied to SD card during winter and now it's summer, or vice versa, I can see a time difference of exactly 1 hour (with 2-second precision).
Is there a tool that will scan the folders and consider the file times to be the same if they differ by 2 seconds OR by between 59m58s and 1h00m02s ?
DodgyCodeException
(113 rep)
Apr 3, 2023, 01:13 PM
• Last activity: Apr 3, 2023, 06:27 PM
1
votes
1
answers
1017
views
Use meld in Kate editor, Flatpak version, to compare files and find differences
In Kate editor I have been using meld to compare files and find differences. I was happily using the contextual menu that you get when you have two files open and you right-click on the tab of the non active document, as explained in [this answer][1]. However, after moving to the Flatpak version of...
In Kate editor I have been using meld to compare files and find differences.
I was happily using the contextual menu that you get when you have two files open and you right-click on the tab of the non active document, as explained in this answer .
However, after moving to the Flatpak version of Kate, this doesn't work anymore... I still have meld installed, and the "compare with active document" menu appears, when I right-click on the tab. However, I get a message: "The selected program can not be started. Maybe is not installed". I guess this has to do with the "sandboxing" of Flatpak. I have messed with some of the settings for Kate in "Flatseal" (the sandboxing manager for Flatpak), in particular granting to Kate access to all system resources, but I can't get meld back. Maybe I need to export an environment variable? but which one?
Fabio
(535 rep)
Dec 19, 2022, 10:56 AM
• Last activity: Feb 22, 2023, 08:26 PM
3
votes
1
answers
456
views
meld says it uses "monospace regular", but shows a variable-width font
I'm using meld 3.16.4 on a CentOS 7.x machine (yes, woe is me). Now, the font meld uses for the text of the files it compares is a variable-width font, but - the preferences dialog says the font is "Monospace regular". I know what [Monospace regular][1] looks like on other systems - and it's not wha...
I'm using meld 3.16.4 on a CentOS 7.x machine (yes, woe is me).
Now, the font meld uses for the text of the files it compares is a variable-width font, but - the preferences dialog says the font is "Monospace regular". I know what Monospace regular looks like on other systems - and it's not what I'm seeing from meld; the font I see is variable-space and sans serif.
What's going on and how can I fix this?
einpoklum
(10753 rep)
Jul 7, 2022, 07:50 AM
• Last activity: Jul 7, 2022, 09:13 AM
0
votes
0
answers
442
views
Why does meld get stuck on my remote 3-way comparison?
I'm running a 3-way merge using meld (via git mdiff actually) - on a remote machine. My own machine is Windows 10, and the remote machine is Devuan GNU/Linux Chimaera. While the meld window does come up with the 3 files, there's a "loading" kind of UI indication on the meld toolbar, and the file con...
I'm running a 3-way merge using meld (via git mdiff actually) - on a remote machine. My own machine is Windows 10, and the remote machine is Devuan GNU/Linux Chimaera.
While the meld window does come up with the 3 files, there's a "loading" kind of UI indication on the meld toolbar, and the file contents is grayed out. After 5 minutes - nothing has changed. I should mention the files are not very long - under 1,500 lines. On the Windows machine, I'm using mobaxterm with its X server.
Why is this happening?
einpoklum
(10753 rep)
Jun 27, 2022, 10:56 AM
0
votes
1
answers
549
views
meld won't start on Cygwin: Complains about the dbus library
I'm trying to get meld to run on Cygwin 64 (just updated - September 2021), on Windows 10. Some relevant package versions: * meld: 3.18.0-1 * python3: 3.8.6-1 * python36: 3.6.13-2 * python2: 2.7.18-4 I'm also using MobaXTerm's X server (and it works - I can run xclock for example.) I've resolved [th...
I'm trying to get meld to run on Cygwin 64 (just updated - September 2021), on Windows 10. Some relevant package versions:
* meld: 3.18.0-1
* python3: 3.8.6-1
* python36: 3.6.13-2
* python2: 2.7.18-4
I'm also using MobaXTerm's X server (and it works - I can run xclock for example.)
I've resolved this initial issue , by running
meld
using Python 3.6. Still, when I try to run meld, this happens:
$ meld
process 14421: D-Bus library appears to be incorrectly set up;
failed to read machine uuid: Failed to open "/etc/machine-id": No such file or directory
See the manual page for dbus-uuidgen to correct this issue.
D-Bus not compiled with backtrace support so unable to print a backtrace
Aborted (core dumped)
How is my d-bus library "incorrectly set up"? How to I correct its setup? And how do I get meld to finally run?
einpoklum
(10753 rep)
Sep 21, 2021, 05:54 PM
• Last activity: Sep 21, 2021, 06:00 PM
Showing page 1 of 10 total questions