Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
openbox3
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

Goto page Previous  1, 2, 3 ... 6, 7, 8, 9, 10, 11  Next  
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
devsk
Advocate
Advocate


Joined: 24 Oct 2003
Posts: 2998
Location: Bay Area, CA

PostPosted: Tue Nov 04, 2003 2:02 am    Post subject: Reply with quote

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
View user's profile Send private message
atom
Tux's lil' helper
Tux's lil' helper


Joined: 25 Nov 2002
Posts: 122
Location: Columbus, Ohio, USA

PostPosted: Tue Nov 04, 2003 3:19 pm    Post subject: Reply with quote

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
View user's profile Send private message
tseng
Retired Dev
Retired Dev


Joined: 02 Aug 2003
Posts: 33
Location: York, Pa.

PostPosted: Tue Nov 04, 2003 4:04 pm    Post subject: session manager Reply with quote

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
View user's profile Send private message
TPC
Tux's lil' helper
Tux's lil' helper


Joined: 16 Sep 2003
Posts: 135
Location: Sweden

PostPosted: Tue Nov 04, 2003 4:47 pm    Post subject: Reply with quote

could someone post their menu so I have something to work from when making mine?
Back to top
View user's profile Send private message
tam1138
Tux's lil' helper
Tux's lil' helper


Joined: 28 Oct 2003
Posts: 103

PostPosted: Tue Nov 04, 2003 6:17 pm    Post subject: Reply with quote

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
View user's profile Send private message
TPC
Tux's lil' helper
Tux's lil' helper


Joined: 16 Sep 2003
Posts: 135
Location: Sweden

PostPosted: Tue Nov 04, 2003 7:00 pm    Post subject: Reply with quote

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
View user's profile Send private message
TactX
n00b
n00b


Joined: 28 Jan 2003
Posts: 31
Location: Germany

PostPosted: Tue Nov 04, 2003 7:53 pm    Post subject: Reply with quote

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
View user's profile Send private message
Angelus
n00b
n00b


Joined: 13 Apr 2003
Posts: 25
Location: Paraná, Argentina

PostPosted: Tue Nov 04, 2003 8:18 pm    Post subject: May be a stupid question Reply with quote

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
View user's profile Send private message
atom
Tux's lil' helper
Tux's lil' helper


Joined: 25 Nov 2002
Posts: 122
Location: Columbus, Ohio, USA

PostPosted: Wed Nov 05, 2003 6:41 am    Post subject: Reply with quote

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
View user's profile Send private message
TactX
n00b
n00b


Joined: 28 Jan 2003
Posts: 31
Location: Germany

PostPosted: Wed Nov 05, 2003 7:29 am    Post subject: Reply with quote

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 :wink:

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 8)
_________________
"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
View user's profile Send private message
mabouya
n00b
n00b


Joined: 15 May 2003
Posts: 39
Location: Matinik

PostPosted: Fri Nov 07, 2003 3:15 am    Post subject: Reply with quote

openbox3 is here! yeepeee!!!
Back to top
View user's profile Send private message
dub.wav
Tux's lil' helper
Tux's lil' helper


Joined: 09 Apr 2003
Posts: 149
Location: Norway

PostPosted: Fri Nov 07, 2003 7:18 am    Post subject: Reply with quote

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
View user's profile Send private message
Stieltje
Apprentice
Apprentice


Joined: 03 Apr 2003
Posts: 158
Location: The land where the sky is black

PostPosted: Wed Nov 12, 2003 1:51 am    Post subject: Reply with quote

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
View user's profile Send private message
crimson
Guru
Guru


Joined: 27 Apr 2002
Posts: 430
Location: Cedar Rapids, IA

PostPosted: Wed Nov 12, 2003 2:23 am    Post subject: Reply with quote

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
View user's profile Send private message
Stieltje
Apprentice
Apprentice


Joined: 03 Apr 2003
Posts: 158
Location: The land where the sky is black

PostPosted: Wed Nov 19, 2003 6:27 am    Post subject: Reply with quote

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
View user's profile Send private message
dub.wav
Tux's lil' helper
Tux's lil' helper


Joined: 09 Apr 2003
Posts: 149
Location: Norway

PostPosted: Wed Nov 19, 2003 4:27 pm    Post subject: Reply with quote

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
View user's profile Send private message
tseng
Retired Dev
Retired Dev


Joined: 02 Aug 2003
Posts: 33
Location: York, Pa.

PostPosted: Sat Dec 06, 2003 10:46 pm    Post subject: ob3 stable on x86 Reply with quote

So, Openbox 3 just went to stable on x86. Enjoy ;)
Back to top
View user's profile Send private message
jcc
Apprentice
Apprentice


Joined: 30 May 2003
Posts: 233
Location: Fort de France, Martinique

PostPosted: Sat Dec 06, 2003 11:25 pm    Post subject: Reply with quote

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
View user's profile Send private message
eikketk
Apprentice
Apprentice


Joined: 03 Jun 2003
Posts: 270
Location: Belgium

PostPosted: Fri Dec 12, 2003 7:54 am    Post subject: Reply with quote

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
View user's profile Send private message
Stormy Eyes
Veteran
Veteran


Joined: 09 Apr 2003
Posts: 1064
Location: Watching God spit-shine my boots.

PostPosted: Fri Dec 12, 2003 3:12 pm    Post subject: Re: May be a stupid question Reply with quote

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
View user's profile Send private message
eikketk
Apprentice
Apprentice


Joined: 03 Jun 2003
Posts: 270
Location: Belgium

PostPosted: Fri Dec 12, 2003 9:49 pm    Post subject: Reply with quote

It *could* be a help if Id have a 3button mouse ;-)
Thanks tough :)
Back to top
View user's profile Send private message
Stormy Eyes
Veteran
Veteran


Joined: 09 Apr 2003
Posts: 1064
Location: Watching God spit-shine my boots.

PostPosted: Fri Dec 12, 2003 9:51 pm    Post subject: Reply with quote

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
View user's profile Send private message
eikketk
Apprentice
Apprentice


Joined: 03 Jun 2003
Posts: 270
Location: Belgium

PostPosted: Sat Dec 13, 2003 1:45 pm    Post subject: Reply with quote

I use '-2button' to start fdo's xserver... But dunno how to use it :oops:
Back to top
View user's profile Send private message
Stormy Eyes
Veteran
Veteran


Joined: 09 Apr 2003
Posts: 1064
Location: Watching God spit-shine my boots.

PostPosted: Sun Dec 14, 2003 5:34 pm    Post subject: 2 button mouse. Reply with quote

eikketk wrote:
I use '-2button' to start fdo's xserver... But dunno how to use it :oops:


Did you try clicking both buttons at the same time? That's how you emulate the 3rd button under XFree86.
Back to top
View user's profile Send private message
Stormy Eyes
Veteran
Veteran


Joined: 09 Apr 2003
Posts: 1064
Location: Watching God spit-shine my boots.

PostPosted: Sun Dec 14, 2003 5:37 pm    Post subject: Some themes for Openbox 3: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Goto page Previous  1, 2, 3 ... 6, 7, 8, 9, 10, 11  Next
Page 7 of 11

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum