Author |
Message |
stemsee
Joined: 27 Jun 2013 Posts: 2572 Location: In The Way
|
Posted: Fri 05 Dec 2014, 08:46 Post subject:
Nicons-V4 29/08/2015 Subject description: show/hide & manage icons with GUI |
|
ADDED: layout per Desktop (4 desktops) Including show/hide icons and remove labels. change layout and save. This works by naming personal saved layouts as 0, 1 ,2 ,3 .
EDIT - Now includes a gui for most functions.
cli usage
*** ALWAYS START PROCESS FROM ICONIFIED DESKTOP ***
nicons (1st use creates swithch flag and back up)
nicons (2nd use switches to iconless desktop and initiates infinite switch sequence)
nicons (3rd use switches to iconified desktop)
These first three uses setup all pins and are necessary for the following functions to work in the designed way. Otherwise they will still work but with a few surprises which may or may not be of use to you. 'nicons reset' will clear up any mess.
'nicons add' This is needed to create the icon repo, and gives options to remove all icons and rename to numbers.
'nicons repo' this just opens the existing icon repo and let's you drag more icons to the desktop. Then it calls
'nicons arrange' - which has the style menu only.
'nicons remove' - manual removeal of icons by typing name
'nicons reset' - deletes all files created by app.
'nicons noicons'
'nicons removeal'l (may need several attempts.) removes all icons for a fresh start.
'nicons two' (sets up two switchable iconifiable desktops)
'nicons pip' (exits two iconifiable desktops)
nicons nopin0
EDIT
added
nicons noname - strips labels from arranged desktop icons
nicons load - load saved layout
nicons save - builtin - save layout
nicons pevent - refresh or not drive icons.
nicons d - include drive icons
nicons gui - or niui only.
nicons loadbg - set wallpaper
nicons delay - delete layout
nicons delbg - delete wallpaper
nicons desk - puppypin per desktop, also wallpaper per pin.
There are limits for each style/shape of how many icons to use - upper limits .... not lower limits! You can modify shapes by using fewer icons, leaving shapes incomplete.
CLi or gui
Dependencies: xdotool, yad, gtkdialogue
 |
Description |
|

Download |
Filename |
Nicons-V3.5.pet |
Filesize |
16.97 KB |
Downloaded |
762 Time(s) |
Last edited by stemsee on Sat 29 Aug 2015, 01:46; edited 32 times in total
|
Back to top
|
|
 |
Jasper
Joined: 25 Apr 2010 Posts: 1350 Location: England
|
Posted: Fri 05 Dec 2014, 10:26 Post subject:
|
|
stemsee,
You are right; it's not for me.
Earlier today you wrote:
Code: | I think most people don't want more than 24 icons on their desktop ever! So here is my default setting for the first release of Nicons-V2 |
Code: | I am sure the AppStarter is a very good app written by whom?
However my app handles upto 3000 icons if needed. |
Since you ask, AppStarter was written by puppymartin (not gcmartin) and as your search skill is so poor, I could provide a link in addition to the download available from your original thread.
My understanding is that it is against Forum policy to start multiple threads on the same subject. However, if there is exceptionally heavy interest here, perhaps a waiver may be in order.
|
Back to top
|
|
 |
stemsee
Joined: 27 Jun 2013 Posts: 2572 Location: In The Way
|
Posted: Fri 05 Dec 2014, 13:53 Post subject:
|
|
This thread is about Nicons-V2, not Show/Hide icons which didn't manage icons! It is therefore a new thread for a new app, it shares features with Show/Hide icons
Last edited by stemsee on Mon 08 Dec 2014, 08:12; edited 2 times in total
|
Back to top
|
|
 |
stemsee
Joined: 27 Jun 2013 Posts: 2572 Location: In The Way
|
Posted: Sun 07 Dec 2014, 19:24 Post subject:
|
|
V2.1
Now handles drive icons 'properly'.
|
Back to top
|
|
 |
stemsee
Joined: 27 Jun 2013 Posts: 2572 Location: In The Way
|
Posted: Mon 08 Dec 2014, 08:00 Post subject:
|
|
V2.2
Now comes with 5 presets, top (from one row upto filingl the desktop) bottom (from one row upto filingl the desktop) left (two columns) right (two columns) and corners (clusters of six icons in each corner). These all work according to screen resolution so will always be correct.
This needs a gui to make it easy on the user, otherwise commandline usage may be too involved for newbies.
Description |
filled with icons |
Filesize |
44.36 KB |
Viewed |
1405 Time(s) |

|
Description |
top |
Filesize |
28.51 KB |
Viewed |
1390 Time(s) |

|
Description |
bottom |
Filesize |
23.59 KB |
Viewed |
1392 Time(s) |

|
Description |
left |
Filesize |
23.08 KB |
Viewed |
1392 Time(s) |

|
Description |
right |
Filesize |
23.54 KB |
Viewed |
1393 Time(s) |

|
Description |
corners |
Filesize |
24.99 KB |
Viewed |
1381 Time(s) |

|
|
Back to top
|
|
 |
stemsee
Joined: 27 Jun 2013 Posts: 2572 Location: In The Way
|
Posted: Mon 08 Dec 2014, 14:14 Post subject:
|
|
Added two more presets! TopandBottom LeftandRight
Description |
top and bottom |
Filesize |
25.59 KB |
Viewed |
1426 Time(s) |

|
Description |
left and right |
Filesize |
22.82 KB |
Viewed |
1412 Time(s) |

|
|
Back to top
|
|
 |
stemsee
Joined: 27 Jun 2013 Posts: 2572 Location: In The Way
|
Posted: Wed 10 Dec 2014, 05:22 Post subject:
|
|
I am still figuring out how to geneerate circular clusters and concentric rings of icons. Seems there will be three main methods: sin * $(deg) cos * $((deg(radius)), (this will may not work with nested loops); nested loops method will need to add variable that sets increments both positively and negatively for both x and y; third method = templates (avoiding this one for the moment).
Another preset I want to add is frame = position icons around the perimeter of the screen. maybe possible using negative seq from maxx and maxy. and also throwing strategic $X into the $Y seq in both + and - forms; some experiments proved encouraging.
Any mathematicians among you with any pointers, please come forward!
|
Back to top
|
|
 |
stemsee
Joined: 27 Jun 2013 Posts: 2572 Location: In The Way
|
Posted: Fri 12 Dec 2014, 14:40 Post subject:
|
|
Added preset 'edges' or 'frame' ??? What should I call this one?
Description |
'framed' or 'edges' or 'perimeter' |
Filesize |
28.32 KB |
Viewed |
1353 Time(s) |

|
|
Back to top
|
|
 |
LazY Puppy

Joined: 21 Nov 2014 Posts: 2007 Location: Germany
|
Posted: Fri 12 Dec 2014, 15:28 Post subject:
|
|
Surrounding.
_________________ RSH
"you only wanted to work your Puppies in German", "you are a separatist in that you want Germany to secede from Europe" (musher0)
No, but I gave my old drum kit away for free to a music store collecting instruments for refugees! 
|
Back to top
|
|
 |
stemsee
Joined: 27 Jun 2013 Posts: 2572 Location: In The Way
|
Posted: Fri 12 Dec 2014, 16:00 Post subject:
|
|
'Surround' is pretty good. Surround it is!
|
Back to top
|
|
 |
stemsee
Joined: 27 Jun 2013 Posts: 2572 Location: In The Way
|
Posted: Fri 12 Dec 2014, 16:14 Post subject:
|
|
I had overlapping icons on the corners in surround layout! Corrected.
Description |
Surround |
Filesize |
34.37 KB |
Viewed |
1351 Time(s) |

|
|
Back to top
|
|
 |
stemsee
Joined: 27 Jun 2013 Posts: 2572 Location: In The Way
|
Posted: Fri 12 Dec 2014, 16:42 Post subject:
|
|
Added preset cross!
Description |
windows |
Filesize |
29.19 KB |
Viewed |
1293 Time(s) |

|
Description |
cross |
Filesize |
24.94 KB |
Viewed |
1332 Time(s) |

|
|
Back to top
|
|
 |
stemsee
Joined: 27 Jun 2013 Posts: 2572 Location: In The Way
|
Posted: Fri 12 Dec 2014, 17:14 Post subject:
|
|
Here is my formula for circles.
Code: | indexx=2
indexy=4
res=`xrandr | grep -w connected | cut -f3 -d ' ' | cut -f1 -d '+' | tr 'x' ' '`
maxx=`echo $res | cut -f1 -d ' '`
maxy=`echo $res | cut -f2 -d ' '`
originX=$((maxx / 2))
originY=$((maxy / 2))
radius=300
maxangle=360
angle=`seq 0 20 $maxangle`
X=$((originX + (radius * cos(angle))))
Y=$((originY + (radius * sin(angle))))
for vary in $Y
do
for varx in $X
do
cat /tmp/files | head -1 | awk -F\" -v OFS=\" '{$'$indexx'='$varx'; print }' | awk -F\" -v OFS=\" '{$'$indexy'='$vary'; print }' >> ~/Choices/ROX-Filer/PuppyPin-formatted
sed -i '1d' /tmp/files
done
done
|
How to call cos and sin in bash? ... this doesn't seem to be working!
|
Back to top
|
|
 |
LazY Puppy

Joined: 21 Nov 2014 Posts: 2007 Location: Germany
|
Posted: Fri 12 Dec 2014, 18:27 Post subject:
|
|
https://www.google.de/search?q=man+%22cos%22+site:linux.die.net&btnI=Search&gws_rd=cr,ssl&ei=uWuLVMKcK4KuPImigKAE
_________________ RSH
"you only wanted to work your Puppies in German", "you are a separatist in that you want Germany to secede from Europe" (musher0)
No, but I gave my old drum kit away for free to a music store collecting instruments for refugees! 
|
Back to top
|
|
 |
stemsee
Joined: 27 Jun 2013 Posts: 2572 Location: In The Way
|
Posted: Fri 12 Dec 2014, 19:12 Post subject:
|
|
Thanks ... I had a look but didn't click for me!
|
Back to top
|
|
 |
|