Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Wed 16 Apr 2014, 15:07
All times are UTC - 4
 Forum index » Off-Topic Area » Programming
Openbox WM and Bash
Post new topic   Reply to topic View previous topic :: View next topic
Page 1 of 1 [4 Posts]  
Author Message
RSH


Joined: 05 Sep 2011
Posts: 2035
Location: Germany

PostPosted: Sun 13 Jan 2013, 01:02    Post subject:  Openbox WM and Bash  

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

_________________
LazY Puppy
RSH's DNA
SARA B.
Back to top
View user's profile Send private message 
sunburnt


Joined: 08 Jun 2005
Posts: 4979
Location: Arizona, U.S.A.

PostPosted: Tue 15 Jan 2013, 02:13    Post subject:  

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:
ls -1 /usr/bin |egrep '(gnome|kde|xfce|lxde)'


Q: What`s good about OpenBox that you`re so interested in it?
Back to top
View user's profile Send private message 
jpeps

Joined: 31 May 2008
Posts: 3219

PostPosted: Tue 15 Jan 2013, 02:18    Post subject:  

http://openbox.org/wiki/Configuration#Desktops
Back to top
View user's profile Send private message 
GustavoYz


Joined: 07 Jul 2010
Posts: 886
Location: .ar

PostPosted: Tue 15 Jan 2013, 23:55    Post subject:  

wmctrl ?

Code:
<-|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.

_________________

Back to top
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 1 of 1 [4 Posts]  
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » Off-Topic Area » Programming
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
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.0484s ][ Queries: 12 (0.0038s) ][ GZIP on ]