Difference between revisions of "Talk:Xfce"

From ArchWiki
Jump to: navigation, search
m (gamin)
(Multiple modifiers section: remove closed discussion)
 
(67 intermediate revisions by 8 users not shown)
Line 1: Line 1:
== Transparent Background for Icon Titles ==
+
== Lock screen on suspend ==
  
I am changing the colors in [[Xfce#Transparent_Background_for_Icon_Titles]] from this:
+
[[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)
  
style "xfdesktop-icon-view" {
+
::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)
XfdesktopIconView::label-alpha = 10
+
base[NORMAL] = "#000000"
+
base[SELECTED] = "#71B9FF"
+
base[ACTIVE] = "#71FFAD"
+
fg[NORMAL] = "#ffffff"
+
fg[SELECTED] = "#71B9FF"
+
fg[ACTIVE] = "#71FFAD" }
+
widget_class "*XfdesktopIconView*" style "xfdesktop-icon-view"
+
  
To this:
+
:::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)
  
style "xfdesktop-icon-view" {
+
::::No activity since mid July - was a decision reached on this? -- [[User:Chazza|Chazza]] ([[User talk:Chazza|talk]]) 16:34, 17 September 2015 (UTC)
XfdesktopIconView::label-alpha = 10
+
base[NORMAL] = "#000000"
+
base[SELECTED] = "#71B9FF"
+
base[ACTIVE] = "#71B9FF"
+
fg[NORMAL] = "#fcfcfc"
+
fg[SELECTED] = "#ffffff"
+
fg[ACTIVE] = "#ffffff" }
+
widget_class "*XfdesktopIconView*" style "xfdesktop-icon-view"
+
  
The latter looks more consistent and simplistic to me  [[User:Aaditya|Aaditya]] ([[User talk:Aaditya|talk]]) 07:56, 19 October 2013 (UTC)
+
:::::I couldn't get this working outside gnome-screensaver/x-screensaver, even when putting a symbolic link directly in /usr/bin, but I'm afraid I didn't get the chance to contact upstream yet. -- [[User:Alad|Alad]] ([[User talk:Alad|talk]]) 11:16, 19 September 2015 (UTC)
 
+
:I've edited your comment to use better quality links and more natural language. [[User:Ichimonji10|Ichimonji10]] ([[User talk:Ichimonji10|talk]]) 14:06, 19 October 2013 (UTC)
+
 
+
== gamin ==
+
 
+
In the first bit of "Installation", this article suggests installing gamin. I vaguely understand that gamin allows Thunar to show removable drives and CDs. If this is true, can someone add a note about that? It would've saved me about an hour...
+
 
+
EDIT: This text seems to be striked out and I'm too tired to figure out why. [[User:To7m|To7m]] ([[User talk:To7m|talk]]) 02:18, 1 November 2013 (UTC)
+
 
+
:I also would like to know what gamin is needed for. It does not provide browsing of removable drives, this is handled by GVFS, as explained in [[Thunar]].
+
:--[[User:Lonaowna|Lonaowna]] ([[User talk:Lonaowna|talk]]) 10:36, 1 November 2013 (UTC)
+
 
+
::Edit: I don't know what gamin is for but I've included more or less what is said in the gamin wiki page. It's the best I can do.
+
::[[User:Chazza|Chazza]] ([[User talk:Chazza|talk]]) 12:04, 20 December 2013 (UTC)
+
 
+
:::If it's already covered on this wiki, then just link to it - no need to duplicate the content. -- [[User:Lahwaacz|Lahwaacz]] ([[User talk:Lahwaacz|talk]]) 17:50, 20 December 2013 (UTC)
+
 
+
==Cleanup==
+
I've done a big cleanup on this article. The organisation was all over the place. I've reordered some pieces of info into a more coherent structure, pruned the out of date info and re-written some sections to make them sound more professional. If somebody who is very knowledgeable about Xfce could look over this - particularly sections 5 and 6  but section 4 probably needs some work as well- and remove cruft that would be great.
+
[[User:Chazza|Chazza]] ([[User talk:Chazza|talk]]) 12:04, 20 December 2013 (UTC)
+

Latest revision as of 11:25, 29 September 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 [1] [2] and an old bug for Xfce 4.8. [3]. Locking via 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). -- Alad (talk) 10:52, 13 July 2015 (UTC)

This functionality works fine for me but I use 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? -- 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 [4], so not sure what's happening here. -- 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 xscreensaver-command -lock and 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.[5] The power manager doesn't. That's probably the source of the inconsistency. -- Chazza (talk) 08:01, 14 July 2015 (UTC)
No activity since mid July - was a decision reached on this? -- Chazza (talk) 16:34, 17 September 2015 (UTC)
I couldn't get this working outside gnome-screensaver/x-screensaver, even when putting a symbolic link directly in /usr/bin, but I'm afraid I didn't get the chance to contact upstream yet. -- Alad (talk) 11:16, 19 September 2015 (UTC)