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 Mon 29 Aug 2016, 21:32
All times are UTC - 4
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Desktop
Viewnior 1.6 patched
Post new topic   Reply to topic View previous topic :: View next topic
Page 1 of 1 [2 Posts]  
Author Message
666philb


Joined: 07 Feb 2010
Posts: 2997
Location: wales

PostPosted: Sat 30 Jul 2016, 18:50    Post subject:  Viewnior 1.6 patched
Subject description: setwallpaper option working
 

viewnior is my favourite image viewer... it's fast and opens almost anything.

newer versions of viewnior have an option the set the viewed image as your desktop wallpaper and this works for gnome,lxde,xfce ... etc but not for a puppy which uses ROX and it's own set_bg script.

attached is the patched source of viewnior 1.6 (probably the last gtk2 version) with a working 'set wallpaper' for puppy. files patched are
/src/vnr-prefs.c,
/src/vnr-prefs.h
/src/vnr-window.c
i also removed a few icons and altered the .desktop file.

i haven't made any pets as one compiled in precise won't work on xenial and it's really easy to compile. just install the devx.sfs and...
Code:
./configure --prefix=/usr

Code:
make

Code:
make install


once installed open an image, right click and choose 'set as wallpaper'
tip: run puppies inbuilt wallpaper setter and choose your preferred setting ..stretched, scale, centre or tile.. i recommend stretched. viewnior will then use this setting.

patched source here https://drive.google.com/file/d/0B8-cE8EIRGZVb2R3OHVmeURPNms/view?usp=sharing

also, see how to print from viewnior here http://murga-linux.com/puppy/viewtopic.php?p=916039#916039
capture28287.png
 Description   
 Filesize   14.1 KB
 Viewed   142 Time(s)

capture28287.png

changes made.diff.gz
Description  for future referance
gz

 Download 
Filename  changes made.diff.gz 
Filesize  526 Bytes 
Downloaded  22 Time(s) 

_________________
Tahrpup, built with trusty tahr packages http://murga-linux.com/puppy/viewtopic.php?t=96178
Quickpet_Precise, install popular apps quickly http://www.murga-linux.com/puppy/viewtopic.php?t=83642
Back to top
View user's profile Send private message 
vicmz


Joined: 15 Jan 2012
Posts: 1255

PostPosted: Thu 04 Aug 2016, 12:10    Post subject:  

To be able to set as wallpaper from Viewnior, in the Preferences, select PUPPY as desktop.

Using Viewnior to set a picture as wallpaper does not copy the picture to /usr/share/backgrounds, it uses the path to its current location instead, and creates a backup folder "folderwhereyourpictureis_original". Remember that before moving or deleting the picture.

This is really nice! Thank you, 666philb Very Happy

NOTE:

Also, the partition where the picture is must be always mounted, and the only location in Puppy that is in a partition which is always mounted is /mnt/home, not a problem for those who save their files there. With pictures located in other partitions, Rox-Filer cannot find the picture at start, unless some auto-mount command is executed at bootup or before reaching the graphical desktop.

If the height is longer than the width, the picture is automatically cropped at the area displayed after setting it as wallpaper, and the original picture is saved as ORIGINAL-nameofthepicture at the backup folder mentioned above.
wallpaper-unmounted-partition.jpg
 Description   
 Filesize   22.62 KB
 Viewed   35 Time(s)

wallpaper-unmounted-partition.jpg

wallpapersize.jpg
 Description   
 Filesize   70.6 KB
 Viewed   36 Time(s)

wallpapersize.jpg

Screenshot_2016-08-04_12.44.43.jpg
 Description   
 Filesize   61.54 KB
 Viewed   60 Time(s)

Screenshot_2016-08-04_12.44.43.jpg


_________________
OB Precise 15.01 kernel 3.17.7|Puppy Linux en español
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 » Advanced Topics » Additional Software (PETs, n' stuff) » Desktop
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.0426s ][ Queries: 12 (0.0043s) ][ GZIP on ]