Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to prevent Geany from making dot underscore "._" files for every modified file on foreign volumes? #3685

Closed
that-ben opened this issue Nov 13, 2023 · 8 comments
Labels

Comments

@that-ben
Copy link

Is there a way for Geany to stop producing a dot underscore file such as ._example.php whenever I save example.php ? I'm working on a Windows volume and I understand macOS will make some system files on foreign drive formats, but I would like to know if at least Geany could edit the file and not create a side file for every file I edit with it?

@that-ben that-ben changed the title Is there a way for Geany to stop producing a dot underscore "._" files for every modified file on foreign volumes? How to prevent Geany from making dot underscore "._" files for every modified file on foreign volumes? Nov 13, 2023
@elextr
Copy link
Member

elextr commented Nov 13, 2023

Do you have the autosave plugin enabled?

@that-ben
Copy link
Author

I'm new to Geany and I currently do not have any plugins installed at least not any that I did, I only have the vanilla/default Geany 2.0 install.

@elextr
Copy link
Member

elextr commented Nov 13, 2023

Well, Geany does not enable any plugins by default. When you say "foreign" volumes, what do you mean? Do those files appear when editing a file in a local drive like C:?

@that-ben
Copy link
Author

that-ben commented Nov 13, 2023

By foreign, I specifically mean USB attached NTFS drives. Since you don't use a Mac, I don't think you know what I'm referring to. Perhaps it's best if the developer or a Mac user could shed some light into this issue. What happens is that when any file is modified on a foreign file system, macOS makes a "dot underscore" file to attach permissions and system related metadata to each file. I don't want that. I'm editing ASCII files that come from and go back to a NTFS drive, so I really don't want any macOS metadata file ("._" file) to be made every time I edit a file with Geany. If I edit 10 files today, I'll end up with 20 files total at the end of the day and it pollutes the NTFS drive.

@elextr
Copy link
Member

elextr commented Nov 13, 2023

Oh, I thought you were on windows from your reference to notepad++ in another post.

It sounds like you know what the problem is, it is not Geany that makes those files, its macos. So you need to find where the setting for that is in macos. AFAIK other mac folks don't have the problem, but maybe they don't edit files on NTFS drives.

@that-ben
Copy link
Author

Yes, I'm migrating from Windows to Mac with at least 20TB worth of SATA drives full of various program sources that I want to continue developing, mostly web apps. I'm not quite ready to convert those SATA drives to APFS, so in the meantime I have to continue working with NTFS and for the most part it works great, except that anything that I save with Geany produces a dot underscore file on its side, which is extremely annoying. Since I'm migrating from Windows to macOS, I'm investigating Geany, trying to see if it can replace NotePad++, that's why you see me mentioning NotePad++ here and there. There are some things it apparently can't replace NotePad++ for though.

@elextr
Copy link
Member

elextr commented Nov 13, 2023

Well AFAGCT Apple doesn't support NTFS writing, so you must have some third party software to do it. Just to be clear Geany does not create those files and cannot control any software that does.

@that-ben
Copy link
Author

Yes, it's macFUSE with the ntfs-3g driver. I was trying to see if anything could be tweaked in Geany to prevent that from happening. Thanks anyway.

@elextr elextr added the invalid label Nov 13, 2023
@elextr elextr closed this as completed Nov 13, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants