You are not logged in.
For the past few hours, I have been updating my openbox desktop to suit my aesthetic preferences. I would like to find a way to change the placement of the alt-tab menu from the center of my screen to the upper left. I would like to do the same for all notifications that appear in the center of my screen. In the case of the "DesktopNext" and "DesktopPrevious" notifications, I would like to both move them from the center of my screen and remove the 4 boxes that appear to their left.
So far, I've done a search through the forums, perused my temerc file and rc.xml files and have not found quite what I was looking for.
Thanks in advanced for any help!
Youtube: https://www.youtube.com/user/LeiosOS
Twitch: http://www.twitch.tv/simuleios
Offline
I'm interested too
+pc: custom | AMD Opteron 175 | nForce4 Ultra | 2GB ram DDR400 | nVidia 9800GT 1GB | ArchLinux x86_64 w/ openbox
+laptop: Apple | MacBook (2,1) | 2GB ram | Mac OS X 10.4 -> DIED
+ultrabook: Dell | XPS 13 (9343) | 8GB ram | 256GB ssd | FullHD display | Windows 8.1 64bit ArchLinux x86_64 w/ Gnome
Offline
No problem. Use abs to get the PKGBUILD files and use makepkg to download the Openbox source code.
In the file: openbox/focus_cycle_popup.c
Go to the function "popup_render(...)", around line 550 where it says "find the position for the popup", and change it from:
x = screen_area->x + (screen_area->width - (w + ob_rr_theme->obwidth * 2)) / 2;
y = screen_area->y + (screen_area->height - (h + ob_rr_theme->obwidth * 2)) / 2;to:
x = screen_area->x + 10;
y = screen_area->y + 10;Then use makepkg to build Openbox from the existing source code and voilà! It works! ![]()
...maybe. I haven't tested it. ![]()
Offline
That definitely worked for the alt-tab menu. Thanks!
Other applications, like DesktopNext and DesktopPrevious, are still showing up in the center of my screen, though. I'm going to peruse the source code some more when I get home today to see if I can figure that out.
I'll leave the thread open for now since there are still some lingering issues.
Youtube: https://www.youtube.com/user/LeiosOS
Twitch: http://www.twitch.tv/simuleios
Offline
As you find them, it should be super easy to extract them into a simple patch and create a package for the AUR called "openbox-upperleft" or whatever. ![]()
Offline
No problem. Use abs to get the PKGBUILD files and use makepkg to download the Openbox source code.
In the file: openbox/focus_cycle_popup.c
Go to the function ...
In a similar vein, where and what should I change to have Openbox place new windows in the center of the screen instead of using the "Smart" method?
Last edited by KairiTech (2013-07-19 18:34:19)
Offline