Talk:Xfce

From ArchWiki
Latest comment: 5 January 2021 by NoobAlice in topic XAME Code Block Menu Dead Link

About the "GTK" and "Multiple Monitors"

I just added a new section to solve a problem I had with black screens at boot: Xfce#Black_screens_at_boot_with_NVIDIA_and_multiple_monitors.

May be it could be merge as one section Xfce#GTK_themes_not_working_with_multiple_monitors. I am not too sure of what the section really means. Creating a single section with both the information could be the right thing to do ?

Let me know what you people think. Thank you.

I resolved the black screen at boot with NVIDIA a different way while still partially following the multi-monitor screen tearing guide NVIDIA/Troubleshooting#Avoid_screen_tearing. I removed +0+0 and +xxxx+0 from between nvidia-auto-select and {Force...=On}. I'm not too sure what Xfce#GTK_themes_not_working_with_multiple_monitors means either but I have not encountered that problem. I noticed the displays.xml file comes back any time the display settings are changed so modifying xorg.conf or xorg.conf.d/20-nvidia.conf to remove the conflicting layout seems like a more reliable option. Monocrystalmonkey (talk) 06:08, 22 April 2019 (UTC)Reply[reply]
Edit: The above method is not good if monitor layout ever changes. I was still getting the black screen on login after altering monitor layout. I found a Manjaro forum post [1] that suggested removing the the full Option "metamodes" "nvidia-auto-select +0+0 {ForceCompositionPipeline=On}" line from xorg.conf and instead having XFCE auto start a .desktop with nvidia-settings --assign CurrentMetaMode="nvidia-auto-select +0+0 { ForceCompositionPipeline = O, ForceFullCompositionPipeline=On }". Obviously this should be modified based on your monitor setup. Most of the correct format can still come from the config file generated by nvidia-settings. I left Option "AllowIndirectGLXProtocol" "off" and Option "TripleBuffer" "on" in my nvidia.conf file along with my "Coolbits" "4" option. The only downside to this is some noticable screen flashes on XFCE startup as the settings are applied. The same forum post suggested two scripts (depending on number of monitors) to allow easily switching between monitor layouts:
  • single monitor: xrandr --output HDMI-0 --off && nvidia-settings --assign CurrentMetaMode="DP-2: nvidia-auto-select +0+0 {ForceCompositionPipeline = O,ForceFullCompositionPipeline=On}"
  • dual monitor: xrandr --output HDMI-0 --auto --right-of DP-2 && nvidia-settings --assign CurrentMetaMode="DP-2: nvidia-auto-select +0+0 {ForceCompositionPipeline = O,ForceFullCompositionPipeline=On}, HDMI-0: nvidia-auto-select +2560+0 {ForceCompositionPipeline = O,ForceFullCompositionPipeline=On}"
Monocrystalmonkey (talk) 18:36, 28 April 2019 (UTC)Reply[reply]

XAME Code Block Menu Dead Link

It looks like the new link in that code block should be https://specifications.freedesktop.org/menu-spec/menu-spec-1.0.html to make it work, but this page https://specifications.freedesktop.org/menu-spec/latest/ar01s04.html#menu-file-doctype still uses that dead link. Should this be changed? I didn't want to fix the link and make things worse.

NoobAlice (talk) 18:13, 5 January 2021 (UTC)Reply[reply]

The related text could be reduced to a link to https://wiki.xfce.org/howto/customize-menu.
If the upstream documentation for the subject of your article is well-written and maintained, prefer just writing Arch-specific adaptations and linking to the official documentation for general information. -- From Help:Style#Hypertext metaphor.