Difference between revisions of "Talk:Xfce"

From ArchWiki
Jump to: navigation, search
m (Persistent display blanking: typo)
(remove closed discussions)
 
(24 intermediate revisions by 5 users not shown)
Line 1: Line 1:
== Multiple modifiers section ==
 
  
Here's a little tidbit I found that may be worth adding to the documentation (although I don't know where it would best fit in):
 
: The setting for easy_click in xfwm4.xml is the name of the modifier key.  But what if you want to use multiple modifiers?  I want Ctrl+Alt to be the easy_click modifier.  After reading through the source to see how it parsed the setting, I found that I could get Ctrl+Alt to work by using this line in the config file:
 
<property name="easy_click" type="string" value="Ctrl&amp;gt;&amp;lt;Alt"/>
 
:* After reading the XML file, it will have the modifier string as "Ctrl&gt;&lt;Alt".
 
:* When xfwm4 formats that as a modifier (by adding angle brackets around it), it becomes "&lt;Ctrl&gt;&lt;Alt&gt;".
 
:* Gtk parses the pair of modifiers correctly and it works as expected.
 
[[User:TheAmigo|TheAmigo]] ([[User talk:TheAmigo|talk]]) 18:59, 8 June 2015 (UTC)
 
 
:How about creating a subsection in [[Xfce#Tips & Tricks]] for it, perhaps titled ''Using multiple modifiers'' or something along those lines? -- [[User:Chazza|Chazza]] ([[User talk:Chazza|talk]]) 07:30, 9 June 2015 (UTC)
 
 
:: <s> -1 from me for split pages. Reason:
 
#From my experience, such "Tips & Tricks" pages is more likely become out of date and no one care.
 
#It is hard for translation team to follow page split(merge).
 
--[[User:Fengchao|Fengchao]] ([[User talk:Fengchao|talk]]) 23:44, 11 June 2015 (UTC)</s>
 
 
:::I'm a tad confused by your response, Fengchao. Are you saying that articles should not have Tips and tricks sections? They are mentioned in [[Help:Style#"Tips and tricks" sections]] and the OP's suggestion seems appropriate for this. -- [[User:Chazza|Chazza]] ([[User talk:Chazza|talk]]) 07:41, 12 June 2015 (UTC)
 
 
::::I think this is just a simple misunderstanding: this discussion is not about splitting the Tips and tricks section :)
 
::::I'm +1 for adding the multiple modifiers trick under [[Xfce#Tips and tricks]] by the way.
 
::::— [[User:Kynikos|Kynikos]] ([[User talk:Kynikos|talk]]) 02:22, 13 June 2015 (UTC)
 
::::: Sorry, I thought you want to create a new page. -- [[User:Fengchao|Fengchao]] 09:38, 14 June 2015‎
 
 
== Lock screen on suspend ==
 
 
[[Xfce#Lock the screen]] gives an introduction to screen locking, but I can't get it to work with xfce4-power-manager on resuming from suspend. I've found little on this [https://bbs.archlinux.org/viewtopic.php?id=180985] [https://www.reddit.com/r/archlinux/comments/2eyt80/xfce_slock_not_locking_screen_when_suspending/] and an old bug for Xfce 4.8. [https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=738124]. Locking via {{ic|Ctrl+Alt+L}} works as expected (slock). Can others reproduce, and if yes, should I investigate further and file a bug upstream? Perhaps this could be related to the light-locker transition (where I use [[xinitrc]]). -- [[User:Alad|Alad]] ([[User talk:Alad|talk]]) 10:52, 13 July 2015 (UTC)
 
: This functionality works fine for me but I use {{Pkg|gnome-screensaver}}. This might be an issue for specific screen lockers as opposed to a general Xfce issue. I notice that there is an alternative "lock screen before sleep" option under ''Applications'' -> ''Settings'' -> ''Session and Startup'' -> ''Advanced''. Perhaps that works where the xfpm option does not? -- [[User:Chazza|Chazza]] ([[User talk:Chazza|talk]]) 11:05, 13 July 2015 (UTC)
 
 
::Indeed, it works with gnome-screensaver. It even uses gnome-screensaver when I symlink slock in /usr/local/bin to xflock4 (though the shortcut and menu do respect xflock4). Looking through the source, xfpm is supposed to use xflock4 though [http://git.xfce.org/xfce/xfce4-power-manager/tree/common/xfpm-common.c#n58], so not sure what's happening here. -- [[User:Alad|Alad]] ([[User talk:Alad|talk]]) 06:04, 14 July 2015 (UTC)
 
 
:::It's worth taking a look at what xflock4 is actually doing here - it's just a shell script. As can be seen from the first for loop, it will try to execute {{ic|xscreensaver-command -lock}} and {{ic|gnome-screensaver-command --lock}} in that order and it will exit. Only if neither of those can be executed will it move on to deal with xclock and slock. So xfpm's behaviour is correct here.
 
:::Edit: Whoops, misread. Yes I see the problem here, the symlink isn't being respected. Not sure why that would be the case.
 
:::Edit2: The lock screen panel action button first tries to find the program in path before executing.[http://git.xfce.org/xfce/xfce4-panel/tree/plugins/actions/actions.c#n868] The power manager doesn't. That's probably the source of the inconsistency. -- [[User:Chazza|Chazza]] ([[User talk:Chazza|talk]]) 08:01, 14 July 2015 (UTC)
 
 
== Persistent display blanking ==
 
 
With regards to this section, the correct solution is to activate Xfpm's presentation mode - right click on the tray icon/left click on the panel applet and tick "Presentation mode" or run:
 
$ xfconf-query -c xfce4-power-manager -p /xfce4-power-manager/presentation-mode -s true
 
How about replacing the section with that info and then mention that there are some issues - linking to the bug reports currently referenced in the accuracy notice? -- [[User:Chazza|Chazza]] ([[User talk:Chazza|talk]]) 14:47, 31 August 2015 (UTC)
 
 
:No complaints so far so I've implemented this with [https://wiki.archlinux.org/index.php?title=Xfce&type=revision&diff=397491&oldid=397155]. -- [[User:Chazza|Chazza]] ([[User talk:Chazza|talk]]) 10:19, 2 September 2015 (UTC)
 
 
::Corrected since the edit above with [https://wiki.archlinux.org/index.php?title=Xfce&type=revision&diff=397512&oldid=397491] as Xorg blanking and DPMS aren't the same according to [https://wiki.archlinux.org/index.php?title=Talk%3AXScreenSaver&type=revision&diff=373241&oldid=373240 this] and [http://www.shallowsky.com/linux/x-screen-blanking.html this]. My mistake. -- [[User:Chazza|Chazza]] ([[User talk:Chazza|talk]]) 13:32, 2 September 2015 (UTC)
 
 
:::I've changed things again by linking to [[DPMS]] for the ''xset'' commands and shifting the XScreenSaver info into the XScreenSaver article[https://wiki.archlinux.org/index.php?title=XScreenSaver&type=revision&diff=398054&oldid=396220]. The only XScreenSaver related info I've kept in this article is the fact Xfpm + XScreenSaver is not a happy combo. As the section is now more config orientated than troubleshooting orientated I've moved the section into configuration and taken the "persistent" out of the title. Hope this is acceptable for everyone - I will keep this open for a bit so that if there are issues, they can be discussed. -- [[User:Chazza|Chazza]] ([[User talk:Chazza|talk]]) 11:40, 3 September 2015 (UTC)
 

Latest revision as of 15:08, 14 July 2017