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 Fri 27 Feb 2015, 07:52
All times are UTC - 4
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Desktop
Nicons-V3.6 6/2/2015
Post new topic   Reply to topic View previous topic :: View next topic
Page 1 of 6 [77 Posts]   Goto page: 1, 2, 3, 4, 5, 6 Next
Author Message
stemsee

Joined: 27 Jun 2013
Posts: 943
Location: Displaced

PostPosted: Fri 05 Dec 2014, 08:46    Post subject:  Nicons-V3.6 6/2/2015
Subject description: show/hide & manage art 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
Nicons-V3.5.pet
Description 
pet

 Download 
Filename  Nicons-V3.5.pet 
Filesize  16.97 KB 
Downloaded  37 Time(s) 

Last edited by stemsee on Fri 06 Feb 2015, 14:14; edited 30 times in total
Back to top
View user's profile Send private message MSN Messenger 
Jasper


Joined: 25 Apr 2010
Posts: 1239
Location: England

PostPosted: 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
View user's profile Send private message 
stemsee

Joined: 27 Jun 2013
Posts: 943
Location: Displaced

PostPosted: 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
View user's profile Send private message MSN Messenger 
stemsee

Joined: 27 Jun 2013
Posts: 943
Location: Displaced

PostPosted: Sun 07 Dec 2014, 19:24    Post subject:  

V2.1
Now handles drive icons 'properly'.
Back to top
View user's profile Send private message MSN Messenger 
stemsee

Joined: 27 Jun 2013
Posts: 943
Location: Displaced

PostPosted: 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.
capture31941.jpg
 Description   filled with icons
 Filesize   44.36 KB
 Viewed   655 Time(s)

capture31941.jpg

capture25737.jpg
 Description   top
 Filesize   28.51 KB
 Viewed   658 Time(s)

capture25737.jpg

capture24021.jpg
 Description   bottom
 Filesize   23.59 KB
 Viewed   663 Time(s)

capture24021.jpg

capture21508.jpg
 Description   left
 Filesize   23.08 KB
 Viewed   661 Time(s)

capture21508.jpg

capture13126.jpg
 Description   right
 Filesize   23.54 KB
 Viewed   661 Time(s)

capture13126.jpg

capture2836.jpg
 Description   corners
 Filesize   24.99 KB
 Viewed   657 Time(s)

capture2836.jpg

Back to top
View user's profile Send private message MSN Messenger 
stemsee

Joined: 27 Jun 2013
Posts: 943
Location: Displaced

PostPosted: Mon 08 Dec 2014, 14:14    Post subject:  

Added two more presets! TopandBottom LeftandRight
capture23935.jpg
 Description   top and bottom
 Filesize   25.59 KB
 Viewed   635 Time(s)

capture23935.jpg

capture12858.jpg
 Description   left and right
 Filesize   22.82 KB
 Viewed   636 Time(s)

capture12858.jpg

Back to top
View user's profile Send private message MSN Messenger 
stemsee

Joined: 27 Jun 2013
Posts: 943
Location: Displaced

PostPosted: 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
View user's profile Send private message MSN Messenger 
stemsee

Joined: 27 Jun 2013
Posts: 943
Location: Displaced

PostPosted: Fri 12 Dec 2014, 14:40    Post subject:  

Added preset 'edges' or 'frame' ??? What should I call this one?
capture23931.jpg
 Description   'framed' or 'edges' or 'perimeter'
 Filesize   28.32 KB
 Viewed   558 Time(s)

capture23931.jpg

Back to top
View user's profile Send private message MSN Messenger 
LazY Puppy


Joined: 21 Nov 2014
Posts: 275
Location: Germany

PostPosted: Fri 12 Dec 2014, 15:28    Post subject:  

Surrounding.
_________________
RSH
No Smart-Phones, no FaceBook, no Twitter etc...
but: LazY Puppy!
Copyright is NOT Copyleft: good people are aware of this and respect both of them!
Back to top
View user's profile Send private message 
stemsee

Joined: 27 Jun 2013
Posts: 943
Location: Displaced

PostPosted: Fri 12 Dec 2014, 16:00    Post subject:  

'Surround' is pretty good. Surround it is! Smile
Back to top
View user's profile Send private message MSN Messenger 
stemsee

Joined: 27 Jun 2013
Posts: 943
Location: Displaced

PostPosted: Fri 12 Dec 2014, 16:14    Post subject:  

I had overlapping icons on the corners in surround layout! Corrected.
capture17007.jpg
 Description   Surround
 Filesize   34.37 KB
 Viewed   536 Time(s)

capture17007.jpg

Back to top
View user's profile Send private message MSN Messenger 
stemsee

Joined: 27 Jun 2013
Posts: 943
Location: Displaced

PostPosted: Fri 12 Dec 2014, 16:42    Post subject:  

Added preset cross!
capture12032.jpg
 Description   windows
 Filesize   29.19 KB
 Viewed   530 Time(s)

capture12032.jpg

capture30947.jpg
 Description   cross
 Filesize   24.94 KB
 Viewed   535 Time(s)

capture30947.jpg

Back to top
View user's profile Send private message MSN Messenger 
stemsee

Joined: 27 Jun 2013
Posts: 943
Location: Displaced

PostPosted: 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
View user's profile Send private message MSN Messenger 
LazY Puppy


Joined: 21 Nov 2014
Posts: 275
Location: Germany

PostPosted: 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
No Smart-Phones, no FaceBook, no Twitter etc...
but: LazY Puppy!
Copyright is NOT Copyleft: good people are aware of this and respect both of them!
Back to top
View user's profile Send private message 
stemsee

Joined: 27 Jun 2013
Posts: 943
Location: Displaced

PostPosted: Fri 12 Dec 2014, 19:12    Post subject:  

Thanks ... I had a look but didn't click for me!
Back to top
View user's profile Send private message MSN Messenger 
Display posts from previous:   Sort by:   
Page 1 of 6 [77 Posts]   Goto page: 1, 2, 3, 4, 5, 6 Next
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Desktop
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.0853s ][ Queries: 12 (0.0063s) ][ GZIP on ]