How to remove desktop and tray icons, suspend option from BionicPup64?

New to Puppy and have questions? Start here

Moderator: Forum moderators

Post Reply
Shloz
Posts: 19
Joined: Thu Jul 23, 2020 12:40 am
Been thanked: 1 time

How to remove desktop and tray icons, suspend option from BionicPup64?

Post by Shloz »

Using Bionic64 and mostly figured out how to customize the DE to my liking. A few questions...
1 Is there any way to get rid of the drives icon?
2 Ditto for the save icon?
3 Can I customize the tray icons that are on the right side such as battery indicator and volume etc.?
4. Is there any way to suspend/sleep? Is there anything I can install that would add that capability?

I'm very happy with how Puppy Linux is working on my 10 year old netbook! Just wondering if any or all of the above are possible. Thanks
User avatar
taersh
Posts: 951
Joined: Tue Jul 07, 2020 11:13 pm
Location: Germany
Has thanked: 53 times
Been thanked: 119 times

Re: Removing desktop and tray icons, suspend option

Post by taersh »

Hi.

Yes, it should be possible to achieve all of those.

In menu Desktop there's an entry called JWM-Desk or similar. This will bring up a GUI where to change lots of settings like drive icons, icon theme, icon setup etc.pp.

To remove the save icon from desktop there needs to be some modifications made in a script, though, I can't recall where to find this. I'm running without safe files and/or save folders in general, so this icon doesn't appear on my desktop. But there's members knowing this of whom I'm sure they may step into this topic explaining to you how to do. In the old Puppy Forum we had a topic especially for that issue, though no access atm.

Customizing the tray icons?

I'm not sure what you want to do. Of course you can add/remove icons from the systray by editing e.g. /root/.jwmrc-tray.

Don't know about how to do suspend or sleep on the your netbook. Best would be to ask 666philb, the developer of BionicPup64. This is the BionicPup64 topic: viewtopic.php?f=115&t=99

My Music:
https://soundcloud.com/user-633698367
Using my own build of Bionic64
The far-left is as fascist as the far-right is!

User avatar
Wiz57
Moderator
Posts: 495
Joined: Fri Dec 13, 2019 3:54 pm
Location: Chickasha, OK USA
Has thanked: 75 times
Been thanked: 79 times

Re: Removing desktop and tray icons, suspend option

Post by Wiz57 »

I think all those options are in the Menu/Setup of the start menu...probably under Configure JWMDesktop,
or also reachable under Desktop (can't remember for sure, been using LXDe a lot the last 6 months or so)
If I get a chance, I'll boot up my plain jane ScPup 32 and double check. The save file settings, trying to
remember from reading old forum, but might be under the Settings as well, you set the default save timing
to zero. As mentioned, if I get a chance I'll reboot this little netbook of mine, an Acer Aspire One AO150,
1 gig RAM, 1.6 gHz Intel Atom N270 CPU, and fire up ScPup (Slackware Current Puppy)
Perhaps someone else has a better memory than I (but that would be nothing to brag about, lol)
Wiz :D

Signature available upon request

TerryH
Posts: 578
Joined: Mon Jun 15, 2020 2:08 am
Has thanked: 114 times
Been thanked: 131 times

Re: Removing desktop and tray icons, suspend option

Post by TerryH »

To determine which icons are displayed use Menu > Desktop > JWMDesk > Icon Layout. There are controls for desktop icons and drive icons.

For the Save icon, the script which controls the Save icon on the desktop is /bin/plogin

Screenshot showing the icon control.
Screenshot showing the icon control.
Screenshot.png (24.69 KiB) Viewed 1326 times

New Laptop - ASUS ZenBook Ryzen 7 5800H Vega 7 iGPU / 16 GB RAM

Shloz
Posts: 19
Joined: Thu Jul 23, 2020 12:40 am
Been thanked: 1 time

Re: Removing desktop and tray icons, suspend option

Post by Shloz »

Thanks for the replies. I already exhausted all the options in the JWM manager but there aren't any options for the icons on the right just for the launch icons on the left. I'll check that systray config file when I get a chance.
There isn't any option to totally remove drives icon. The only option is "minimal" which is for one icon for all drives. I'm going for a totally empty desktop.
None of this is that important just my preference...
Thanks again.
User avatar
rockedge
Site Admin
Posts: 5829
Joined: Mon Dec 02, 2019 1:38 am
Location: Connecticut,U.S.A.
Has thanked: 2081 times
Been thanked: 2178 times
Contact:

Re: Removing desktop and tray icons, suspend option

Post by rockedge »

you are looking to remove some icons from the desktop and tray?

why not just do it manually or directly modify the configure files?
User avatar
taersh
Posts: 951
Joined: Tue Jul 07, 2020 11:13 pm
Location: Germany
Has thanked: 53 times
Been thanked: 119 times

Re: Removing desktop and tray icons, suspend option

Post by taersh »

For the icons on the right try right-clicking and then Remove Icon.

My Music:
https://soundcloud.com/user-633698367
Using my own build of Bionic64
The far-left is as fascist as the far-right is!

User avatar
mikewalsh
Moderator
Posts: 5666
Joined: Tue Dec 03, 2019 1:40 pm
Location: King's Lynn, UK
Has thanked: 605 times
Been thanked: 1740 times

Re: Removing desktop and tray icons, suspend option

Post by mikewalsh »

@ Shloz/Rainer:-

With regard to "removing things"; instead of editing files, why not simply leave the drive & save icons on the desktop - no loss of 'functionality', this way......but make them 'invisible', so you don't SEE them?

I've done this in a few Puppies, for various things. I can click on a particular feature of the background, or in a corner, say, to do what I want.....yet I'm the only one who knows the item is in fact there!

Swap the icon for a transparent PNG "blank". I've put a wee video together to demonstrate how you do this:-





(Remember, guys & gals; with Mozilla-based browsers, the 'full-screen' button will work. Chromium-based browsers, you'll have to hit the 'YouTube' link and watch it on the main site.....)


Shloz:- I've attached the "blank" to this post, so if ya want to try this method, you can. Don't worry about the size of it; ROX auto-resizes everything to 48x48 anyway. It'll be fine. (Right-click on the attachment, and do a 'Save image as...')

That's the way I'd approach it. Minimal messing about; you're not doing anything drastic, yet you should achieve the effect you're after...

Let us know if that's any use.

------------------------------------------------

As for suspending, well; this script will do it on a desktop:-

Code: Select all

#!/bin/sh
#
#'Suspend' script for Puppy 
#
echo -n mem > /sys/power/state
However, I know this needs modifications for laptops/netbooks, etc, 'cos of the way the ACPI power management stuff works on those. This stuff was all on the old Murga-Linux forums; Christ, we really have lost SO much stuff, it's untrue.

Somebody will know the mods. It's a good bet Phil will know what you need to do with the script. Once you've modded it & got it working, you can drag the script to the desktop, tart it up with an icon, and you've got yourself a Suspend button. Or you can integrate this into the Logout GUI.....or set up a key-binding 'shortcut'. You may even be able to make it work when you shut the lid.....but this, I believe, takes rather more doing.

The options are endless...!

Hope that helps.


Mike. ;)
Attachments
Invisible, transparent PNG "blank"....
Invisible, transparent PNG "blank"....
invisible-icon.png (1.63 KiB) Viewed 1287 times

Puppy "stuff" ~ MORE Puppy "stuff" ~ ....and MORE! :D
_______________________________________________________

Image

grandmaslaptop
Posts: 15
Joined: Sun Jul 26, 2020 4:44 pm

Re: Removing desktop and tray icons, suspend option

Post by grandmaslaptop »

Shloz wrote: Tue Jul 28, 2020 1:22 am Can I customize the tray icons that are on the right side such as battery indicator and volume etc.?
I don’t if you have solved this yet, but as soon as I got a little grip of the os (today) I changed the volume icon on the tray to a clone I made of win10’s volume icon I am so used with. If you’d want to customize it instead of hiding it you can do that by swapping out the .png files in /usr/share/retrovol/images. Maybe there’s an easier way but this is how I did it. I haven’t found the directory of the drive icon or the battery icon yet unfortunately. Does anyone know it?
User avatar
taersh
Posts: 951
Joined: Tue Jul 07, 2020 11:13 pm
Location: Germany
Has thanked: 53 times
Been thanked: 119 times

Re: Removing desktop and tray icons, suspend option

Post by taersh »

Swap the icon for a transparent PNG "blank".
Hey, that's a pretty smart solution! :thumbup:
That way it isn't visible but one still can click on it. 8-)
Really smart! :idea:

My Music:
https://soundcloud.com/user-633698367
Using my own build of Bionic64
The far-left is as fascist as the far-right is!

User avatar
666philb
Posts: 429
Joined: Thu Jul 09, 2020 3:18 pm
Location: wales uk
Has thanked: 111 times
Been thanked: 146 times

Re: Removing desktop and tray icons, suspend option

Post by 666philb »

hi ,

icons on the right side of the tray are running apps which you can disable in /root/Startup & /root/.config/autostart (this is linked in /root/startup in bionicpup64) and move them to disabled.

the clock and processes icon can be removed by editing /root/.jwmrc-tray

suspend is /etc/acpi/actions/suspend.sh
User avatar
mikewalsh
Moderator
Posts: 5666
Joined: Tue Dec 03, 2019 1:40 pm
Location: King's Lynn, UK
Has thanked: 605 times
Been thanked: 1740 times

Re: Removing desktop and tray icons, suspend option

Post by mikewalsh »

grandmaslaptop wrote: Tue Jul 28, 2020 12:56 pm
Shloz wrote: Tue Jul 28, 2020 1:22 am Can I customize the tray icons that are on the right side such as battery indicator and volume etc.?
I don’t if you have solved this yet, but as soon as I got a little grip of the os (today) I changed the volume icon on the tray to a clone I made of win10’s volume icon I am so used with. If you’d want to customize it instead of hiding it you can do that by swapping out the .png files in /usr/share/retrovol/images. Maybe there’s an easier way but this is how I did it. I haven’t found the directory of the drive icon or the battery icon yet unfortunately. Does anyone know it?
Ee, you're learning, lad. Well done!

That's exactly what I did myself. Spent a couple of hours browsing icon sites on t' web, and cobbled together a near-as-dammit matching set of functions in an icon design I liked. Like so:-


Image


Maybe not quite the "full" set, but enough to be fully functional. I always run a dark gray tray in any case (and recently begun using dark themes, too), so these show up rather better. Plus they have a slightly 'retro' feel to 'em..! Do be aware that newer Puppies tend to use SVG images here as opposed to PNG.

This is one of the good sides to Linux. It is SO customizable it's almost untrue.....


Mike. ;)

Puppy "stuff" ~ MORE Puppy "stuff" ~ ....and MORE! :D
_______________________________________________________

Image

User avatar
taersh
Posts: 951
Joined: Tue Jul 07, 2020 11:13 pm
Location: Germany
Has thanked: 53 times
Been thanked: 119 times

Re: Removing desktop and tray icons, suspend option

Post by taersh »

grandmaslaptop wrote: Tue Jul 28, 2020 12:56 pmI haven’t found the directory of the drive icon or the battery icon yet unfortunately. Does anyone know it?
They should be in: /usr/local/lib/X11/pixmaps. That's the directory where icons dependent on the chosen theme are stored/created - after choosing a theme.
Themes are in: /usr/local/lib/X11/themes

My Music:
https://soundcloud.com/user-633698367
Using my own build of Bionic64
The far-left is as fascist as the far-right is!

User avatar
taersh
Posts: 951
Joined: Tue Jul 07, 2020 11:13 pm
Location: Germany
Has thanked: 53 times
Been thanked: 119 times

Re: Removing desktop and tray icons, suspend option

Post by taersh »

[mention]mikewalsh[/mention]
Won't you package this icon set for retrovol and attach it?

My Music:
https://soundcloud.com/user-633698367
Using my own build of Bionic64
The far-left is as fascist as the far-right is!

User avatar
mikewalsh
Moderator
Posts: 5666
Joined: Tue Dec 03, 2019 1:40 pm
Location: King's Lynn, UK
Has thanked: 605 times
Been thanked: 1740 times

Re: Removing desktop and tray icons, suspend option

Post by mikewalsh »

taersh wrote: Tue Jul 28, 2020 9:03 pm @mikewalsh
Won't you package this icon set for retrovol and attach it?
No sooner said than done. Here's attached .pets for both the PNG images as used by older Puppies, and SVG as used by modern Pups...

(If you want to keep the original set, copy them out to a safe location first. These .pets include a pinstall.sh that deletes the contents of /usr/share/retrovol/images before installing this set.....the original has additional icons to these, although this set gives you full functionality.)

No need for a postinstall.sh to restart JWM, since these icons are 'live' in the same way as the 'PuppyPin' file for desktop layout; you'll see the old ones disappear and leave a blank space for a split-second, before being replaced by the new...

Enjoy.


Mike. ;)
Attachments
Retrovol_retro_icons-SVG.pet
SVG icon set for Retrovol...
(33.15 KiB) Downloaded 19 times
Retrovol_retro_icons-PNG.pet
PNG icon set for Retrovol...
(33.15 KiB) Downloaded 20 times

Puppy "stuff" ~ MORE Puppy "stuff" ~ ....and MORE! :D
_______________________________________________________

Image

User avatar
taersh
Posts: 951
Joined: Tue Jul 07, 2020 11:13 pm
Location: Germany
Has thanked: 53 times
Been thanked: 119 times

Re: Removing desktop and tray icons, suspend option

Post by taersh »

[mention]mikewalsh[/mention]
Thanks! :thumbup:

My Music:
https://soundcloud.com/user-633698367
Using my own build of Bionic64
The far-left is as fascist as the far-right is!

User avatar
bigpup
Moderator
Posts: 6414
Joined: Tue Jul 14, 2020 11:19 pm
Location: Earth, South Eastern U.S.
Has thanked: 762 times
Been thanked: 1326 times

Re: Removing desktop and tray icons, suspend option

Post by bigpup »

Desktop drive icons control:
menu->System->Puppy Event Manager->Rox Icons

When you change a setting.
For them to take affect.
Check refresh/realign
Click OK.

However, it will at best, still have one single drive icon on desktop.

Forum Global Moderator
The things you do not tell us, are usually the clue to fixing the problem.
When I was a kid, I wanted to be older.
This is not what I expected :o

User avatar
mikewalsh
Moderator
Posts: 5666
Joined: Tue Dec 03, 2019 1:40 pm
Location: King's Lynn, UK
Has thanked: 605 times
Been thanked: 1740 times

Re: Removing desktop and tray icons, suspend option

Post by mikewalsh »

bigpup wrote: Wed Jul 29, 2020 11:50 amHowever, it will at best, still have one single drive icon on desktop.
.....for which you can use the "PNG 'blank icon'" trick I outlined earlier. Move it into a corner, or somewhere you know where to find it (use the Placement/start-gap/edge-gap stuff in the Drive manager to get it as close into the corner as you can, then replace the icon and edit the text out.)

It's still there if you need it, and you know where it is.....but it's not showing on the desktop. I still think it's the simplest way to handle the OP's original query.


Mike. ;)

Puppy "stuff" ~ MORE Puppy "stuff" ~ ....and MORE! :D
_______________________________________________________

Image

Shloz
Posts: 19
Joined: Thu Jul 23, 2020 12:40 am
Been thanked: 1 time

Re: Removing desktop and tray icons, suspend option

Post by Shloz »

Thanks for all the great ideas! Going to give the blank icon idea a try soon!
Shloz
Posts: 19
Joined: Thu Jul 23, 2020 12:40 am
Been thanked: 1 time

Re: Removing desktop and tray icons, suspend option

Post by Shloz »

I finally got it to work using the blank icon. The drives icon was tricky because with every reboot it came back. I ultimately replaced the drive48.png with the blank icon and renamed it to drive48.png I now have a clean desktop with a hidden drives icon. Thanks!!!
User avatar
bigpup
Moderator
Posts: 6414
Joined: Tue Jul 14, 2020 11:19 pm
Location: Earth, South Eastern U.S.
Has thanked: 762 times
Been thanked: 1326 times

Re: Removing desktop and tray icons, suspend option

Post by bigpup »

To be able to use the Puppy Trash.
The trash icon has to be on the desktop.
That trash icon is more than just a icon.
It is a Rox application.
right click on it and you will see a menu, with all kinds of features access, for the trash.
To put something in the trash.
You need to drag and drop it on that trash icon.

A few Puppy versions, in Rox file manager right click menu, have trash option.
But, to access the trash.
You still need to left or right mouse button click, on the desktop trash icon.

Forum Global Moderator
The things you do not tell us, are usually the clue to fixing the problem.
When I was a kid, I wanted to be older.
This is not what I expected :o

Post Reply

Return to “Beginners Help”