Gripes about ROX-filer 8 vs 7.5

Please post any bugs you have found
Post Reply
Message
Author
InTheDoggyHouse
Posts: 3
Joined: Wed 09 Oct 2019, 01:52

Gripes about ROX-filer 8 vs 7.5

#1 Post by InTheDoggyHouse »

Migrated from P.L.7.5 to 8.0 (64-bit)
In 7.5 rox showed recent files in bold and same width as non-bold.
In 8.0 rox shows recent file in bold and wider than regular font.
Since recent files are bolded, unneeded and annoying to have the 'mono' bold font change size.

Also, rox Options Pinboard custom font selection is ignored by rox.

Incidentally, rox shows the /tmp file filled with may Package-* files. Why???

Otherwise, 8.0 is so much better than 7.5, including ability to do 1366x768 resolution and use the built-in wireless on by Asus laptop, both of which did not work on 7.5.

Thanx!

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

#2 Post by musher0 »

Hi, InTheDoggyHouse.

Have you checked how many fonts there are in the fonts directory, usually at
/usr/share/fonts/default/TTF. If there is only one, that would explain your problem.
I mention this because some Pups have been shipping with only one font lately, to
save space.

Please do not mistake the styles for the font. If you have for ex. LiberationSans-Regular,
LiberationSans-Italic and LiberationSans-Bold in that directory, that's still only one font,
LiberationSans, but with three styles.

If there are more than one font at that place, say Baskerville, LiberationSerif and
DejaVuSans, it may be a good idea to run the utility

Code: Select all

fc-cache -r
That will refresh the fonts cache so ROX can see them. Sometimes ROX (or GTK?)
gets them wrong, and we have to rebuild the font cache.

Incidentally, if you need new fonts, a good source for free fonts is
https://www.fontsquirrel.com. There are other sites like this.
Just search a bit. They are sometimes called "Foundries".

IHTH
musher0
~~~~~~~~~~
"You want it darker? We kill the flame." (L. Cohen)

InTheDoggyHouse
Posts: 3
Joined: Wed 09 Oct 2019, 01:52

Gripes about ROX-filer 8 vs 7.5

#3 Post by InTheDoggyHouse »

I did check /usr/share/fonts/default/TTF, and as predicted there is just one font, DeJavu, with several styles. As it happens, DeJaVu is my favorite font, and the one I was trying to use for the ROX Pinboard Custom Font.

I ran fc-cache -r, then, just for good measure; /usr/share/fonts/default/TTF file stayed as above, still showing:
DejaVuSans-BoldOblique.ttf
DejaVuSans-Bold.ttf
DejaVuSansMono-Oblique.ttf
DejaVuSansMono.ttf
DejaVuSans-Oblique.ttf
DejaVuSans.ttf
.uuid

In ROX Options, I selected a Custom Font: DeJaVu Sans Mono Bold 8. Oddly enough, even though /usr/share/fonts/default/TTF only has the DeJaVu font in several styles, the Pinboard Custom Font box is showing:
DeJaVu Sans
DeJaVu Sans Mono
DeJaVu Serif (all showing different styles and sizes)
Droid Sans Mono
Monospace (just exactly the same as what Geany editor shows)
Sans
Serif (same as seen in JWMDesk Manager)

Then took a look at /root/.config/rox.sourceforge.net/ROX-Filer/Options. It still showed:
<Option name="label_font">DejaVu Sans Mono Bold 6</Option>. It seems as though ROX is not actually updating the Options disk file!

I also tried directly editing the Options disk file, since ROX will not update it. Then looked at my file listings, which were not changed. So even if I could select a font in ROX Options, it would still be ignored in the file listings.

Very puzzling. Like ROX is in a different universe. Never had trouble with all these things in 7.5 Xenial.

Any help will be appreciated!

williams2
Posts: 337
Joined: Fri 14 Dec 2018, 22:18

#4 Post by williams2 »

Package-* files in /tmp are probably caused by PPM Puppy Package Manager.

You can delete them, if you want.

If you don't remember running PPM, maybe to update the database,
it's probably running from /root/Starttup

BionicPup64 seems to update PPM and youtube-dl and run other things like compton every time Xwindows starts or restarts.

I disable many of the files in Startup.

You can right click a file in Startup and select Properties,
and uncheck all of the Exec column boxes.

Or you can edit the files and change:
#!/bin/sh
to:
#!/bin/sh
exit

Or you can drag a file to the disabled folder.

Puppy may re-enable files in Startup at any time.

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

#5 Post by musher0 »

Hello again.

I cannot check with P.L.-8 64bits, because I don't have a 64-bit computer anymore.
But is it possible that P.L.-7.5 offered a more complete set of styles for the DejaVu font?

Re-reading your OP, I remembered there exists a DejaVuSansCondensed (aka Narrow)
font, which can be used for the situation you describe, where width of text is limited.

The complete DejaVu font is available from
https://dejavu-fonts.github.io/Download.html
Choose the first bz2 archive or the first zip archive.

The two following in their list are the sources, so need to be compiled,
and that is a needless complication.

The complete DejaVu has 3 variants, Math, Sans and Serif, and
22 styles in all, namely:
DejaVuMathTeXGyre.ttf
DejaVuSans-BoldOblique.ttf
DejaVuSans-Bold.ttf
DejaVuSansCondensed-BoldOblique.ttf
DejaVuSansCondensed-Bold.ttf
DejaVuSansCondensed-Oblique.ttf
DejaVuSansCondensed.ttf
DejaVuSans-ExtraLight.ttf
DejaVuSansMono-BoldOblique.ttf
DejaVuSansMono-Bold.ttf
DejaVuSansMono-Oblique.ttf
DejaVuSansMono.ttf
DejaVuSans-Oblique.ttf
DejaVuSans.ttf
DejaVuSerif-BoldItalic.ttf
DejaVuSerif-Bold.ttf
DejaVuSerifCondensed-BoldItalic.ttf
DejaVuSerifCondensed-Bold.ttf
DejaVuSerifCondensed-Italic.ttf
DejaVuSerifCondensed.ttf
DejaVuSerif-Italic.ttf
DejaVuSerif.ttf
How-to:
Unpack them in your download directory with UExtract,
then move or copy the content of the ttf directory there to /usr/share/fonts/default/TTF.
Then re-run

Code: Select all

fc-cache -r.
Then retry your modification.
Please tell us what that did.

For information, IIRC, a mono font has a set size, it can't adapt to available space;
whereas a regular ttf font is "squeezable" (like an accordion). Which is why I would
suggest that you use the "condensed" style instead of the "mono" style for your need.

IHTH. Good luck.
musher0
~~~~~~~~~~
"You want it darker? We kill the flame." (L. Cohen)

williams2
Posts: 337
Joined: Fri 14 Dec 2018, 22:18

#6 Post by williams2 »

In BionicPup64 8.0

# find /initrd/pup_ro2/ | ag \\.ttf$
/initrd/pup_ro2/opt/palemoon/fonts/TwemojiMozilla.ttf
/initrd/pup_ro2/usr/share/directfb-1.7.7/decker.ttf
/initrd/pup_ro2/usr/share/fonts/default/TTF/DejaVuSans-Bold.ttf
/initrd/pup_ro2/usr/share/fonts/default/TTF/DejaVuSans-BoldOblique.ttf
/initrd/pup_ro2/usr/share/fonts/default/TTF/DejaVuSans-Oblique.ttf
/initrd/pup_ro2/usr/share/fonts/default/TTF/DejaVuSans.ttf
/initrd/pup_ro2/usr/share/fonts/default/TTF/DejaVuSansMono-Oblique.ttf
/initrd/pup_ro2/usr/share/fonts/default/TTF/DejaVuSansMono.ttf
/initrd/pup_ro2/usr/share/fonts/default/truetype/droid/DroidSansMono.ttf
/initrd/pup_ro2/usr/share/fonts/truetype/dejavu/DejaVuSans-Bold.ttf
/initrd/pup_ro2/usr/share/fonts/truetype/dejavu/DejaVuSans.ttf
/initrd/pup_ro2/usr/share/fonts/truetype/dejavu/DejaVuSansMono-Bold.ttf
/initrd/pup_ro2/usr/share/fonts/truetype/dejavu/DejaVuSansMono.ttf
/initrd/pup_ro2/usr/share/fonts/truetype/dejavu/DejaVuSerif-Bold.ttf
/initrd/pup_ro2/usr/share/fonts/truetype/dejavu/DejaVuSerif.ttf
#

User avatar
bigpup
Posts: 13886
Joined: Sun 11 Oct 2009, 18:15
Location: S.C. USA

#7 Post by bigpup »

Bionicpup64 8.0, auto updates the Puppy Package Manager(PPM) repository database, on every bootup.
That is there for a good reason.
Repositories of software are always changing what is in them.
A lot of people, using PPM, never update the database, thus do not get good downloads of software.

Whatever you see in the /tmp directory is just that, temporary stuff.
When you do a shutdown, all of it is deleted.
Yes, when you bootup, stuff gets put into /tmp.
As programs run, they put stuff in /tmp

/tmp is a needed function of a normal OS.
The things they do not tell you, are usually the clue to solving the problem.
When I was a kid I wanted to be older.... This is not what I expected :shock:
YaPI(any iso installer)

User avatar
8Geee
Posts: 2181
Joined: Mon 12 May 2008, 11:29
Location: N.E. USA

#8 Post by 8Geee »

I'd like to ask if there are any Type-1 fonts in these new pups, and what needs them, as opposed to the TTF font(s).

I would recommend (and I use) the Liberation Font family (Mono, Sans, Serif) using all 4 styles (Reg Bold Italic Bold-Italic) as it saves space (about 1.2Mb for all 12).

Thanks
8Geee
Linux user #498913 "Some people need to reimagine their thinking."
"Zuckerberg: a large city inhabited by mentally challenged people."

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

#9 Post by musher0 »

8Geee wrote:(...)
I would recommend (and I use) the Liberation Font family (Mono, Sans, Serif) using all 4 styles (Reg Bold Italic Bold-Italic) as it saves space (about 1.2Mb for all 12).

Thanks
8Geee
I totally agree; I use it too. In addition to being pleasant to read, it's the font that liberated
Linux systems from MS paid fonts, it has historical value.
musher0
~~~~~~~~~~
"You want it darker? We kill the flame." (L. Cohen)

oui

#10 Post by oui »

*.pet?

(active *.pet uninstalling all facultative other fonts :idea: )

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

#11 Post by musher0 »

oui wrote:*.pet?

(active *.pet uninstalling all facultative other fonts :idea: )
Oui?
You're a slave-driver! :lol:
Contents:
[4.0K] ./etc
[4.0K] ./etc/fonts
[4.0K] ./etc/fonts/conf.d
[ 856] ./etc/fonts/conf.d/20-unhint-small-dejavu-sans.conf
[ 866] ./etc/fonts/conf.d/20-unhint-small-dejavu-sans-mono.conf
[ 858] ./etc/fonts/conf.d/20-unhint-small-dejavu-serif.conf
[2.0K] ./etc/fonts/conf.d/57-dejavu-sans.conf
[1.5K] ./etc/fonts/conf.d/57-dejavu-sans-mono.conf
[1.6K] ./etc/fonts/conf.d/57-dejavu-serif.conf
[ 88] ./pet.specs
[4.0K] ./usr
[4.0K] ./usr/share
[4.0K] ./usr/share/fonts
[4.0K] ./usr/share/fonts/docs
[4.0K] ./usr/share/fonts/docs/DejaVu
[ 842] ./usr/share/fonts/docs/DejaVu/AUTHORS
[ 60] ./usr/share/fonts/docs/DejaVu/BUGS
[ 25K] ./usr/share/fonts/docs/DejaVu/langcover.txt
[8.6K] ./usr/share/fonts/docs/DejaVu/LICENSE
[ 75K] ./usr/share/fonts/docs/DejaVu/NEWS
[2.5K] ./usr/share/fonts/docs/DejaVu/README.md
[1.5M] ./usr/share/fonts/docs/DejaVu/status.txt
[ 28K] ./usr/share/fonts/docs/DejaVu/unicover.txt
[4.0K] ./usr/share/fonts/TTF
[564K] ./usr/share/fonts/TTF/DejaVuMathTeXGyre.ttf
[628K] ./usr/share/fonts/TTF/DejaVuSans-BoldOblique.ttf
[689K] ./usr/share/fonts/TTF/DejaVuSans-Bold.ttf
[597K] ./usr/share/fonts/TTF/DejaVuSansCondensed-BoldOblique.ttf
[649K] ./usr/share/fonts/TTF/DejaVuSansCondensed-Bold.ttf
[585K] ./usr/share/fonts/TTF/DejaVuSansCondensed-Oblique.ttf
[664K] ./usr/share/fonts/TTF/DejaVuSansCondensed.ttf
[347K] ./usr/share/fonts/TTF/DejaVuSans-ExtraLight.ttf
[248K] ./usr/share/fonts/TTF/DejaVuSansMono-BoldOblique.ttf
[324K] ./usr/share/fonts/TTF/DejaVuSansMono-Bold.ttf
[246K] ./usr/share/fonts/TTF/DejaVuSansMono-Oblique.ttf
[333K] ./usr/share/fonts/TTF/DejaVuSansMono.ttf
[621K] ./usr/share/fonts/TTF/DejaVuSans-Oblique.ttf
[739K] ./usr/share/fonts/TTF/DejaVuSans.ttf
[339K] ./usr/share/fonts/TTF/DejaVuSerif-BoldItalic.ttf
[348K] ./usr/share/fonts/TTF/DejaVuSerif-Bold.ttf
[338K] ./usr/share/fonts/TTF/DejaVuSerifCondensed-BoldItalic.ttf
[323K] ./usr/share/fonts/TTF/DejaVuSerifCondensed-Bold.ttf
[337K] ./usr/share/fonts/TTF/DejaVuSerifCondensed-Italic.ttf
[339K] ./usr/share/fonts/TTF/DejaVuSerifCondensed.ttf
[338K] ./usr/share/fonts/TTF/DejaVuSerif-Italic.ttf
[371K] ./usr/share/fonts/TTF/DejaVuSerif.ttf

9 directories, 38 files
Download from here.

Download, double-click on the pet archive, and it gets installed.
As you can see in the listing of contents above, I have used the general
/usr/share/default/TTF directory. In some Pups, the DejaVu font has its own directory,
but that should not present a problem. Simply run the fc-cache -r utility as noted above
and the font cache will be refreshed with the new location for the DejaVu font.

DejaVu's fontconfig files are in the expected place in a Puppy. (The DejaVu people
do not put them there.)

Make a backup of everything beforehand if you want to, but since the Puppy ex-factory
DejaVu fonts are in all Puppy sfs's, you do not need to.

IHTH. There should not be any, but get back to me if problems.

BFN.
musher0
~~~~~~~~~~
"You want it darker? We kill the flame." (L. Cohen)

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

#12 Post by musher0 »

Hello again.

I have just uploaded at the same place as indicated in the above post the latest
Liberation fonts, from the "Fedora Pagure" site, as a pet package.

Contents
[ 109] ./pet.specs
[4.0K] ./usr
[4.0K] ./usr/share
[4.0K] ./usr/share/fonts
[4.0K] ./usr/share/fonts/docs
[4.0K] ./usr/share/fonts/docs/liberation
[ 242] ./usr/share/fonts/docs/liberation/AUTHORS
[ 806] ./usr/share/fonts/docs/liberation/ChangeLog
[4.3K] ./usr/share/fonts/docs/liberation/LICENSE
[1.9K] ./usr/share/fonts/docs/liberation/README
[ 350] ./usr/share/fonts/docs/liberation/TODO
[4.0K] ./usr/share/fonts/TTF
[271K] ./usr/share/fonts/TTF/LiberationMono-BoldItalic.ttf
[295K] ./usr/share/fonts/TTF/LiberationMono-Bold.ttf
[269K] ./usr/share/fonts/TTF/LiberationMono-Italic.ttf
[306K] ./usr/share/fonts/TTF/LiberationMono-Regular.ttf
[342K] ./usr/share/fonts/TTF/LiberationSans-BoldItalic.ttf
[346K] ./usr/share/fonts/TTF/LiberationSans-Bold.ttf
[347K] ./usr/share/fonts/TTF/LiberationSans-Italic.ttf
[342K] ./usr/share/fonts/TTF/LiberationSans-Regular.ttf
[362K] ./usr/share/fonts/TTF/LiberationSerif-BoldItalic.ttf
[357K] ./usr/share/fonts/TTF/LiberationSerif-Bold.ttf
[362K] ./usr/share/fonts/TTF/LiberationSerif-Italic.ttf
[379K] ./usr/share/fonts/TTF/LiberationSerif-Regular.ttf

6 directories, 19 files
Same procedure as above to install.

Please note the Liberation fonts do not have fontconfig files.

Many thanks to the DejaVu and the "Fedora Pagure" people for making these
fonts freely available to all Linuxians.

Enjoy!
Last edited by musher0 on Thu 10 Oct 2019, 00:41, edited 1 time in total.

williams2
Posts: 337
Joined: Fri 14 Dec 2018, 22:18

#13 Post by williams2 »

8Geee said:
I'd like to ask if there are any Type-1 fonts in these new pups
I downloaded Bitstream-Charter Type 1 font
http://www.math.utah.edu/~beebe/fonts/charter-1.0.zip

It seems to work in the rox pinboard.
I don't see any option for custom fonts in rox filer windows.

I don't know if it is actually using the Charter font.
rox options says it is.
Attachments
bs-charter1.jpg
Bitstream Charter font
(97.97 KiB) Downloaded 141 times

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

#14 Post by musher0 »

Hello again.

I just remembered that the pekwm window manager has a setting to
limit the width of entries in its menu.

Does ROX have a similar setting, maybe hidden in its XML options?
If so, make that setting wider, and the problem is solved.

BFN.
musher0
~~~~~~~~~~
"You want it darker? We kill the flame." (L. Cohen)

User avatar
666philb
Posts: 3615
Joined: Sun 07 Feb 2010, 12:27
Location: wales ... by the sea

Re: Gripes about ROX-filer 8 vs 7.5

#15 Post by 666philb »

InTheDoggyHouse wrote:I did check /usr/share/fonts/default/TTF, and as predicted there is just one font, DeJavu, with several styles. As it happens, DeJaVu is my favorite font, and the one I was trying to use for the ROX Pinboard Custom Font.

I ran fc-cache -r, then, just for good measure; /usr/share/fonts/default/TTF file stayed as above, still showing:
DejaVuSans-BoldOblique.ttf
DejaVuSans-Bold.ttf
DejaVuSansMono-Oblique.ttf
DejaVuSansMono.ttf
DejaVuSans-Oblique.ttf
DejaVuSans.ttf
.uuid

In ROX Options, I selected a Custom Font: DeJaVu Sans Mono Bold 8. Oddly enough, even though /usr/share/fonts/default/TTF only has the DeJaVu font in several styles, the Pinboard Custom Font box is showing:
DeJaVu Sans
DeJaVu Sans Mono
DeJaVu Serif (all showing different styles and sizes)
Droid Sans Mono
Monospace (just exactly the same as what Geany editor shows)
Sans
Serif (same as seen in JWMDesk Manager)

Then took a look at /root/.config/rox.sourceforge.net/ROX-Filer/Options. It still showed:
<Option name="label_font">DejaVu Sans Mono Bold 6</Option>. It seems as though ROX is not actually updating the Options disk file!

I also tried directly editing the Options disk file, since ROX will not update it. Then looked at my file listings, which were not changed. So even if I could select a font in ROX Options, it would still be ignored in the file listings.

Very puzzling. Like ROX is in a different universe. Never had trouble with all these things in 7.5 Xenial.

Any help will be appreciated!
hi InTheDoggyHouse,

i just tested changing the font for ROX pinboard and it changed fine. The /root/.config/rox.sourceforge.net/ROX-Filer/Options is also changed (NOTE that the file is written to only after you close the 'options' window)

other fonts in rox are controlled by the gtk theme menu>>desktop>>JWMdesk>>GTK theme
Bionicpup64 built with bionic beaver packages http://murga-linux.com/puppy/viewtopic.php?t=114311
Xenialpup64, built with xenial xerus packages http://murga-linux.com/puppy/viewtopic.php?t=107331

InTheDoggyHouse
Posts: 3
Joined: Wed 09 Oct 2019, 01:52

Here is the solution

#16 Post by InTheDoggyHouse »

In short: use puppy MENU-Desktop-JWM Desktop-GTK Theme to set the font to, in my case, DejaVu Sans Mono 10. (Do NOT assume that ROX-filer Options Pinboard Use_custom_font will have any effect on the Filer window font.)

ROX will use the GTK font, and will bold recently changed files, and will maintain the same font width for mono bold and normal characters!

Thank you to all of you who pointed out possible font and style issues. Those suggestions did not solve my issue, per se, but taught me a lot about fonts, and finally led me to find the solution. The file ~/gtkrc-2.0 had the font ROX uses for listings, and that same file had a warning about being auto-generated, which led me to remember the JWM Desktop GTK Theme window.

P.S. If I knew how to some way mark this issue as closed, I would do it.

User avatar
bigpup
Posts: 13886
Joined: Sun 11 Oct 2009, 18:15
Location: S.C. USA

#17 Post by bigpup »

If I knew how to some way mark this issue as closed, I would do it.
Go to the first post in this topic.
You have control of it.
Select edit.
Add solved to the subject.

The subject of the first post, in a topic, is the tittle of the topic.
The things they do not tell you, are usually the clue to solving the problem.
When I was a kid I wanted to be older.... This is not what I expected :shock:
YaPI(any iso installer)

InTheDogHouse
Posts: 3
Joined: Thu 13 Nov 2014, 18:33

Adding CLOSED to first topic

#18 Post by InTheDogHouse »

Went to first post. Did not see 'edit'.

I notice that first topic subject description is different than the topic name.

Name of Topic: Gripes about ROX-filer 8 vs 7.5

Subject of first post: ROX-filer: font for recent files in list wider than for regular files - hard to read

Did someone else than me take ownership of the first post? (In order to make a better Topic?)

Or, am I just looking in the wrong place to see 'edit'?

Thanx

dogle
Posts: 409
Joined: Thu 11 Oct 2007, 12:41

#19 Post by dogle »

G'day, InTheDog(gy)House. Thank you for raising such an interesting and fruitful thread (and welcome to The Kennels!).

Your difficulty in editing your first post is most likely because you seem to have registered twice, with slightly different forum names. The forum software will see these as separate individuals, and so won't let the latter edit the former's first post.

Go in as the former (InTheDoggyHouse) and you should be able to edit your first post without difficulty ...

User avatar
bigpup
Posts: 13886
Joined: Sun 11 Oct 2009, 18:15
Location: S.C. USA

#20 Post by bigpup »

Flash has control of the forum.
He sometimes changes a topic title to make it read better or better identify what it is about.

If you are logged into the forum.
When you look at a post you actually made. (when using that login)
There will be an edit button on the top right of the post.
Click on edit and you should get the message writting window.
Here you can change anything.
Than select submit.
The things they do not tell you, are usually the clue to solving the problem.
When I was a kid I wanted to be older.... This is not what I expected :shock:
YaPI(any iso installer)

Post Reply