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 18 Dec 2017, 01:36
All times are UTC - 4
 Forum index » Taking the Puppy out for a walk » Puppy Power
Show us your puppies
Moderators: Flash, JohnMurga
Post new topic   Reply to topic View previous topic :: View next topic
Page 9 of 10 [140 Posts]   Goto page: Previous 1, 2, 3, ..., 7, 8, 9, 10 Next
Author Message
Mike Walsh


Joined: 28 Jun 2014
Posts: 3245
Location: King's Lynn, UK.

PostPosted: Sat 30 Sep 2017, 15:51    Post subject:  

@bigpup:-

Mm. I had thought of that.....after the fact. But if you click on the rim at the half-past one position, it'll still unmount. There's something else in /usr/local/lib/X11/pixmaps that makes that happen, a kind of 'transparent overlay', linked to pMount. I've been trying to figure that one out for a long time....

Right; here ya go. A re-worked .pet, with modified icons, now showing the unmount 'x':-

http://www.mediafire.com/file/eec3lxzt26bloer/Trekkie-Bird_of_Prey-drive_icons_set_2.pet

Like this:-





Any better?

Like you, I, too, am finding the wallpapers are already filled in somewhat. But I've simply used Mooi's PhotoScape under WINE to block out the bits I don't want with an opaque black rectangle.....and then I do what I want with 'em. I figured I might as well join in the fun, so.....what d'you think? I know it's not very good.....





("Rubbish..!", I hear y'all say....)


Mike. Wink

_________________
If I've helped you.....please say 'Thanks'!
MY PUPPY PACKAGES
--------------------------------------


Last edited by Mike Walsh on Sat 30 Sep 2017, 16:06; edited 1 time in total
Back to top
View user's profile Send private message Visit poster's website 
bigpup


Joined: 11 Oct 2009
Posts: 9716
Location: Charleston S.C. USA

PostPosted: Sat 30 Sep 2017, 16:04    Post subject:  

Thanks!
I will try that in a minute.

I was wondering why your pet package was so big.

I looked at the size of the icons.
I resized them to 48X48 and re-petted (is that a word Laughing ).

I got a pet package of 46K

Icons seem to work OK that size.

Now I will have to update my pet package to add the new icons.

_________________
I have found, in trying to help people, that the things they do not tell you, are usually the clue to solving the problem.
When I was a kid I wanted to be older.... This is not what I expected Shocked

Last edited by bigpup on Sat 30 Sep 2017, 16:45; edited 1 time in total
Back to top
View user's profile Send private message 
Mike Walsh


Joined: 28 Jun 2014
Posts: 3245
Location: King's Lynn, UK.

PostPosted: Sat 30 Sep 2017, 16:13    Post subject:  

Oh, aye; I'll grant you, you can make 'em a hell of a lot smaller.....but you lose all detail that way. I make them the size I do for a reason.....so the detail is sharp. Rox auto-resizes them anyway.....but then of course, I'm largely making them for myself. I'm not worrying about package size.....but I know you like to adhere to Puppy 'principles', and keep everything as small as possible.

Mike. Wink

Last edited by Mike Walsh on Sat 30 Sep 2017, 16:22; edited 1 time in total
Back to top
View user's profile Send private message Visit poster's website 
bigpup


Joined: 11 Oct 2009
Posts: 9716
Location: Charleston S.C. USA

PostPosted: Sat 30 Sep 2017, 16:18    Post subject:  

I posted about the time you did.

This in no way is finding fault with your fine work!!!!
Just that 48 size icons are suppose to be 48X48.
That is kind of Puppy standard.


Quote:
Right; here ya go. A re-worked .pet, with modified icons, now showing the unmount 'x':-

Yes, Very good!!
That did it.

If you do not mind I re-petted to 48X48 icon size.

Looks very detailed to me!
This picture does not really show it that well.
Had to resize to get it to show in forum.
capture5463.png
 Description   
 Filesize   35.99 KB
 Viewed   296 Time(s)

capture5463.png

Trekkie-Bird_of_Prey-drive_icons_set_2.pet
Description 
pet

 Download 
Filename  Trekkie-Bird_of_Prey-drive_icons_set_2.pet 
Filesize  47.16 KB 
Downloaded  32 Time(s) 

Last edited by bigpup on Sat 30 Sep 2017, 16:34; edited 3 times in total
Back to top
View user's profile Send private message 
rufwoof

Joined: 24 Feb 2014
Posts: 2179

PostPosted: Sat 30 Sep 2017, 16:21    Post subject:  

bigpup wrote:
rufwoof,

Where are you getting those backgrounds?
Most of what I am finding are already somewhat filled in.
I would like to just have the background, I guess template, and fill it in from scratch.
That is what you seem to be doing.

Also, I wonder if there is a way to make all the windows look like what you show for Htop or have a Star Trek style edging Idea

I like xorg, jwm, pcmanfm as pcmanfm acts as both the file manager and desktop icon manager (launched in .jwmrc using <StartupCommand>pcmanfm --desktop</StartupCommand> along with several other StartupCommand tags).

I've found various images such as
https://68.media.tumblr.com/3cfad287a13a3031046c3bc97164b50f/tumblr_oskv03sbEM1u2y46bo1_1280.png

And others - some that were filled in and where I used mtpaint polygon cut to cut out the central image part to leave just the boundary, into which I pasted those other images.
(clickable thumbnail to fullsize image)

Resized/Scaled to match my 1280x800 resolution, leaving a bottom empty space region to allow for the space jwm tray uses up.

Used a transparent icon that I created in mtpaint and set icon size to a small size in pcmanfm (Edit, Preferences, Display) and set the icon font colour (right click pcmanfm desktop and set the Desktop Preferences, Appearance, Label Text Colour to #00FFFF (blue glow type colour).

Htop is displayed in a xterm window where in .jwmrc I have xterm set to show no border

<Group>
<Name>xterm</Name>
<Option>nolist</Option>
<Option>noborder</Option>
<Option>notitle</Option>
<Option>sticky</Option>
<Option>nopager</Option>
</Group>

and I launch xterm using

xterm +sb -geometry 84x24+110+210 -fg rgb:02/FA/FA -fa "xft:Dejavu Sans Mono:style=Bold:pixelsize=18"

which sets its size (84x24 characters wide/deep) and top left XY corner position (110+210) and foreground text colour and font style/size.

For gkrellm I just played around with one of the themes, modifying the colours to better fit with the desired theme

In jwmrc you can define window decoration colours, clock style

<ClockStyle>
<Font>Sans-13</Font>
<Foreground>#02FAFA</Foreground>
<Background>#000000</Background>
</ClockStyle>

...etc.

for instance I like a choice of windows buttons that I define in in .jwmrc as

<ButtonClose>/home/user/Pictures/xbm/red.png</ButtonClose>
<ButtonMax>/home/user/Pictures/xbm/upgreentriangle.png</ButtonMax>
<ButtonMaxActive>/home/user/Pictures/xbm/downgreentriangle.png</ButtonMaxActive>
<ButtonMin>/home/user/Pictures/xbm/yellowline.png</ButtonMin>

I don't use a JWM menu, I just use pcmanfm's panel to open 'applications' (/usr/share/applications) where I add .desktop files if one isn't already available for a program, and drag/copy-drop those to ~/Desktop for the ones that I want to show on the desktop, editing them as desired (transparent icon).

Again in .jwmrc I have the clock set to showdesktop on left click and launch a manually coded menu on right click

<Clock format="%a %d %b %l:%M"><Button mask="3">root:3</Button><Button mask="1">showdesktop</Button></Clock>

where root:3 is coded in .jwmrc as

Code:
   <RootMenu onroot="3">
        <Program icon="/usr/share/icons/Adwaita/48x48/actions/edit-select-all.png" label="Edit .jwmrc">leafpad /home/user/.jwmrc;jwm -restart</Program>
        <Exit label="Exit jwm" confirm="false" icon="/usr/share/icons/Adwaita/48x48/actions/application-exit.png"/>
        <Program icon="/usr/share/icons/Adwaita/48x48/actions/process-stop.png" label="Shutdown">systemctl poweroff</Program>
        <Program icon="/usr/share/icons/Adwaita/48x48/actions/view-refresh.png" label="Reboot">systemctl reboot</Program>

        <Separator/>

        <Program icon="/usr/share/icons/Adwaita/48x48/actions/folder-new.png" label="Apps">pcmanfm /usr/share/applications</Program>

    </RootMenu>


The rest was basically just resizing things (icon text etc.) and positioning to the desired effect.

Most pup's support different themes etc, I prefer to drop all of that gui based configuration to just have everything in .jwmrc and manually edit that myself using Joe's guide https://joewing.net/projects/jwm/config.shtml
downgreentriangle.png
 Description   
 Filesize   39.04 KB
 Viewed   313 Time(s)

downgreentriangle.png

upgreentriangle.png
 Description   
 Filesize   39.38 KB
 Viewed   313 Time(s)

upgreentriangle.png

yellowline.png
 Description   
 Filesize   1.33 KB
 Viewed   314 Time(s)

yellowline.png

red.png
 Description   
 Filesize   14.21 KB
 Viewed   315 Time(s)

red.png

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


Joined: 11 Oct 2009
Posts: 9716
Location: Charleston S.C. USA

PostPosted: Sat 30 Sep 2017, 16:32    Post subject:  

Mike Walsh,

I think we posted about the same time.
Read my above post.

This is your work and I am only trying to help.
Ideas are just that. Idea

Those icons are your work and you deserve full credit.!!!!!!!

Really like the home icon!!

Now when newbies ask what home is, you can say click on the drive icon that says home!

A black or dark background, really makes them standout.

_________________
I have found, in trying to help people, that the things they do not tell you, are usually the clue to solving the problem.
When I was a kid I wanted to be older.... This is not what I expected Shocked
Back to top
View user's profile Send private message 
Billtoo


Joined: 07 Apr 2009
Posts: 3299
Location: Ontario Canada

PostPosted: Sat 30 Sep 2017, 16:59    Post subject: Show us your puppies  

I've got space wallpaper and Mike's drive icons for a trace of
Star Trek, thanks Mike Smile
screenshot.jpg
 Description   
 Filesize   38.73 KB
 Viewed   281 Time(s)

screenshot.jpg

driveicons.jpg
 Description   
 Filesize   25.08 KB
 Viewed   282 Time(s)

driveicons.jpg

Back to top
View user's profile Send private message 
Mike Walsh


Joined: 28 Jun 2014
Posts: 3245
Location: King's Lynn, UK.

PostPosted: Sat 30 Sep 2017, 17:46    Post subject:  

@Billtoo:-

Glad you like 'em! I just wished belham2 hadn't decided on quite such an awkward shaped subject.....which is why I decided to go with the 'button' effect instead of an outline.

@bigpup:-

Ah, don't take any notice of my maunderings, mate. I just get 'grumpy' sometimes; dunno why, life's too short. Personally, I take the view that as far as my 'work' goes, folk can do what they want with it; partly 'cos that's the whole principle behind Linux, and partly 'cos I just like doing 'stuff' for myself.....and as I've said on many occasions before now, if it all goes according to plan, them I'm more than happy to share. (You can't really copyright something like this, that was knocked together on the spur of the moment...! Laughing )

And this sort of thing is stuff I do enjoy doing. I really got into design during my last years in college....all of 40 years ago now. (Gawd, where does the time go?)

They seem as if they're being well received, anyway..... Very Happy


Mike. Wink

_________________
If I've helped you.....please say 'Thanks'!
MY PUPPY PACKAGES
--------------------------------------

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

Joined: 24 Feb 2014
Posts: 2179

PostPosted: Sat 30 Sep 2017, 19:37    Post subject:  

Mike Walsh wrote:
@bigpup:-

Mm. I had thought of that.....after the fact. But if you click on the rim at the half-past one position, it'll still unmount. There's something else in /usr/local/lib/X11/pixmaps that makes that happen, a kind of 'transparent overlay', linked to pMount. I've been trying to figure that one out for a long time....


Used to be two images that were overlayed (using pngoverlay binary or pngoverlay.sh), image of a drive icon, image of a frame with a x in the top right corner overlaid on top of that drive icon. Not sure now, might be just different sets of icons ... drive, drive with x or whatever in the corner.

When clicked drive_all code which is attached to each drive icon when mounted detects where abouts the icon was clicked and if the top right corner performs a unmount action ...etc.

From the header comments of drive_all
Quote:
#/sbin/pup_event_frontend_d creates a desktop icon and copy of this script for each drive, ex:
# for drive sda: cp -a /usr/local/bin/drive_all /root/.pup_event/drive_sda/AppRun
#this script is launched by pup_event_frontend_d when the icon is first created. also,
#this script is launched when user clicks on deskop icon (former is configurable,
# see /usr/sbin/eventmanager.
#passed param is category of drive: card, floppy, optical, usbdrv, drive.


EDIT : Quick search revealed this ... http://www.murga-linux.com/puppy/viewtopic.php?p=928201#928201
Back to top
View user's profile Send private message 
rufwoof

Joined: 24 Feb 2014
Posts: 2179

PostPosted: Sat 30 Sep 2017, 19:40    Post subject:  

Mike Walsh wrote:
...But if you click on the rim at the half-past one position, it'll still unmount. There's something else in /usr/local/lib/X11/pixmaps that makes that happen, a kind of 'transparent overlay', linked to pMount. I've been trying to figure that one out for a long time....

Used to be two images that were overlayed (using pngoverlay binary or pngoverlay.sh), image of a drive icon, image of a frame with a x in the top right corner overlaid on top of that drive icon. Not sure now, might be just different sets of icons ... drive, drive with x or whatever in the corner.

When clicked drive_all code which is attached to each drive icon when mounted detects where abouts the icon was clicked and if the top right corner performs a unmount action ...etc.

From the header comments of drive_all
Quote:
#/sbin/pup_event_frontend_d creates a desktop icon and copy of this script for each drive, ex:
# for drive sda: cp -a /usr/local/bin/drive_all /root/.pup_event/drive_sda/AppRun
#this script is launched by pup_event_frontend_d when the icon is first created. also,
#this script is launched when user clicks on deskop icon (former is configurable,
# see /usr/sbin/eventmanager.
#passed param is category of drive: card, floppy, optical, usbdrv, drive.


Around lines 140 ... 160 in that drive_all script has the coordinates of click checking code.

EDIT : Quick search revealed this ... http://www.murga-linux.com/puppy/viewtopic.php?p=928201#928201

Last edited by rufwoof on Sat 30 Sep 2017, 20:01; edited 1 time in total
Back to top
View user's profile Send private message 
rufwoof

Joined: 24 Feb 2014
Posts: 2179

PostPosted: Sat 30 Sep 2017, 20:00    Post subject:  

Personally I don't use desktop drive icons as for security reasons I run as user not as root and user can't mount drives. Either they can be mounted at startup i.e. in /etc/fstab ... or better still left unmounted and anytime you want to mount one then login as root (or sudo) and mount them after having supplied the root password.

That prevents a session breakout, such as a flaw in your browser that potentially dumps a hacker out to command level from doing stuff such as mounting and viewing the content of drives, or worst still overwriting the partition tables or deleting content.

You do however need to be running a true multi-user system for that (Ctrl-Alt-Fn switch to another console and login, or real difference between user and root where user can perhaps su into root or sudo ... after supplying the root password).

More appropriate nowadays as viruses have tended towards proliferating rapidly (looking for other systems/disks as soon (same session) as they've broken into one, potentially to install ransomware).
Back to top
View user's profile Send private message 
bigpup


Joined: 11 Oct 2009
Posts: 9716
Location: Charleston S.C. USA

PostPosted: Sat 30 Sep 2017, 23:42    Post subject:  

I am trying to make up a Star Trek icon theme pack.

Not as easy as I was thinking to find icons to use.
Example:
install is a Borg Cube. Cool
Chat is a Borg Alcove. Smile
Lock is Red Alert Shocked

Here it is in early testing.
Looks better in real life.
Had to resize image to fit in forum.
capture18779.png
 Description   
 Filesize   61.91 KB
 Viewed   233 Time(s)

capture18779.png


_________________
I have found, in trying to help people, that the things they do not tell you, are usually the clue to solving the problem.
When I was a kid I wanted to be older.... This is not what I expected Shocked
Back to top
View user's profile Send private message 
souleau


Joined: 23 Oct 2016
Posts: 114

PostPosted: Sun 01 Oct 2017, 06:06    Post subject:  

Someone out there has already gone 'beyond', and created a LCARS inspired desktop that is just about perfect.

https://www.youtube.com/watch?v=Ozm_crcmR6E

Using no less than 10 instances of conky.
Back to top
View user's profile Send private message 
rufwoof

Joined: 24 Feb 2014
Posts: 2179

PostPosted: Sun 01 Oct 2017, 16:07    Post subject:  

Attached is a adjusted 1280x800 image with more squared corners on the left screen edge so that a terminal session better fits within that region

schematic_1280x800.png
Description  More squared off left screen edge corners
png

 Download 
Filename  schematic_1280x800.png 
Filesize  81.43 KB 
Downloaded  27 Time(s) 
Back to top
View user's profile Send private message 
watchdog

Joined: 28 Sep 2012
Posts: 1499
Location: Italy

PostPosted: Wed 15 Nov 2017, 09:07    Post subject:  

My backup of running puppies:
pic.png
 Description   
 Filesize   111.18 KB
 Viewed   108 Time(s)

pic.png

Back to top
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 9 of 10 [140 Posts]   Goto page: Previous 1, 2, 3, ..., 7, 8, 9, 10 Next
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » Taking the Puppy out for a walk » Puppy Power
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.0822s ][ Queries: 15 (0.0175s) ][ GZIP on ]