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 22 Sep 2014, 18:35
All times are UTC - 4
 Forum index » Advanced Topics » Puppy Derivatives
Dpup Exprimo 5.X.3.4.12 with 3.4.2 kernel.
Moderators: Flash, JohnMurga
Post new topic   Reply to topic View previous topic :: View next topic
Page 85 of 89 [1330 Posts]   Goto page: Previous 1, 2, 3, ..., 83, 84, 85, 86, 87, 88, 89 Next
Author Message
pemasu


Joined: 08 Jul 2009
Posts: 5463
Location: Finland

PostPosted: Thu 18 Oct 2012, 13:16    Post subject:  

Linuph. You are right. The power saving parameter stays unaffected. I found this helpful page:
http://ptspts.blogspot.fi/2009/10/screen-blanking-dpms-screen-saver.html

I think is fairly safe to say that you need this to get no blanking working with DMPS enabled screens:
xset s off dpms 0 0 0 or this:
xset s off dpms 0 0 0 -dpms

You learn always something new when someone stubborn enough starts to dig things. I hope radky will follow this discussion, so that he could think of modifying PupControl Screensaver script accordingly.

pupx thread is here. It is script and gui done by Barry Kauler and Nathan F. The dpms powersaving fix after 10 minutes would need that script editing to have pupx also disabling power saving.
http://murga-linux.com/puppy/viewtopic.php?t=28324
Back to top
View user's profile Send private message 
Tman


Joined: 22 Jan 2011
Posts: 814
Location: Toronto

PostPosted: Thu 18 Oct 2012, 17:24    Post subject: Re: No Desktop Icon Problem with Exprimo 5x3.4.12  

Xtanova wrote:
though the PuppyPin file was only having backdrop reference for the "Pwidgets" application.

After searching I could guess there might be an incompatibility issue for the conky based Pwidgets with dpup distro's generally .. that's is why the desktop was reverting to its default settings in my case ..


I had to do some digging to find out what you were talking about with Pwidgets and the desktop reverting back to default.

I have and older version of Pwidgets installed in my pup, but to be honest, I don't really use Pwidgets these days. So I loaded pwidgets and tried to duplicate your problem:

When I changed my desktop background to one different from the default wallaper and launched pwidgets; the background changed to the default one after I went to File -> Stop/Start Pwidgets and clicked on apply. Now there is a hidden folder named /root/.pwidgets. If you open it up and Start pwidgets, you will see that a png image is created named "Pwidgets_background". When you stop pwidgets, this image gets deleted. So it has nothing to do with the PuppyPin file, but just copies whatever is the default background in the /usr/share/backgrounds folder.

Anyhow, if you go to the first page of the Pwidgets thread, you will notice a link to 01micko's updated Nathan Wallpaper Setter. I have just tested it, and confirmed that works better with the Pwidgets background than the default pwallpaper that comes with Wary.
Back to top
View user's profile Send private message 
linuph


Joined: 03 Jun 2012
Posts: 128
Location: Philippines

PostPosted: Fri 19 Oct 2012, 01:25    Post subject:  

pemasu

There were some errors in my pupx, don't know how they got there. Undoubtedly my doing. Sorry.

After reinstating the original pupx .xset.sh is now written to /root.
However, the dpms setting thing remains.
Back to top
View user's profile Send private message 
Xtanova


Joined: 06 Oct 2012
Posts: 11
Location: Egypt

PostPosted: Fri 19 Oct 2012, 02:58    Post subject: Re: No Desktop Icon Problem with Exprimo 5x3.4.12  

@Tman:

01micko wrote:

In Dpup it is a different story. "Pwallset" seems to be firm. You can go to /usr/local/apps (in Dpup) and look inside Wallpaper and you will see that Apprun is there, that will run the hacked wallpaper setter for Pwidgets. (I haven't tried this, I just turned off the sidebar in my Dpup, but it might work). If it doesn't work you could disable Pwallset in case there is a conflict.


In the beginning i had the background reverting back to the default wallpaper, but when I copied my wallpaper to /usr/share/backgrounds, it didn't revert back!! what is interesting here is that the alpha bar surrounding the icons of "Wbar" sometimes shows the default wallpaper laying under the hacked wallpaper ... My issue was with the icons are coming back, when i have the pwidgets loaded at startup..by removing the puppypin tmp as per your advice it solved the issue.

There is a coding conflict Tman that makes this, and I may need two years in Linux to be able to identify it .. and to evade the conflict one side must be disabled since we don't know the source of the conflict .. I disabled the rox icons, and 01micko suggested to disable the Pwallset even , till the source of the issue is known, remarkable proof is that many widgets don't load .. try all the widgets in a dpup distro and tell me if they all worked.

Last edited by Xtanova on Fri 19 Oct 2012, 03:23; edited 1 time in total
Back to top
View user's profile Send private message 
pemasu


Joined: 08 Jul 2009
Posts: 5463
Location: Finland

PostPosted: Fri 19 Oct 2012, 03:15    Post subject:  

Linuph. Yep, your hacking with pupx probably has broken it.
Anyway....I can add that 'dpms 0 0 0 -dpms' to the pupx so that it will be there next time I release dpup.

And you can test it also by changing about 117 line to look like this:
SCREENSAVERPARAMS="s off dpms 0 0 0 -dpms"

And you get the dpms disabling and also set as zero standby, suspend and powersaving.

But.....there are several factors which might turn the dpms back on. some graphics kernel module drivers has dpms governing, some multimedia apps can change the dpms settings, usually there is also some preferences to change those features....power management scripts can have dpms setting rules etc.....

So...creating 100 % bullet proof 'dmps off' system ....is difficult.
Back to top
View user's profile Send private message 
linuph


Joined: 03 Jun 2012
Posts: 128
Location: Philippines

PostPosted: Fri 19 Oct 2012, 10:41    Post subject:  

OK testing SCREENSAVERPARAMS="s off dpms 0 0 0 -dpms" in pupx.

I'm aware that other applications may address xset. Assuming that these applications turn screensaving off correctly (and I think they do because if done improperly that would be obvious immediately), the question is if and how the previous xset state is reinstated. The smart way would be to read the current state, store it, change state and reinstate upon exit.

Or maybe there is another ways besides xset.....?
Back to top
View user's profile Send private message 
anikin

Joined: 10 May 2012
Posts: 481

PostPosted: Fri 19 Oct 2012, 12:51    Post subject:  

I'm sorry for having to ask this petty question here . . . well, how do you change font size in 1) tempicon, 2) network splash popups (eth0 is down, requesting ip address for wlan0 and such), 3) control panel gui.
Thank you in advance.
Back to top
View user's profile Send private message 
Tman


Joined: 22 Jan 2011
Posts: 814
Location: Toronto

PostPosted: Fri 19 Oct 2012, 13:29    Post subject: Re: No Desktop Icon Problem with Exprimo 5x3.4.12  

Xtanova wrote:
what is interesting here is that the alpha bar surrounding the icons of "Wbar" sometimes shows the default wallpaper laying under the hacked wallpaper

.. try all the widgets in a dpup distro and tell me if they all worked.


I admit, I haven't tried all of the widgets, nor wbar in dpup; hoepfully, if you report it in the Pwidgets thread, a solution will arise.
I have encountered problems with wbar and the wallpaper setter, when changing backgrounds. My solution was to create a wrapper script that disables wbar, runs the wallpaper program, and then reloads wbar after you exit the wallpaper setter. I had to do this in Solidpup, which comes with wbar.

Attached is a similar wrapper pet that I will be switching to, since I will also be switching from pwallpaper to Nathan Wallpaper Setter. This wrapper will not effect the function of the Wallpaper setter if wbar is not installed.
wbar_wallpaper_wrapper.pet
Description 
pet

 Download 
Filename  wbar_wallpaper_wrapper.pet 
Filesize  699 Bytes 
Downloaded  387 Time(s) 
Back to top
View user's profile Send private message 
pemasu


Joined: 08 Jul 2009
Posts: 5463
Location: Finland

PostPosted: Fri 19 Oct 2012, 14:20    Post subject:  

Anikin. There are couple of scripts which call /usr/bin/xpupsay in several places of those scripts.
So...to globally change all those pop up message font sizes.....I would do it with wrapper script.
But...it wont change the bubble size. I dont know how to change it....so reduced font size would look quite ridiculous in bigger bubble....so I would eliminate the bubble.

Rename /usr/bin/xpupsay to /usr/bin/xpupsay-bin.
After that install the attached pet, it contains wrapper script where you can change the parameters: /usr/bin/xpupsay.
Row 11 has backround definition, you can change the colour with Hex values, which you get with Mtpaint using Palette editor. You can play with the script more. Change the default timeout etc....
If you want still just smaller fonts in bubble and see my logo, just leave first 2 rows, I mean remove all the rest... and uncomment the second row and change the font as you want in it. Then it changes the font size inside the bubble and all the other is intact.
That wrapper script has been created by genious Tazoc. Once again, not my product.

And if you want to get rid of xpupsay...just remove /usr/bin/xpupsay.

About tempicon. Now you have to ask 01micko, who has created the tempicon tray app. I only know that the displayed numbers come from here: /etc/tempicon

3) control panel gui. >>>> Do you mean PupControl. I dont have slightest idea how to change the font size inside that app. Radky is the developer and he is really helpful. Just pm him.
xpupsay-wrapper-0.0.1.pet
Description 
pet

 Download 
Filename  xpupsay-wrapper-0.0.1.pet 
Filesize  1.45 KB 
Downloaded  394 Time(s) 
Back to top
View user's profile Send private message 
anikin

Joined: 10 May 2012
Posts: 481

PostPosted: Fri 19 Oct 2012, 15:41    Post subject:  

Hi pemasu, I will play with those settings - didn't realize the bubbles had a fixed size. They look a bit too big on my 10' eeepc. I installed some MS fonts and trying to get a 'unified' appearance of menus. Also took note of your comment on the Carolina forum regarding fonts+Qt - great tip, btw. My head is exploding - Linux knows how to hide fonts settings . . . and it knows how to scare a noob. Kiitos for all your help.
Back to top
View user's profile Send private message 
linuph


Joined: 03 Jun 2012
Posts: 128
Location: Philippines

PostPosted: Sat 20 Oct 2012, 13:57    Post subject:  

pemasu

Quote:
OK testing SCREENSAVERPARAMS="s off dpms 0 0 0 -dpms" in pupx.


It didn't work out as I hoped. So...more digging, this time into the workings of xset. I hope it is somewhat useful....


#20921 <linuph>

How to use xset.

Xset is a tool to tweak X-server. There is lots of information to be found on the Internet. There are many questions and problems to be found too. Often the source of information is the same, incomplete, incorrect and confusing. After quite some looking up and trying I may have found the truth about xset.
Mind that there may be slightly different executions depending on the Linux kernel version and/or X-server version. This little piece was written for Puppy Linux Dpup Exprimo 5.X.3.4.2.12 with 3.4.2 kernel.

Xset has two distinct functions: screenblanking and powersaving including screenblanking. I deliberately use the word 'screenblanking' here to avoid a mixup with screensavers like xscreensaver, gnome-screensaver and others, even if xset uses the word 'screensaver' which is technically correct.
Xset came to the scene a long time ago when computers were equiped with CRT's and way before power saving (Energy Star, also technically know a DPMS or 'Display Power Management System') became a requirement.
Some DPMS functions therefore have no noticable effect with LCD screens. That is explained below.
If both functions are running screenblanking could kick in by either function or both. There is no visible difference: after all it's just screenblanking. So we have to correctly set the parameters of both functions to get what we want. Here is what I found so far:

# 1. Screenblanking xset s [options]

# xset s noblank : shows a large "X" when screen blanking kicks in
# xset s blank : will blank the screen only and not show the "X"
# xset s default : sets defaults timeout and cycle to 600 seconds and
blanking and exposure on
# xset s on : same as default
# xset s off : sets the timeout to zero = no screen blanking
# xset s expose : allows window re-exposures, i.e. redraws
# xset s noexpose : disables screenblanking unless the X server can
re-exposure (redraw)
# xset s activate : activates screenblanking immediately
# xset s reset : reset the screen after activate (to be used from a
shell)
# xset s [timeout] [cycle] : screen blanking kicks in after [timeout]
seconds. With 'blank' the screen simply blanks.
With 'noblank' set, an 'X' appears that varies in
size and position every [cycle] seconds.

At reboot blank is set, noexpose is set and cycle is set to 600. Other values remain as is.


# 2. DPMS power saving and screenblanking (Energy Star) *dpms, dpms [option]

# dpms [standby] : turns of the electron beam of a CRT after
[standby] seconds
# [suspend] : turns of the CRT monitor power supply
after [suspend] seconds
# [off] : turns of all power to the CRT monitor after [off]
seconds
The effect on a LCD montor is that screenblanking kicks in with either parameter larger than '0'. That is how it works with my monitor. Backlighting is then turned off in all cases. Other LCD's could recognize turning off of the backlighting (standby or suspend) seperately.

# If dpms is on (+dpms, see below), the lowest value except '0' will
kick off screenblanking.
Examples
xset dpms 0 0 5: kick off = 5
xset dpms 0 5 15: kick off= 5
xset dpms 15 5 5: kick off= 5
xset dpms 5 0 0: kick off = 5

# -dpms : turns dpms function off
# +dpms : turns dpms function on, dpms [standby[suspend[off]]] activated
# dpms force standby : blanks screen immediately
# dpms force suspend : same
# dpsm force off : same
# dpms force on : turns dpms on, same as +dpms
# Except for -dpms, all commands above turn DPMS on. If DPMS is on, xset q will show 'Monitor is on' meaning that DPMS is monitoring the system for user activity.

I think (hope) that the above is at least largely correct. I look forward to any comments.

ps I coudn't get the formatting quite correct....
Back to top
View user's profile Send private message 
Arefacti

Joined: 10 Oct 2012
Posts: 165

PostPosted: Sat 20 Oct 2012, 14:42    Post subject: sfs heavy encryption failed at reboot  

Hello,
I just discovered the distributions Puppies. So I installed a lot lately. Yours is really complete solid and beautiful. However, I encounter a problem, an error during reboot after choosing to make a backup heavy (on ext2) :
"Failure to load encrypted save file properly".
Well, I tried to do the same with lupu 528 and when you want to do an encrypted backup sfs, we are warned that "due to a bug linux" must write twice the password.
Reboot after this, happens without problem with the encrypted backup sfs .
My question is:
Perhaps if the problem seems to be clearly identified by Barry Kauler, is it possible to solve in Dpup ?
thank you!

Perhaps the problem is on another thread but my english is so bad..so if yes, just apologize me Embarassed
Back to top
View user's profile Send private message 
pemasu


Joined: 08 Jul 2009
Posts: 5463
Location: Finland

PostPosted: Sat 20 Oct 2012, 17:41    Post subject:  

Arefacti. I can create and use heavy encrypted savefile.squeezesave_crypta.4fs in dpup. It has been several version earlier when I got bug report and I switched to use /sbin/losetup-FULL and it should have fixed the problem with decoding the encryption.

I just tested it again and it worked for me.

I used simple 2 letter password. I do have ext4 filesystem, frugal installation. In what filesystem and installation did you use, so that I could test it again in same circumstances.
Back to top
View user's profile Send private message 
Arefacti

Joined: 10 Oct 2012
Posts: 165

PostPosted: Sun 21 Oct 2012, 03:13    Post subject:  

pemasu wrote:
Arefacti. I can create and use heavy encrypted savefile.squeezesave_crypta.4fs in dpup. It has been several version earlier when I got bug report and I switched to use /sbin/losetup-FULL and it should have fixed the problem with decoding the encryption.

I just tested it again and it worked for me.

I used simple 2 letter password. I do have ext4 filesystem, frugal installation. In what filesystem and installation did you use, so that I could test it again in same circumstances.


Thanks pemasu for your answer !

the filesystem where the encrypted save is ext2 ( I thought it was necessary), and the installation is "on an usb (fat32)",
that is to say no frugal or other install on hard drive, because the PC have other system on is hd and I can't touch it).
So, puppy is VERY nice too for that !
Back to top
View user's profile Send private message 
mcewanw

Joined: 16 Aug 2007
Posts: 2346
Location: New Zealand

PostPosted: Sun 21 Oct 2012, 08:48    Post subject:  

I have now downloaded Dpup Exprimo 5.X.3.4.12 and tested it on two of my machines.

Boots fine on both of them and is a nice looking distribution, though turns out to have problems with the older machine:

First machine is a desktop with an Intel Pentium D CPU and 1MByte RAM. I installed pavrecord-0.9.1 (latest version) on that machine and it all tested good, including video preview, video/webcam recording, jpeg creation, and x11grab screencasts with audio. I also installed precord-1.8.4 (latest version), and it worked fine in your Dpup Exprimo too, on this machine.

The second machine is an old Fujitsu Siemens Amilo laptop with Pentium mobile processor and 1 Mbyte RAM. Again Dpup booted up fine and all seemed well. However, I discovered that ffmpeg wouldn't record video4linux2 videos under Dpup Exprimo on this machine, for some reason, so pavrecord couldn't work correctly. Oddly, x11grab (using pavrecord) did work even on this machine (but not webcam recording).

I guess my old laptop simply doesn't like the newish kernel. That particular laptop doesn't like Barry's latest Precise either (it won't run the PAE kernel). Nothing to worry about, the machine is just showing its age...

_________________
Non enim propter gloriam, diuicias aut honores pugnamus set propter libertatem solummodo quam Nemo bonus nisi simul cum vita amittit.
Back to top
View user's profile Send private message Visit poster's website 
Display posts from previous:   Sort by:   
Page 85 of 89 [1330 Posts]   Goto page: Previous 1, 2, 3, ..., 83, 84, 85, 86, 87, 88, 89 Next
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » Advanced Topics » Puppy Derivatives
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.1311s ][ Queries: 13 (0.0256s) ][ GZIP on ]