LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Puppy
User Name
Password
Puppy This forum is for the discussion of Puppy Linux.

Notices


Reply
  Search this Thread
Old 01-13-2016, 09:05 PM   #1
Fixit7
Senior Member
 
Registered: Mar 2014
Location: El Lago, Texas
Distribution: Ubuntu_Mate 16.04
Posts: 1,374

Rep: Reputation: 169Reputation: 169
Set virtual desktops to 0 ?


Is there a way to set virtual desktops to 0 ?

I want to use the space for something else.
 
Old 01-14-2016, 04:53 AM   #2
dijetlo
Senior Member
 
Registered: Jan 2009
Location: RHELtopia....
Distribution: Solaris 11.2/Slackware/RHEL/
Posts: 1,491
Blog Entries: 2

Rep: Reputation: Disabled
All desktops are virtual desktops, so the easiest way to set them to 0 is not to spawn an x-server and work in the virtual terminals.
If you want only 1 virtual desktop, that's dependent on your Window Manager/Desktop Environment, which one are you using?
 
Old 01-14-2016, 01:56 PM   #3
Fixit7
Senior Member
 
Registered: Mar 2014
Location: El Lago, Texas
Distribution: Ubuntu_Mate 16.04
Posts: 1,374

Original Poster
Rep: Reputation: 169Reputation: 169
Quote:
Originally Posted by dijetlo View Post
All desktops are virtual desktops, so the easiest way to set them to 0 is not to spawn an x-server and work in the virtual terminals.
If you want only 1 virtual desktop, that's dependent on your Window Manager/Desktop Environment, which one are you using?
I am using JWM, Joes Window Manager.
 
Old 01-14-2016, 03:50 PM   #4
dijetlo
Senior Member
 
Registered: Jan 2009
Location: RHELtopia....
Distribution: Solaris 11.2/Slackware/RHEL/
Posts: 1,491
Blog Entries: 2

Rep: Reputation: Disabled
OK, so according to his documentation...

The system wide configuration file is located in /usr/local/etc/system.jwmrc.. I wouldn't modify that without first making a backup copy.
The user specific config file can be created by copying the system.jwmrc to the users home directory, ~/.jwmrc
It's an xml file, which should make this pretty easy, xml uses elements and attributes...
example
<Program icon="terminal.png" label="Terminal">xterm</Program>
Program is the element, the attributes are icon and label. The executable, xterm in this case, is the data the element refers to. <Program... > opens the element. The attributes are enclosed with these brackets and </Program> closes the Element.
More on xml here...
You're looking for the "Desktops" tag in the configuration file,

Desktops
The number of desktops is controlled by the Desktops tag. The width attribute determines how many desktops are available horizontally and the height attribute determines how many desktops are available vertically.


I'd go with 1 width and 1 height to start with. The documentation looks pretty straight forward, let me know if you have any problems.
 
Old 01-14-2016, 04:13 PM   #5
Fixit7
Senior Member
 
Registered: Mar 2014
Location: El Lago, Texas
Distribution: Ubuntu_Mate 16.04
Posts: 1,374

Original Poster
Rep: Reputation: 169Reputation: 169
Thanks.

There is only one file in /usr/local/etc/.

A text file that says:

Quote:
I think we might need this directory, even if nothing in it,
as some apps look in here.
I did a search for system.jwmrc with Pfind, but it did not find it.

Maybe a change was made in the newest version ?
 
Old 01-14-2016, 04:40 PM   #6
Fixit7
Senior Member
 
Registered: Mar 2014
Location: El Lago, Texas
Distribution: Ubuntu_Mate 16.04
Posts: 1,374

Original Poster
Rep: Reputation: 169Reputation: 169
I found the settings in jwmrc-personal.

Height and width were already set to 1.

I tried 0, but then it gave me 4 desktops.

Good learning experience.
 
Old 01-15-2016, 06:58 AM   #7
dijetlo
Senior Member
 
Registered: Jan 2009
Location: RHELtopia....
Distribution: Solaris 11.2/Slackware/RHEL/
Posts: 1,491
Blog Entries: 2

Rep: Reputation: Disabled
Thanks Andy,

Kudos on tracking down the config file.
I may give it a try this weekend, I'm still wondering if 1,1 for the setting wouldn't give you a single desktop (think in terms of table creation, 1 row height, 1 column width). I'm also wondering if reducing the interface to a single desktop is going to reduce the resource consumption footprint of the window manager, or even the x server.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Difference between cloud desktops and virtual desktops infrastructure (VDI) IgorArefyev General 1 12-03-2015 08:41 AM
Do you use your virtual desktops? AnonymousGuy Linux - Desktop 39 10-26-2014 01:14 PM
LXer: Deja Vu: IBM Pushes Virtual Linux Desktops With Virtual Bridges (Again) LXer Syndicated Linux News 0 01-25-2011 12:40 PM
[Solved] Missing where to set individual virtual desktops wallpaper, Fedora 12 w/KDE jfraymondpa Fedora 2 01-04-2010 07:40 PM
No Virtual Desktops Kourosh Mandriva 2 12-20-2006 05:59 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Puppy

All times are GMT -5. The time now is 05:25 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration