SwapIcons-1.2

Window managers, icon programs, widgets, etc.
Message
Author
User avatar
rhadon
Posts: 1292
Joined: Thu 27 Mar 2008, 11:05
Location: Germany

SwapIcons-1.2

#1 Post by rhadon »

Hi,

I like my desktop icons, but only if I want to use them :wink: .

So I created this little program to switch all desktop icons on/off by just moving the mouse cursor to one side of the sceen.

New version SwapIcons-1.2 is out :D

With this version you can use the corners to switch icons on/off as well. Also it's now possible to use shortcuts (more explanations here).

Since version 1.1 (built by L18L) you are able to select 'Never hide drive icons' :wink: .

I don't expect problems, but you know, it's always good to have a backup of your save file :roll: .


Enjoy and have fun :D ,

Rolf
Attachments
swapicons-config(1).png
(22.56 KiB) Downloaded 388 times
SwapIcons-1.2.pet
(8.52 KiB) Downloaded 533 times
SwapIcons-1.0.pet
(1.85 KiB) Downloaded 687 times
Last edited by rhadon on Tue 01 Oct 2013, 17:07, edited 4 times in total.
Ich verwende "frugal", und das ist gut so. :wink:
Raspberry Pi without Puppy? No, thanks.

Jasper

#2 Post by Jasper »

Hi rhadon,

Brilliant - Screen shots show Precise 5.4 Muliti-session live-CD
Screen resolution 1024 x 768.

I made an SFS from your pet.

My regards and thanks

User avatar
Eyes-Only
Posts: 1043
Joined: Thu 10 Aug 2006, 06:32
Location: La Confederation Abenaquaise

#3 Post by Eyes-Only »

Hi rhadon! Great app and works wonderful on my Puppy Precise 5.4.4 with a screen resolution of 1280x1024.

Two thumbs up from here! Should be yet another one of those default "must be included" desktop beautification apps in any/all versions/puplets of Puppy due to its usefulness IMHO.

Thank you for your contribution to the Puppy Community!

Cheers/Amicalement,

Eyes-Only
"L'Peau-Rouge d'Acadie"
*~*~*~*~*~*
Proud user of LXpup and 3-Headed Dog. 8)
*~*~*~*~*~*

User avatar
rhadon
Posts: 1292
Joined: Thu 27 Mar 2008, 11:05
Location: Germany

#4 Post by rhadon »

Hi Jasper and Eyes-Only,

thank you for your kind words. I'm glad you like it and that it works for you. Credit belongs also to SFR and L18L for helping me :wink: .

Cheers

Rolf
Ich verwende "frugal", und das ist gut so. :wink:
Raspberry Pi without Puppy? No, thanks.

User avatar
Tote
Posts: 237
Joined: Thu 19 Jan 2012, 07:53
Location: South Wales

#5 Post by Tote »

Hi Rhadon, ( and company), thanks for this. I really like it. Using it with Racy Baby Barebones.

What a clever idea.

musher0
Posts: 14629
Joined: Mon 05 Jan 2009, 00:54
Location: Gatineau (Qc), Canada

#6 Post by musher0 »

Tote wrote:Hi Rhadon, ( and company), thanks for this. I really like it. Using it with Racy Baby Barebones.

What a clever idea.
Hello, rhadon.

Indeed, very clever idea! Forgive me for not noticing before.

Is it possible to add a configuration so activation happens with < key > + < cursor on side of screen > ? Window managers pekwm and icewm use the < cursor + side of screen > to move to the next desktop.

In any case, thanks.

musher0
musher0
~~~~~~~~~~
"You want it darker? We kill the flame." (L. Cohen)

Jasper

#7 Post by Jasper »

Hi musher0,

You also have the setting choice of moving the cursor off the bottom or off the top of your screen.

My regards

musher0
Posts: 14629
Joined: Mon 05 Jan 2009, 00:54
Location: Gatineau (Qc), Canada

#8 Post by musher0 »

Jasper wrote:Hi musher0,

You also have the setting choice of moving the cursor off the bottom or off the top of your screen.

My regards
Hi, Jasper.

Thanks for the suggestion, but I had figured that one out.

Two reasons for the < key + cursor movement > instead of simply the
< cursor movement >:

1) The bottom is off limits because you almost always have the window manager there.

2) If you already have a panel (ROX-panel or window manager bar) on
any side, it is an annoyance to see your icons disappear when you
do not want to, simply because your cursor has slightly touched the side
of the screen.

Thanks in advance to radhon if he can come up with such a version.

musher0
musher0
~~~~~~~~~~
"You want it darker? We kill the flame." (L. Cohen)

User avatar
rhadon
Posts: 1292
Joined: Thu 27 Mar 2008, 11:05
Location: Germany

#9 Post by rhadon »

Hi musher0,

thank you for your positive feedback. Yes, you are right, sometimes an additional key would be very useful. The right side is uncritically for me, so there was no need to change, but I run 2 other progs by moving the cursor to the upper edges and it's annoying to call a prog permanently by accident :evil: . Well, that's another story, because I use Compiz and could change it there easily, but I understand the problem. It shouldn't be difficult to change (at least in theory). Hopefully I come back with a solution during or after this this weekend.

Rolf
Ich verwende "frugal", und das ist gut so. :wink:
Raspberry Pi without Puppy? No, thanks.

User avatar
rhadon
Posts: 1292
Joined: Thu 27 Mar 2008, 11:05
Location: Germany

#10 Post by rhadon »

L18L has built SwapIcons-1.1 :D . You can find it here.

@musher0
From my point of view it's better to use an additional mouse button instead of a key from keyboard because by moving the mouse, your finger is already above the button.

Would you or anybody else confirm or do I overlook something?

Rolf
Ich verwende "frugal", und das ist gut so. :wink:
Raspberry Pi without Puppy? No, thanks.

User avatar
L18L
Posts: 3479
Joined: Sat 19 Jun 2010, 18:56
Location: www.eussenheim.de/

SwapIcons

#11 Post by L18L »

What about

left click -> swap
right click -> config

at always visible desktop icon (task for our graphics artists)
or
at task bar (can be hidden, visible when moving mouse at it) :?:

User avatar
rhadon
Posts: 1292
Joined: Thu 27 Mar 2008, 11:05
Location: Germany

#12 Post by rhadon »

Hi L18L,
L18L wrote:left click -> swap
right click -> config
at always visible desktop icon (task for our graphics artists)
Perhaps a good idea for others, but not for me :oops: . Maybe I should explain. I use pictures from life webcams over the internet as my wallpaper, with refresh rates from ~3sec. to more than 20min. Sometimes I want only to enjoy these pictures, sometimes I want to take a snapshot. In both cases any icon is disturbing. Also hiding the icons and taking a snapshot must be fast, because most of the time I don't know, when the next refresh happens (I'm not always staring at the wallpaper :wink: ) and the next picture could show a completely other scenario.
or
at task bar (can be hidden, visible when moving mouse at it)
better, but in this case, moving the mouse pointer down and pressing e.g. button1 seems to be easier and faster. No need to hit a special icon in the task bar. The lowest line is free, no icon from the taskbar will be executed (only one exception, the menu button).

If no other ideas or comments, I'll try to go this way :wink: .

Rolf
Ich verwende "frugal", und das ist gut so. :wink:
Raspberry Pi without Puppy? No, thanks.

musher0
Posts: 14629
Joined: Mon 05 Jan 2009, 00:54
Location: Gatineau (Qc), Canada

Re: SwapIcons

#13 Post by musher0 »

L18L wrote:What about

left click -> swap
right click -> config

at always visible desktop icon (task for our graphics artists)
or
at task bar (can be hidden, visible when moving mouse at it) :?:
No go for left click and right click. In all wm's, those mouse buttons
are used to call the main and/or sometimes secondary menus.

Which is why I prefer the < key + cursor at edge > combination, if
someone has the ability to create it.

As rhadon mentioned, one hand is occupied controlling the mouse, but
generally, the other hand is free. Something like < z+cursor at edge >
for right-handed people or < . + cursor at edge > for left-handed people.

Also, this script could have a *.desktop file and so become accessible
from the menu.

As per L18N's suggestion, a desktop icon is also a possibility, but then,
strictly speaking, the empty desktop would not be empty anymore.

BFN.

musher0
Last edited by musher0 on Sat 07 Sep 2013, 20:33, edited 1 time in total.
musher0
~~~~~~~~~~
"You want it darker? We kill the flame." (L. Cohen)

User avatar
rhadon
Posts: 1292
Joined: Thu 27 Mar 2008, 11:05
Location: Germany

#14 Post by rhadon »

musher0 wrote:In all wm's, those mouse buttons are used to call the main and/or sometimes secondary menus.
Good argument :wink: . In Compiz I don't have this problem, so I wasn't aware.

Will try soon,

Rolf
Ich verwende "frugal", und das ist gut so. :wink:
Raspberry Pi without Puppy? No, thanks.

Jasper

#15 Post by Jasper »

Hi rhadon,

Today I sent you two PMs (some three hours apart).

This is Just to let you know you seem to have opened the second, but not the first which was a response to your helpful PM to me.

My regards

User avatar
rhadon
Posts: 1292
Joined: Thu 27 Mar 2008, 11:05
Location: Germany

#16 Post by rhadon »

@Jasper
Got it now :oops: , thank you,

Rolf
Ich verwende "frugal", und das ist gut so. :wink:
Raspberry Pi without Puppy? No, thanks.

jimwg
Posts: 121
Joined: Mon 19 Aug 2013, 02:44

#17 Post by jimwg »

Thanks for this app! It's really appreciated! Is it possible to assign the corners of the screen as swap switches rather than the sides?

Keep up the great work!

Jim in NYC

musher0
Posts: 14629
Joined: Mon 05 Jan 2009, 00:54
Location: Gatineau (Qc), Canada

#18 Post by musher0 »

Hello, people.

pekwm is already "screen-side" friendly.

Here you will find how to emulate radhon's trick in pekwm:
http://murga-linux.com/puppy/viewtopic. ... ost#725132
i.e. how to make a ROX-panel appear and disappear with a Ctrl-click on the proper side of the screen, in pekwm.

Enjoy.

musher0
musher0
~~~~~~~~~~
"You want it darker? We kill the flame." (L. Cohen)

jimwg
Posts: 121
Joined: Mon 19 Aug 2013, 02:44

#19 Post by jimwg »

Thanks for swift reply! I skimmed this topic and manage a gist of what you're all saying which sounds very clever but applying it is a little over the head of this tech newbie so I'll just sit it out and wait for a simpler newbie-friendly app interface to implement these complicated commands and procedures.

Please keep up the good work!

Jim in NYC

User avatar
rhadon
Posts: 1292
Joined: Thu 27 Mar 2008, 11:05
Location: Germany

#20 Post by rhadon »

Hi ,

sorry that it takes such a long time, but I was/am busy in real life and hadn't much time for Puppy :oops: .

By now I've found 4 different solutions for detecting a single key but all are working only if I run the program from console. So it's not workable by now :cry: .

There's another possible solution by using keyboard shortcuts (no mouse move required). Basically this works fine. I have to change some small parts of the prog and to add the new choices to the GUI. One advantage, nothing from swapicons is running in the background.

@ musher0
I'm glad you've found a solution without waiting for me :D .

@ Jim
I'm glad you like this small program. It should be possible to change/add the corners instead of using the sides but first I'll add the code for using shortcuts. Then we'll see :wink: .

Rolf
Ich verwende "frugal", und das ist gut so. :wink:
Raspberry Pi without Puppy? No, thanks.

Post Reply