Commit graph

385 commits

Author SHA1 Message Date
Dana Jansens
22333336d3 add an <active> option for window placement, to try force new windows on the active monitor (for xinerama) 2008-01-11 19:32:45 -05:00
Dana Jansens
1cb287e130 focus the desktop window when you right click it, same as you focus other windows 2008-01-11 15:01:03 -05:00
Dana Jansens
f55ae9e569 Merge branch 'backport' 2007-08-04 23:35:36 -04:00
Dana Jansens
29e94a9e59 make the default time for the desktop notificatin 875ms 2007-08-04 12:11:08 -04:00
Dana Jansens
3b4b52921a show a popup notification when switching desktops (also make all the config options export time in milliseconds not half milli half micro) 2007-08-03 20:40:13 -04:00
Dana Jansens
98b9ed97eb use clicks for mouse wheel, not press. 2007-07-31 13:17:45 -04:00
Dana Jansens
fe825d1dd2 smarter mouse wheel default actions 2007-07-24 17:04:29 -04:00
Dana Jansens
c2557387b2 add the "command" option to the xsd 2007-07-22 10:19:27 -04:00
Dana Jansens
c41886288a use <command> for the execute actions in menu.xml 2007-07-22 10:18:12 -04:00
Dana Jansens
6ea96a8a97 update the default rc.xml with the new actions syntax and the rc.xsd 2007-07-15 13:25:57 -04:00
Dana Jansens
4b73574406 adding trunk
Signed-off-by: Dana Jansens <danakj@orodu.net>
2007-07-12 02:57:08 -04:00
Dana Jansens
0b97b6043c user-sepcified margins 2007-07-10 23:59:17 +00:00
Mikael Magnusson
76923defe7 merge r7694 from 3.4-working (note you can use negative positions for starting at the opposite edge) 2007-07-10 23:53:18 +00:00
Dana Jansens
d9699d1470 merge r7664 from 3.4 2007-06-27 22:33:40 +00:00
Dana Jansens
151df8b317 typo 2007-06-23 21:53:37 +00:00
Dana Jansens
08ff13d0c8 add startupnotify for obconf in the default menu 2007-06-23 21:13:20 +00:00
Dana Jansens
97792a403a warp desktops when you hit the edge of the screen while moving a window 2007-06-23 19:52:09 +00:00
Mikael Magnusson
e048751f91 add center option to placement section 2007-06-13 17:08:32 +00:00
Dana Jansens
3a08c1854f dont unshade when clicking the titlebar.
lower when rolling up, raise when rolling down with mouse wheel
2007-06-13 04:28:16 +00:00
Dana Jansens
d89360eb40 remove SCIM by default. its caused people problems 2007-06-10 04:16:36 +00:00
Dana Jansens
5ac4d96d79 mismerged the 3.4 xsd stuff into trunk. 2007-06-09 02:59:18 +00:00
Mikael Magnusson
fdc10b75d6 missed a spot 2007-06-07 23:50:40 +00:00
Mikael Magnusson
96bb892054 back xml themes out of trunk 2007-06-07 23:46:28 +00:00
Dana Jansens
ad22b4db81 border, not borderwidth.
add osd.border stuff to themetoxml
2007-06-05 16:05:22 +00:00
Dana Jansens
8349e4ca6b add osd border stuff 2007-06-05 15:57:27 +00:00
Dana Jansens
aca8327244 add osd theme elements 2007-06-05 15:51:36 +00:00
Dana Jansens
c5ad44a307 revert a committed typo 2007-06-04 01:58:02 +00:00
Dana Jansens
1e5d8ce0a8 when undermouse is off, ignore enter events from windows lowering/raising themsvelves (or from a pager restacking them) 2007-06-04 01:57:11 +00:00
Dana Jansens
03931180fc add underMouse option 2007-06-03 19:23:02 +00:00
Dana Jansens
1fd07ad51d there add new separator colors complete 2007-06-02 21:26:23 +00:00
Dana Jansens
fba24cf073 make the default drag threshold 8px 2007-06-01 01:56:46 +00:00
Dana Jansens
92e54e48ee 2007-05-28 04:52:47 +00:00
Dana Jansens
f628b21c8d remove all the ignoreing 2007-05-28 04:47:14 +00:00
Dana Jansens
fd3ade8ad1 ignore built stuff 2007-05-28 04:43:28 +00:00
Dana Jansens
ddfddc15e3 document the focus options 2007-05-27 22:55:06 +00:00
Dana Jansens
ca8924a5a0 let you unfocus/lower stuff in press actions. it'll be okay 2007-05-26 22:15:52 +00:00
Dana Jansens
4e8e48fe7f don't unfocus in press actions 2007-05-26 21:39:27 +00:00
Dana Jansens
1fcbb41d05 remove activate action from the config file, so things are more explicit. dont unshade on click for things that can move the window. don't unshade on right clicks on the titlebar 2007-05-25 21:16:34 +00:00
Dana Jansens
6c8b7c1e6d add C-A-Up/Down mouse bindings, for consistency with the C-A-arrow key bindings! 2007-05-25 19:10:47 +00:00
Mikael Magnusson
1ca83752a8 titleNumber disappeared a while ago 2007-05-25 09:29:35 +00:00
Dana Jansens
c3e0a6d734 don't let the session scripts take arguments 2007-05-23 17:59:58 +00:00
Dana Jansens
cec4b9df2e mention that the desktop stuff are default values only 2007-05-23 04:33:09 +00:00
Dana Jansens
a4b4e61a02 better idea, don't set the desktop names in the default rc. and lets translate the string in openbox. ha ha. this way everyone gets translated names by default. 2007-05-23 04:23:55 +00:00
Dana Jansens
b04186cf2a make the default desktop names match the auto generated ones, and numbers are the universal language anyways 2007-05-23 04:22:38 +00:00
Dana Jansens
0b7b5e3b93 update the desktops comment to tell you to use obconf to set the desktop number/names without having to log out/in 2007-05-23 04:19:41 +00:00
Dana Jansens
2867aba1ae dont have xml comments inside comments for the per-app example 2007-05-22 21:52:48 +00:00
Dana Jansens
a16f1374ee comment out the applications example 2007-05-22 20:52:42 +00:00
Dana Jansens
b9056e96b8 use the session called "openbox-session: for gnome session because it will still run metacity if you use the default one 2007-05-22 03:00:12 +00:00
Dana Jansens
fd8ce9414a use simple pattern matching for per-app settings. all rules that match are applied to a window rather than just the first 2007-05-21 03:42:25 +00:00
Dana Jansens
927bc7818c add the Root context 2007-05-19 22:07:35 +00:00
Dana Jansens
813d5c2ec9 add a root context that only applies to the root window. it fallsback to the desktop context, so desktop stuff applies to it too. 2007-05-19 22:07:15 +00:00
Dana Jansens
b26635fe99 add Left and Right contexts for resizing 2007-05-19 21:39:40 +00:00
Dana Jansens
4f1bb686a3 typo 2007-05-19 01:05:31 +00:00
Dana Jansens
f83135a47c remove the #! thing and add a nice comment 2007-05-16 19:09:25 +00:00
Dana Jansens
b11d260dbe add SCIM support to the default autostart. make the autostart run before openbox. 2007-05-16 19:04:48 +00:00
Dana Jansens
40c0bc4226 wrong data type for the window border element 2007-05-16 17:59:28 +00:00
Dana Jansens
4d4e657cb7 proper english 2007-05-16 17:16:16 +00:00
Dana Jansens
6f936115b1 fix desktop bindings. thank you prim. 2007-05-16 00:28:51 +00:00
Dana Jansens
9aa5ca29ae updates for the build system. always set Openbox on the support window 2007-05-15 02:32:49 +00:00
Dana Jansens
b74cff0302 changes to the manual pages.
adding openbox-session.

add paths to the xsession .desktop files
2007-05-15 02:02:40 +00:00
Mikael Magnusson
73f4b16d8e themerc.xsd is not executable 2007-05-14 22:53:23 +00:00
Dana Jansens
12c9b56dad add openbox-session for gdm, which will run ~/.config/openbox/autostart 2007-05-14 21:58:39 +00:00
Dana Jansens
f58ece6095 remove config namespaces 2007-05-14 21:32:12 +00:00
Dana Jansens
6171dbf970 when using openbox-gnome/kde-session, use a separate config file (rc-gnome/kde.xml) 2007-05-13 22:49:20 +00:00
Dana Jansens
f16d320723 add gnome and kde config files which are the same, but without the root window menus 2007-05-13 22:39:27 +00:00
Dana Jansens
d5a25d78f8 small change to the default rc 2007-05-13 22:28:07 +00:00
Dana Jansens
82432ae4d0 typo in the default config 2007-05-13 21:47:27 +00:00
Dana Jansens
8fd052ff44 a new default config file.. it's very click to focusy. will make an example for mouse focus people. 2007-05-13 21:44:35 +00:00
Dana Jansens
7a39cb3e8d no strut for docks that autohide 2007-05-13 21:06:23 +00:00
Dana Jansens
d676c11881 changes to build.. 2007-05-13 00:16:11 +00:00
Dana Jansens
1a23a1bb8b point to the right schema 2007-05-12 19:10:19 +00:00
Dana Jansens
bd82becb48 text cleanup 2007-05-12 18:58:38 +00:00
Dana Jansens
811fa21940 remove the edges_hit_layers_below option. don't use windows in other layers for resistance 2007-05-12 18:56:56 +00:00
Dana Jansens
5812a81c18 use the combined client list by default 2007-05-12 18:50:19 +00:00
Dana Jansens
3f446e917d the changelog for the xsd's is in svn now, also they are out of date 2007-05-12 18:21:30 +00:00
Dana Jansens
2ff10b4260 relocate the xsd's so they don't clash, and point to the right places 2007-05-12 18:18:25 +00:00
Dana Jansens
5eba6007e7 change the "handle" context to "bottom". add a "top" context. make the top
and bottom contexts resize vertically in the default config file.
2007-05-12 17:54:55 +00:00
Dana Jansens
06181f9cc4 make the handle resize by default, and give the handle the resize south cursor 2007-05-12 17:32:10 +00:00
Dana Jansens
3bee91aaf9 remove buttons from themes when they are using the defaults already for clarity
some small changes to themes..
  buttons can hide themselves now, so removed the empty disabled masks for
    Bear2 and Natura
install the default xbms for reference to the doc dir
install some basic documentation to the doc dir
2007-05-12 00:48:06 +00:00
Dana Jansens
770360278c add the metadata 2007-05-11 22:20:26 +00:00
Dana Jansens
b63ad92cca give different border colors to active and inactive windows. adjust the xml theme format a little to make it BETTER. rawr. add some metadata standards too. 2007-05-11 22:18:43 +00:00
Dana Jansens
ae4bb6bcb2 not using this anymore 2007-05-10 04:06:38 +00:00
Dana Jansens
7d27d9d398 kill the .in's for xml. we're not installing the xsd to the filesystem anymore anyways.
kill the openbox-kde and openbox-gnome, we're going to have to do it different.
put the full path to the openbox binary in the openbox-*-session files by using .in's
2007-05-10 03:12:44 +00:00
Dana Jansens
23d4eb5f4f kill the hideDisabled option 2007-05-09 03:42:41 +00:00
Dana Jansens
37e2be2a57 fix a crash after reconfigure, the desktop names were not being re-set. so now they aren't deleted since we don't want to change them over a reconfigure anyways. 2007-05-07 16:49:27 +00:00
Dana Jansens
82b2f0aa7a popups fixes. if the text for the popup is empty now, there wont be extra padding for it. desktop name fixes. 2007-05-07 06:33:43 +00:00
Dana Jansens
2e6b3870c5 make reference to there is no session manager 2007-05-07 03:02:03 +00:00
Dana Jansens
1357dacb7a it looks better GNOME/Openbox etc rather than vice versa.
also update the stand-alone session file
2007-05-07 03:01:23 +00:00
Dana Jansens
24c0d61847 add the 'engine="box"' to the theme format, and require it to be there so we can change that in the future 2007-05-07 02:38:13 +00:00
Dana Jansens
974391d345 switch to using a command line variable instead, for the restart binary, just remove it so its not given to the session manager and confuses things.
drop the reconfigure notify pid for now
2007-05-07 01:57:10 +00:00
Dana Jansens
740c8af41e add .desktops for running Openbox, KDE/Openbox and GNOME/Openbox
add more .desktops for gnome and update it
add scripts to run an KDE/Openbox and GNOME/Openbox session
also add scripts for openbox-gnome and openbox-kde which are placeholders and will be replaced by real programs.
also set the name on the wm_support_win to be how we were called (which is passed in the environment) rather than just "Openbox"
add an envionment variable for wanting to be notified (SIGUSR2) when openbox reconfigures. this would be used by openbox-shell to update the root window.. if i make such a thing.. i dunno.
2007-05-07 01:41:48 +00:00
Dana Jansens
7ffa091d5b change the perapp settings "head" option to "monitor" i think its easier to understand.
some cleanup for perapp settings.
make monitor and desktop be specified starting at 1, like elsewhere in the config file.
2007-05-06 22:57:49 +00:00
Dana Jansens
6cd5f7ea38 document the per app settings in rc.xml.in. some xsd fixes. add the "default" option to all the per-app settings which is the same as not putting it in there at all. 2007-05-06 22:04:55 +00:00
Dana Jansens
c51373c201 fix some comments 2007-05-06 21:32:49 +00:00
Dana Jansens
3d54ac170c some friendlier? desktop names 2007-05-06 06:02:36 +00:00
Dana Jansens
526560b8a0 changes to the client menu, which entries are there, and reorganizing, and renaming.
let you highlight disabled menu entries, they just aren't runable of course, and add the activedisabled theme element for these entries.
add the all desktops button picture to "All desktops" in the client menu
update the themes for the new element, and some changes to make things more readable-better contrast.

CLEARLOOKS-OLIVE is now DIFFERENT FROM THE 3.4 BRANCH SO DON'T RE-RUN THEMETOXML ON IT :( :(
yeah.. i think that is everything?
2007-05-05 22:26:59 +00:00
Dana Jansens
ac56fe1602 make animation default on again. :/ 2007-05-05 16:20:04 +00:00
Mikael Magnusson
492b66ea14 don't animate iconify/restore by default 2007-05-05 09:58:56 +00:00
Dana Jansens
08e42acaad animate iconify/reestore. yeah. 2007-05-05 05:58:35 +00:00
Dana Jansens
064e997145 add new Clearlooks themes. Make Clearlooks the default theme. 2007-05-02 03:42:34 +00:00
Dana Jansens
4e590eba23 add a separate font config for onscreendisplays
change menutitle in the rc to menuheader
fix up the xsd for fonts
2007-04-26 13:10:36 +00:00
Mikael Magnusson
853a5b6b04 i think xsd files are supposed to say xsd, not xs 2007-04-26 04:02:24 +00:00
Mikael Magnusson
c259b2e1c5 this is just wrong 2007-04-26 03:53:24 +00:00
Mikael Magnusson
53c08bab0a remove xs:sequence and one more update for chroot stuffs 2007-04-26 03:42:04 +00:00
Mikael Magnusson
74ce377ef5 update for chroot stuffs 2007-04-26 03:19:34 +00:00
Mikael Magnusson
a744deeee3 consistency for dock layer naming 2007-04-25 15:44:49 +00:00
Mikael Magnusson
05560c929b fix layer type to use above/below as in the code, not Top/Bottom 2007-04-25 14:02:44 +00:00
Dana Jansens
9fe12048a1 oops, bad idea 2007-04-25 03:24:11 +00:00
Dana Jansens
1bb1bb1088 focus and raise when you click on the frame itself, i.e. the border to the sides of the client window 2007-04-25 03:15:08 +00:00
Mikael Magnusson
0f43a68405 remove fourCorners from data/ as well 2007-04-24 18:43:52 +00:00
Dana Jansens
c97c6342c2 add a default action for cycling panels 2007-04-23 23:03:44 +00:00
Dana Jansens
fa72e99fbf add the panels option, which is for NextWindow/PreviousWindow and the directional focus actions 2007-04-23 23:01:41 +00:00
Dana Jansens
33e017838f set the default config tool for gnome to be obconf2 2007-04-23 22:38:37 +00:00
Dana Jansens
957963e272 1) get rid of menu titles
2) let separators have labels, when they have a label, then they will appear like a menu title used to

so if you want a menu title, you use a separator in the menu itself at the top

more style work may be needed
2007-04-22 00:36:54 +00:00
Dana Jansens
5fb30e4488 add toggled-pressed and toggled-hover button states to themes. also rename toggled to be toggled-unpressed 2007-03-28 03:32:46 +00:00
Dana Jansens
45087efbcd point and padding became redundant.. do remove padding type from xsd and use point type. also fix bug in theme parser where it was looking for wrong one. 2007-03-05 16:23:13 +00:00
Dana Jansens
ec304c9e43 scary commit..but here goes.
YOUR THEMES ARE NOW OFFICIALLY BROKEN.

Openbox has just moved it's theme format to an XML based one. The details of
this format can be found in data/themerc.xsd (and http://openbox.org/themerc.xsd

ALSO! This is very good and important and stuff! In the tools directory you
will find THEMETOXML ! This tool takes a themerc on stdin, and spits out
the same theme in theme.xml format. So this is all you need to do to update
your themes.

PLEASE NOTE: This themetoxml does _not_ install itself anywhere. It simply
builds and then lives out in its tools/themetoxml directory, and that's it. So
if you want to use it, that is where to find it.

In moving to the new XML format, a number of additions/changes to the theme
engine have been made. Themetoxml takes these into account and will set all
the new things appropriately to make your theme look the same as it always has.

New additions include..
* padding now has an horizontal and vertical component, instead of being one number
* menus can have different borders than windows (color and size)
* menu offset can now be negative. it's a little weird, but someone will want it no doubt
* fonts are no longer controled by the theme at all, however font shadowing is, and on that note..
* font shadows are now any color you want, not just black and white
* you can now set the shadow anywhere you can set the text's color, so you have more control, i.e. you can set shadow on active menu items but not inactive, or disabled, etc.
* every color now has an alpha channel. at the moment they don't do anything, besides the font shadow one, but it leaves room for future explorations. it is REALLY HIGHLY RECOMMENDED that you set the alpha to 255 all the time, until such time as it could be useful. otherwise one day your theme may turn awful for people.
* font colors are in the range 0-255, in case you were wondering, and they have to be specified in decimal
* if you'd like to change you font's you can do so in your configuration file. this is how it is going to stay. changing the font in the theme assumes too much about peoples eye sight and locality and stuff. it doesn't belong there, sorry. the system-wide default rc.xml includes the new font settings for your viewing pleasure, and ill drop an example of it below.
* shadows can now be positioned in any direction, they have both an x and a y offset which can be negative and positive. and offset of 0,0 will disable the shadow

This isn't a release or anything. If someone had some good ideas about the xml theme format, I'd like to hear them. But I don't think it will be changing much right now beyond where it is. I don't even know how the new functionality will play out for themers, so we'll see.

Whew.. I guess that's it. I'm not sure if I mentioned every little change or not, but oh well. Mileage may vary.. Please send any feedback.

Here's the font configuration example. Hopefully ObConf will let you set this real soon.

<theme>
...
  <font place="ActiveWindow">
    <name>arial,sans</name>
    <size>7</size>
    <weight>bold</weight>
    <slant>normal</slant>
  </font>
  <font place="InactiveWindow">
    <name>arial,sans</name>
    <size>7</size>
    <weight>bold</weight>
    <slant>normal</slant>
  </font>
  <font place="MenuTitle">
    <name>arial,sans</name>
    <size>8</size>
    <weight>bold</weight>
    <slant>normal</slant>
  </font>
  <font place="MenuItem">
    <name>arial,sans</name>
    <size>8</size>
    <weight>bold</weight>
    <slant>normal</slant>
  </font>
</theme>
2007-03-05 15:44:17 +00:00
Dana Jansens
191a0bc075 i moved the font shadow stuff back into the theme, so move them out of the font configuration stuff 2007-03-04 18:49:16 +00:00
Dana Jansens
e5ad7721ff add the new font things to our example rc.xml and the xsd stylesheet 2007-03-04 17:18:40 +00:00
Mikael Magnusson
b18846db69 Add MoveFromEdge* actions, shorten client_directional_edge_search with some handy #defines 2006-10-31 03:33:21 +00:00
Mikael Magnusson
1fbc70da58 disable middle menus by default 2006-09-06 10:50:33 +00:00
Mikael Magnusson
d84f1aac10 remove .cvsignore files 2006-08-31 13:49:36 +00:00
Mikael Magnusson
26dd616b1f change default theme in example rc file 2006-08-20 20:58:52 +00:00
Mikael Magnusson
71ba050bfa fix syntax error in default config 2006-08-19 18:51:25 +00:00
Mikael Magnusson
83a0303dd7 add option titleNumber in theme section to disable the little [x] that you get after identical window titles 2006-08-16 19:32:13 +00:00
Mikael Magnusson
56c548b203 make menus optionally vertically centered, and enable by default, see bug #2746 2006-08-02 17:25:32 +00:00
Mikael Magnusson
8cb6e95eb6 add moverelative and resizerelative 2006-08-02 16:36:40 +00:00
Mikael Magnusson
6212b7c19b update rc.xml.in, also thanks to jonas k��lker 2006-08-01 19:47:09 +00:00
Mikael Magnusson
dd33cfe70b update rc.xsd, many thanks to jonas k��lker 2006-08-01 19:43:01 +00:00
Mikael Magnusson
ed61a94ca5 per app settings 2006-06-08 10:18:31 +00:00
Mikael Magnusson
e1665d70b5 add showDelay to dock 2005-09-25 14:45:24 +00:00
Mikael Magnusson
6236d2bcc2 add movetocenter here 2005-09-06 06:34:19 +00:00
Mikael Magnusson
1cfb65bc40 add a config option hideDisabled in the theme section that hides disabled buttons instead of showing them as disabled, based on patch in bug #2310 2005-07-14 13:44:33 +00:00
Mikael Magnusson
498ae4cc20 add noStrut option to dock and fix up rc.xsd, some options were in the wrong section due to hideDelay being in both dock and menu 2005-03-25 20:17:45 +00:00
Mikael Magnusson
916e24d9c4 Add a FocusToBottom action which moves the client to the bottom of the focus order stack 2005-03-11 21:49:54 +00:00
Mikael Magnusson
558ea325dd *** empty log message *** 2005-02-12 01:59:55 +00:00
Mikael Magnusson
ff39f02c38 add an option to resize with 4 corners as it was long ago and make the default 9 "corners" with the middle corner being move. that way you only need one mod+button to move and resize windows 2004-11-04 12:13:25 +00:00
Mikael Magnusson
10805a4764 config option for icons in desktop menus 2004-10-31 10:10:33 +00:00
Mikael Magnusson
c02f68499f option to make dragging and findedge ignore windows on lower layers 2004-09-04 19:45:38 +00:00
Mikael Magnusson
aa88bc9918 togglefullscreen action from Joaquin Aguirrezabalaga 2004-08-17 21:33:55 +00:00
Mikael Magnusson
16f4b6a346 something like this maybe 2004-04-22 12:44:20 +00:00
Mikael Magnusson
dd7c6ad734 add back the focusLast option for the "i lost count"th time 2004-02-24 20:26:08 +00:00
Dana Jansens
5b2ac0a66c remove the debian menu file 2003-10-27 20:43:41 +00:00
Dana Jansens
9c02177301 dont wrap in the default keyboard desktop switching bindings 2003-10-12 20:47:05 +00:00
Dana Jansens
80c9f16876 reverse the directions for the default mouse wheel bindings 2003-10-12 20:38:31 +00:00
Dana Jansens
c361784b78 remove restart from the menu 2003-09-29 07:41:24 +00:00
Dana Jansens
ff04a81e62 add option for under-mouse placement 2003-09-28 09:06:40 +00:00
Dana Jansens
fa962c1604 removing focusLast again.. 2003-09-28 08:45:43 +00:00
Dana Jansens
396be581c3 add the dialog option for actions 2003-09-27 18:01:25 +00:00
Dana Jansens
0919413fca remove the dialog option section 2003-09-27 17:59:24 +00:00