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

Add .desktop entry for XSession #876

Merged
merged 1 commit into from
Aug 2, 2023
Merged

Conversation

Zirias
Copy link
Contributor

@Zirias Zirias commented Aug 2, 2023

Add a (minimal) .desktop file of type XSession, so fvwm3 is discoverable for display managers following freedesktop.org standards.

Fixes #12

  • What does this PR do?
    It adds a truly minimal XSession .desktop file for FVWM3, installed in $(xsessionsdir) which defaults to $(datarootdir)/xsessions.

Edit, in case you wonder about the custom make recipe, I just didn't find a better way. When you try to subsitute @bindir@ from autoconf, it expands to ${exec_prefix}/bin (literal), so this isn't usable in a .desktop file ....

Copy link
Member

@ThomasAdam ThomasAdam left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi @Zirias

Thanks for looking at this. Overall looks OK to me, but I do have some comments in-line for your consideration.

Oh, and the fvwm3.desktop.in file will need adding to EXTRA_DIST.

Thanks!

fvwm/fvwm3.desktop.in Outdated Show resolved Hide resolved
fvwm/Makefile.am Outdated Show resolved Hide resolved
fvwm/fvwm3.desktop.in Outdated Show resolved Hide resolved
fvwm/fvwm3.desktop.in Outdated Show resolved Hide resolved
@Zirias
Copy link
Contributor Author

Zirias commented Aug 2, 2023

Verified the "fixed" .desktop file works well with sddm, just assuming other display managers have no issues either ....

@ThomasAdam
Copy link
Member

Hi @Zirias

Looking good, thank you!

I didn't mean to suggest that we needed a separate Makefile.am file under contrib/ rather, we can just add this change directly to $(TOPLEVEL)/Makefile.am...

@Zirias
Copy link
Contributor Author

Zirias commented Aug 2, 2023

Ahh, I assumed this would "pollute" the toplevel Makefile, but if you prefer it that way, just a second, will make the change even smaller :-)

Add a (minimal) .desktop file of type XSession, so fvwm3 is discoverable
for display managers following freedesktop.org standards.

Fixes fvwmorg#12
@ThomasAdam
Copy link
Member

Hi @Zirias

Brilliant -- this is looking good. Will merge later on today, once I've finished work.

@ThomasAdam ThomasAdam merged commit b3bd394 into fvwmorg:main Aug 2, 2023
4 checks passed
@ThomasAdam ThomasAdam added the type:enhancement Augmenting an existing feature label Aug 2, 2023
@ThomasAdam ThomasAdam added this to the 1.0.8 milestone Aug 2, 2023
@ThomasAdam ThomasAdam self-assigned this Aug 2, 2023
@Zirias Zirias deleted the xsession branch April 14, 2024 05:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type:enhancement Augmenting an existing feature
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

No .desktop file generated from make install
2 participants