Author Topic: Where do you set default system fonts?  (Read 2368 times)

0 Members and 1 Guest are viewing this topic.

Offline Losgann

  • Neuling
  • *
  • Posts: 41
  • Branch: Stable
  • Desktop: XFCE, Fluxbox
  • GPU Card: Intel
  • GPU driver: Intel
  • Kernel: 4.1.15-1-MANJARO
  • Skill: Intermediate
Where do you set default system fonts?
« on: 12. January 2016, 01:07:22 »
Hi,

I'm posting this here since I'm using the Fluxbox edition, but the answer may well be the same for other window managers/desktop environments also, so mods please move this thread if it belongs better elsewhere.

I'm trying to figure out where the system-wide default fonts are set, in other words how to change or specify which actual fonts are used when a font is set to "serif", "sans" or "monospace" in an app's preferences or in a theme. Can anyone clarify this for me?


Offline handy

  • Global Moderator
  • *****
  • Posts: 5738
  • Desktop: Openbox 3.6.1-3 & Worker :)
  • GPU Card: intel...
  • GPU driver: open-source
  • Kernel: OpenBSD
  • Skill: Intermediate
Re: Where do you set default system fonts?
« Reply #1 on: 12. January 2016, 01:13:24 »
Here is all about fonts ArchWiki: ;)
The ultimate tyranny in a society is not control
by martial law. It is control by the psychological
manipulation of consciousness, through which reality
is defined so that those who exist within do not even
realize that they are in prison.
  —  Barbara Marciniak

Offline eugen-b

  • Support Team
  • ****
  • Posts: 3191
  • Branch: testing
  • Desktop: LXDE, Fluxbox, JWM, LXQt, bspwm
  • GPU Card: Intel 82945G/GZ
  • GPU driver: free
  • Kernel: 4.5, 4.6
  • Skill: Intermediate
Re: Where do you set default system fonts?
« Reply #2 on: 12. January 2016, 01:16:01 »
The application (for launching from terminal or by Alt+F2) is lxappearance. In the menu it can be called Customize Look and Feel or Appearance. It sets the fonts in apps like File Manager. But some application offer their own font settings. The fonts in Fluxbox menu and in window titles you set with the styles config file.
MSI Wind Nettop, Intel Atom 230 1.6GHz (64bit), 2GB RAM
DEs: NET-minimal + (LXDE / Fluxbox / JWM); LXQt OpenRC
how to install on btrfs subvolumes
http://manjaro.github.io/donate/

Offline Losgann

  • Neuling
  • *
  • Posts: 41
  • Branch: Stable
  • Desktop: XFCE, Fluxbox
  • GPU Card: Intel
  • GPU driver: Intel
  • Kernel: 4.1.15-1-MANJARO
  • Skill: Intermediate
Where are Fluxbox default pixmaps stored?
« Reply #3 on: 12. January 2016, 01:24:56 »
Does anyone know where the default pixmaps for Fluxbox styles are stored? I mean the ones which are used when a style consists of just the .cfg file, without its own accompanying pixmaps. I was wondering where these default ones are kept and whether or not they can be modified.

Offline eugen-b

  • Support Team
  • ****
  • Posts: 3191
  • Branch: testing
  • Desktop: LXDE, Fluxbox, JWM, LXQt, bspwm
  • GPU Card: Intel 82945G/GZ
  • GPU driver: free
  • Kernel: 4.5, 4.6
  • Skill: Intermediate
Re: Where are Fluxbox default pixmaps stored?
« Reply #4 on: 12. January 2016, 01:32:42 »
/usr/share/pixmaps AFAIK
They can be modified, but be careful not to delete them, better rename. It should be also possible to copy png icons in that folder.
However, I never needed this. Out of curiosity: Why do you need them?
MSI Wind Nettop, Intel Atom 230 1.6GHz (64bit), 2GB RAM
DEs: NET-minimal + (LXDE / Fluxbox / JWM); LXQt OpenRC
how to install on btrfs subvolumes
http://manjaro.github.io/donate/

Offline handy

  • Global Moderator
  • *****
  • Posts: 5738
  • Desktop: Openbox 3.6.1-3 & Worker :)
  • GPU Card: intel...
  • GPU driver: open-source
  • Kernel: OpenBSD
  • Skill: Intermediate
Re: Where do you set default system fonts?
« Reply #5 on: 12. January 2016, 02:26:40 »
@Losgann: Sorry, I read without putting my brain into gear...  :-[ ;)
The ultimate tyranny in a society is not control
by martial law. It is control by the psychological
manipulation of consciousness, through which reality
is defined so that those who exist within do not even
realize that they are in prison.
  —  Barbara Marciniak

Offline Losgann

  • Neuling
  • *
  • Posts: 41
  • Branch: Stable
  • Desktop: XFCE, Fluxbox
  • GPU Card: Intel
  • GPU driver: Intel
  • Kernel: 4.1.15-1-MANJARO
  • Skill: Intermediate
Re: Where do you set default system fonts? [SOLVED]
« Reply #6 on: 22. January 2016, 01:04:45 »
I realized I never followed up here after my initial question, so I figured I should post what I ended up doing, in case someone else might find it helpful. There didn't seem to be a way, at least that I could find, to actually alter the default system settings for which fonts are used for Sans, Serif and Monospace; apparently the files where these are specified can be overwritten during upgrades and the like, so changes made there can be undone. The next best thing, which is what I ended up doing, was to create global aliases in /etc/fonts/local.conf. I pretty much followed this page to the letter, and the results have been satisfactory.

Offline Losgann

  • Neuling
  • *
  • Posts: 41
  • Branch: Stable
  • Desktop: XFCE, Fluxbox
  • GPU Card: Intel
  • GPU driver: Intel
  • Kernel: 4.1.15-1-MANJARO
  • Skill: Intermediate
Re: Where are Fluxbox default pixmaps stored?
« Reply #7 on: 22. January 2016, 01:16:07 »
Sorry, eugen-b, I just realized I never replied to you here. In my Fluxbox styling adventures, I was hoping to create a set of new default window decorations to appear when a style didn't have its own, because I didn't care for the ones Fluxbox comes with; however,  I never succeeded in finding them. They are not in /usr/share/pixmaps, nor anywhere I could find in /usr/share/fluxbox. So this question isn't solved, but as you could see in the screenshots thread, it turns out that creating the pixmaps in GIMP is quite simple, so I've just been making them and including them with Fluxbox styles. So in practice it hasn't been an issue, though the question will continue to bug me, in principle ;).