Fatdog64-700/701 [April 22 2015] [CLOSED]
- L18L
- Posts: 3479
- Joined: Sat 19 Jun 2010, 18:56
- Location: www.eussenheim.de/
CUPS
CUPS version is 1.7
Missing a default PDF "printer" which was in former versions.
Missing a default PDF "printer" which was in former versions.
Re: Find 'N Run
Thanks L18L!L18L wrote:I like it.SFR wrote:IMHO something like this (I'm not saying it has to be this one) could be a useful addition to razor/openbox(/jwm) menus.
What do you think?
And I have been thinking:
Could use Name[pl]
and Comment[pl] as tooltip.
As for the tooltips I just tried to use tooltip-column property, but it doesn't seem to work in Gtkdialog, unfortunately...
Anyway, feel free to take, modify as you like and re-post it.

Greetings!
[color=red][size=75][O]bdurate [R]ules [D]estroy [E]nthusiastic [R]ebels => [C]reative [H]umans [A]lways [O]pen [S]ource[/size][/color]
[b][color=green]Omnia mea mecum porto.[/color][/b]
[b][color=green]Omnia mea mecum porto.[/color][/b]
I have conky installed and adding this to the conky.conf file monitorsSFR wrote:razor-panel
Some plugins don't work: Color picker, Launch screensaver, Network monitor, Removable media, Sensors.
I see they just weren't included, but what about including at least Network monitor and Sensors (see scrsht)?
It's quite useful to have these kind of informations on the panel.
As for the rest, after removing corresponding .desktop files from /usr/share/razor/razor-panel/, the dead entries from 'Add plugins' dialog will disappear as well.
Greetings!
the cpu temp on my single core amd athlon processor:
${color grey}Processes:$color $processes ${color grey}Running:$color $running_processes
Temperature:$alignr${acpitemp} degrees C
$hr
If you feel like compiling conky of course

I see that there is an older version of conky in the fatdog64 repo, I'm
using version 1.9.0
- Attachments
-
- conky.jpg
- (41.3 KiB) Downloaded 655 times
Re: CUPS
Hi L18L,L18L wrote:CUPS version is 1.7
Missing a default PDF "printer" which was in former versions.
Everyone here has a higher skill level than I do, so it is very possible that I don't grasp your post... However, I checked what I am using and it is the same as you mention (v 1.7.3 to be precise) and I recall noticing that the "look" is different than before. But if you are meaning the "print to pdf" ability, it is not missing just under a new menu. See "File", "Print", then in the box choose "Print to file", then pick from pdf or postscript. Type in the complete file name you want for the pdf and you are done.
Again, if I didn't understand your post, sorry for the noise...

We don't, a priori, know what that means (cf. long discussion about a decade ago). A figure of 40C suggests the outside top surface temperature because the core(s) generally run hotter than that according to the published data. That raises the question of how it's measured. In the olden days there was a flexi thermocouple that rested on the underside of the chip, but that isn't possible now because the entire area is occupied by pin connectors. Sometimes there's crude SW/HW interpolation based on the data sheet, but that's cheating. AMD (probably Intel too?) have been incorporating a diode junction on-chip for a long time, but the literature is unclear as to how the voltage is interpreted. This is the means of citing a figure in BIOS, but not all of them show this and we may be about to wave goodbye to the BIOS. Chip makers are quick to point up the voracity of their published data, but listening closely to opinions from insiders suggests the figures are less than kosher...monitors the cpu temp..
Notwithstanding, most commentators recommend watching whatever value shows up on any individual machine and making sure it doesn't vary too widely and hopefully not take an excursion.
- L18L
- Posts: 3479
- Joined: Sat 19 Jun 2010, 18:56
- Location: www.eussenheim.de/
Re: Find 'N Run
Just the one line changed for translated Names:SFR wrote:Thanks L18L!L18L wrote:I like it.SFR wrote:IMHO something like this (I'm not saying it has to be this one) could be a useful addition to razor/openbox(/jwm) menus.
What do you think?
And I have been thinking:
Could use Name[pl]
and Comment[pl] as tooltip.
As for the tooltips I just tried to use tooltip-column property, but it doesn't seem to work in Gtkdialog, unfortunately...
Anyway, feel free to take, modify as you like and re-post it.![]()
Greetings!
Code: Select all
LANG=pl
echo '
<window title="Find'\''N'\''Run" icon-name="edit-find" window-position="2" width-request="260" height-request="400">
<vbox>
<entry>
<variable>varENTRY</variable>
<action>refresh:varLIST</action>
<action signal="activate">grabfocus:varLIST</action>
</entry>
<tree enable-search="false" exported-column="0" headers-visible="false">
<variable>varLIST</variable>
<input>grep "^Name\[${LANG%_*}\]=" /usr/share/applications/*.desktop | cut -d "=" -f2| grep -F -i -- "$varENTRY"</input>
<action>`grep -m1 -- "^Exec=" "/usr/share/applications/${varLIST}.desktop" | cut -f2- -d "=" | cut -f1 -d "%"` &</action>
<action>exit:EXIT</action>
</tree>
</vbox>
</window>' | gtkdialog -s

- Attachments
-
- findNrun.png
- (4.64 KiB) Downloaded 581 times
- L18L
- Posts: 3479
- Joined: Sat 19 Jun 2010, 18:56
- Location: www.eussenheim.de/
Re: CUPS
Hm.. there was a default "pdf printer" in CUPS and some notes inDrDeaf wrote:Hi L18L,L18L wrote:CUPS version is 1.7
Missing a default PDF "printer" which was in former versions.
Everyone here has a higher skill level than I do, so it is very possible that I don't grasp your post... However, I checked what I am using and it is the same as you mention (v 1.7.3 to be precise) and I recall noticing that the "look" is different than before. But if you are meaning the "print to pdf" ability, it is not missing just under a new menu. See "File", "Print", then in the box choose "Print to file", then pick from pdf or postscript. Type in the complete file name you want for the pdf and you are done.
Again, if I didn't understand your post, sorry for the noise...
http://www.murga-linux.com/puppy/viewtopic.php?p=835319
That's why I have posted it here for the experts.
Thank you.
Re: Find 'N Run
In fact, it was me who compiled and upload this particular version, because in newer versions transparency on ROX desktop doesn't work, unless we use some tricks like feh...Billtoo wrote:I see that there is an older version of conky in the fatdog64 repo
Anyway, it's always nicer to have such a functionality OOTB and on the panel...
___________
Looks nice, but there is a problem - many (the most of them, actually) .desktop files don't have translated Names, only the default Name= line...L18L wrote:Just the one line changed for translated Names:
[...]
I am at the end of my skills. No exec. Can you
As for the exec, this one is quite dirty, but should do:
Code: Select all
<action>`grep -h -A1000 -B1000 "^Name.*=.*${varLIST}" /usr/share/applications/*.desktop | grep -m1 "^Exec=" | cut -f2 -d "=" | cut -f1 -d "%"` &</action>
Greetings!
[color=red][size=75][O]bdurate [R]ules [D]estroy [E]nthusiastic [R]ebels => [C]reative [H]umans [A]lways [O]pen [S]ource[/size][/color]
[b][color=green]Omnia mea mecum porto.[/color][/b]
[b][color=green]Omnia mea mecum porto.[/color][/b]
Hello SFR
Transparency in Rox has had problems in main stream apps mainly because of the lack of distros that use it. I'm guessing you use Patriot's old conky source?
Anyway, I solved this problem for xonclock with a little library I wrote called pmdesktop https://github.com/01micko/pmdesktop
And modified (forked) xonclock https://github.com/01micko/xonclock. Patriot's original hack for that was to pass the desktop window id as a parameter on the command line but I managed to avoid that.
Works in all DE/WM's I have tried.
I have no idea if it would be useful to conky, but if you get bored one day you could try
Transparency in Rox has had problems in main stream apps mainly because of the lack of distros that use it. I'm guessing you use Patriot's old conky source?
Anyway, I solved this problem for xonclock with a little library I wrote called pmdesktop https://github.com/01micko/pmdesktop
And modified (forked) xonclock https://github.com/01micko/xonclock. Patriot's original hack for that was to pass the desktop window id as a parameter on the command line but I managed to avoid that.
Works in all DE/WM's I have tried.
I have no idea if it would be useful to conky, but if you get bored one day you could try

Puppy Linux Blog - contact me for access
Hey Mick, good to see you're back.
Nope, it was the upstream source...didn't know about the other one...
Thanks for the heads up about pmdesktop - I don't know C, but I'll see.
Greetings!

Nope, it was the upstream source...didn't know about the other one...
Thanks for the heads up about pmdesktop - I don't know C, but I'll see.

Greetings!
[color=red][size=75][O]bdurate [R]ules [D]estroy [E]nthusiastic [R]ebels => [C]reative [H]umans [A]lways [O]pen [S]ource[/size][/color]
[b][color=green]Omnia mea mecum porto.[/color][/b]
[b][color=green]Omnia mea mecum porto.[/color][/b]
- BarryK
- Puppy Master
- Posts: 9392
- Joined: Mon 09 May 2005, 09:23
- Location: Perth, Western Australia
- Contact:
That's interesting, I never looked at the dc man page!kirk wrote:Actually I think the busybox one is broke, the man page says dc will think those expressions are files. But if debian is patching gnu dc to work like busybox, I wonder what is expected now. For the old dc the syntax is:The 'dc' utility seems to be broken in Fatdog.
Try this:
Code:
# dc 1 2 + p
3
# busybox dc 1 2 + p
3
Both of these work in Quirky and other puppies, but only the busybox applet works in FD64.
Code: Select all
dc <<< '1 2+pq' or for gnu dc: dc -e '1 2 +p'
I think, many years ago, I was using the busybox dc, then tried the proper one and discovered that "bug". I then applied the patch from Debian and that "fixed" it.
bc/dc PET package that I supplied for puppy builders had this patch.
I also use the patch in T2, which is why the example I posted "works".
Note, there are some scripts out there, well, some that I wrote anyway, that assume dc works the "busybox way".
[url]https://bkhome.org/news/[/url]
- L18L
- Posts: 3479
- Joined: Sat 19 Jun 2010, 18:56
- Location: www.eussenheim.de/
Re: Find 'N Run
Thank you very much for the "action" line.SFR wrote:Looks nice, but there is a problem - many (the most of them, actually) .desktop files don't have translated Names, only the default Name= line...L18L wrote:Just the one line changed for translated Names:
[...]
I am at the end of my skills. No exec. Can you
As for the exec, this one is quite dirty, but should do:I think that, in order to implement this Name/Name[lang]+Comment stuff, we would need to parse all *.desktop files on start, sort (and do some other nasty things to) them, save results to a temporary file and then operate on that file's contents.Code: Select all
<action>`grep -h -A1000 -B1000 "^Name.*=.*${varLIST}" /usr/share/applications/*.desktop | grep -m1 "^Exec=" | cut -f2 -d "=" | cut -f1 -d "%"` &</action>
Greetings!
No translation is no problem...SOLVED.
/usr/local/apps/find_N_run attached.
Without the "Comments" stuff, leave it to next version.
Was fun.
Who will ever never need any menu now


Integration into panel would be nice.
- Attachments
-
- findNrun.png
- (50.85 KiB) Downloaded 580 times
-
- find_N_run.tar.gz
- (1.45 KiB) Downloaded 165 times
- L18L
- Posts: 3479
- Joined: Sat 19 Jun 2010, 18:56
- Location: www.eussenheim.de/
find_N_run
Change line 31 from
to
please for better sort
and comment line 12 if want results in your LANG (fd64_nls loaded)
Sorry
Code: Select all
sort -u ${CACHE}_u > ${CACHE}; rm ${CACHE}_u
Code: Select all
sort -f -t '=' -k 2 -u ${CACHE}_u > ${CACHE}; rm ${CACHE}_u
and comment line 12 if want results in your LANG (fd64_nls loaded)
Sorry

Hey L18L
Thanks for the new version! I tried few approaches and managed to get rid of caching, while preserving the ability to fallback to the default Name= if no lang, basing on the assumption that practically always Name[lang]= is after Name=.
The line is long and ugly, but efficient enough (no delay whatsoever on my i3@2.13GHz).
I believe it could be done much more elegant and efficient using awk, but I don't know it good enough...
Script alone attached.
___________
Just noticed Gslapt's .desktop file has malformed Polish Name & Comment:
Should read:
Greetings!
Thanks for the new version! I tried few approaches and managed to get rid of caching, while preserving the ability to fallback to the default Name= if no lang, basing on the assumption that practically always Name[lang]= is after Name=.
The line is long and ugly, but efficient enough (no delay whatsoever on my i3@2.13GHz).
Code: Select all
<input>grep -d skip -r -E "^Name\['${LR}'\]=|^Name\['${L}'\]=|^Name=" /usr/share/applications/*.desktop | tac | sort -t: -u -k1,1 | cut -f2 -d "=" | sort -f -u | grep -F -i -- "$varENTRY"</input>
Script alone attached.
___________
Just noticed Gslapt's .desktop file has malformed Polish Name & Comment:
Code: Select all
Name[pl]=Gslapt MenedĹźer PakietĂłw
Comment[pl]=Instalacja, usuwanie i aktualizacja pakietĂłw z oprogramowaniem
Code: Select all
Name[pl]=Gslapt Menedżer Pakietów
Comment[pl]=Instalacja, usuwanie i aktualizacja pakietów z oprogramowaniem
- Attachments
-
- findandrun.tar.gz
- Version 0.3
- (886 Bytes) Downloaded 166 times
[color=red][size=75][O]bdurate [R]ules [D]estroy [E]nthusiastic [R]ebels => [C]reative [H]umans [A]lways [O]pen [S]ource[/size][/color]
[b][color=green]Omnia mea mecum porto.[/color][/b]
[b][color=green]Omnia mea mecum porto.[/color][/b]
- L18L
- Posts: 3479
- Joined: Sat 19 Jun 2010, 18:56
- Location: www.eussenheim.de/
find_N_run
Hey SFRSFR wrote:...The line is long and ugly, but efficient enough (no delay whatsoever on my i3@2.13GHz).
That is awesome!
A tiny bit faster:
Code: Select all
# time grep -d skip -r -E "^Name\['${LR}'\]=|^Name\['${L}'\]=|^Name=" /usr/share/applications/*.desktop | sort -t= -u -k2 | cut -f2 -d "=" | sort -f -u
The malformed Polish Names & Comments remind me of my work with momanager.
And the condition "Name[lang]= is after Name=" will have to be checked and fixed. No problem: just work!
Will need some more time.
I like find_N_run very much.
It is working very nice if pasted into console.
Does anybody need /usr/local/apps/find_n_run ?
Greetings!
- LazY Puppy
- Posts: 1934
- Joined: Fri 21 Nov 2014, 18:14
- Location: Germany
Regarding Find and Run at Version 0.3
Since this is really a pretty cool script and also works in other Puppies (some may just need to change gtkdialog to gtkdialog4), this should have its own topic - probably in Utilities...
Really...
Since this is really a pretty cool script and also works in other Puppies (some may just need to change gtkdialog to gtkdialog4), this should have its own topic - probably in Utilities...
Really...
RSH
"you only wanted to work your Puppies in German", "you are a separatist in that you want Germany to secede from Europe" (musher0) :lol:
No, but I gave my old drum kit away for free to a music store collecting instruments for refugees! :wink:
"you only wanted to work your Puppies in German", "you are a separatist in that you want Germany to secede from Europe" (musher0) :lol:
No, but I gave my old drum kit away for free to a music store collecting instruments for refugees! :wink:
Yep, good idea. Besides I don't want to hijack this thread too much anyways.LazY Puppy wrote:Regarding Find and Run at Version 0.3
Since this is really a pretty cool script and also works in other Puppies (some may just need to change gtkdialog to gtkdialog4), this should have its own topic - probably in Utilities...
Really...

So, all present (L18L) and future contributors/testers/users are welcome to drop their 2 cents in this thread.
@RSH: actually, no need for gtkdialog4 - it turned out that Gtkdialog 0.7.21 gets pissed off if <tree> widget has no <label>, so it's enough to add one (<label>Name</label>); it's not visible anyway...
Hmm, I have problems with this one - it displays both Name=... and Name[lang]=... entries...L18L wrote:Code: Select all
# time grep -d skip -r -E "^Name\['${LR}'\]=|^Name\['${L}'\]=|^Name=" /usr/share/applications/*.desktop | sort -t= -u -k2 | cut -f2 -d "=" | sort -f -u
tac and sorting the first segment of /usr/share/...:Name=... are crucial, I'm afraid, at least in this particular approach...
Ok, EOT here -> to the new thread.

Greetings!
[color=red][size=75][O]bdurate [R]ules [D]estroy [E]nthusiastic [R]ebels => [C]reative [H]umans [A]lways [O]pen [S]ource[/size][/color]
[b][color=green]Omnia mea mecum porto.[/color][/b]
[b][color=green]Omnia mea mecum porto.[/color][/b]
getjava
can someone point me to the getjava script....I can't run 64 bit on my system.
thanks
thanks
Fatdog64 does not auto-reconnect to wireless interface
Fatdog64 does not automatically reconnect to wireless interface.
Every time after reboot, I have to operate Network Wizard(net-setup.sh) ->"Activate Settings now" to have it reconnect to my wireless access point.
It does not auto-connect.
Also, while net-setup.sh works, wpa-gui doesn't
Every time after reboot, I have to operate Network Wizard(net-setup.sh) ->"Activate Settings now" to have it reconnect to my wireless access point.
It does not auto-connect.
Also, while net-setup.sh works, wpa-gui doesn't