Bookmarks viewer

Talk about and post software packages known to work or packaged for Puppy.
Post Reply
Message
Author
disciple
Posts: 6984
Joined: Sun 21 May 2006, 01:46
Location: Auckland, New Zealand

Bookmarks viewer

#1 Post by disciple »

Forum administrators - feel free to move this to a subcategory... I really don't know whether it belongs in Desktop or Filesystem or Utilities or wherever...
------------------------

This script shows all your GTK and Rox Filer bookmarks(see screenshot below).
Change the FILER variable at the top if you want them to open in something other than Rox when you click on them.
Put it in the menu, on a taskbar button, or wherever.
What should we call it? Pbookmark?

Code: Select all

#!/bin/sh
# Todo:
# Ability to edit the bookmarks?  (or at least open the relevant file)
# Make code more elegant/faster
# Make filer an input argument - this could also enable it to be called e.g. instead of a drop-down bookmarks menu (e.g. pburn)
# Only show folders that exist?
# this would be consistent with the way the GTK open/save dialogue works,
# but not the rox bookmarks menu.  And it might be GOOD to discover broken bookmarks. 

# Which filer shall we use?
FILER="rox"
# Should we close the dialogue after calling the filer?
EXIT_ON_CLICK="no"

if [ "$EXIT_ON_CLICK" = "yes" ]
 then ACTION="<action type=\"exit\">done</action>"
 else ACTION=""
fi

if [ -d "$HOME/Desktop" ]
 then DESKTOP="
 <button xalign=\"0\" tooltip-text=\"$HOME\/Desktop\">
 <label>Desktop</label>
 <action>"$FILER" \"$HOME/Desktop\"</action>
 $ACTION
 </button>"
 else DESKTOP=""
fi

# Start of dialogue
BOOKMARK_LIST="<window title=\"Open bookmarks:\" icon-name=\"gtk-directory\">
<hbox><frame GTK Bookmarks>
 <button xalign=\"0\" tooltip-text=\"$HOME\">
  <label>`basename \"$HOME\"`</label>
  <action>"$FILER" \"$HOME\"</action>
  $ACTION
 </button>
 $DESKTOP
 <button xalign=\"0\" tooltip-text=\"\/\">
  <label>Filesystem</label>
  <action>"$FILER" /</action>
  $ACTION
 </button>"

# GTK bookmarks
if [ -r "$HOME/.gtk-bookmarks" ]; then
if [ "`grep -m1 file \"$HOME/.gtk-bookmarks\"`" = "" ]
 then BOOKMARK_LIST="$BOOKMARK_LIST
 <text>
  <label>No bookmarks in $HOME/.gtk-bookmarks</label>
 </text>"
else
# Buttons for each bookmarks
while read FILE_PATH FILE_NAME
do FILE_PATH=`echo ${FILE_PATH#file://}|sed 's/%20/ /g'`
 BOOKMARK_LIST="$BOOKMARK_LIST
 <button xalign=\"0\" tooltip-text=\"$FILE_PATH\">
  <label>`[ -n "$FILE_NAME" ]&&echo $FILE_NAME||basename "$FILE_PATH"`</label>
  <action>"$FILER" \"$FILE_PATH\"</action>
  $ACTION
 </button>"
done < "$HOME/.gtk-bookmarks"
fi

# NO GTK bookmarks file
else
BOOKMARK_LIST="$BOOKMARK_LIST
 <text>
  <label>$HOME/.gtk-bookmarks does not exist</label>
 </text>"
fi

# Middle of dialogue
export BOOKMARK_LIST="$BOOKMARK_LIST
</frame>
<frame Rox Filer bookmarks>"

# Rox Filer bookmarks
if [ -r "$HOME/.config/rox.sourceforge.net/ROX-Filer/Bookmarks.xml" ]; then
if [ "`grep -m1 title \"$HOME/.config/rox.sourceforge.net/ROX-Filer/Bookmarks.xml\"`" = "" ]
 then BOOKMARK_LIST="$BOOKMARK_LIST
 <text>
  <label>No bookmarks in $HOME/.config/rox.sourceforge.net/ROX-Filer/Bookmarks.xml</label>
 </text>"
else
# Make sure each bookmark is on a new line
sed 's/></>\n</g' "$HOME/.config/rox.sourceforge.net/ROX-Filer/Bookmarks.xml" >/dev/null
# Buttons for each bookmark
while read I
do if [ "`echo $I|grep title`" != "" ]
then FILE_PATH=`echo $I |cut -d \> -f 2|cut -d \< -f 1`
 FILE_NAME=`echo $I |cut -d \" -f 2`
 BOOKMARK_LIST="$BOOKMARK_LIST
 <button xalign=\"0\" tooltip-text=\"$FILE_PATH\">
  <label>$FILE_NAME</label>
  <action>"$FILER" \"$FILE_PATH\"</action>
  $ACTION
 </button>"
fi
done < "$HOME/.config/rox.sourceforge.net/ROX-Filer/Bookmarks.xml"
fi

# NO ROX Filer bookmarks
else
BOOKMARK_LIST="$BOOKMARK_LIST
 <text>
  <label>$HOME/.config/rox.sourceforge.net/ROX-Filer/Bookmarks.xml does not exist</label>
 </text>"
fi

# End of dialogue
export BOOKMARK_LIST="$BOOKMARK_LIST
</frame></hbox>
</window>"

gtkdialog3 -p BOOKMARK_LIST
Attachments
screenshot.png
(5.51 KiB) Downloaded 2129 times
Do you know a good gtkdialog program? Please post a link here

Classic Puppy quotes

ROOT FOREVER
GTK2 FOREVER

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

#2 Post by musher0 »

Hello, disciple.

Thanks for this script. I just chanced upon it.

Would there be a way to make a long bookmarks listing either scroll down
the panel or display on a second panel?

Thanks in advance.

Best regards.

musher0
Attachments
Long_PBookmarks_Listing.jpg
Example
(34.94 KiB) Downloaded 1025 times
musher0
~~~~~~~~~~
"You want it darker? We kill the flame." (L. Cohen)

disciple
Posts: 6984
Joined: Sun 21 May 2006, 01:46
Location: Auckland, New Zealand

#3 Post by disciple »

Yes, now it is possible, unless you have an old Puppy with an old gtkdialog.
I've also tried to make the code a bit prettier, made it use the new "$XDG_CONFIG_HOME/gtk-3.0/bookmarks" file if it exists, and done a few other small fixes. Just set the four variables in the second block according to your preference.

Code: Select all

#!/bin/sh
# Todo:
# Ability to edit the bookmarks?  (or at least open the relevant file).
# Make code more elegant/faster.
# Make filer an input argument - this could also enable it to be called e.g. instead of a drop-down bookmarks menu (e.g. pburn).
# Only show folders that exist?
# - this would be consistent with the way the GTK open/save dialogue works,
# - but not the rox bookmarks menu.  And it might be GOOD to discover broken bookmarks.
# Show mounted drives like the GTK file dialog does.

# Which filer shall we use?
FILER="rox"
# Should we close the dialogue after calling the filer?
EXIT_ON_CLICK="no"
# If you have too many bookmarks to fit on the screen, choose "together" or "separate" to choose how to scroll the two lists.
# If you leave it as "" you won't get any scrollbars so you will need to drag the window up with alt-click to see the ones that don't fit on the screen.
SCROLLABLE=""
# If $SCROLLABLE above is "together" or "separate", you should also edit this to suit your screen size and panel and window decoration size.
SCROLLABLEWINDOWSIZING="--geometry 1276x969"

if [ "$EXIT_ON_CLICK" = "yes" ]
then
 ACTION="<action type=\"exit\">done</action>"
else
 ACTION=""
fi

SCROLLABLEHBOXTAG="scrollable=\"false\""
case  "$SCROLLABLE" in
 separate)
  SCROLLABLEVBOXOPENTAG="<vbox scrollable=\"true\">"
  SCROLLABLEVBOXCLOSETAG="</vbox>"
 ;;
 together)
  SCROLLABLEHBOXTAG="scrollable=\"true\""
 ;;
 *)
  SCROLLABLEWINDOWSIZING=""
 ;;
esac

# Like the GTK file dialog, include the Desktop folder if it exists (as well as the home folder and /, in "Start of dialog", below).
if [ -d "$HOME/Desktop" ]
then
 DESKTOP="
          <button xalign=\"0\" tooltip-text=\"$HOME/Desktop\">
           <label>Desktop</label>
           <action>"$FILER" \"$HOME/Desktop\"</action>
           $ACTION
          </button>"
else
 DESKTOP=""
fi

# Start of dialogue
BOOKMARK_LIST="
                      <window title=\"Open bookmarks:\" icon-name=\"gtk-jump-to-ltr\">
                       <hbox $SCROLLABLEHBOXTAG>
                        <frame GTK Bookmarks>
                         $SCROLLABLEVBOXOPENTAG
                          <button xalign=\"0\" tooltip-text=\"$HOME (this user's home folder)\">
                           <label>`basename \"$HOME\"`</label>
                           <action>"$FILER" \"$HOME\"</action>
                           $ACTION
                          </button>
                          $DESKTOP
                          <button xalign=\"0\" tooltip-text=\"\/\">
                           <label>Filesystem</label>
                           <action>"$FILER" /</action>
                           $ACTION
                          </button>"

# GTK bookmarks
GTK_BOOKMARKS="$XDG_CONFIG_HOME/gtk-3.0/bookmarks"
if [ ! -r "$GTK_BOOKMARKS" ]
then
 GTK_BOOKMARKS="$HOME/.gtk-bookmarks"
fi
if [ -r "$GTK_BOOKMARKS" ]
then
 if [ "`grep -m1 :// \"$GTK_BOOKMARKS\"`" = "" ]
 then
  BOOKMARK_LIST="$BOOKMARK_LIST
                          <text>
                           <label>No bookmarks in $GTK_BOOKMARKS</label>
                          </text>"
 else
  # Buttons for each bookmark
  while read FILE_PATH FILE_NAME
  do
   # need to do this magic to support filers like rox which don't understand gvfs uris
   # it allows non file:// uris through unmodified - these will work with filers like pcmanfm, but not rox
   # e.g. " computer:///", "trash:///", "network:///", "smb://green%20room/Puppy", "menu://applications/"
   # if using one of these filers you might want to add an entry to "Start of dialog" (above) for "recently used" ("recent:///")
   FILE_PATH=`echo ${FILE_PATH#file://}|sed 's/%20/ /g'`
   BOOKMARK_LIST="$BOOKMARK_LIST
                          <button xalign=\"0\" tooltip-text=\"$FILE_PATH\">
                           <label>`[ -n "$FILE_NAME" ]&&echo $FILE_NAME||basename "$FILE_PATH"`</label>
                           <action>"$FILER" \"$FILE_PATH\"</action>
                           $ACTION
                          </button>"
  done < "$GTK_BOOKMARKS"
 fi

# No GTK bookmarks file
else
 BOOKMARK_LIST="$BOOKMARK_LIST
                          <text>
                           <label>$GTK_BOOKMARKS or $XDG_CONFIG_HOME/gtk-3.0/bookmarks does not exist</label>
                          </text>"
fi

# Middle of dialogue
BOOKMARK_LIST="$BOOKMARK_LIST
                         $SCROLLABLEVBOXCLOSETAG
                        </frame>
                        <frame Rox Filer bookmarks>
                         $SCROLLABLEVBOXOPENTAG"

# Rox Filer bookmarks
if [ -r "$XDG_CONFIG_HOME/rox.sourceforge.net/ROX-Filer/Bookmarks.xml" ]
then
 if [ "`grep -m1 title \"$XDG_CONFIG_HOME/rox.sourceforge.net/ROX-Filer/Bookmarks.xml\"`" = "" ]
 then
  BOOKMARK_LIST="$BOOKMARK_LIST
                          <text>
                           <label>No bookmarks in $HOME/.config/rox.sourceforge.net/ROX-Filer/Bookmarks.xml</label>
                          </text>"
 else
  # Make sure each bookmark is on a new line
  sed 's/></>\n</g' "$XDG_CONFIG_HOME/rox.sourceforge.net/ROX-Filer/Bookmarks.xml" >/dev/null
  # Buttons for each bookmark
  while read I
  do
   if [ "`echo $I|grep title`" != "" ]
   then
    FILE_PATH=`echo $I |cut -d \> -f 2|cut -d \< -f 1`
    FILE_NAME=`echo $I |cut -d \" -f 2`
    BOOKMARK_LIST="$BOOKMARK_LIST
                          <button xalign=\"0\" tooltip-text=\"$FILE_PATH\">
                           <label>$FILE_NAME</label>
                           <action>"$FILER" \"$FILE_PATH\"</action>
                           $ACTION
                          </button>"
   fi
  done < "$XDG_CONFIG_HOME/rox.sourceforge.net/ROX-Filer/Bookmarks.xml"
 fi

# No Rox Filer bookmarks
else
 BOOKMARK_LIST="$BOOKMARK_LIST
                          <text>
                           <label>$XDG_CONFIG_HOME/rox.sourceforge.net/ROX-Filer/Bookmarks.xml does not exist</label>
                          </text>"
fi

# End of dialogue
export BOOKMARK_LIST="$BOOKMARK_LIST
                         $SCROLLABLEVBOXCLOSETAG
                        </frame>
                       </hbox>
                      </window>"

gtkdialog3 -p BOOKMARK_LIST $SCROLLABLEWINDOWSIZING
Do you know a good gtkdialog program? Please post a link here

Classic Puppy quotes

ROOT FOREVER
GTK2 FOREVER

User avatar
Puppus Dogfellow
Posts: 1667
Joined: Tue 08 Jan 2013, 01:39
Location: nyc

#4 Post by Puppus Dogfellow »

this is really cool, but i'm not sure why i'm not getting any scrollbars.

what am i doing wrong? i tried the separate and the together command, and also messing around with the window size...

thanks.


edit: this is the greatest thing ever.

User avatar
Puppus Dogfellow
Posts: 1667
Joined: Tue 08 Jan 2013, 01:39
Location: nyc

#5 Post by Puppus Dogfellow »

disciple
This script shows all your GTK and Rox Filer bookmarks(see screenshot below).
Change the FILER variable at the top if you want them to open in something other than Rox when you click on them.
Put it in the menu, on a taskbar button, or wherever.
What should we call it? Pbookmark?

bm launches it pretty easily from the terminal, so that's what i named it on my machines.

what's the easiest way to make it into a menu button? or best way? is there a way to edit the menus through an editor to just put it into the menu? (i've been using radky's pupmenu program but one machine won't run it...and i'm curious as to how to do it with geany or leafpad.)

thanks in advance and thanks for the script. i have it as a clickable icon (both stay on and turn off versions) all over my desktop...

:lol:


edit: made a nice menu button with

Code: Select all

<TrayButton popup="bookmarks" icon="/root/puppy-reference/buttons icons etc/book2marks.png"border="true">exec:bm</TrayButton>
added near the top of the .jwmrc-tray.

is there an order to where it searches for executables?

User avatar
puppy_apprentice
Posts: 299
Joined: Tue 07 Feb 2012, 20:32

#6 Post by puppy_apprentice »

Puppus Dogfellow wrote:this is really cool, but i'm not sure why i'm not getting any scrollbars.

what am i doing wrong? i tried the separate and the together command, and also messing around with the window size...
disciple wrote:unless you have an old Puppy with an old gtkdialog.
You have to upgrade gtkdialog in Your Puppy.

User avatar
Puppus Dogfellow
Posts: 1667
Joined: Tue 08 Jan 2013, 01:39
Location: nyc

#7 Post by Puppus Dogfellow »

puppy_apprentice wrote:
Puppus Dogfellow wrote:this is really cool, but i'm not sure why i'm not getting any scrollbars.

what am i doing wrong? i tried the separate and the together command, and also messing around with the window size...
disciple wrote:unless you have an old Puppy with an old gtkdialog.
You have to upgrade gtkdialog in Your Puppy.
it's working fine in 5.5. through 5.7.1 (precise puppies, scrollbars aside. 800 by 1233 is plenty big...).

i also figured out the easy way to make it into a menu entry. the file to edit is /root/.jwmrc. all you need do is add something like

Code: Select all

<Program label="bookmarks" icon="/mnt/home/dwnldsfff/buttons icons etc/bookmarks.png">/root/my-applications/bin/bm</Program>
wherever you want it to appear.

User avatar
puppy_apprentice
Posts: 299
Joined: Tue 07 Feb 2012, 20:32

#8 Post by puppy_apprentice »

I don't know how Ubuntu Puppies work (but they are use Woof too like Slacko, so it should be the same for them) but in Slacko is better to make .desktop (open any file with this extension and write own for bm) script and put it in

Code: Select all

/usr/share/applications
directory. If you made only entry in

Code: Select all

/root/.jwmrc
by hand it is posible that when you install new app that have menu entry your own hand written entry will disappear because JWM menu is generated from .desktop scripts. Try to restart JWM and check if your entry will survive.

User avatar
Puppus Dogfellow
Posts: 1667
Joined: Tue 08 Jan 2013, 01:39
Location: nyc

#9 Post by Puppus Dogfellow »

puppy_apprentice wrote:I don't know how Ubuntu Puppies work (but they are use Woof too like Slacko, so it should be the same for them) but in Slacko is better to make .desktop (open any file with this extension and write own for bm) script and put it in

Code: Select all

/usr/share/applications
directory. If you made only entry in

Code: Select all

/root/.jwmrc
by hand it is posible that when you install new app that have menu entry your own hand written entry will disappear because JWM menu is generated from .desktop scripts. Try to restart JWM and check if your entry will survive.
it survives JWM restarts but not the fixmenus command (i'm guessing there's a backup file that would need to be overwritten to fix this).

radky's script makes the desktop files. (and survives both). using handmade ones doesn't seem to work for the manual editing of .jwmrc route--i get the icon but the thing doesn't launch.

User avatar
puppy_apprentice
Posts: 299
Joined: Tue 07 Feb 2012, 20:32

#10 Post by puppy_apprentice »

You have to make a text file (eg. bookmarks-viewer.desktop):

Code: Select all

[Desktop Entry]
Encoding=UTF-8
Name=Bookmarks viewer
Icon="/root/puppy-reference/buttons icons etc/book2marks.png"
Comment=Bookmarks viewer
Exec=/path_if_necessary/bm
Terminal=false
Type=Application
Categories=X-Desktop
GenericName=Bookmarks viewer
and store it in :

Code: Select all

/usr/share/applications
and after this use fixmenus.

User avatar
Puppus Dogfellow
Posts: 1667
Joined: Tue 08 Jan 2013, 01:39
Location: nyc

#11 Post by Puppus Dogfellow »

puppy_apprentice wrote:You have to make a text file (eg. bookmarks-viewer.desktop):

Code: Select all

[Desktop Entry]
Encoding=UTF-8
Name=Bookmarks viewer
Icon="/root/puppy-reference/buttons icons etc/book2marks.png"
Comment=Bookmarks viewer
Exec=/path_if_necessary/bm
Terminal=false
Type=Application
Categories=X-Desktop
GenericName=Bookmarks viewer
and store it in :

Code: Select all

/usr/share/applications
and after this use fixmenus.
i'd have to double check, but i'm pretty sure my mock ups for the file messed up the exec path. doing it like this is a lot less hacky than making it easy to replace the rebuilt file. thanks.

User avatar
puppy_apprentice
Posts: 299
Joined: Tue 07 Feb 2012, 20:32

#12 Post by puppy_apprentice »

.desktop file isn't hack. It is normal file created by Barry's K.

Code: Select all

dir2pet
script. Every package that have menu entry have this file. You can check this by renaming

Code: Select all

any_package_with_menuentry.pup
to

Code: Select all

any_package_with_menuentry.tar.gz
and later extract all files from this archive. You will find .desktop file in those archives.

User avatar
Puppus Dogfellow
Posts: 1667
Joined: Tue 08 Jan 2013, 01:39
Location: nyc

#13 Post by Puppus Dogfellow »

puppy_apprentice wrote:.desktop file isn't hack. It is normal file created by Barry's K.

Code: Select all

dir2pet
script. Every package that have menu entry have this file. You can check this by renaming

Code: Select all

any_package_with_menuentry.pup
to

Code: Select all

any_package_with_menuentry.tar.gz
and later extract all files from this archive. You will find .desktop file in those archives.
i didn't mean to say what you came up with was a hack--i did the same on my own by right clicking a .desktop file and selecting 'open with geany' or open as text or whatever. my first attempt gave me an icon that didn't execute. i double checked it and it was fine. your model .desktop file is a good aid for any who want to implement this on their own. after my first dead response from the menu, i just copied the models there and sent it looking for the script where i placed it. after reading what you said about the fixmenus command rebuilding the stuff each time, i decided to just make it process the information through that when possible. from what i've seen, the machine is pretty much aware of it and handles it fine regardless of the method, but yours seems safer and mimics what radky's does, so that's what i'd recommend to anyone trying this. yes, it's very standardized and not hackey--i thought for a moment i would have to--and this is the hacky thing--keep the spare useful code around to insert when i needed it or have a backup of my original to undo what fixmenus does.

anyway, it's all working out nicely. the button works well, the desktop icons work well and i've learned how to mess around with the main pipe menu. i edited mine right above "Desktop." so, as an instuctional of sorts:

the .jwmrc file in root starts out like this:

Code: Select all

<?xml version="1.0"?>

<JWM>

<!-- IMPORTANT, ONLY EDIT /etc/xdg/templates/_root_.jwmrc -->
<!-- jwm menu for puppy Linux -->
<RootMenu label="Menu" labeled="false" height="24" onroot="3">

this:

Code: Select all

<Program label="bookmarks" icon="path/to/your/image/file">/usr/share/applications/bookmarks.desktop</Program>
gives you an executable slot-button atop the right click/menu button pop-up

this:

Code: Select all

<Menu label="bookmarks" icon="path/to/your/image/file" height="16"><Program label="bookmarks" icon="path/to/your/image/file">/usr/share/applications/bookmarks.desktop</Program>
<Program label="JWM configuration" icon="mini.window3d.xpm">jwmconfig</Program>
<Program label="UrxvtSet setup terminal emulator" icon="mini-sh.xpm">urxvtset</Program>
<Program label="ROX icon changer" icon="mini-desktop.xpm">/root/my-applications/bin/roxicon</Program>
<Program label="Gfontsel font viewer" icon="mini-font.xpm">gfontsel</Program>
<Program label="JWM configuration" icon="mini.window3d.xpm">jwmconfig</Program>
<Program label="Search for Files..." icon="system-search.png">gnome-search-tool</Program>
<Program label="Geany text editor" icon="geany.png">geany</Program>
<Program label="Leafpad text editor" icon="leafpad.png">leafpad</Program>
<Program label="LibreOffice 4.2 Writer" icon="/usr/share/icons/hicolor/48x48/apps/libreoffice4.2-writer.png">libreoffice4.2 --writer</Program>
<Program label="NoteCase notes manager" icon="notecase16.xpm">notecase</Program>
<Program label="TeamViewer" icon="teamviewer.png">teamviewer</Program>
<Program label="Google Chrome" icon="chrome.png">google-chrome</Program>
<Program label="ClipGrab video downloader/converter" icon="/usr/share/pixmaps/icon.png">clipgrab</Program>
<Program label="SMPlayer" icon="/usr/share/icons/hicolor/128x128/apps/smplayer.png">smplayer</Program>
<Program label="SMPlayer YouTube Browser" icon="/usr/share/icons/hicolor/128x128/apps/smtube.png">smtube</Program>
<Program label="Image Viewer" icon="/usr/share/pixmaps/gpicview.png">gpicview</Program>
<Program label="mtPaint image editor" icon="mini-palette.xpm">mtpaint</Program>
<Program label="LXTerminal" icon="lxterminal.png">lxterminal</Program>
<Program label="ROXTerm" icon="roxterm.xpm">roxterm</Program>
<Program label="Exit to prompt" icon="prompt16.xpm">exec wmexit</Program>
<Program label="Reboot computer" icon="mini-turn.xpm">exec wmreboot</Program>
<Program label="Power-off computer" icon="mini-stop.xpm">exec wmpoweroff</Program>
<Program label="Restart X server" icon="mini-x.xpm">restartwm</Program>
<Restart label="Restart JWM" icon="mini-windows.xpm"/>
</Menu>
is an example of the program being given its own slot atop a favorites menu named in its honor.
and here is how the desktop entry and the beginning of the rest of the file:

Code: Select all

<Menu label="Desktop" icon="x24.png" height="16">
scan about and copy/paste the <program stuff</program>in whatever menu and save the file.


and

Code: Select all

[Desktop Entry]
Encoding=UTF-8
Name=Bookmarks viewer
Icon="/root/puppy-reference/buttons icons etc/book2marks.png"
Comment=Bookmarks viewer
Exec=/path_if_necessary/bm
Terminal=false
Type=Application
Categories=X-Desktop
GenericName=Bookmarks viewer 
is indeed a helpful template to create one's own .desktop file for pretty much anything.

so, thanks again.

User avatar
Puppus Dogfellow
Posts: 1667
Joined: Tue 08 Jan 2013, 01:39
Location: nyc

#14 Post by Puppus Dogfellow »

forgot to ask, what's the most recent gtkdialog for puppies and what should i have in order to see scrollbars? the -v command gives me:


gtkdialog version 0.8.3 release (C) 2003-2007 Laszlo Pere, 2011-2012 Thunor
Built with additional support for: Glade.
#


thanks yet again.

User avatar
puppy_apprentice
Posts: 299
Joined: Tue 07 Feb 2012, 20:32

#15 Post by puppy_apprentice »

anyway, it's all working out nicely. the button works well, the desktop icons work well and i've learned how to mess around with the main pipe menu. i edited mine right above "Desktop." so, as an instuctional of sorts:
learn new things and spread your knowlege around the world - its is FLOSS way/path young padawan ;)


forgot to ask, what's the most recent gtkdialog for puppies and what should i have in order to see scrollbars? the -v command gives me:


gtkdialog version 0.8.3 release (C) 2003-2007 Laszlo Pere, 2011-2012 Thunor
Built with additional support for: Glade.
#
try there:
http://murga-linux.com/puppy/viewtopic.php?t=75708

User avatar
Puppus Dogfellow
Posts: 1667
Joined: Tue 08 Jan 2013, 01:39
Location: nyc

#16 Post by Puppus Dogfellow »

puppy_apprentice wrote:
Puppus Dogfellow wrote: anyway, it's all working out nicely. the button works well, the desktop icons work well and i've learned how to mess around with the main pipe menu. i edited mine right above "Desktop." so, as an instuctional of sorts:
learn new things and spread your knowlege around the world - its is FLOSS way/path young padawan ;)

sure thing :D
Last edited by Puppus Dogfellow on Fri 23 May 2014, 20:14, edited 1 time in total.

User avatar
neerajkolte
Posts: 516
Joined: Mon 10 Feb 2014, 07:05
Location: Pune, India.

#17 Post by neerajkolte »

Little scripts do lot of work.
"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.

Post Reply