Nemo is changing file content and filetype on rename, if the file originally had the .theme type
Nobody has claimed this yet.
- Dominant language
- C
- Stars
- 1.6k
- Forks
- 368
- Avg merge
- 4d 4h
- Merged PRs (30d)
- 2
Description
Distribution
Ubuntu 24.04.1 LTS
Package version
6.0.2
Frequency
Always
Bug description
Nemo is changing file content and filetype on rename, if the file originally had the .theme type.
Steps to reproduce
- In Nemo create a new file empty.theme
- Rename it to renamed.theme
Bug:
- The real file extension is now 'renamed.theme.desktop' and Nemo changes the file content to:
[Desktop Entry]
Name[hu]=renamed.theme - Nemo hides the .desktop extension, so it's hard to notice
- Nemo changed the files contents without telling me
This caused me tons of problems when trying to create themes for xfce4-terminal (.theme files). Nemo invalidated my files by changing their type, and inserting new lines.
Expected behavior
- In Nemo create a new file empty.theme
- Rename it to renamed.theme
Expected behavior:
The file is renamed without any side-effects.
Additional information
No response
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Reproduce the rename sequence in Nemo on Ubuntu 24.04.1 with an empty.theme file, then trace the file-type detection and rename handling involved. Done means renaming empty.theme to renamed.theme preserves the .theme filename and file contents without creating a hidden .desktop extension.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- c
- Domain
- desktop
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Active
- Clarity
- Mostly clear
- Newbie friendliness
- 68/100