Under Manjaro I have XFCE and one thing bothered me for a long time: window buttons on the bottom panel cannot be reordered with drag & drop. Or is it possible?
Yes, it’s possible, but it was not the default behaviour. Right click on the panel -> Panel -> Panel Preferences… -> Items tab -> Window Buttons, then select edit. Here, under Appearance change the sorting order to “None, allow drag-and-drop“.
Damn, I’ve been using Manjaro for 2 years…
Manjaro uses XFCE and on the bottom panel windows of the same program are grouped together. However, I would like to separate them, i.e. if I launched two Konsole instances, then I want to see two buttons on the panel.
I found the solution here. In short:
“Go to Window Buttons setting (right-click on panel -> Panel -> Panel Preferences -> Items -> select “Window Buttons” -> Edit the currently selected item (a button on the right side).
In “Behaviour” -> Window grouping => Never”
Manjaro had a major update at the end of April 2016 and after that my XFCE theme looked very strange.
In this thread I found that GTK3 was updated to version 3.20 and my current theme doesn’t support it. Solution: choose a different theme.
I chose the vertex-maia theme since it looks similar to my old theme. With Xfce Theme Manager I set this configuration:
- theme: Vertex-Maia
- windows borders: w8
- icons: Menda-Circle
- cursors: aero-drop
Note: scroll down to Update #1 to see a built-in solution.
I’m playing with the Brackets text editor and it has a live preview feature, which means that as you edit an HTML code, you can see its effect immediately in the browser. You don’t need to save and refresh the browser to see every change. Pretty cool. So I wanted to tile my windows: Brackets on the left side, Firefox on the right side. How to do that?
Maybe there is a shortcut for this under Ubuntu, but under Manjaro I didn’t find it. But there is a cool project thet can do this for you called QuickTile (written in Python :)). Here is a great video tutorial on how to use it: https://www.youtube.com/watch?v=ZF76DELEpjM .
Install it and then you get a script called “
quicktile“. Run it once and it generates a basic config file at “
~/.config/quicktile.cfg“. I modified just one line in the config:
ModMask = <Control><Mod4>
Then start QuickTile in daemon mode: “
quicktile -d“. Then you can place your windows by pressing Ctrl + left Super key (aka Windows key) + numbers on the number pad (on the right side). So for instance
Ctrl + Super + 6 positions the current window to the right side.
To make it run after a reboot, put “
quicktile -d” among your startup apps.
Arrgh… Just when I finished this post, I found another video ( https://www.youtube.com/watch?v=s0rTIKM43ug ), which shows that this feauture is available in newer XFCEs (from version 4.10). Open Settings Manager -> Windows Manager, and select the Keyboard tab. Scroll down to “
Tile...” and you can assign hotkeys to the different positions.
Under Ubuntu (using Unity) it works out of the box. The hotkey is Ctrl + Alt + numbers on the numeric pad.
Start -> Settings Manager -> Window Manager -> Keyboard.
Minimize all windows: Ctrl + Alt + D.
Under Ubuntu if you press the PrtScn button, an application starts that allows you to take a screenshot. How to have the same thing in Xfce? First, install the program
xfce4-screenshooter. Then add a new application shortcut:
Start -> Settings Manager -> Keyboard -> Application Shortcuts tab.
xfce4-screenshooter and assign the PrtScn button to it.
There is an awesome theme for XFCE called w8 that make your window borders look like Windows 8. However, with yaourt I cannot install it for a while. A long time ago it worked, but something happened to the package :( How to install it manually?
Visit https://aur.archlinux.org/packages/xfwm4-theme-w8-mono/ and download the source. Unpack it somewhere. Then switch to root mode and copy it to the /usr/share/themes folder (thus you will have a /usr/share/themes/w8/xfwm4 folder with some files in it). Open Xfce Theme Manager, click on the Advanced button, then click on Rebuild DB. Now under the “Window Borders” tab w8 should appear.
In this post I also write about this theme (and explain how to move window buttons to the left).
You use the Xfce4 desktop environment (e.g. with Manjaro), and you want to change the desktop wallpaper from the command line.
Get the path of the current wallpaper:
$ xfconf-query -c xfce4-desktop -p /backdrop/screen0/monitorLVDS-0/workspace0/last-image /trash/wallpapers/hd_wallpapers_forbackground_2015.jpg # sample output
Set the wallpaper to a new background image:
$ xfconf-query -c xfce4-desktop -p /backdrop/screen0/monitorLVDS-0/workspace0/last-image -s PATH_OF_NEW_IMAGE
PATH_OF_NEW_IMAGE is the absolute path of the image you want to set (to avoid problems, use absolute paths).
(This paragraph is based on this post). How to list Xfce channels and their properties:
for channel in $(xfconf-query -l | grep -e '^\s'); do echo "Channel: $channel"; xfconf-query -c $channel -l; echo ''; done
This will give you a full listing of all the properties of each channel. You can query the value of a property this way:
xfconf-query -c <channel> -p <property>
I wanted to use this method on another machine of mine and it turned out that the property to be set is called differently! If I want to set the background, instead of
/backdrop/screen0/monitorLVDS-0/workspace0/last-image I had to set
/backdrop/screen0/monitorDVI-I-2/workspace0/last-image. Great :( So here is my updated method:
First, query all properties that end with “
$ xfconf-query -c xfce4-desktop -l | grep "last-image$"
Sample output on my machine:
/backdrop/screen0/monitor0/last-image /backdrop/screen0/monitorDVI-I-1/workspace0/last-image /backdrop/screen0/monitorDVI-I-1/workspace1/last-image /backdrop/screen0/monitorDVI-I-2/workspace0/last-image /backdrop/screen0/monitorDVI-I-2/workspace1/last-image
Then set the value of each of these properties to the absolute path of the background image.