You are not logged in.
Pages: 1
Hello,
I was wondering if I can adjust the size of the area where the window thumbnails are shown when I press alt-tab for a longer time.
Preferably I would set it to full screen because I like to click the window I want to switch to with my mouse (instead of pushing tab multiple times (only to overshoot)) and with my small notebook screen it is easier if the thumbnails would be a bit larger.
Last edited by tsoj (2019-12-20 16:46:20)
Offline
Hello and welcome.
Which version of xfwm4 are you running? If it's 4.14, then the following snippet in ~/.config/gtk-3.0/gtk.css can be used to adjust the icon and preview window sizes of the overlay:
#xfwm-tabwin {
-XfwmTabwinWidget-icon-size: 64px;
-XfwmTabwinWidget-preview-size: 64px; }
The minimum/maximum acceptable sizes for icon-size are 24/128 and for preview-size are 48/512.
Please remember to mark your thread [SOLVED] to make it easier for others to find
--- How To Ask For Help | FAQ | Developer Wiki | Community | Contribute ---
Offline
Thanks for your answer!
I tried different numbers but say seem to not do anything I want.
This is what it currently looks like:
And this is what I wish it would look like (done with gimp):
Also, the ~/.config/gtk-3.0/gtk.css didn't exist, is this correct that I had to first create this file?
In case this is not possible, what code would be a good starting point to read, understand and solve this? I've never done graphics UI programming so I would be a bit lost where to start.
Offline
Thanks for your answer!
I tried different numbers but say seem to not do anything I want.
You need to restart xfwm4 after every change you make:
xfwm4 --replace
...this will force it to re-read the configuration files.
Also, the ~/.config/gtk-3.0/gtk.css didn't exist, is this correct that I had to first create this file?
Yes, create the file if it doesn't exist.
Can you:
Post back the content of your ~/.config/gtk-3.0/gtk.css file.
--
Post back the results of:
xfwm4 -V
(the above will only work with xfwm4 version 4.13 or greater).
Please remember to mark your thread [SOLVED] to make it easier for others to find
--- How To Ask For Help | FAQ | Developer Wiki | Community | Contribute ---
Offline
tsoj wrote:Thanks for your answer!
I tried different numbers but say seem to not do anything I want.You need to restart xfwm4 after every change you make:
xfwm4 --replace
...this will force it to re-read the configuration files.
Also, the ~/.config/gtk-3.0/gtk.css didn't exist, is this correct that I had to first create this file?
Yes, create the file if it doesn't exist.
Can you:
Post back the content of your ~/.config/gtk-3.0/gtk.css file.
--Post back the results of:
xfwm4 -V
(the above will only work with xfwm4 version 4.13 or greater).
xfwm4 -V
outputs
This is xfwm4 version 4.14.0git.5ea89c (revision 5ea89c) for Xfce 4.14
Released under the terms of the GNU General Public License.
Compiled against GTK+-3.24.12, using GTK+-3.24.13.
Build configuration and supported features:
- Startup notification support: Yes
- XSync support: Yes
- Render support: Yes
- Xrandr support: Yes
- Xpresent support: Yes
- Embedded compositor: Yes
- Epoxy support: Yes
- KDE systray proxy (deprecated): No
With two windows the biggest it got was with 483px after that it got small again:
#xfwm-tabwin {
-XfwmTabwinWidget-icon-size: 40px;
-XfwmTabwinWidget-preview-size: 483px;
}
With five windows open this is the biggest I got, 394px and bigger was again as big as something like 128px:
#xfwm-tabwin {
-XfwmTabwinWidget-icon-size: 40px;
-XfwmTabwinWidget-preview-size: 393px;
}
Offline
What is your screen resolution?
Please remember to mark your thread [SOLVED] to make it easier for others to find
--- How To Ask For Help | FAQ | Developer Wiki | Community | Contribute ---
Offline
1920 x 1080, so today (after a restart) with two windows 512px is big again, but with three windows it is still way smaller (like with 128px).
Offline
Perhaps thats just a limitation with the size - it can only go so large. Give xfdashboard a try. It will give you a full-screen preview (it's kind of like the gnome activities window) - maybe more along the lines of what you are looking for.
Please remember to mark your thread [SOLVED] to make it easier for others to find
--- How To Ask For Help | FAQ | Developer Wiki | Community | Contribute ---
Offline
Pages: 1
[ Generated in 0.013 seconds, 9 queries executed - Memory usage: 549.19 KiB (Peak: 566.47 KiB) ]