Openbox WM and Bash

For discussions about programming, programming questions/advice, and projects that don't really have anything to do with Puppy.
Post Reply
Message
Author
User avatar
RSH
Posts: 2397
Joined: Mon 05 Sep 2011, 14:21
Location: Germany

Openbox WM and Bash

#1 Post by RSH »

Hi.

I want to switch between different desktops in openbox. I did get a reply to this in the middle of 2012, here.

To increase the functionality and comfort I need to know:

- how to get information about the activated desktop
- how to get information about the numbers of available desktops
- how to increase the numbers of available desktops

I want to do all this for the Openbox WM using Bash - information for the use in different WMs could also be helpful (for maybe a later use in different WMs)

Thanks

RSH
[b][url=http://lazy-puppy.weebly.com]LazY Puppy[/url][/b]
[b][url=http://rshs-dna.weebly.com]RSH's DNA[/url][/b]
[url=http://murga-linux.com/puppy/viewtopic.php?t=91422][b]SARA B.[/b][/url]

User avatar
sunburnt
Posts: 5090
Joined: Wed 08 Jun 2005, 23:11
Location: Arizona, U.S.A.

#2 Post by sunburnt »

Hi RSH; I`m not very learned about such things. Don`t know how to get info.
And I`d think installing them is the way to increase their numbers.
There`s got to be a mass of incompatibilities between them.

I`d think this would give a list of selected installed desktops:

Code: Select all

ls -1 /usr/bin |egrep '(gnome|kde|xfce|lxde)'
Q: What`s good about OpenBox that you`re so interested in it?

jpeps
Posts: 3179
Joined: Sat 31 May 2008, 19:00

#3 Post by jpeps »


User avatar
GustavoYz
Posts: 883
Joined: Wed 07 Jul 2010, 05:11
Location: .ar

#4 Post by GustavoYz »

wmctrl ?

Code: Select all

<-|GsTv|-> - [ ON :: 100.00 ] - [522 :: 51] - [root] - [~/wmctrl-1.07]  # 
wmctrl -d
0  - DG: N/A  VP: 0,0  WA: 0,20 1366x748  000
1  - DG: N/A  VP: 0,0  WA: 0,20 1366x748  001
2  - DG: N/A  VP: 0,0  WA: 0,20 1366x748  010
3  - DG: N/A  VP: 0,0  WA: 0,20 1366x748  011
4  - DG: N/A  VP: N/A  WA: N/A            100
5  - DG: N/A  VP: N/A  WA: N/A            101
6  - DG: N/A  VP: N/A  WA: N/A            110
7  * DG: N/A  VP: N/A  WA: N/A            111
Copy/pasted from console: 8 desktops, active is number 7.

Post Reply