(OLD) (ARCHIVED) Puppy Linux Discussion Forum Forum Index (OLD) (ARCHIVED) Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info

This forum can also be accessed as http://oldforum.puppylinux.com
It is now read-only and serves only as archives.

Please register over the NEW forum
https://forum.puppylinux.com
and continue your work there. Thank you.

 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups    
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Wed 23 Sep 2020, 03:48
All times are UTC - 4
 Forum index » Advanced Topics » Puppy Projects
Fatdog64-700/701 [April 22 2015] [CLOSED]
Moderators: Flash, JohnMurga
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies. View previous topic :: View next topic
Page 18 of 79 [1173 Posts]   Goto page: Previous 1, 2, 3, ..., 16, 17, 18, 19, 20, ..., 77, 78, 79 Next
Author Message
L18L


Joined: 19 Jun 2010
Posts: 3493
Location: www.eussenheim.de/

PostPosted: Sun 22 Mar 2015, 07:13    Post subject:  

jamesbond wrote:
@L18L - good idea.

And here is how to see menu bottom translated.

The relevant files in /etc/XDG are chgrp to users and chmod g+w.
This should be done automatically by first running from root.

translations are in domain fatdog.
Only German fatdog.mo is existing for now.

This has been tested using English for root
and German for user fido.

Been served by translated version of Home and FAQ would be nice.
menu-bottom_translated_for-non-root-user.png
 Description   
 Filesize   23.36 KB
 Viewed   767 Time(s)

menu-bottom_translated_for-non-root-user.png

menu_bottoms_translated_for_non-root-user.tar.gz
Description 
gz

 Download 
Filename  menu_bottoms_translated_for_non-root-user.tar.gz 
Filesize  2.51 KB 
Downloaded  236 Time(s) 
Back to top
View user's profile Send private message 
SFR


Joined: 26 Oct 2011
Posts: 1802

PostPosted: Sun 22 Mar 2015, 07:32    Post subject:  

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.

[later]: Hmm, Sensors plugin behaves funny - after I restarted X, razor-panel's height increased ~3 times (with "Use automatic sizing" turned on, as it is by default).
It's because of that plugin, so it's kinda unuseful, after all...
Network monitor is ok, though...

Greetings!
Screenshot.png
 Description   From left: Network monitor x2 (eth0 & wlan0) and Sensors (core 0 + core 2).
 Filesize   13.37 KB
 Viewed   760 Time(s)

Screenshot.png


_________________
[O]bdurate [R]ules [D]estroy [E]nthusiastic [R]ebels => [C]reative [H]umans [A]lways [O]pen [S]ource
Omnia mea mecum porto.

Last edited by SFR on Sun 22 Mar 2015, 18:49; edited 1 time in total
Back to top
View user's profile Send private message 
Pavan

Joined: 01 Jun 2014
Posts: 30

PostPosted: Sun 22 Mar 2015, 07:48    Post subject:  

Calling this the final was a bit premature , More like a beta.
Back to top
View user's profile Send private message 
SFR


Joined: 26 Oct 2011
Posts: 1802

PostPosted: Sun 22 Mar 2015, 08:49    Post subject:  

A while back I wrote for myself a small & simple 'quick search' type of app (only for .desktop files from /usr/share/applications), so I can find and run needed app very quickly.
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?

Code:
#!/bin/sh

echo '
<window title="Find'\''N'\''Run" icon-name="edit-find" window-position="2" width-request="256" height-request="256">
  <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>find /usr/share/applications/*.desktop -type f -printf "%f\n" | sed "s/.desktop$//" | 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

Greetings!
Screenshot.png
 Description   
 Filesize   18.29 KB
 Viewed   705 Time(s)

Screenshot.png


_________________
[O]bdurate [R]ules [D]estroy [E]nthusiastic [R]ebels => [C]reative [H]umans [A]lways [O]pen [S]ource
Omnia mea mecum porto.
Back to top
View user's profile Send private message 
L18L


Joined: 19 Jun 2010
Posts: 3493
Location: www.eussenheim.de/

PostPosted: Sun 22 Mar 2015, 09:15    Post subject: Find 'N Run  

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?

I like it.
And I have been thinking:
Could use Name[pl]
and Comment[pl] as tooltip.
Wink
Back to top
View user's profile Send private message 
L18L


Joined: 19 Jun 2010
Posts: 3493
Location: www.eussenheim.de/

PostPosted: Sun 22 Mar 2015, 09:30    Post subject: CUPS
Subject description: PDF
 

CUPS version is 1.7
Missing a default PDF "printer" which was in former versions.
Back to top
View user's profile Send private message 
SFR


Joined: 26 Oct 2011
Posts: 1802

PostPosted: Sun 22 Mar 2015, 09:53    Post subject: Re: Find 'N Run  

L18L wrote:
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?

I like it.
And I have been thinking:
Could use Name[pl]
and Comment[pl] as tooltip.
Wink

Thanks L18L!
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. Cool

Greetings!

_________________
[O]bdurate [R]ules [D]estroy [E]nthusiastic [R]ebels => [C]reative [H]umans [A]lways [O]pen [S]ource
Omnia mea mecum porto.
Back to top
View user's profile Send private message 
Billtoo


Joined: 07 Apr 2009
Posts: 3721
Location: Ontario Canada

PostPosted: Sun 22 Mar 2015, 11:56    Post subject:  

SFR 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!


I have conky installed and adding this to the conky.conf file monitors
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 Smile
I see that there is an older version of conky in the fatdog64 repo, I'm
using version 1.9.0
conky.jpg
 Description   
 Filesize   41.3 KB
 Viewed   659 Time(s)

conky.jpg

Back to top
View user's profile Send private message 
DrDeaf

Joined: 30 Dec 2006
Posts: 69

PostPosted: Sun 22 Mar 2015, 12:38    Post subject: Re: CUPS
Subject description: PDF
 

L18L wrote:
CUPS version is 1.7
Missing a default PDF "printer" which was in former versions.

Hi L18L,
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... Embarassed
Back to top
View user's profile Send private message 
Sage

Joined: 04 Oct 2005
Posts: 5547
Location: GB

PostPosted: Sun 22 Mar 2015, 12:46    Post subject:  

Quote:
..monitors the cpu temp..

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.
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.
Back to top
View user's profile Send private message 
L18L


Joined: 19 Jun 2010
Posts: 3493
Location: www.eussenheim.de/

PostPosted: Sun 22 Mar 2015, 14:21    Post subject: Re: Find 'N Run  

SFR wrote:
L18L wrote:
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?

I like it.
And I have been thinking:
Could use Name[pl]
and Comment[pl] as tooltip.
Wink

Thanks L18L!
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. Cool

Greetings!

Just the one line changed for translated Names:
Code:
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

I am at the end of my skills. No exec. Can you Question
findNrun.png
 Description   
 Filesize   4.64 KB
 Viewed   585 Time(s)

findNrun.png

Back to top
View user's profile Send private message 
L18L


Joined: 19 Jun 2010
Posts: 3493
Location: www.eussenheim.de/

PostPosted: Sun 22 Mar 2015, 14:24    Post subject: Re: CUPS
Subject description: PDF
 

DrDeaf wrote:
L18L wrote:
CUPS version is 1.7
Missing a default PDF "printer" which was in former versions.

Hi L18L,
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... Embarassed

Hm.. there was a default "pdf printer" in CUPS and some notes in
http://www.murga-linux.com/puppy/viewtopic.php?p=835319
That's why I have posted it here for the experts.
Thank you.
Back to top
View user's profile Send private message 
SFR


Joined: 26 Oct 2011
Posts: 1802

PostPosted: Sun 22 Mar 2015, 16:26    Post subject: Re: Find 'N Run  

Billtoo wrote:
I see that there is an older version of conky in the fatdog64 repo

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...
Anyway, it's always nicer to have such a functionality OOTB and on the panel...
___________

L18L wrote:
Just the one line changed for translated Names:
[...]
I am at the end of my skills. No exec. Can you Question

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...

As for the exec, this one is quite dirty, but should do:
Code:
<action>`grep -h -A1000 -B1000 "^Name.*=.*${varLIST}" /usr/share/applications/*.desktop | grep -m1 "^Exec=" | cut -f2 -d "=" | cut -f1 -d "%"` &</action>

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.

Greetings!

_________________
[O]bdurate [R]ules [D]estroy [E]nthusiastic [R]ebels => [C]reative [H]umans [A]lways [O]pen [S]ource
Omnia mea mecum porto.
Back to top
View user's profile Send private message 
01micko


Joined: 11 Oct 2008
Posts: 8787
Location: qld

PostPosted: Sun 22 Mar 2015, 16:40    Post subject:  

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 Wink

_________________
Puppy Linux Blog - contact me for access
Back to top
View user's profile Send private message Visit poster's website 
SFR


Joined: 26 Oct 2011
Posts: 1802

PostPosted: Sun 22 Mar 2015, 17:24    Post subject:  

Hey Mick, good to see you're back. Smile
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. Wink

Greetings!

_________________
[O]bdurate [R]ules [D]estroy [E]nthusiastic [R]ebels => [C]reative [H]umans [A]lways [O]pen [S]ource
Omnia mea mecum porto.
Back to top
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 18 of 79 [1173 Posts]   Goto page: Previous 1, 2, 3, ..., 16, 17, 18, 19, 20, ..., 77, 78, 79 Next
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies. View previous topic :: View next topic
 Forum index » Advanced Topics » Puppy Projects
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.1516s ][ Queries: 13 (0.0728s) ][ GZIP on ]