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 Sun 25 Jan 2015, 08:21
All times are UTC - 4
 Forum index » House Training » HOWTO ( Solutions )
Different resolutions on different desktops
Moderators: Flash, Ian, JohnMurga
Post new topic   Reply to topic View previous topic :: View next topic
Page 1 of 1 [2 Posts]  
Author Message
rufwoof

Joined: 24 Feb 2014
Posts: 494

PostPosted: Sun 04 Jan 2015, 14:49    Post subject:  Different resolutions on different desktops  

For a 2 desktop Puppy, change /root/.jwm/jwmrc-personal desktop setting to something like

Code:
<Desktops width="2" height="1">
   <Desktop><Background type="command">/usr/bin/resHI</Background></Desktop>
   <Desktop><Background type="command">/usr/bin/resLO</Background></Desktop>
</Desktops>

that will execute the commands /usr/bin/resHI and /usr/bin/resLO when you switch between desktop 1 and desktop 2

/usr/bin/resHI (and resLO) are just scripts I created (and made executable) in the /usr/bin folder

xrandr shows what resolutions your card/system supports, so for mine my resHI looks like

#!/bin/bash
xrandr --output VGA2 --mode 1024x768 --rate 60

and resLO looks like

#!/bin/bash
xrandr --output VGA2 --mode 800x600 --rate 60.3

You'll have to set the output, mode and rate according to your own system

Now when on desktop 1 I'm in 1024x768 mode and drag across to desktop 2 (the right) or switch desktops and it switches to 800x600 resolution. For me that's handy when using Softmaker/FreeOffice as the fonts are too small for comfort in 1024x768, but much clearer in 800x600. i.e normal typing/running is OK under 1024x768, but then when it comes to open or save the open file dialog text is too small for comfort, so drag that dialog to the right (into desktop 2) and its much easier to see.

(EDIT : PS, if I load nvidia resolution changing using xrandr stops working, so mileage may vary)
dt.jpg
 Description   
 Filesize   64.8 KB
 Viewed   109 Time(s)

dt.jpg

hr.jpg
 Description   
 Filesize   55.76 KB
 Viewed   115 Time(s)

hr.jpg

lr.jpg
 Description   
 Filesize   44.08 KB
 Viewed   115 Time(s)

lr.jpg

Back to top
View user's profile Send private message 
rufwoof

Joined: 24 Feb 2014
Posts: 494

PostPosted: Sun 04 Jan 2015, 17:06    Post subject:  

So that you don't loose vision of the drive icons after having switched from a higher resolution desktop to a lower res desktop edit /etc/eventmanager

ICON_PLACE-ORIENTATION='top'

I also changed

ICON_PLACE_EDGE_GAP=120

to give room for the normal desktop icons I have at the top of the screen

which will relocate the drive icons towards the top of the screen.

You need to run menu, desktop, drive icon manager - to check the re-draw drive icons checkbox, ok that and then restart X for the changes to take effect
drives.jpg
 Description   
 Filesize   86.76 KB
 Viewed   73 Time(s)

drives.jpg

Back to top
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 1 of 1 [2 Posts]  
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » House Training » HOWTO ( Solutions )
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.0419s ][ Queries: 12 (0.0035s) ][ GZIP on ]