View previous topic :: View next topic |
Author |
Message |
devsk Advocate
Joined: 24 Oct 2003 Posts: 2998 Location: Bay Area, CA
|
Posted: Tue Nov 04, 2003 2:02 am Post subject: |
|
|
Does anybody know if Openbox supports restoring all (session aware) apps open in their respective workspaces? icewm doesn't for example, it dumps all of them on first workspace. How about restoring geometry? metacity fails sometimes (it restores mgt as a small icon sized window). this is big requirement for me and I would appreciate any help.
Or is it that the fault lies with these apps? |
|
Back to top |
|
|
atom Tux's lil' helper
Joined: 25 Nov 2002 Posts: 122 Location: Columbus, Ohio, USA
|
Posted: Tue Nov 04, 2003 3:19 pm Post subject: |
|
|
devsk wrote: | Does anybody know if Openbox supports restoring all (session aware) apps open in their respective workspaces? icewm doesn't for example, it dumps all of them on first workspace. How about restoring geometry? metacity fails sometimes (it restores mgt as a small icon sized window). this is big requirement for me and I would appreciate any help.
Or is it that the fault lies with these apps? |
from page 6:
Kodama wrote: |
I was told about a program called Devil's Pie.
http://www.burtonini.com/blog/computers/devilspie
It's the same type of program as bbappconf. It can make programs run on all desktops, make programs invisible to tasklists and pagers, and run above/under other windows. |
unfortunately there is no ebuild, but this isn't a hard compile.
./configure
make
make install
below is part of my .devlispie.xml. theres not a lot of documentation on it, but its pretty straightforward. also, check out the example included in the package.
Code: | <?xml version="1.0"?>
<!DOCTYPE devilspie SYSTEM "devilspie.dtd">
<!-- The root element is devilspie -->
<devilspie>
<!--
This starts a new flurb, which is a set of matchers and actions.
This flurb matches all windows, and prints out the window name and application name
-->
<flurb name="Print Window Names">
<matchers>
<!-- this is a matcher which always returns true. The full class name must be used -->
<matcher name="DevilsPieMatcherAlways"/>
</matchers>
<actions>
<!-- this action prints out the window and application name -->
<action name="DevilsPieActionDebug"/>
<action name="DevilsPieActionSaveGeometry"/>
</actions>
</flurb>
<flurb name="X-Chat">
<matchers>
<matcher name="DevilsPieMatcherWindowName">
<property name="application_name" value="xchat-2"/>
</matcher>
</matchers>
<actions>
<action name="DevilsPieActionSetWorkspace">
<property name="workspace_index" value="1"/>
</action>
</actions>
</flurb>
<flurb name="Firebird">
<matchers>
<matcher name="DevilsPieMatcherWindowName">
<property name="application_name" value="Gecko"/>
</matcher>
</matchers>
<actions>
<action name="DevilsPieActionSetWorkspace">
<property name="workspace_index" value="2"/>
</action>
</actions>
</flurb>
<flurb name="Gaim-conversation">
<matchers>
<matcher name="DevilsPieMatcherWindowName">
<property name="application_name" value="gaim"/>
</matcher>
<matcher name="DevilsPieMatcherWindowName">
<property name="window_role" value="conversation"/>
</matcher>
</matchers>
<actions>
<action name="DevilsPieActionSetWorkspace">
<property name="pinned" value="TRUE"/>
</action>
</actions>
</flurb>
<flurb name="Gaim-buddylist">
<matchers>
<matcher name="DevilsPieMatcherWindowName">
<property name="application_name" value="gaim"/>
</matcher>
<matcher name="DevilsPieMatcherWindowName">
<property name="window_role" value="buddy_list"/>
</matcher>
</matchers>
<actions>
<action name="DevilsPieActionSetWorkspace">
<property name="workspace_index" value="1"/>
</action>
</actions>
</flurb>
</devilspie> |
|
|
Back to top |
|
|
tseng Retired Dev
Joined: 02 Aug 2003 Posts: 33 Location: York, Pa.
|
Posted: Tue Nov 04, 2003 4:04 pm Post subject: session manager |
|
|
Openbox3 has full session manager support. Just use it with gnome-session.
Run openbox3 --replace to make it your window manager, and save the session. |
|
Back to top |
|
|
TPC Tux's lil' helper
Joined: 16 Sep 2003 Posts: 135 Location: Sweden
|
Posted: Tue Nov 04, 2003 4:47 pm Post subject: |
|
|
could someone post their menu so I have something to work from when making mine? |
|
Back to top |
|
|
tam1138 Tux's lil' helper
Joined: 28 Oct 2003 Posts: 103
|
Posted: Tue Nov 04, 2003 6:17 pm Post subject: |
|
|
TPC wrote: | could someone post their menu so I have something to work from when making mine? |
The default menu is installed at /etc/xdg/openbox/menu.xml, it provides a good starting place. |
|
Back to top |
|
|
TPC Tux's lil' helper
Joined: 16 Sep 2003 Posts: 135 Location: Sweden
|
Posted: Tue Nov 04, 2003 7:00 pm Post subject: |
|
|
tam1138 wrote: | TPC wrote: | could someone post their menu so I have something to work from when making mine? |
The default menu is installed at /etc/xdg/openbox/menu.xml, it provides a good starting place. |
Thanks |
|
Back to top |
|
|
TactX n00b
Joined: 28 Jan 2003 Posts: 31 Location: Germany
|
Posted: Tue Nov 04, 2003 7:53 pm Post subject: |
|
|
I have a small (but annoying) problem with the dock. I'm running gkrellm in the dock which is hidden automatically with a delay of 300 ms.
The problem is, when I hit the right top half of the screen (that's where my dock is) with my mouse, the dock unhides immediately. Unfortunately this occurs almost anytime I want to close a tab in Firebird (or using the scrollbar,...)
I've searched for a parameter like "unhideDelay", but I did not find anything about it...
Any suggestion? Please?
Code: |
<dock>
<position>TopRight</position>
<stacking>Top</stacking>
<direction>Vertical</direction>
<floatingX>0</floatingX>
<floatingY>0</floatingY>
<autoHide>yes</autoHide>
<hideDelay>300</hideDelay>
<moveButton>A-Left</moveButton>
</dock>
|
_________________ "As your attorney, I advise you to drive at top speed. It'll be a goddamn miracle if we can get there before you turn into a wild animal." |
|
Back to top |
|
|
Angelus n00b
Joined: 13 Apr 2003 Posts: 25 Location: Paraná, Argentina
|
Posted: Tue Nov 04, 2003 8:18 pm Post subject: May be a stupid question |
|
|
The only way to show iconified windows in Ob3 is to use something that shows them like rox, fbpanel, gnome-panel , etc?
Openbox3 does not have a toolbar anymore? or something like that?
sorry if this was already said, i read all the posts, but couldn't found anything.
Thanks |
|
Back to top |
|
|
atom Tux's lil' helper
Joined: 25 Nov 2002 Posts: 122 Location: Columbus, Ohio, USA
|
Posted: Wed Nov 05, 2003 6:41 am Post subject: |
|
|
TactX wrote: | I have a small (but annoying) problem with the dock. I'm running gkrellm in the dock which is hidden automatically with a delay of 300 ms.
The problem is, when I hit the right top half of the screen (that's where my dock is) with my mouse, the dock unhides immediately. Unfortunately this occurs almost anytime I want to close a tab in Firebird (or using the scrollbar,...)
I've searched for a parameter like "unhideDelay", but I did not find anything about it...
|
i don't believe there is any functionality like this in openbox3. you could avoid putting windows you need to access in that area. otherwise i'd post to the openbox mailing list or submit a bug. either way, the developers will respond. if you feel its a bug, i'd choose that route. |
|
Back to top |
|
|
TactX n00b
Joined: 28 Jan 2003 Posts: 31 Location: Germany
|
Posted: Wed Nov 05, 2003 7:29 am Post subject: |
|
|
atom wrote: | TactX wrote: | I have a small (but annoying) problem with the dock. I'm running gkrellm in the dock which is hidden automatically with a delay of 300 ms.
The problem is, when I hit the right top half of the screen (that's where my dock is) with my mouse, the dock unhides immediately. Unfortunately this occurs almost anytime I want to close a tab in Firebird (or using the scrollbar,...)
I've searched for a parameter like "unhideDelay", but I did not find anything about it...
|
i don't believe there is any functionality like this in openbox3. you could avoid putting windows you need to access in that area. otherwise i'd post to the openbox mailing list or submit a bug. either way, the developers will respond. if you feel its a bug, i'd choose that route. |
I don't feel it's a bug, it's missing functionality
I already thought about mailing the devs and ask for that feature. I'll propably do that. I think it'd be a nice feature others will find useful too.
Thanks for your reply anyways _________________ "As your attorney, I advise you to drive at top speed. It'll be a goddamn miracle if we can get there before you turn into a wild animal." |
|
Back to top |
|
|
mabouya n00b
Joined: 15 May 2003 Posts: 39 Location: Matinik
|
Posted: Fri Nov 07, 2003 3:15 am Post subject: |
|
|
openbox3 is here! yeepeee!!! |
|
Back to top |
|
|
dub.wav Tux's lil' helper
Joined: 09 Apr 2003 Posts: 149 Location: Norway
|
Posted: Fri Nov 07, 2003 7:18 am Post subject: |
|
|
Here's a ugly shell script I wrote to add entries to the menu.
EDIT: Removed old script.
To use it, edit the case above...Change x11-menu with whatever menu is just below the one you want to add entries to. There should be max one empty line between the two menus. What the script does is load the first part of the menu into an array, add a entry, load the rest of the menu into a array, and then overwrite the menu file. It works really good here, I can run it, and then choose Reconfigure in the menu, and I have a new entry. If you're going to try it, backup of your menu first.
Last edited by dub.wav on Sat Dec 13, 2003 2:38 pm; edited 1 time in total |
|
Back to top |
|
|
Stieltje Apprentice
Joined: 03 Apr 2003 Posts: 158 Location: The land where the sky is black
|
Posted: Wed Nov 12, 2003 1:51 am Post subject: |
|
|
no problems, just a fan post
I now have an uptime of several weeks, and ob3 is rock stable on my machine.
This wm is the best I've used so far!
credits to the devs _________________ PCs nearly always come with Microsoft Windows as their operating systems, but the "OS," as it is called, can be changed to a non-Microsoft operating system with a little work. |
|
Back to top |
|
|
crimson Guru
Joined: 27 Apr 2002 Posts: 430 Location: Cedar Rapids, IA
|
Posted: Wed Nov 12, 2003 2:23 am Post subject: |
|
|
Yeah, I'm using openbox3 right now and its nice. Fluxbox's new versions are great too, but with the pixmaps and the incompatible with blackbox styles, it's starting to seem a bit rough around the edges. Openbox3 seems very smooth and clean. Anyway, I could probably never give up on fb though I love it. Tabs in Openbox might change my mind though hehe. |
|
Back to top |
|
|
Stieltje Apprentice
Joined: 03 Apr 2003 Posts: 158 Location: The land where the sky is black
|
Posted: Wed Nov 19, 2003 6:27 am Post subject: |
|
|
eh, I have found something to complain about though.
the dock space is a little too fascistic, I now have two programs that refuses to occupy that space when I have gkrellm running as a dock app (ie gkrellm -w)
that is xmms and fbpanel 2.2.
I have tried to manipulate the dock behavior via obconf, but it does not make any difference.
should I file a bugreport on this, or what?
hehe, the easiest thing is, of course, to downgrade fbpanel, but you know, just for the hell of it... _________________ PCs nearly always come with Microsoft Windows as their operating systems, but the "OS," as it is called, can be changed to a non-Microsoft operating system with a little work. |
|
Back to top |
|
|
dub.wav Tux's lil' helper
Joined: 09 Apr 2003 Posts: 149 Location: Norway
|
Posted: Wed Nov 19, 2003 4:27 pm Post subject: |
|
|
Here's a rewrite of the script I posted earlier...To use it, save it to a file, make it executable or type sh script.sh. It's much better than the first version I posted...It's cleaner, and doesn't require any configuration. It shows a numbered list of submenus, and asks what menu to put the entry in. After running it, choose Reconfigure in the menu, and the item appears.
Code: |
#!/bin/bash
IFS="
"
ob3menu="$HOME/.config/openbox/menu.xml"
menu=( `cat $ob3menu` )
a=0
for ((i=0; i <= ${#menu[@]}; i++))
do
if [[ "${menu[i]}" = "<menu id="*"label="* ]]
then
valg[$a]=${menu[i]}
echo $[a+1] ${menu[i]}
(( a++ ))
fi
done
while [ -z $menuid ]
do
echo -n "Menu: "
read menuid
done
menuid=${valg[menuid]}
for ((i=0; i <= ${#menu[@]}; i++))
do
if [[ ${menu[i]} = $menuid* ]]
then
s=$i
fi
done
(( s-- ))
for ((i=0; i < s; i++))
do
tmp[$i]=${menu[i]}
done
w1=" "
w2=" "
echo
while [ -z $app ]
do
read -p "App name: " app
done
while [ -z $exec ]
do
read -p "App exec: " exec
done
tmp[$i]="${w1}<item label=\"$app\">"
(( i++ ))
tmp[$i]="${w2}<action name=\"Execute\"><execute>$exec</execute></action>"
(( i++ ))
tmp[$i]="${w1}</item>"
(( i++ ))
a=$i
for ((i=s; i <= ${#menu[@]}; i++))
do
tmp[$a]=${menu[i]}
(( a++ ))
done
{
for ((i=0; i <= ${#tmp[@]}; i++))
do
echo ${tmp[i]}
done
} > $ob3menu
|
|
|
Back to top |
|
|
tseng Retired Dev
Joined: 02 Aug 2003 Posts: 33 Location: York, Pa.
|
Posted: Sat Dec 06, 2003 10:46 pm Post subject: ob3 stable on x86 |
|
|
So, Openbox 3 just went to stable on x86. Enjoy |
|
Back to top |
|
|
jcc Apprentice
Joined: 30 May 2003 Posts: 233 Location: Fort de France, Martinique
|
Posted: Sat Dec 06, 2003 11:25 pm Post subject: |
|
|
dub.wav wrote: | Here's a rewrite of the script I posted earlier...To use it, save it to a file, make it executable or type sh script.sh. It's much better than the first version I posted...It's cleaner, and doesn't require any configuration. It shows a numbered list of submenus, and asks what menu to put the entry in. After running it, choose Reconfigure in the menu, and the item appears.
|
Thank you... This little thingy is useful. Anyway, maybe I'll miss editing it by hand |
|
Back to top |
|
|
eikketk Apprentice
Joined: 03 Jun 2003 Posts: 270 Location: Belgium
|
Posted: Fri Dec 12, 2003 7:54 am Post subject: |
|
|
I emerged Openbox3, and want to use it with freedesktop's Xserver.
If I launch everything the way I think I should, I only get a grey screen with a black pointer...
Havent got my startscript at the moment, not at home. If necessary Ill post it later.
Should I do anything after I emerged openbox?
Thanks, Ikke |
|
Back to top |
|
|
Stormy Eyes Veteran
Joined: 09 Apr 2003 Posts: 1064 Location: Watching God spit-shine my boots.
|
Posted: Fri Dec 12, 2003 3:12 pm Post subject: Re: May be a stupid question |
|
|
Angelus wrote: | The only way to show iconified windows in Ob3 is to use something that shows them like rox, fbpanel, gnome-panel , etc?
Openbox3 does not have a toolbar anymore? or something like that?
sorry if this was already said, i read all the posts, but couldn't found anything.
Thanks |
If you middle-click on the root window, you'll get a desktop menu that shows all apps on a given desktop. If you have Firebird, Thunderbird, and an iconified xterm on Desktop 1, the desktop menu will show Firebird, Thunderbird, a separator line, and then xterm. All iconified apps are separated from non-iconified apps in OB3's desktop menu.
OB3 doesn't have a toolbar. If the mailing list is any indication, a toolbar will not be implemented. The developers appear to think that since Openbox3 can replace Metacity under GNOME and Kwin under KDE, there's no need for a native toolbar.
Hope this helps. |
|
Back to top |
|
|
eikketk Apprentice
Joined: 03 Jun 2003 Posts: 270 Location: Belgium
|
Posted: Fri Dec 12, 2003 9:49 pm Post subject: |
|
|
It *could* be a help if Id have a 3button mouse
Thanks tough |
|
Back to top |
|
|
Stormy Eyes Veteran
Joined: 09 Apr 2003 Posts: 1064 Location: Watching God spit-shine my boots.
|
Posted: Fri Dec 12, 2003 9:51 pm Post subject: |
|
|
eikketk wrote: | It *could* be a help if Id have a 3button mouse
Thanks tough |
You don't have X configured to emulate a 3-button mouse? |
|
Back to top |
|
|
eikketk Apprentice
Joined: 03 Jun 2003 Posts: 270 Location: Belgium
|
Posted: Sat Dec 13, 2003 1:45 pm Post subject: |
|
|
I use '-2button' to start fdo's xserver... But dunno how to use it |
|
Back to top |
|
|
Stormy Eyes Veteran
Joined: 09 Apr 2003 Posts: 1064 Location: Watching God spit-shine my boots.
|
Posted: Sun Dec 14, 2003 5:34 pm Post subject: 2 button mouse. |
|
|
eikketk wrote: | I use '-2button' to start fdo's xserver... But dunno how to use it |
Did you try clicking both buttons at the same time? That's how you emulate the 3rd button under XFree86. |
|
Back to top |
|
|
Stormy Eyes Veteran
Joined: 09 Apr 2003 Posts: 1064 Location: Watching God spit-shine my boots.
|
Posted: Sun Dec 14, 2003 5:37 pm Post subject: Some themes for Openbox 3: |
|
|
If anybody's looking for themes, I have three at http://starbreaker.net/linux.php?page_id=openbox3. Here's a screenshot of the best of them:
[img:378cf20dce]http://www.starbreaker.net/gallery/screens/ob3-preternatural.png[/img:378cf20dce] |
|
Back to top |
|
|
|