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 Sat 22 Nov 2014, 06:38
All times are UTC - 4
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Desktop
Nathan Wallpaper Setter -update
Post_new_topic   Reply_to_topic View_previous_topic :: View_next_topic
Page 1 of 2 Posts_count   Goto page: 1, 2 Next
Author Message
01micko


Joined: 11 Oct 2008
Posts: 7841
Location: qld

PostPosted: Wed 06 Jul 2011, 20:12    Post_subject:  Nathan Wallpaper Setter -update
Sub_title: Using new gtkdialog
 

Since development on gtkdialog has swung back into action, the new functionality has allowed new developments in many GUI apps in Puppy. Puppy is heavily dependent on gtkdialog for all types of apps from Puppy Package Manager (aka petget) to Pmusic and Pburn.

Among those apps is Nathan's Wallpaper Setter developed by Nathan Fisher for GrafPup some time ago. Nathan's original thread

Zigbert, Trio and myself have performed many hacks on this app over the years mainly to make it compliant with Pwidgets however not dependent on Pwidgets.

The big deal here is now we have an integrated preview of your wallpapers, refreshing each time you click a new one in the list. All the great functionality Nathan's wallpaper Setter is famous for is untouched so you still have all the original features.

This is tested working in Puppy 4.2 and above.

Requirements

*The new "official" gtkdialog pet compiled by Barry in Wary.
http://distro.ibiblio.org/quirky/pet_packages-common/gtkdialog3-0.7.20-thunor-rev83-w5.pet

*Puppy 4.2x misses libgio. Thanks to WB70DYFred for supplying here:
http://murga-linux.com/puppy/viewtopic.php?p=364353#364353

Please report any bugs here.

Enjoy!

EDITS:
110804, Added back Barry's cropping for wide screen (inadvertently left out), seems it didn't break anything Smile

110905
Added code to detect the gtkdialog version and exit if not compliant
Code:
#just some insurance 110905
GTKDMIN3_VER="`gtkdialog3 -v|cut -d ' ' -f3|cut -d '.' -f3`" #need at least 21 ie: gtkdialog-0.7.21
if [ "$GTKDMIN3_VER" -lt "21" ];then
   GTKD4="`which gtkdialog4`"
      if [ "$GTKD4" = "" ];then xmessage "You need to upgrade gtkdialog" && exit
         else
         export GTKDIALOG="gtkdialog4"
      fi
      else
         export GTKDIALOG="gtkdialog3"
fi
wallpaper-0.6.2.pet
Description 
pet

 Download 
Filename  wallpaper-0.6.2.pet 
Filesize  10.38 KB 
Downloaded  1189 Time(s) 
wallpaper-0.6.1.pet
Description 
pet

 Download 
Filename  wallpaper-0.6.1.pet 
Filesize  10.21 KB 
Downloaded  762 Time(s) 
nathanwall.jpg
 Description   
 Filesize   45.93 KB
 Viewed   5301 Time(s)

nathanwall.jpg

wallpaper-0.6.pet
Description 
pet

 Download 
Filename  wallpaper-0.6.pet 
Filesize  10 KB 
Downloaded  792 Time(s) 

_________________
Woof Mailing List | keep the faith Cool |

Edited_times_total
Back to top
View user's profile Send_private_message Visit_website 
sjsrikanth


Joined: 28 Mar 2011
Posts: 114
Location: Chennai, India

PostPosted: Thu 07 Jul 2011, 08:54    Post_subject:  

hi
Gr8 improvement there!

I'm using frugal install of puppy 5.25

The window of the new wallpaper setter is going out of the screen (able to resize vertically not horizontally)
nathan.png
 Description   
 Filesize   122.4 KB
 Viewed   5181 Time(s)

nathan.png

Back to top
View user's profile Send_private_message 
disciple

Joined: 20 May 2006
Posts: 6455
Location: Auckland, New Zealand

PostPosted: Thu 07 Jul 2011, 09:04    Post_subject:  

Looks good Smile
Micko, when you post new or reworked programs based on gtkdialog, is there any chance you could add them to the index of gtkdialog programs?
Thanks.

_________________
DEATH TO SPREADSHEETS
- - -
Classic Puppy quotes
- - -
Beware the demented serfers!

Edited_time_total
Back to top
View user's profile Send_private_message 
Geoffrey


Joined: 30 May 2010
Posts: 1467
Location: Queensland Australia ɹǝpu∩uʍop

PostPosted: Thu 07 Jul 2011, 09:05    Post_subject:  

sjsrikanth wrote:
hi
Gr8 improvement there!

I'm using frugal install of puppy 5.25

The window of the new wallpaper setter is going out of the screen (able to resize vertically not horizontally)


I just downloaded it and it did the same until I installed the new gtkdialog, then it works fine, I'm using rexbang which is based on 525.
Back to top
View user's profile Send_private_message 
01micko


Joined: 11 Oct 2008
Posts: 7841
Location: qld

PostPosted: Thu 07 Jul 2011, 18:54    Post_subject:  

sjsrikanth wrote:
The window of the new wallpaper setter is going out of the screen (able to resize vertically not horizontally)

Did you install the updated gtkdialog as Geoffrey suggests?

disciple wrote:
Micko, when you post new or reworked programs based on gtkdialog, is there any chance you could add them to the index of gtkdialog programs?

Done Wink (woops, as I was editing my post I saw that you had done it already, oh well Rolling Eyes )

_________________
Woof Mailing List | keep the faith Cool |
Back to top
View user's profile Send_private_message Visit_website 
sjsrikanth


Joined: 28 Mar 2011
Posts: 114
Location: Chennai, India

PostPosted: Fri 08 Jul 2011, 08:28    Post_subject:  

Ya after insatlling GTKdialog it works great!!! Thnx . sorry for missing that instruction
Back to top
View user's profile Send_private_message 
01micko


Joined: 11 Oct 2008
Posts: 7841
Location: qld

PostPosted: Thu 04 Aug 2011, 02:23    Post_subject:  

updated to 0.6.1

see main post

_________________
Woof Mailing List | keep the faith Cool |
Back to top
View user's profile Send_private_message Visit_website 
yarddog


Joined: 30 Nov 2009
Posts: 187
Location: Great Smoky Mountains, TN USA

PostPosted: Thu 04 Aug 2011, 09:08    Post_subject:  

01micko wrote:
updated to 0.6.1

see main post


Installed updated 0.6.1.
When I open this and press help and about, it shows version 0.5
Am I missing something here?
Back to top
View user's profile Send_private_message 
01micko


Joined: 11 Oct 2008
Posts: 7841
Location: qld

PostPosted: Thu 04 Aug 2011, 19:24    Post_subject:  

yarddog

I just checked, it's ok Confused .. did you get the older 0.6 where I did forget to update that?

_________________
Woof Mailing List | keep the faith Cool |
Back to top
View user's profile Send_private_message Visit_website 
yarddog


Joined: 30 Nov 2009
Posts: 187
Location: Great Smoky Mountains, TN USA

PostPosted: Thu 04 Aug 2011, 19:49    Post_subject:  

01micko wrote:
yarddog

I just checked, it's ok Confused .. did you get the older 0.6 where I did forget to update that?


Stupid me - I d/l the wrong version. Need to get my eyes examined.
Thanks you for straightening me out

yarddog
Back to top
View user's profile Send_private_message 
BlueKnyght

Joined: 24 Aug 2011
Posts: 15

PostPosted: Sat 27 Aug 2011, 02:15    Post_subject: Preview Gone After Installing pWidgets  

Hi there! I'm quite excited with the new Nathan wallpaper setter, it's got a preview now than the previous version. It's really cool, many thanks to the developer.

Yet, after installing pwidgets, the preview panel is no longer a preview panel. In its place is Current Image, and it only shows a pwidget path, not a wallpaper picture.

Can anybody show me how to get it back the way it is w/o uninstalling pwidgets?

Back to top
View user's profile Send_private_message 
8-bit


Joined: 03 Apr 2007
Posts: 3393
Location: Oregon

PostPosted: Sat 27 Aug 2011, 02:58    Post_subject:  

BlueKnyght,
From your picture, it looks like the old "Nathan Wallpaper Setter".
If you have installed the Pet in this thread, called "wallpaper-0.6.pet and the latest gtkdialog, it should work fine.
I have pwidgets installed, and it works for me complete with a preview picture shown.
Back to top
View user's profile Send_private_message 
BlueKnyght

Joined: 24 Aug 2011
Posts: 15

PostPosted: Sat 27 Aug 2011, 03:52    Post_subject:  

8-bit wrote:
BlueKnyght,
From your picture, it looks like the old "Nathan Wallpaper Setter".
If you have installed the Pet in this thread, called "wallpaper-0.6.pet and the latest gtkdialog, it should work fine.
I have pwidgets installed, and it works for me complete with a preview picture shown.

Okay man, thanks.

I didn't know Sir 01micko is a key developer of Puppy. Sorry, I'm just new in this forum. My bad really.
Back to top
View user's profile Send_private_message 
01micko


Joined: 11 Oct 2008
Posts: 7841
Location: qld

PostPosted: Sun 04 Sep 2011, 17:21    Post_subject:  

Up to 0.6.2, see main post
_________________
Woof Mailing List | keep the faith Cool |
Back to top
View user's profile Send_private_message Visit_website 
8-bit


Joined: 03 Apr 2007
Posts: 3393
Location: Oregon

PostPosted: Tue 13 Sep 2011, 09:30    Post_subject:
Sub_title: <SOLVED>?
 

I may have found a bug. I am using your version of Nathan Wallpaper Setter. I have had it zero out the file size of a wallpaper file and lock up the application when switching wallpaper backgrounds. See my post under Bugs.
I am back after using SWS to change my wallpaper background.
At least that works.
Also, the files were jpg files before the line that said they were not.
I think that line was after they got zeroed out on size and the file type was changed.
But I ran Nathan Wallpaper Setter ver 6.2 from a terminal and the output may help you determine the cause. I got this from the terminal when it zeroed out two files.
EDIT: I copied over the Wallpaper application from Puppy Lucid 528 and so far, it seems to work.
Maybe a matter of some corrupted files.


Code:

# wallpaper
dc: stack underflow
expr: syntax error
/usr/sbin/background_reshape: line 44: [: -ge: unary operator expected
dc: stack underflow
dc: stack underflow
dc: stack underflow
dc: stack underflow
expr: non-numeric argument
Not a JPEG file: starts with 0x89 0x50
invalid number `+'
pnmtojpeg: Error reading magic number from Netpbm image stream.  Most often, this means your input file is empty.
/usr/sbin/fixwidgets: line 5: kill: (18720) - No such process
/usr/sbin/fixwidgets: line 6: kill: (18725) - No such process
cat: /root/.pwidgets/tmp/sidebarl: No such file or directory
/usr/sbin/fixwidgets: line 46: resizepng: command not found

(blendpics:18745): GdkPixbuf-CRITICAL **: gdk_pixbuf_get_width: assertion `GDK_IS_PIXBUF (pixbuf)' failed

(blendpics:18745): GdkPixbuf-CRITICAL **: gdk_pixbuf_get_height: assertion `GDK_IS_PIXBUF (pixbuf)' failed
scaling background

(blendpics:18745): GdkPixbuf-CRITICAL **: gdk_pixbuf_scale_simple: assertion `GDK_IS_PIXBUF (src)' failed
scaling pic

(blendpics:18745): Gdk-CRITICAL **: gdk_pixbuf_render_pixmap_and_mask_for_colormap: assertion `GDK_IS_PIXBUF (pixbuf)' failed

(blendpics:18745): Gdk-CRITICAL **: gdk_draw_pixbuf: assertion `GDK_IS_DRAWABLE (drawable)' failed

(blendpics:18745): Gdk-CRITICAL **: gdk_pixbuf_get_from_drawable: assertion `src != NULL' failed

(blendpics:18745): GdkPixbuf-CRITICAL **: gdk_pixbuf_get_bits_per_sample: assertion `GDK_IS_PIXBUF (pixbuf)' failed

(blendpics:18745): GdkPixbuf-CRITICAL **: gdk_pixbuf_get_width: assertion `GDK_IS_PIXBUF (pixbuf)' failed

(blendpics:18745): GdkPixbuf-CRITICAL **: gdk_pixbuf_get_height: assertion `GDK_IS_PIXBUF (pixbuf)' failed

(blendpics:18745): GdkPixbuf-CRITICAL **: gdk_pixbuf_get_rowstride: assertion `GDK_IS_PIXBUF (pixbuf)' failed

(blendpics:18745): GdkPixbuf-CRITICAL **: gdk_pixbuf_get_has_alpha: assertion `GDK_IS_PIXBUF (pixbuf)' failed

(blendpics:18745): GdkPixbuf-CRITICAL **: gdk_pixbuf_get_pixels: assertion `GDK_IS_PIXBUF (pixbuf)' failed

(blendpics:18745): GLib-GObject-CRITICAL **: g_object_unref: assertion `G_IS_OBJECT (object)' failed
Conky: /root/.pwidgets/widgets/Puppylinux: 7: no such configuration: 'HEIGHT=60'
Conky: /root/.pwidgets/widgets/Puppylinux: 8: no such configuration: 'OFFSET_X_LEFT=40'
Conky: /root/.pwidgets/widgets/Puppylinux: 9: no such configuration: 'OFFSET_X_RIGHT=35'
Conky: forked to background, pid is 18807
Conky: /root/.pwidgets/widgets/Temp_cpu: 8: no such configuration: 'HEIGHT=70'
Conky: /root/.pwidgets/widgets/Temp_cpu: 9: no such configuration: 'OFFSET_X_LEFT=40'
Conky: /root/.pwidgets/widgets/Temp_cpu: 10: no such configuration: 'OFFSET_X_RIGHT=40'
Conky: /root/.pwidgets/widgets/Space_Puppy_filesystem: 7: no such configuration: 'HEIGHT=80'
Conky: /root/.pwidgets/widgets/Space_Puppy_filesystem: 8: no such configuration: 'OFFSET_X_LEFT=40'
Conky: /root/.pwidgets/widgets/Space_Puppy_filesystem: 9: no such configuration: 'OFFSET_X_RIGHT=40'
Conky: /root/.pwidgets/widgets/Calendar: 8: no such configuration: 'WEEK_FIRST_DAY=MONDAY'
Conky: /root/.pwidgets/widgets/Calendar: 9: no such configuration: 'HEIGHT=170'
Conky: /root/.pwidgets/widgets/Calendar: 10: no such configuration: 'OFFSET_X_LEFT=40'
Conky: /root/.pwidgets/widgets/Calendar: 11: no such configuration: 'OFFSET_X_RIGHT=20'
Conky: /root/.pwidgets/widgets/Cpu_bar: 7: no such configuration: 'HEIGHT=50'
Conky: /root/.pwidgets/widgets/Cpu_bar: 8: no such configuration: 'OFFSET_X_LEFT=40'
Conky: /root/.pwidgets/widgets/Cpu_bar: 9: no such configuration: 'OFFSET_X_RIGHT=20'
Conky: forked to background, pid is 18809
Conky: forked to background, pid is 18810
Conky: desktop window (400023) is subwindow of root window (1ad)
Conky: window type - override
Conky: drawing to created window (0x1200001)
Conky: forked to background, pid is 18811
Conky: drawing to double buffer
Conky: setting bg window (1200001)
Conky: setting bg window (1200001)

Conky: desktop window (400023) is subwindow of root window (1ad)
Conky: window type - override
Conky: drawing to created window (0x1000001)
Conky: drawing to double buffer
Conky: setting bg window (1000001)



Conky: desktop window (400023) is subwindow of root window (1ad)
Conky: window type - override
Conky: drawing to created window (0x2800001)
Conky: desktop window (400023) is subwindow of root window (1ad)
Conky: window type - override
Conky: drawing to created window (0x1400001)
Conky: drawing to double buffer
Conky: setting bg window (2800001)
Conky: drawing to double buffer
Conky: setting bg window (1400001)
Conky: desktop window (400023) is subwindow of root window (1ad)
Conky: window type - override
Conky: drawing to created window (0x1600001)
Conky: drawing to double buffer
Conky: setting bg window (1600001)
Conky: setting bg window (1600001)
Conky: setting bg window (1400001)
Conky: setting bg window (1000001)
EXIT="Ready"
Conky: setting bg window (2800001)
IMAGE="/usr/share/backgrounds/30dcrrq.jpg"
PIXMAP=""
EXIT="Close"
#
Back to top
View user's profile Send_private_message 
Display_posts:   Sort by:   
Page 1 of 2 Posts_count   Goto page: 1, 2 Next
Post_new_topic   Reply_to_topic View_previous_topic :: View_next_topic
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Desktop
Jump to:  

Rules_post_cannot
Rules_reply_cannot
Rules_edit_cannot
Rules_delete_cannot
Rules_vote_cannot
You cannot attach files in this forum
You can download files in this forum


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