Search found 153 matches

by kjdixo
Thu 16 Jun 2016, 13:20
Forum: Programming
Topic: Pale Moon Bookmarking Script using YAD / Sortable / xdotool
Replies: 44
Views: 14126

The bookmarking retagging script bmretag.sh now includes renaming of bookmark titles. I only show here the section of code that has been modified, not all the code of bmretag.sh . The attachment contains the complete code. #!/bin/sh dialog=$(yad --on-top --mouse --width=900 --title "To Retag or...
by kjdixo
Wed 15 Jun 2016, 08:18
Forum: Programming
Topic: Pale Moon Bookmarking Script using YAD / Sortable / xdotool
Replies: 44
Views: 14126

You could include the -resize parameter in the Dazzle option $daz above. So that you get 1200px width for enhanced printed pages and 600px width for ordinary photographs (Normal option). Also, if you photograph a set of pages, they probably all have a consistent strip of floor or desk area top and b...
by kjdixo
Tue 14 Jun 2016, 21:46
Forum: Programming
Topic: Pale Moon Bookmarking Script using YAD / Sortable / xdotool
Replies: 44
Views: 14126

Gallery Optimized for Viewing Books and Documents (to then bookmark). It is easier to carry around a micro sd card than 10kg of books. So you might at some stage have photographed with your camera some documents or book pages. When you eventually look at the photographed pages on your computer scre...
by kjdixo
Mon 13 Jun 2016, 12:44
Forum: Programming
Topic: Pale Moon Bookmarking Script using YAD / Sortable / xdotool
Replies: 44
Views: 14126

To do with anchors, url hashes and the photo galleries and jumping to positions in any bookmarked web page (not just photo galleries . . . any web page). I have made 2 improvements here. 1. Photo galleries created with this script gallery4a.sh will pass the url # anchor from the address bar to the d...
by kjdixo
Sat 11 Jun 2016, 10:02
Forum: Programming
Topic: Pale Moon Bookmarking Script using YAD / Sortable / xdotool
Replies: 44
Views: 14126

Photo gallery navigation is improved with gallery4.sh . It adds updating of the navigation list by clicking on a photo. It does this with a little extra JavaScript woven into the html page. I could have done "onmouseover" . . . however, that is probably too automated and "onclick"...
by kjdixo
Fri 10 Jun 2016, 21:41
Forum: Programming
Topic: Pale Moon Bookmarking Script using YAD / Sortable / xdotool
Replies: 44
Views: 14126

Much more exciting . . . add the following code to the image style width:100% To modify the script gallery3.sh change line 23 to echo "img{border:solid 4px white;margin:0px 0px;position:relative;top:4px;width:100%}" >> index.html This makes all the images neatly fit the full width of the b...
by kjdixo
Fri 10 Jun 2016, 19:07
Forum: Programming
Topic: Pale Moon Bookmarking Script using YAD / Sortable / xdotool
Replies: 44
Views: 14126

I will include a final version of these galleries in my YAD bookmarking scripts. Here we have a photo gallery gallery3.sh with a drop down list for navigation. The drop down list is always at the top right hand side of the browser window. Wherever you scroll in the gallery the navigation list will a...
by kjdixo
Thu 09 Jun 2016, 07:42
Forum: Programming
Topic: Pale Moon Bookmarking Script using YAD / Sortable / xdotool
Replies: 44
Views: 14126

A simple improvement to the above, if most of the photos don't need rotating. I found that swapping the buttons around so the default "0" is on the right-hand side makes the rotate dialog easier to use (in combination with the rename dialog which has an OK button on the right hand side). Y...
by kjdixo
Wed 08 Jun 2016, 14:04
Forum: Programming
Topic: Pale Moon Bookmarking Script using YAD / Sortable / xdotool
Replies: 44
Views: 14126

Photo gallery script gallery2.sh has simple image rotation 0 90 180 270. I might use parts of this code when I make the multi-page document gallery. #! /bin/sh # put this script in the folder with the images. title=$(pwd | awk -F / '{print $NF}') title=$(echo $title | yad --mouse --width=1000 --titl...
by kjdixo
Mon 06 Jun 2016, 09:41
Forum: Programming
Topic: Pale Moon Bookmarking Script using YAD / Sortable / xdotool
Replies: 44
Views: 14126

I find it quicker to photograph multi page written documents than to scan them. I outlined above a basic method (gallery.sh) for bookmarking of all my camera photos. I also want to adapt this to display photographed written pages. Physical paper articles (respecting copyright of course) will be arch...
by kjdixo
Sun 05 Jun 2016, 16:00
Forum: Programming
Topic: Pale Moon Bookmarking Script using YAD / Sortable / xdotool
Replies: 44
Views: 14126

Please see the edit in the post above regarding the download error which is now fixed. Also . . long story short . . . you will need 3 additional links to get started. 1. a bookmark on your Palemoon bookmarks toolbar file:///root/.bookmarks/bm0/index.html 2. A bash script "Bookmark" launch...
by kjdixo
Sun 05 Jun 2016, 10:41
Forum: Programming
Topic: Pale Moon Bookmarking Script using YAD / Sortable / xdotool
Replies: 44
Views: 14126

To make things easier here is the current Pale Moon Bookmarking Script as a .pet. It includes all the tweaks documented in my posts - minus the ones I have mentioned but not yet implemented. http://pt.kdworld7.net/pets/bookmarks-5.0.pet.tar.gz EDIT - downloading a raw .pet via http from my web site ...
by kjdixo
Thu 02 Jun 2016, 18:16
Forum: Programming
Topic: Pale Moon Bookmarking Script using YAD / Sortable / xdotool
Replies: 44
Views: 14126

Refreshing the browser once or twice to see the results of the various bash scripts is tedious and can be avoided by automating that function using the same code (xdotool) that I used to automatically reload the new wallpaper. #!/bin/sh yad --form --title="Choose a Wallpaper" --mouse --col...
by kjdixo
Mon 30 May 2016, 21:26
Forum: Programming
Topic: Pale Moon Bookmarking Script using YAD / Sortable / xdotool
Replies: 44
Views: 14126

Thanks Slavvo67 Now I want to bookmark all my camera photos and other images. The photo galleries must be integrated with the other bookmarked web pages. Here is a simple script to make a web page image gallery from a folder of images.. It uses imagemagick to create thumbnails and then makes an inde...
by kjdixo
Fri 20 May 2016, 12:08
Forum: Programming
Topic: Pale Moon Bookmarking Script using YAD / Sortable / xdotool
Replies: 44
Views: 14126

Today I tried my video bookmark script and it had stopped working. Then I tried youtube-dl on its own from a terminal and that too was not working. So after a little internet searching and thanks to the 'Ask Ubuntu Forum' I found the solution. http://askubuntu.com/questions/429746/youtube-dl-stopped...
by kjdixo
Sun 15 May 2016, 20:10
Forum: Programming
Topic: Pale Moon Bookmarking Script using YAD / Sortable / xdotool
Replies: 44
Views: 14126

I was not happy with the 10 second delay I introduced just to cater for the large number of error dialogs from stackoverflow.com. So now I do a test for stackoverflow.com. # if stackoverflow.com then up to 100 error dialogs can be closed (times 0.1 seconds = 10 second wait) # otherwise up to 10 erro...
by kjdixo
Fri 13 May 2016, 07:40
Forum: Programming
Topic: Pale Moon Bookmarking Script using YAD / Sortable / xdotool
Replies: 44
Views: 14126

I edited the post http://murga-linux.com/puppy/viewtopic. ... 7&start=17 and uploaded a new bm.sh . . . to cater for stackoverflow popup error dialogs that were sometimes > 40.
Sorry . . . this post (Friday 13th May) has been replaced by the following post (Sunday 15th May).
by kjdixo
Thu 05 May 2016, 10:28
Forum: Programming
Topic: Pale Moon Bookmarking Script using YAD / Sortable / xdotool
Replies: 44
Views: 14126

I overlooked the cancel button in my original bv.sh code of the youtube download dialog. dialog=$(yad --on-top --mouse --title "You Tube Download" --form --field="Paste address") ret=$? if [[ $ret -eq 1 ]];then exit 0;fi Just add the 2nd and 3rd lines of code above, for the Cance...
by kjdixo
Thu 05 May 2016, 10:15
Forum: Programming
Topic: Pale Moon Bookmarking Script using YAD / Sortable / xdotool
Replies: 44
Views: 14126

Changing wallpaper (page 1, screenshot7) used to entail reloading the browser twice. That is now not necessary with the following code additions. xdotool handles the two browser reloads automatically loading the new wallpaper. /root/.bookmarks/bm/sh/wallpaper.sh /root/.bookmarks/bv/sh/wallpaper.sh F...
by kjdixo
Tue 03 May 2016, 19:39
Forum: Programming
Topic: Pale Moon Bookmarking Script using YAD / Sortable / xdotool
Replies: 44
Views: 14126

Refinements and improvements that work will be added here . . . after I have tested them and decided they are necessary. One such improvement is highlighting the timestamps (in white) as they are added to avoid confusion whilst retagging or deleting several bookmarks. The code change is in /root/.bo...