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 19 Dec 2014, 08:28
All times are UTC - 4
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Desktop
Desktop Icon Arrangement 1.8.1 & 1.8.2
Post new topic   Reply to topic View previous topic :: View next topic
Page 1 of 4 [46 Posts]   Goto page: 1, 2, 3, 4 Next
Author Message
trio


Joined: 21 Dec 2008
Posts: 1943
Location: अनुमोदना

PostPosted: Thu 13 Nov 2014, 10:10    Post subject:  Desktop Icon Arrangement 1.8.1 & 1.8.2
Subject description: set yoour desktop icons in different positions, save it and load it anytime
 

Hi,

This tool is to save your desktop icon arrangement as many as you like. Save them and load them anytime you want. So that you'll never get bored Very Happy

Note:
1. I don't recommend you to move drive icons. They won't be saved anyway
2. You should de-activate fixPuppyPin which tells lock icon (along with other icons to move to right side of screen). Line 118 in /root/.xinitrc file:
Code:
#/usr/sbin/fixPuppyPin /root/Choices/ROX-Filer/PuppyPin #v1.0.7

3. it's easier for me to move desktop icon to a spot when rox is Set to Coarse Icon Layout
right click on a desktop icon -> ROX-Filer -> Options -> Pinboard -> Icon grid step -> Options are Fine, Medium, or Coarse.


Enjoy

Regards,

Trio


v1.8.2: option when saving to include wallpaper
v1.8.1: not setting any background if currently no wallpaper is set. Note: wallpaper will be set in accordance with current mode (what you set in wallpaper setter: centre, scale, streched)
v1.8: wallpaper is not saved, will set current wallpaper when appllying. compatible with tahr pup also (different wallpaper setter/doesn't register in $HOME/.config/walpaper/bg_img).
v1.7.2: fix apply func, compatible with precise (different output from eventmanager, hopefully only two kinds of eventmanagers in puppies)
v1.7.1: fix some gettext issue
v1.7: prevent refresh drive icons if event config state show drive icon = false
v1.6.1: add cancel button for splash box "add icon"
v1.6: add func add icon
v1.5: add func rename, check already saved name, new way of functions script, few little things
v1.4.2: check running pup_event before kill, bugfix desktop file
V 1.4.1: bugfix: multiple run of pup_event_frontend_d, gettexted a splash box, add item in help
V 1.4: no need to restart X (drive icons is auto refreshed) and saved puppypin file without drive icons
V0.1.3 by ASRI # add gettext # improve interface of GUI # and some other modifications...
V 1.2: Restart X button is added
V 1.1: Just re-arrange the buttons
desktopiconarrangement-1.8.2.pet
Description  with option to save wallpaper
pet

 Download 
Filename  desktopiconarrangement-1.8.2.pet 
Filesize  4.46 KB 
Downloaded  38 Time(s) 
desktopiconarrangement-1.8.2_NLS.pet
Description  NLS only, not the app
pet

 Download 
Filename  desktopiconarrangement-1.8.2_NLS.pet 
Filesize  2.95 KB 
Downloaded  31 Time(s) 
desktopiconarrangement-1.8.1.pet
Description 
pet

 Download 
Filename  desktopiconarrangement-1.8.1.pet 
Filesize  3.91 KB 
Downloaded  120 Time(s) 
desktopicon.jpg
 Description   
 Filesize   10.64 KB
 Viewed   757 Time(s)

desktopicon.jpg


_________________
My apps

Last edited by trio on Tue 09 Dec 2014, 22:53; edited 28 times in total
Back to top
View user's profile Send private message 
puppyluvr


Joined: 06 Jan 2008
Posts: 3229
Location: Chickasha Oklahoma

PostPosted: Thu 13 Nov 2014, 10:54    Post subject:  

Very Happy Hello,
That's a really good idea!!

_________________
Close the Windows, and open your eyes, to a whole new world
http://puppylinuxstuff.meownplanet.net/puppyluvr/
Puppy Linux Users Group on Facebook

Puppy since 2.15CE...
Back to top
View user's profile Send private message Visit poster's website 
trio


Joined: 21 Dec 2008
Posts: 1943
Location: अनुमोदना

PostPosted: Thu 13 Nov 2014, 19:00    Post subject:  

Hi puppylvr

Thanks

_________________
My apps
Back to top
View user's profile Send private message 
MochiMoppel


Joined: 26 Jan 2011
Posts: 506
Location: Japan

PostPosted: Fri 14 Nov 2014, 05:12    Post subject:  

First impression: Nice idea Laughing ,but... Crying or Very sad

1) script requires directory $HOME/.puppypinfiles, but doesn't create it. Unable to save anything.

2) why do you need above directory at all? ROX by default saves pinboards to /root/.config/rox.sourceforge.net/ROX-Filer, the naming convention for pinboard files is pb_<pinboardname>. Makes it easy to change pinboards via terminal.

3) why not call the different pinboard files directly? I see no reason to overwrite $HOME/Choices/ROX-Filer/PuppyPin and then call PuppyPin. In fact overwriting PuppyPin with the last used desktop setting may be not what the user expects.

4) The script calls itself, which is ...well, you can get away with it, but using a function or putting the code directly into the gtkdialog would be much nicer.

Feel free to disregard my remarks. I'm not qualified to judge your work since I don't use pinboards... Wink
Back to top
View user's profile Send private message 
trio


Joined: 21 Dec 2008
Posts: 1943
Location: अनुमोदना

PostPosted: Fri 14 Nov 2014, 08:41    Post subject:  

MochiMoppel wrote:
First impression: Nice idea Laughing ,but... Crying or Very sad

1) script requires directory $HOME/.puppypinfiles, but doesn't create it. Unable to save anything.

2) why do you need above directory at all? ROX by default saves pinboards to /root/.config/rox.sourceforge.net/ROX-Filer, the naming convention for pinboard files is pb_<pinboardname>. Makes it easy to change pinboards via terminal.

3) why not call the different pinboard files directly? I see no reason to overwrite $HOME/Choices/ROX-Filer/PuppyPin and then call PuppyPin. In fact overwriting PuppyPin with the last used desktop setting may be not what the user expects.

4) The script calls itself, which is ...well, you can get away with it, but using a function or putting the code directly into the gtkdialog would be much nicer.

Feel free to disregard my remarks. I'm not qualified to judge your work since I don't use pinboards... Wink


First, I say thanks for testing

1. I include the /root/.puppypinfiles so do not need to create dir. I installed the pet to another puppy, and it works ok
2. I put created pinboards in a directory that I think should be seperated. That's just it, because I think it needs to be seperated
3. The reason is really that I want to still have one "official" pinboard only, as all usual puppies, that is the PuppyPin
4. That's the way I do my coding nowadays, integrate the functions and gui into one executable file.

Cheers

_________________
My apps
Back to top
View user's profile Send private message 
trio


Joined: 21 Dec 2008
Posts: 1943
Location: अनुमोदना

PostPosted: Fri 14 Nov 2014, 08:47    Post subject:  

So anybody want to report a bug or a request?

Or maybe only want to comment on how i do my coding? Very Happy

V 1.1: Just re-arrange the buttons

_________________
My apps
Back to top
View user's profile Send private message 
neerajkolte


Joined: 10 Feb 2014
Posts: 413
Location: Pune, India.

PostPosted: Fri 14 Nov 2014, 10:58    Post subject:  

I tested this in Fatdog631, works nicely, both saving and applying.
I wish to test this in Fatdog700b2. I will test when I reboot.

Just a note, can an option be given to save the files other than at $HOME/.puppypinfiles to someplace easily accessible from other puppies like in /mnt/sdx.

As I generally install my most used apps in any puppy I test. And so generally my desktop icons are also common across all pups I test.

Thanks.

- Neeraj.

_________________
"One of my most productive days was throwing away 1000 lines of code."
- Ken Thompson

“We tend to overestimate the effect of a technology in the short run and underestimate the effect in the long run.”
- Amara’s Law.
Back to top
View user's profile Send private message 
ASRI éducation


Joined: 09 May 2009
Posts: 2644
Location: France

PostPosted: Fri 14 Nov 2014, 17:54    Post subject: Re: Desktop Icon Arrangement 1.1
Subject description: set yoour desktop icons in different positions, save it and load it anytime
 

trio wrote:
Thiss tool is to save your desktop icon arrangement as many as you like. Save them and load them anytime you want.

That sounds interesting.
I'll test.
Regards

_________________
Projet ASRI éducation => Association | Forum | Dépôt | Espace kids
Back to top
View user's profile Send private message Visit poster's website 
trio


Joined: 21 Dec 2008
Posts: 1943
Location: अनुमोदना

PostPosted: Fri 14 Nov 2014, 20:40    Post subject:  

neerajkolte wrote:
Just a note, can an option be given to save the files other than at $HOME/.puppypinfiles to someplace


Hello Neeraj,

Thanks for testing. To answer your request, I don't think I will do that. The reason is that in general people have several puppies with also different apps installed. So you'll get a broken desktop icon. Anyway, I'm sure you are capable enough to change the save dir by yourself Smile

Regards,

Trio

_________________
My apps
Back to top
View user's profile Send private message 
trio


Joined: 21 Dec 2008
Posts: 1943
Location: अनुमोदना

PostPosted: Fri 14 Nov 2014, 21:02    Post subject: Re: Desktop Icon Arrangement 1.1
Subject description: set yoour desktop icons in different positions, save it and load it anytime
 

ASRI éducation wrote:
trio wrote:
Thiss tool is to save your desktop icon arrangement as many as you like. Save them and load them anytime you want.

That sounds interesting.
I'll test.
Regards


Yes, thank for your interest. It will work just fine. The one thing that bothers me is the drive icons. if you save a desktop arrangement with drive icons in it, and you apply it when you have different set of drive icons, then it will not be right, until you restart X.

Or should I make a confirmation to restart X after applying?

Regards,


EDIT: V 1.2: Restart X button is added

Trio

_________________
My apps
Back to top
View user's profile Send private message 
ASRI éducation


Joined: 09 May 2009
Posts: 2644
Location: France

PostPosted: Mon 17 Nov 2014, 14:17    Post subject: Re: Desktop Icon Arrangement 1.1
Subject description: set yoour desktop icons in different positions, save it and load it anytime
 

trio wrote:
thank for your interest.

Hello trio.
If you agree, I can help you to improve your utility.
I can add gettext and try to improve the interface. I've done some tests that seem interesting.
Regards

_________________
Projet ASRI éducation => Association | Forum | Dépôt | Espace kids
Back to top
View user's profile Send private message Visit poster's website 
dejan555


Joined: 30 Nov 2008
Posts: 2720
Location: Montenegro

PostPosted: Mon 17 Nov 2014, 16:02    Post subject:  

Hey trio, nice tool, few comments only:

trio wrote:

1. I include the /root/.puppypinfiles so do not need to create dir. I installed the pet to another puppy, and it works ok


Ah, but $HOME does not always equals /root, yes I know that's the way it is in 99% puppy setups and it's good that you used $HOME instead /root in your script but adding a simple check at the begining of file makes it work on multi-user setups, and you don't have to include that root dir in pet:

Code:
#Make directory if doesn't exist
[ ! -d $HOME/.puppypinfiles ] && mkdir -p $HOME/.puppypinfiles


Tested with this line added and it works with user "dejan" on dpup487

trio wrote:
3. The reason is really that I want to still have one "official" pinboard only, as all usual puppies, that is the PuppyPin


I think this is a good decision because other puppy scripts use that "official" pinboard and you'd probably need to modify other puppy scripts to load pinboard from somewhere else on startup, this way saved pinboard is copied on usual location where other puppy scripts expect it to be.


trio wrote:
4. That's the way I do my coding nowadays, integrate the functions and gui into one executable file.


That's the way I do scripts too! I like that there's a way to call your script from wherever you put it and whatever you name it and have everything in one file, I know defining and using functions is probably reccomended way but I like it this way.

EDIT: Another way to call your script:
#I use ts variable = short for "this script"
export ts=$(realpath "$0")

then instead ". $APPDIR/desktopiconarrangement" you'd just use $ts

Also, maybe make window a bit bigger, with 4 saved configs there's already small area with scrollbars

_________________
Dpup 487 | Puppy Gallery | My photo gallery | mtPaint works
Back to top
View user's profile Send private message Visit poster's website MSN Messenger 
dejan555


Joined: 30 Nov 2008
Posts: 2720
Location: Montenegro

PostPosted: Mon 17 Nov 2014, 17:29    Post subject:  

Here's a quick adaptation more to my taste, it's almost same just rearranged, I also changed few things, like embeded check for restart X and added command to convert spaces to underscores. Directory for saving files is defined at the top of script if someone wants to change. Save as script/make executable and run:

Code:
#!/bin/sh
#desktopiconarrangement
#Trio Tjandradjaja - 2014 GPL
#This version modified by dejan555

#Define directory where to save pinboard files:
pinsdir=$HOME/.puppypinfiles

#Make directory if doesn't exist
[ ! -d $pinsdir ] && mkdir -p $pinsdir
export ts=$(realpath "$0")

case "$1" in

      -save)   
         [ ! "$NAME" ] && gxmessage -bg orange -center "Please type in new name" && exit
         NAME=$(echo "$NAME" | sed 's/ /_/g')
         cp -f $HOME/Choices/ROX-Filer/PuppyPin $pinsdir/$NAME
      ;;
      
      -remove)
         [ ! "$PUPPYPINFILE" ] && gxmessage -bg orange -center "Please choose an arrangement" && exit
         rm $pinsdir/$PUPPYPINFILE
      ;;
      
      -apply)
         [ ! "$PUPPYPINFILE" ] && gxmessage -bg orange -center "Please choose an arrangement" && exit
         cp -f $pinsdir/$PUPPYPINFILE $HOME/Choices/ROX-Filer/PuppyPin
         rox -p $HOME/Choices/ROX-Filer/PuppyPin
      ;;
      
      -restart)
               restartwm
      ;;
      
      *)
      #start the gui
         export desktopicon='<window title="Desktop Icon Arrangement" resizable="false" width_request="450" height_request="400" icon-name="gtk-preferences">
            <vbox>
               <text><label>Save or apply your desktop icon arrangement</label></text>
               <text><label>""</label></text>
               <hbox>
                  <text><label>Save as:</label></text>
                  <entry><input>echo "No_spaces"</input><variable>NAME</variable></entry>
                   <button tooltip-text="Save new arrangement">
                       <input file stock="gtk-save"></input>
                       <action>$ts -save</action>
                       <action type="refresh">PUPPYPINFILE</action>
                   </button>
                  <button tooltip-text="Remove saved arrangement">
                       <input file stock="gtk-remove"></input>
                       <action>$ts -remove</action>
                       <action type="refresh">PUPPYPINFILE</action>
                   </button>
                   <button tooltip-text="Apply selected arrangement">
                       <input file stock="gtk-apply"></input>
                       <action>$ts -apply</action>
                   </button>
                   <button tooltip-text="Restart X server to reset drive icons if needed">
                       <input file stock="gtk-refresh"></input>
                       <action>show:confirmrestart</action>
                   </button>
                   <button tooltip-text="Quit">
                       <input file stock="gtk-quit"></input>
                       <action>exit: desktopicon</action>
                   </button>
               </hbox>
               <tree headers-clickable="false" rules_hint="true">
                   <label>Available arrangements</label>
                   <height>100</height><width>180</width>
                  <variable>PUPPYPINFILE</variable>
                   <input>ls -1 '"$pinsdir"'</input>
                  </tree>
                  <hbox visible="false">
                     <text><label>"Restart X server now?"</label></text>
                     <button tooltip-text="Restart now">
                        <label>"Yes"</label>
                       <input file stock="gtk-yes"></input>
                       <action>$ts -restart</action>
                   </button>
                   <button tooltip-text="Cancel">
                      <label>"No"</label>
                       <input file stock="gtk-no"></input>
                       <action>hide:confirmrestart</action>
                   </button>
                   <variable>confirmrestart</variable>
                  </hbox>
            </vbox>         
         </window>'

         gtkdialog --program=desktopicon --center
         unset desktopicon
      ;;

esac

_________________
Dpup 487 | Puppy Gallery | My photo gallery | mtPaint works
Back to top
View user's profile Send private message Visit poster's website MSN Messenger 
ASRI éducation


Joined: 09 May 2009
Posts: 2644
Location: France

PostPosted: Mon 17 Nov 2014, 17:52    Post subject:  

Hello trio and dejan555!
Another variant...
Regards

Code:
#!/bin/bash -a
#desktopiconarrangement
#Trio Tjandradjaja - 2014 GPL
#20141113 v0.1.0 by trio # orignal version
#20141114 v0.1.1 by trio # re-arrange the buttons
#20141114 v0.1.2 by trio # restart X button is added
#20141117 v0.1.3 by ASRI # add gettext # improve interface of GUI # and some other modifications...

## Version
AppVersion="0.1.3"
AppTitle01="$(gettext 'Desktop Icon Arrangement')"


## Get language settings (gettext method)
export TEXTDOMAIN=desktopiconarrangement
export TEXTDOMAINDIR=/usr/share/locale
export OUTPUT_CHARSET=UTF-8
. gettext.sh


#### Get Application dir (zigbert method)
APPDIR="`dirname $0`"
[ "$APPDIR" = "." ] && APPDIR="`pwd`"
export APPDIR="$APPDIR"
export APPDIR=`dirname $0`
[ $APPDIR = '.' ] && export APPDIR=`pwd`



#### Check/Define variables/settings for script
HostFolder="/root/.puppypinfiles"
DATE="`date +%Y%m%d `"
DefaultBakupName="$(eval_gettext 'Desktop_icons')_$DATE"











#### Function part ####

## Create host foler if doesn't exist
[ ! -d $HostFolder ] && mkdir -p $HostFolder



## Actions after choice in main GUI
case "$1" in

-save)   
   [ ! "$NAME" ] && gxmessage -bg orange -center "$(eval_gettext 'Please type in backup file name.')" && exit
   cp -f $HOME/Choices/ROX-Filer/PuppyPin $HostFolder/$NAME
   exit
   ;;
   
-remove)
   [ ! "$PUPPYPINFILE" ] && gxmessage -bg orange -center "$(eval_gettext 'Please choose an arrangement.')" && exit
   rm $HostFolder/$PUPPYPINFILE
   exit
   ;;
   
-edit)
   [ ! "$PUPPYPINFILE" ] && gxmessage -bg orange -center "$(eval_gettext 'Please choose an arrangement.')" && exit
   defaulttexteditor $HostFolder/$PUPPYPINFILE
   exit
   ;;
   
-apply)
   [ ! "$PUPPYPINFILE" ] && gxmessage -bg orange -center "$(eval_gettext 'Please choose an arrangement.')" && exit
   cp -f $HostFolder/$PUPPYPINFILE $HOME/Choices/ROX-Filer/PuppyPin
   rox -p $HOME/Choices/ROX-Filer/PuppyPin
   exit
   ;;
-restart)
   Xdialog --title "$AppTitle01" --stdout --yesno "$(eval_gettext 'Do you want to restart X server now?

Warning: save current activities before restarting the X server!')" 0 100

   case $? in

   0)
      restartwm
      ;;
   1)
      exit
      ;;
   esac
   exit
   ;;
esac




## Function HelpGUI
function HelpGUI(){
Xdialog --title "$(gettext 'Help')" --left --wrap --msgbox "$(eval_gettext '$AppTitle01 allows to save, apply, edit, remove desktop icon arrangements.

Notes:
- For the name of backup file, use only alpha-numeric without space.
- Backup files are saved in the folder $HostFolder')" 0 100
} # End of function HelpGUI













#### GUI part ####

#### Define sizes for GUI
HBOX_WIDTH1="500"
TEXT_WIDTH1="480"
TEXT_WIDTH2="200"
BUTTON_WIDTH1="150"
BUTTON_HEIGHT2="32"
BUTTON_WIDTH2="32"
TREE_HEIGHT1="180"
TREE_WIDTH1="250"
INPUT_WIDTH1="250"

## Define messages for GUI
Text01="$(gettext 'Name of backup:')"
TreeSelection01="$(gettext 'Select arrangement to apply/edit/remove, then select an action below.')"
Frame01="$(eval_gettext 'Saved arrangements')"
Frame02="$(gettext 'Save current arrangement')"
Entry01="$(eval_gettext 'Type the name of backup file.

Note: use only alpha-numeric without space.')"
ButtonToolTip01="$(gettext 'Save current arrangement.')"



## Main GUI
export desktopicon="   
<window title=\"$AppTitle01 $AppVersion\" icon-name=\"gtk-preferences\" resizable=\"false\">
<vbox>

<text height-request=\"1\"><label>\"\"</label></text>


<vbox>
   <hbox>
   <vbox width-request=\"$HBOX_WIDTH1\">
      <frame $Frame02 >

      <hbox>
         <vbox>
         <text width-request=\"$TEXT_WIDTH2\" justify=\"1\"><label>$Text01</label></text>
         </vbox>
         
         <vbox>
         <entry width-request=\"$INPUT_WIDTH1\" tooltip-text=\"$Entry01\">
         <input>echo \"$DefaultBakupName\"</input>
         <variable>NAME</variable>
         </entry>
         </vbox>
         
         <hbox>
         <button tooltip-text=\"$ButtonToolTip01\">
         <input file stock=\"gtk-save\"></input>
         <action>. $APPDIR/desktopiconarrangement -save</action>
         <action type=\"refresh\">PUPPYPINFILE</action>
         </button>
         </hbox>
      </hbox>
      </frame>
   </vbox>
   </hbox>

</vbox>





<text height-request=\"1\"><label>\"\"</label></text>
<text height-request=\"1\"><label>\"\"</label></text>





<vbox>
   <hbox>
   <vbox width-request=\"$HBOX_WIDTH1\">
      <frame $Frame01 >

      <tree headers-clickable=\"false\" rules_hint=\"true\" tooltip-text=\"$TreeSelection01\">
      <label>$(eval_gettext 'Available arrangements')</label>
      <height>$TREE_HEIGHT1</height>
      <width>$TREE_WIDTH1</width>
      <variable>PUPPYPINFILE</variable>
      <input>ls -1 $HostFolder</input>
      </tree>
      
      
      
      <hbox homogeneous=\"true\">
      
      <button width-request=\"$BUTTON_WIDTH1\" tooltip-text=\"$(eval_gettext 'Apply selected arrangement.')\">
      <input file stock=\"gtk-execute\"></input>
      <label>\"$(eval_gettext 'Apply')\"</label>
      <action>. $APPDIR/desktopiconarrangement -apply</action>
      </button>
      
      <button width-request=\"$BUTTON_WIDTH1\" tooltip-text=\"$(eval_gettext 'Remove permanently selected arrangement.')\">
      <input file stock=\"gtk-delete\"></input>
      <label>\"$(eval_gettext 'Remove')\"</label>
      <action>. $APPDIR/desktopiconarrangement -remove</action>
      <action type=\"refresh\">PUPPYPINFILE</action>
      </button>
      
      <button width-request=\"$BUTTON_WIDTH1\" tooltip-text=\"$(eval_gettext 'Edit selected arrangement (for advanced users).')\">
      <input file stock=\"gtk-edit\"></input>
      <label>\"$(eval_gettext 'Edit')\"</label>
      <action>. $APPDIR/desktopiconarrangement -edit</action>
      </button>
      
      </hbox>
      
      </frame>
   </vbox>
   </hbox>
</vbox>




<text height-request=\"1\"><label>\"\"</label></text>




<hbox>

<button tooltip-text=\"$(eval_gettext 'Help for $AppTitle01.')\">
<input file stock=\"gtk-help\"></input>
<action>HelpGUI &</action>
</button>

<button tooltip-text=\"$(eval_gettext 'Consult content of folder that host saved arrangements ($HostFolder).')\">
<input file stock=\"gtk-directory\"></input>
<action>rox $HostFolder &</action>
</button>

<button tooltip-text=\"$(eval_gettext 'Restart X server to refresh drive icons.

Notes:
- If you save a desktop arrangement with drive icons in it, and you apply it when you have different set of drive icons, then it will not be right, until you restart X.
- Save current activities before restarting the X server!')\">
<input file stock=\"gtk-refresh\"></input>
<action>. $APPDIR/desktopiconarrangement -restart</action>
</button>

<button width-request=\"$BUTTON_WIDTH2\" height-request=\"$BUTTON_HEIGHT2\" tooltip-text=\"$(eval_gettext 'Quit $AppTitle01.')\">
<input file stock=\"gtk-quit\"></input>
<action>exit: desktopicon</action>
</button>

</hbox>


</vbox>

</window>"

gtkdialog --program=desktopicon --center
unset desktopicon

exit
desktopiconarrangement-0.1.3.pet
Description 
pet

 Download 
Filename  desktopiconarrangement-0.1.3.pet 
Filesize  2.6 KB 
Downloaded  32 Time(s) 
desktopiconarrangement-0.1.3.png
 Description   
 Filesize   37.79 KB
 Viewed   428 Time(s)

desktopiconarrangement-0.1.3.png


_________________
Projet ASRI éducation => Association | Forum | Dépôt | Espace kids
Back to top
View user's profile Send private message Visit poster's website 
dejan555


Joined: 30 Nov 2008
Posts: 2720
Location: Montenegro

PostPosted: Mon 17 Nov 2014, 18:29    Post subject:  

Nice, I think I'll add date/timestamp name in my version and also action could be added on tree widget so that arrangement can be applied on double-click.

Does someone know how to refresh/generate drive icons from command line?
I don't think that drive icons will be issue but I had a thought when saving config it could be saved without drive icons and then when applied they could be refreshed.
Saving would go something like:
Code:
grep -v ".pup_event" $HOME/Choices/ROX-Filer/PuppyPin > $HOME/.puppypinfiles/$NAME

_________________
Dpup 487 | Puppy Gallery | My photo gallery | mtPaint works
Back to top
View user's profile Send private message Visit poster's website MSN Messenger 
Display posts from previous:   Sort by:   
Page 1 of 4 [46 Posts]   Goto page: 1, 2, 3, 4 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.1620s ][ Queries: 12 (0.0071s) ][ GZIP on ]