Documents created in Xed opens with dialog box?

Whenever I try to open a document created in Xed, I get this dialog box…

Screenshot from 2024-08-31 13-18-13

Is there a way to have all open instead of changing properties in each doc?

It looks like it is executable.

Are you storing it in a non-POSIX filesystem and not properly setting permissions?

The same document I’ve had for a while. They opened normal in EOS KDE and these same documents open normally on my Arch KDE laptop.

I would think Dolphin as option where you can select which what default application you want to open a certain file type? It looks like this on GNOME.

Already set…

Where are you storing them?

That looks different than what I thought it would be, so what I thought it might be is not the problem. What type of file is the file you were trying to open in the screenshot?

Nemo, desktop, download folder, documents folder

Just a typical text doc…

All of them show the dialog box when opened.

In that case, remove the executable bit from the file.

chmod a-x filename

I can just go into properties of each doc and uncheck Allow executing as a program just as easily. Just no idea why it 's happening in EOS Cinnamon but not EOS KDE or Arch KDE. They are the exact same docs.

Can you share the output of findmnt --real

[wombat@darkside ~]$ findmnt --real
TARGET    SOURCE    FSTYPE OPTIONS
/         /dev/sda2 ext4   rw,noatime
├─/run/media/wombat/WD Vault
│         /dev/sdb1 vfat   rw,nosuid,nodev,relatime,uid=1000,gid=1000,fmask=0022,dmask=0022,codepage=437,iochars
├─/run/user/1000/doc
│         portal    fuse.p rw,nosuid,nodev,relatime,user_id=1000,group_id=1000
└─/efi    /dev/sda1 vfat   rw,relatime,fmask=0137,dmask=0027,codepage=437,iocharset=ascii,shortname=mixed,utf8,e
[wombat@darkside ~]$

Was the document ever stored in /run/media/wombat/WD Vault? That could break the permissions potentially.

This particular doc was from my Dropbox backup. But everything I have (Docs and Pictures) are backed up on both my external Western Digital hard drive and Dropbox. So anything is possible.

Perhaps when you copied the file from dropbox, it was set executable then?

I just checked my Dropbox folder and opened a bunch. About half were fine, the rest the dialog box came up. I’m just going to manually change permissions one by one, log out and back in and see if all is well.

For the files that have this issue, do they actually have an extension like .txt, .md, etc.?

It shouldn’t matter because Linux should detect the file type, but maybe?

It isn’t a file type issue. It looks like permissions. Since it is executable, it is asking if it should run it.

1 Like

No file extension. Just a test document created/saved in Xed. Same result happens with documents I created in Kwrite/Kate.

EDIT:

This exact same document opens as expected (no dialog box) on my Arch laptop.