Xfce Wiki

Sub domains
 

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
xfce:xfwm4:faq [2018/11/12 21:55]
alexxcons created
xfce:xfwm4:faq [2021/02/08 08:45] (current)
kevinbowen update icon
Line 1: Line 1:
 +~~NOTOC~~
 +{{ :xfce:xfce.xfwm4.png?no link|}}
 +====== xfwm4 - Frequently Asked Questions ======
 +
 +  * **[[#Firefox jumps between workspaces, why?|Firefox jumps between workspaces, why?]]**
 +  * **[[#Some of the windows are always centered, why?|Some of the windows are always centered, why?]]**
 +  * **[[#Is it possible to have windows remember their position?|Is it possible to have windows remember their position?]]**
 +  * **[[#How do I programmatically switch workspaces, move windows, etc?|How do I programmatically switch workspaces, move windows, etc?]]**
 +  * **[[#A window suddenly became transparent! How do I undo this?|A window suddenly became transparent! How do I undo this?]]**
 +  * **[[#I have only one desktop and can't move my windows anymore! HELP!|I have only one desktop and can't move my windows anymore! HELP!]]**
 +  * **[[#How do I start xfwm4 again?|How do I start xfwm4 again?]]**
 +  * **[[#How can I customize my Xfce desktop environment|How can I customize my Xfce desktop environment?]]**
 +
 +
 ---- ----
-===== Frequently asked questions===== + 
----- +==== Firefox jumps between workspaces, why? ====
-=== Firefox jumps between workspaces, why? ===+
 When a new tab is opened from an external link in Firefox, it asks the WM to show the window containing the new tab. If the window that has requested to be raised is not on the current desktop, the Xfce Window manager will bring it to the current desktop by default. If you do not want this behavior, there is a hidden option to control this behavior. For Xfce 4.4 in When a new tab is opened from an external link in Firefox, it asks the WM to show the window containing the new tab. If the window that has requested to be raised is not on the current desktop, the Xfce Window manager will bring it to the current desktop by default. If you do not want this behavior, there is a hidden option to control this behavior. For Xfce 4.4 in
 ''~/.config/xfce4/xfwm4/xfwm4rc'' you can put the following: ''~/.config/xfce4/xfwm4/xfwm4rc'' you can put the following:
Line 17: Line 30:
 The above command edits the file "~/.config/xfce4/xfconf/xfce-perchannel-xml/xfwm4.xml" by adding or modifying this line: The above command edits the file "~/.config/xfce4/xfconf/xfce-perchannel-xml/xfwm4.xml" by adding or modifying this line:
    <property name="activate_action" type="string" value="switch"/>    "    <property name="activate_action" type="string" value="switch"/>    "
 +
 +[[|Back To Top]]
 ---- ----
 +
 === Some of the windows are always centered, why? === === Some of the windows are always centered, why? ===
 The Xfce Window Manager has a feature called smart placement which can be adjusted based on the window size. Basically it will automatically center windows that are below a certain size and once they get bigger than that, new windows will try to be arranged automatically in the best place to have coverage. You can adjust the minimum size setting under Settings -> Window Manager Tweaks -> Placement. The Xfce Window Manager has a feature called smart placement which can be adjusted based on the window size. Basically it will automatically center windows that are below a certain size and once they get bigger than that, new windows will try to be arranged automatically in the best place to have coverage. You can adjust the minimum size setting under Settings -> Window Manager Tweaks -> Placement.
 +
 +[[|Back To Top]]
 ---- ----
-=== Is it possible to have windows remember their position? === + 
-Short answer: no.+==== Is it possible to have windows remember their position? ===
 + 
 +The short answer is: no.
  
 Long answer: If the application supports it, it will restore itself at the location and size you last specified (example: Terminal or Thunar). If the application doesn't support it you can use  a window matching application like ''devilspie'' or ''wmctrl'' Long answer: If the application supports it, it will restore itself at the location and size you last specified (example: Terminal or Thunar). If the application doesn't support it you can use  a window matching application like ''devilspie'' or ''wmctrl''
 +
 +[[|Back To Top]]
 ---- ----
-=== How do I programmatically switch workspaces, move windows, etc? ===+ 
 +==== How do I programmatically switch workspaces, move windows, etc? ====
 ''wmctrl'' is a commandline tool that can switch workspaces, move windows between workspaces, move window positions, maximize windows, etc. ''wmctrl'' is a commandline tool that can switch workspaces, move windows between workspaces, move window positions, maximize windows, etc.
  
 ''libwnck'' is a library that does similar things. ''libwnck'' is a library that does similar things.
 +
 +[[|Back To Top]]
 ---- ----
-=== A window suddenly became transparent! How do I undo this? ===+ 
 +==== A window suddenly became transparent! How do I undo this? ====
 If display compositing is enabled, the Xfce Window Manager allows you to adjust the opacity of a window by hovering your mouse over the title bar, holding down the Alt key, and using the scroll wheel (down lowers the opacity, and up raises it). So use Alt+ScrollWheelUp to reset the transparency. If display compositing is enabled, the Xfce Window Manager allows you to adjust the opacity of a window by hovering your mouse over the title bar, holding down the Alt key, and using the scroll wheel (down lowers the opacity, and up raises it). So use Alt+ScrollWheelUp to reset the transparency.
 +
 +[[|Back To Top]]
 ---- ----
-=== I have only one desktop and can't move my windows anymore! HELP! ===+ 
 +==== I have only one desktop and can't move my windows anymore! HELP! ====
 If you have no window borders anymore and can't focus windows, xfwm4 probably closed itself. This happens sometimes and due to the random nature of this annoying bug it's hard to track. But there are workarounds available. If you have no window borders anymore and can't focus windows, xfwm4 probably closed itself. This happens sometimes and due to the random nature of this annoying bug it's hard to track. But there are workarounds available.
-== Start xfwm4 again == + 
-Sounds like the simpliest solution. You need a terminal and a command executioner (like xfrun4 (alt + f2)) with focus. In the terminal you enter following command:+[[|Back To Top]] 
 +---- 
 + 
 +==== How do I start xfwm4 again==== 
 + 
 +It sounds like the simplest solution. You need a terminal and a command executioner (like xfrun4 (alt + f2)) with focus. In the terminal you enter following command:
 <code>xfwm4 --sm-client-id=${SESSION_MANAGER##*/} & disown</code> <code>xfwm4 --sm-client-id=${SESSION_MANAGER##*/} & disown</code>
 And you're done, xfwm4 should be now in your session again. If this doesn't work, stick with method 2 or 3 below. And you're done, xfwm4 should be now in your session again. If this doesn't work, stick with method 2 or 3 below.
-== The easy solution for every xfce (not for people loving their sessions) ==+ 
 +[[|Back To Top]] 
 +---- 
 + 
 +==== The easy solution for every xfce (not for people loving their sessions) ====
 Because xfwm4 goes fishy most times at start up it isn't bad if you have to log out. You hadn't done anything important until than. So log out, remove ~/.cache/sessions/* (probably with <code>rm -rf ~/.cache/sessions/*</code> and login back again. Don't do this while you're logged in to xfce! Don't do this if you love the xfce session feature (because you delete all sessions, duh)! Because xfwm4 goes fishy most times at start up it isn't bad if you have to log out. You hadn't done anything important until than. So log out, remove ~/.cache/sessions/* (probably with <code>rm -rf ~/.cache/sessions/*</code> and login back again. Don't do this while you're logged in to xfce! Don't do this if you love the xfce session feature (because you delete all sessions, duh)!
-== The cool new xfce4.10 solution (again, not for people loving their sessions) ==+ 
 +[[|Back To Top]] 
 +---- 
 + 
 +==== The cool new xfce4.10 solution (again, not for people loving their sessions) ====
 If you already use xfce4.10 you have the possibility to use the GUI to delete the sessions cache (as you can see, the devs are annoyed, too). Open xfce4-sessions-settings → Session and click »Clear saved sessions«, than log out and in again. This should be all. If you already use xfce4.10 you have the possibility to use the GUI to delete the sessions cache (as you can see, the devs are annoyed, too). Open xfce4-sessions-settings → Session and click »Clear saved sessions«, than log out and in again. This should be all.
 +
 ---- ----
 +=== How can I customize my Xfce desktop environment ===
 +You can read everything about changing themes in the [[https://wiki.xfce.org/howto:install_new_themes|How to install new themes]] wiki page.See [[https://www.xfce-look.org/browse/cat/138/order/latest/|Xfce Look]] for a selection of themes geared towards Xfce/Xfwm4.
 +----
 +
 +[[|Back To Top]]
 +----
 +[[:start|Back to main Xfce documentation page]]
 +
 +[[ :xfce:xfwm4:start:|Return to main xfwm4 page]]