Forum › Forums › Official Releases › antiX-21/22 “Grup Yorum” › Updating JWM theme scripts
- This topic has 20 replies, 3 voices, and was last updated May 2-1:09 pm by Wallon.
-
AuthorPosts
-
April 27, 2023 at 10:16 am #105520Member
Wallon
Dear All,
Here is the default “black” antiX theme updated with the new JWM font coding.
I did not change the font of the theme and I did not change the size.
Just copy the script below into a file and save it in your directory; /home/user/.jwm/themes with the name “black updated” for example.
Don’t forget to refresh the list of JWM themes to select the new theme.
Menu > Themes > Update themes list<!-- Title: Jwm-Vista Author: Tom new for jwm 2.0, replaces borderstyle above --> <!-- Update 2023 for new font coding --> <JWM> <WindowStyle> <Font>DejaVu Sans-9:style=Book:antialias=true</Font> <Width>4</Width <Height>20</Height> <Active> <Foreground>black</Foreground> <Background>white:#dce2f2</Background> <Outline>black</Outline> </Active> <Foreground>#aaaaaa</Foreground> <Background>:black</Background> <Outline>black</Outline> </WindowStyle> <TaskListStyle> <Font>DejaVu Sans-12:style=Book:antialias=true</Font> <Active> <Foreground>white</Foreground> <Background>black:#9dbbdb</Background> </Active> <Foreground>white</Foreground> <Background>gray50:black</Background> </TaskListStyle> <TrayStyle> <Font>DejaVu Sans-12:style=Book:antialias=true</Font> <Background>gray10</Background> <Foreground>white</Foreground> </TrayStyle> <ClockStyle> <Font>DejaVu Sans-12:style=Book:antialias=true</Font> <Foreground>white</Foreground> <Background>gray10</Background> </ClockStyle> <PagerStyle> <Outline>black</Outline> <Foreground>white</Foreground> <Background>gray20</Background> <Active> <Foreground>#9dbbdb</Foreground> <Background>gray20</Background> </Active> </PagerStyle> <MenuStyle> <Font>DejaVu Sans-10:style=Book:antialias=true</Font> <Foreground>white</Foreground> <Background>gray20</Background> <Outline>#000000</Outline> <Active> <Foreground>white</Foreground> <Background>#9dbbdb:black</Background> </Active> <Opacity>.85</Opacity> </MenuStyle> <PopupStyle enabled="true"> <Font>DejaVu Sans-10:style=Book:antialias=true</Font> <Outline>black</Outline> <Foreground>black</Foreground> <Background>ivory</Background> </PopupStyle> </JWM>If you want to change the font “DejaVu”, I advise you to type the following command in a terminal to get the right words to use in the JWM coding.
$ fc-list | grep DejaVu /usr/share/fonts/truetype/dejavu/DejaVuSerif-Bold.ttf: DejaVu Serif:style=Bold /usr/share/fonts/truetype/dejavu/DejaVuSansMono.ttf: DejaVu Sans Mono:style=Book /usr/share/fonts/truetype/dejavu/DejaVuSansCondensed-Oblique.ttf: DejaVu Sans,DejaVu Sans Condensed:style=Condensed Oblique,Oblique /usr/share/fonts/truetype/dejavu/DejaVuSerifCondensed-BoldItalic.ttf: DejaVu Serif,DejaVu Serif Condensed:style=Condensed Bold Italic,Bold Italic /usr/share/fonts/truetype/dejavu/DejaVuSans-ExtraLight.ttf: DejaVu Sans,DejaVu Sans Light:style=ExtraLight /usr/share/fonts/truetype/dejavu/DejaVuSans.ttf: DejaVu Sans:style=Book /usr/share/fonts/truetype/dejavu/DejaVuSerifCondensed.ttf: DejaVu Serif,DejaVu Serif Condensed:style=Condensed,Book /usr/share/fonts/truetype/dejavu/DejaVuSerifCondensed-Italic.ttf: DejaVu Serif,DejaVu Serif Condensed:style=Condensed Italic,Italic /usr/share/fonts/truetype/dejavu/DejaVuSerif-BoldItalic.ttf: DejaVu Serif:style=Bold Italic /usr/share/fonts/truetype/dejavu/DejaVuSansMono-Oblique.ttf: DejaVu Sans Mono:style=Oblique /usr/share/fonts/truetype/dejavu/DejaVuSerifCondensed-Bold.ttf: DejaVu Serif,DejaVu Serif Condensed:style=Condensed Bold,Bold /usr/share/fonts/truetype/dejavu/DejaVuSans-Bold.ttf: DejaVu Sans:style=Bold /usr/share/fonts/truetype/dejavu/DejaVuSansMono-BoldOblique.ttf: DejaVu Sans Mono:style=Bold Oblique /usr/share/fonts/truetype/dejavu/DejaVuMathTeXGyre.ttf: DejaVu Math TeX Gyre:style=Regular /usr/share/fonts/truetype/dejavu/DejaVuSansCondensed-BoldOblique.ttf: DejaVu Sans,DejaVu Sans Condensed:style=Condensed Bold Oblique,Bold Oblique /usr/share/fonts/truetype/dejavu/DejaVuSansCondensed.ttf: DejaVu Sans,DejaVu Sans Condensed:style=Condensed,Book /usr/share/fonts/truetype/dejavu/DejaVuSansCondensed-Bold.ttf: DejaVu Sans,DejaVu Sans Condensed:style=Condensed Bold,Bold /usr/share/fonts/truetype/dejavu/DejaVuSansMono-Bold.ttf: DejaVu Sans Mono:style=Bold /usr/share/fonts/truetype/dejavu/DejaVuSans-Oblique.ttf: DejaVu Sans:style=Oblique /usr/share/fonts/truetype/dejavu/DejaVuSerif-Italic.ttf: DejaVu Serif:style=Italic /usr/share/fonts/truetype/dejavu/DejaVuSerif.ttf: DejaVu Serif:style=Book /usr/share/fonts/truetype/dejavu/DejaVuSans-BoldOblique.ttf: DejaVu Sans:style=Bold ObliqueFor example, you want the legend on your taskbar icons to appear in italic style.
You can replace the line in the PopupStyle section like this;<Font>DejaVu Sans-10:style=Book:slant=oblique:antialias=true</Font>It’s always a good idea to change the size of a font to suit your screen size or to choose a font that is more suitable for your language.
Have fun.
Wallon
- This topic was modified 1 week, 3 days ago by Wallon.
April 27, 2023 at 2:22 pm #105539Member
marcelocripe
April 28, 2023 at 7:52 am #105570Member
Wallon
::Dear All,
“Voilà” the default “BlueDay” antiX theme updated with the new JWM font coding.
I did not change the font of the theme and I did not change the size.
I fixed a bug with the opacity. JWM does not allow the zero value “0”. I set the value to “1”, so no opacity. To have opacity, use a value like “.90” or “.85” or “.80”… and install the “compton” package.
Just copy the script below into a file and save it in your directory; /home/user/.jwm/themes with the name “BlueDay updated” for example.
Don’t forget to refresh the list of JWM themes to select the new theme.
Menu > Themes > Update themes listHave fun,
Wallon<!-- Title: Jwm-Vista Author: Tom new for jwm 2.0, replaces borderstyle above --> <!-- Modified by missTell for antiX 19 --> <!-- Update 2023 for new font coding --> <JWM> <WindowStyle> <Font>Ubuntu-10:style=Regular:antialias=true</Font> <Width>2</Width <Height>20</Height> <Active> <Foreground>gray70</Foreground> <Background>gray20</Background> <Outline>black</Outline> </Active> <Foreground>gray20</Foreground> <Background>gray70</Background> <Outline>black</Outline> </WindowStyle> <TaskListStyle> <Font>Ubuntu-12:style=Regular:antialias=true</Font> <Active> <Foreground>gray90</Foreground> <Background>gray30</Background> </Active> <Foreground>gray90</Foreground> <Background>gray50</Background> </TaskListStyle> <TrayStyle> <Font>Ubuntu-12:style=Regular:antialias=true</Font> <Background>gray20</Background> <Foreground>gray90</Foreground> </TrayStyle> <ClockStyle> <Font>Ubuntu-12:style=Regular:antialias=true</Font> <Foreground>gray90</Foreground> <Background>gray20</Background> </ClockStyle> <PagerStyle> <Outline>black</Outline> <Foreground>gray80</Foreground> <Background>gray50</Background> <Active> <Foreground>#2196F3</Foreground> <Background>gray50</Background> </Active> </PagerStyle> <MenuStyle> <Font>Ubuntu-10:style=Regular:antialias=true</Font> <Foreground>gray90</Foreground> <Background>gray20</Background> <Outline>black</Outline> <Active> <Foreground>white</Foreground> <Background>#2196F3</Background> </Active> <Opacity>1</Opacity> </MenuStyle> <PopupStyle enabled="true"> <Font>Ubuntu-10:style=Regular:antialias=true</Font> <Outline>black</Outline> <Foreground>black</Foreground> <Background>gray80</Background> </PopupStyle> </JWM>April 28, 2023 at 9:30 am #105573Member
Wallon
::Dear All,
“Voilà” the default “brown” antiX theme updated with the new JWM font coding.
I did not change the font of the theme and I did not change the size.
This script uses the “Ionic Charge” font to display the clock but it is not on the antiX ISO. Please download this font before running this script.
Just copy the script below into a file and save it in your directory; /home/user/.jwm/themes with the name “brown updated” for example.
Don’t forget to refresh the list of JWM themes to select the new theme.
Menu > Themes > Update themes listHave fun,
Wallon<!-- Update 2023 for new font coding --> <JWM> <WindowStyle> <Font>DejaVu Sans-12:style=Bold:antialias=true</Font> <Width>5</Width> <Height>22</Height> <Active> <Foreground>white</Foreground> <Background>#222222:#777777</Background> <Outline>#444444</Outline> </Active> <Foreground>#555555</Foreground> <Background>#777777:#bbbbbb</Background> <Outline>#bbbbbb</Outline> </WindowStyle> <TaskListStyle> <Font>DejaVu Sans-12:style=Book:antialias=true</Font> <Active> <Foreground>#EDEADE</Foreground> <Background>#888888:#000000</Background> </Active> <Foreground>gray20</Foreground> <Background>gray80:gray40</Background> </TaskListStyle> <TrayStyle> <Background>#939191</Background> </TrayStyle> <ClockStyle> <Font>Ionic Charge-12:style=Regular:antialias=true</Font> <Foreground>#44512E</Foreground> </ClockStyle> <PagerStyle> <Outline>black</Outline> <Foreground>#CCCCCC</Foreground> <Background>gray40</Background> <Active> <Foreground>gray30</Foreground> <Background>gray60</Background> </Active> </PagerStyle> <MenuStyle> <Font>DejaVu Sans-12:style=Book:antialias=true</Font> <Foreground>#DBD4C1</Foreground> <Background>gray30</Background> <Outline>#000000</Outline> <Active> <Foreground>gray20</Foreground> <Background>#FCE08A:#AC510B</Background> </Active> <Opacity>0.85</Opacity> </MenuStyle> <PopupStyle> <Font>DejaVu Sans-12:style=Book:antialias=true</Font> <Outline>gray10</Outline> <Foreground>gray10</Foreground> <Background>#A3A3A3</Background> </PopupStyle> </JWM>April 28, 2023 at 3:10 pm #105600Forum Admin
anticapitalista
::@Wallon
https://www.antixforum.com/forums/topic/my-menu-with-yellow-comments/#post-105541Philosophers have interpreted the world in many ways; the point is to change it.
antiX with runit - leaner and meaner.
April 30, 2023 at 1:59 pm #105687Member
Wallon
::Dear anticapitalista,
I have seen your message.
Thank you very much.Kind regards,
WallonApril 30, 2023 at 2:02 pm #105688Member
Wallon
::Dear All,
“Voilà” the default “cappuccino” antiX theme updated with the new JWM font coding.
I did not change the font of the theme and I did not change the size.
Just copy the script below into a file and save it in your directory; /home/user/.jwm/themes with the name “ cappuccino updated” for example.
Don’t forget to refresh the list of JWM themes to select the new theme.
Menu > Themes > Update themes listHave fun,
Wallon<JWM> <!-- coffee.cream --> <!-- Update 2023 for new font coding --> <WindowStyle> <Font>Ubuntu-14:style=Regular:antialias=true</Font> <Width>3</Width> <Height>24</Height> <Active> <Foreground>white</Foreground> <Background>#6F4E37:#DEB887</Background> <Outline>#7B3F00</Outline> </Active> <Foreground>white</Foreground> <Background>#DEB887:#6F4E37</Background> <Outline>#DEB887</Outline> </WindowStyle> <TaskListStyle> <Font>Ubuntu-12:style=Regular:antialias=true</Font> <Active> <Foreground>white</Foreground> <Background>#6F4E37:#DEB887</Background> </Active> <Foreground>#202020</Foreground> <Background>#DEB887:#6F4E37</Background> </TaskListStyle> <TrayStyle> <Font>Ubuntu-16:style=Regular:antialias=true</Font> <Background>#DEB887</Background> <Foreground>#202020</Foreground> </TrayStyle> <ClockStyle> <Font>Ubuntu-16:style=Regular:antialias=true</Font> <Foreground>#202020</Foreground> </ClockStyle> <PagerStyle> <Outline>#202020</Outline> <Foreground>#D9B383</Foreground> <Background>#6F4E37</Background> <Active> <Foreground>#886649</Foreground> <Background>#CD9449</Background> </Active> </PagerStyle> <MenuStyle> <Font>Ubuntu-14:style=Regular:antialias=true</Font> <Foreground>#202020</Foreground> <Background>#DEB887</Background> <Outline>#886649</Outline> <Active> <Foreground>white</Foreground> <Background>#DEB887:#6F4E37</Background> </Active> <Opacity>0.85</Opacity> </MenuStyle> <PopupStyle enabled="true"> <Font>Ubuntu-11:style=Regular:antialias=true</Font> <Outline>#202020</Outline> <Foreground>#202020</Foreground> <Background>wheat</Background> </PopupStyle> </JWM>April 30, 2023 at 3:26 pm #105694Member
Wallon
::Dear All,
“Voilà” the default “clearlooks” antiX theme updated with the new JWM font coding.
I did not change the font of the theme and I did not change the size.
Just copy the script below into a file and save it in your directory; /home/user/.jwm/themes with the name “clearlooks_updated” for example.
Don’t forget to refresh the list of JWM themes to select the new theme.
Menu > Themes > Update themes listHave fun,
Wallon<JWM> <!-- clearlooks --> <!-- Update 2023 for new font coding --> <WindowStyle> <Font>DejaVu Sans-11:style=Book:antialias=true</Font> <Width>1</Width> <Height>21</Height> <Active> <Foreground>gray99</Foreground> <Background>#b2cced:#7aa1d1</Background> <Outline>black</Outline> </Active> <Foreground>#72716f</Foreground> <Background>#ecedea:#bfbebd</Background> <Outline>black</Outline> </WindowStyle> <TaskListStyle> <Font>DejaVu Sans-12:style=Book:antialias=true</Font> <Active> <Foreground>black</Foreground> <Background>gray80:gray65</Background> </Active> <Foreground>black</Foreground> <Background>gray90:gray65</Background> </TaskListStyle> <TrayStyle> <Font>DejaVu Sans-11:style=Book:antialias=true</Font> <Background>gray86</Background> <Foreground>black</Foreground> </TrayStyle> <ClockStyle> <Font>DejaVu Sans-16:style=Book:antialias=true</Font> <Foreground>black</Foreground> <Background>gray86</Background> </ClockStyle> <PagerStyle> <Outline>black</Outline> <Foreground>gray90</Foreground> <Background>#808488</Background> <Active> <Foreground>#70849d</Foreground> <Background>#2e3a67</Background> </Active> </PagerStyle> <MenuStyle> <Font>DejaVu Sans-11:style=Book:antialias=true</Font> <Foreground>black</Foreground> <Background>gray85</Background> <Outline>#000000</Outline> <Active> <Foreground>white</Foreground> <Background>#afc9eb:#82a7d5</Background> </Active> <Opacity>0.85</Opacity> </MenuStyle> <PopupStyle enabled="true"> <Font>DejaVu Sans-10:style=Book:antialias=true</Font> <Outline>black</Outline> <Foreground>black</Foreground> <Background>yellow</Background> </PopupStyle> </JWM>April 30, 2023 at 5:02 pm #105697Member
Wallon
::Dear All,
“Voilà” the default “coffee_cream” antiX theme updated with the new JWM font coding.
I did not change the font of the theme and I did not change the size.
This script uses the “Terminus Bold” font to display the menu but it is not on the antiX ISO. Please install the font with Synaptic. This is the fonts-terminus-otb package.
Just copy the script below into a file and save it in your directory; /home/user/.jwm/themes with the name “coffee_cream_updated” for example.
Don’t forget to refresh the list of JWM themes to select the new theme.
Menu > Themes > Update themes listHave fun,
Wallon<JWM> <!-- coffee.cream --> <!-- Update 2023 for new font coding --> <WindowStyle> <Font>Terminus-14:style=Bold:antialias=true</Font> <Width>5</Width> <Height>24</Height> <Active> <Foreground>white</Foreground> <Background>#6F4E37:#DEB887</Background> <Outline>#7B3F00</Outline> </Active> <Foreground>white</Foreground> <Background>#DEB887:#6F4E37</Background> <Outline>#DEB887</Outline> </WindowStyle> <TaskListStyle> <Font>Terminus-12:style=Bold:antialias=true</Font> <Active> <Foreground>white</Foreground> <Background>#6F4E37:#DEB887</Background> </Active> <Foreground>black</Foreground> <Background>#DEB887:#6F4E37</Background> </TaskListStyle> <TrayStyle> <Font>Terminus-16:style=Bold:antialias=true</Font> <Background>#DEB887</Background> <Foreground>black</Foreground> </TrayStyle> <ClockStyle> <Font>Terminus-16:style=Bold:antialias=true</Font> <Foreground>black</Foreground> </ClockStyle> <PagerStyle> <Outline>black</Outline> <Foreground>black</Foreground> <Background>#6F4E37</Background> <Active> <Foreground>black</Foreground> <Background>#DEB887</Background> </Active> </PagerStyle> <MenuStyle> <Font>Terminus-14:style=Bold:antialias=true</Font> <Foreground>black</Foreground> <Background>#DEB887</Background> <Outline>#000000</Outline> <Active> <Foreground>white</Foreground> <Background>#DEB887:#6F4E37</Background> </Active> <Opacity>0.85</Opacity> </MenuStyle> <PopupStyle enabled="true"> <Font>Terminus-11:style=Bold:antialias=true</Font> <Outline>black</Outline> <Foreground>black</Foreground> <Background>wheat</Background> </PopupStyle> </JWM>Attachments:
April 30, 2023 at 6:24 pm #105702Member
Wallon
::Dear All,
“Voilà” the default “coper” antiX theme updated with the new JWM font coding.
I did not change the font of the theme and I did not change the size.
This script uses the “Tahoma” font to display the menu but it is not on the antiX ISO. Please download this font before running this script.
Just copy the script below into a file and save it in your directory; /home/user/.jwm/themes with the name “coper_updated” for example.
Don’t forget to refresh the list of JWM themes to select the new theme.
Menu > Themes > Update themes listHave fun,
Wallon<!-- Tmix by Tman - Gold color is from LightLook9x-gold --> <!-- Coper --> <!-- Update 2023 for new font coding --> <JWM> <WindowStyle> <Font>DejaVu Sans-12:style=Bold:antialias=true</Font> <Width>2</Width> <Height>25</Height> <Active> <Foreground>#ffffff</Foreground> <Background>#621314:#DD1D16</Background> <Outline>black</Outline> </Active> <Foreground>black</Foreground> <Background>#b6a767:#ffefad</Background> <Outline>black</Outline> </WindowStyle> <TaskListStyle> <Font>DejaVu Sans-13:style=Book:antialias=true</Font> <Active> <Foreground>#000000</Foreground> <Background>#f6e7a7:#b6a767</Background> </Active> <Foreground>#ffffff</Foreground> <Background>#94a974:#d4e9b4</Background> </TaskListStyle> <TrayStyle> <Font>DejaVu Sans-13:style=Bold:antialias=true</Font> <Foreground>#000000</Foreground> <Background>#D6CEC5</Background> </TrayStyle> <ClockStyle> <Font>DejaVu Sans-16:style=Bold:antialias=true</Font> <Foreground>#000000</Foreground> <Background>#D6CEC5</Background> </ClockStyle> <PagerStyle> <Outline>black</Outline> <Foreground>#D6CEC5</Foreground> <Background>#d6c787</Background> <Active> <Foreground>#C2BBB2</Foreground> <Background>#E6DFD6</Background> </Active> </PagerStyle> <MenuStyle> <Font>Tahoma-13:style=Regular:antialias=true</Font> <Foreground>black</Foreground> <Background>#ABB5C9</Background> <Outline>#000000</Outline> <Active> <Foreground>#ffffff</Foreground> <Background>#1D35B1:#A1C5FF</Background> </Active> <Opacity>0.85</Opacity> </MenuStyle> <PopupStyle> <Font>Tahoma-13:style=Regular:antialias=true</Font> <Outline>black</Outline> <Foreground>black</Foreground> <Background>#EFEBDE</Background> </PopupStyle> </JWM>May 1, 2023 at 9:17 am #105720Member
Wallon
::Dear All,
“Voilà” the “default” antiX theme updated with the new JWM font coding.
I did not change the font of the theme and I did not change the size.
I fixed a bug with the opacity. JWM does not allow the zero value “0”. I set the value to “1”, so no opacity. To have opacity, use a value like “.90” or “.85” or “.80”… and install the “compton” package.
Just copy the script below into a file and save it in your directory; /home/user/.jwm/themes with the name “default_updated” for example.
Don’t forget to refresh the list of JWM themes to select the new theme.
Menu > Themes > Update themes listHave fun,
Wallon<!-- Title: Jwm-Vista Author: Tom new for jwm 2.0, replaces borderstyle above --> <!-- Modified by missTell for antiX 19 --> <!-- Update 2023 for new font coding --> <JWM> <WindowStyle> <Font>Ubuntu-10:style=Regular:antialias=true</Font> <Width>2</Width <Height>20</Height> <Active> <Foreground>gray20</Foreground> <Background>gray70</Background> <Outline>black</Outline> </Active> <Foreground>gray70</Foreground> <Background>gray20</Background> <Outline>black</Outline> </WindowStyle> <TaskListStyle> <Font>Ubuntu-12:style=Regular:antialias=true</Font> <Active> <Foreground>gray90</Foreground> <Background>gray30</Background> </Active> <Foreground>gray90</Foreground> <Background>gray50</Background> </TaskListStyle> <TrayStyle> <Font>Ubuntu-12:style=Regular:antialias=true</Font> <Background>gray20</Background> <Foreground>gray90</Foreground> </TrayStyle> <ClockStyle> <Font>Ubuntu-12:style=Regular:antialias=true</Font> <Foreground>gray90</Foreground> <Background>gray20</Background> </ClockStyle> <PagerStyle> <Outline>black</Outline> <Foreground>gray80</Foreground> <Background>gray50</Background> <Active> <Foreground>#2196F3</Foreground> <Background>gray50</Background> </Active> </PagerStyle> <MenuStyle> <Font>Ubuntu-10:style=Regular:antialias=true</Font> <Foreground>gray90</Foreground> <Background>gray20</Background> <Outline>black</Outline> <Active> <Foreground>white</Foreground> <Background>#2196F3</Background> </Active> <Opacity>1</Opacity> </MenuStyle> <PopupStyle enabled="true"> <Font>Ubuntu-10:style=Regular:antialias=true</Font> <Outline>black</Outline> <Foreground>black</Foreground> <Background>gray80</Background> </PopupStyle> </JWM>May 1, 2023 at 9:55 am #105728Member
Wallon
::Dear All,
“Voilà” the default “gold” antiX theme updated with the new JWM font coding.
I did not change the font of the theme and I did not change the size.
Just copy the script below into a file and save it in your directory; /home/user/.jwm/themes with the name “gold_updated” for example.
Don’t forget to refresh the list of JWM themes to select the new theme.
Menu > Themes > Update themes listHave fun,
Wallon<JWM> <!-- gold theme --> <!-- new for jwm 2.0, replaces borderstyle above --> <!-- Update 2023 for new font coding --> <WindowStyle> <Font>DejaVu Sans-9:style=Bold:antialias=true</Font> <Width>4</Width <Height>20</Height> <Active> <Foreground>gold</Foreground> <Background>gray50:lightsteelblue</Background> <Outline>black</Outline> </Active> <Foreground>gray60</Foreground> <Background>gray50:black</Background> <Outline>black</Outline> </WindowStyle> <TaskListStyle> <Font>DejaVu Sans-12:style=Bold:antialias=true</Font> <Active> <Foreground>black</Foreground> <Background>orange:yellow</Background> </Active> <Foreground>gray60</Foreground> <Background>gray50:black</Background> </TaskListStyle> <!-- Additional TrayStyle attribute: insert --> <TrayStyle> <Font>DejaVu Sans-12:style=Bold:antialias=true</Font> <Background>gray10</Background> <Foreground>white</Foreground> </TrayStyle> <ClockStyle> <Font>DejaVu Sans-16:style=Bold:antialias=true</Font> <Foreground>white</Foreground> <Background>gray10</Background> </ClockStyle> <PagerStyle> <Outline>black</Outline> <Foreground>gray</Foreground> <Background>gray20</Background> <Active> <Foreground>#0E58B3</Foreground> <Background>gray20</Background> </Active> </PagerStyle> <MenuStyle> <Font>DejaVu Sans-12:style=Bold:antialias=true</Font> <Foreground>white</Foreground> <Background>gray20</Background> <Outline>#000000</Outline> <Active> <Foreground>black</Foreground> <Background>yellow:orange</Background> </Active> <Opacity>0.85</Opacity> </MenuStyle> <PopupStyle> <Font>DejaVu Sans-10:style=Bold:antialias=true</Font> <Outline>black</Outline> <Foreground>black</Foreground> <Background>ivory</Background> </PopupStyle> </JWM>May 1, 2023 at 1:04 pm #105741Member
Wallon
::Dear All,
“Voilà” the default “green” antiX theme updated with the new JWM font coding.
I did not change the font of the theme and I did not change the size.
Just copy the script below into a file and save it in your directory; /home/user/.jwm/themes with the name “green_updated” for example.
Don’t forget to refresh the list of JWM themes to select the new theme.
Menu > Themes > Update themes listIf you want more information on fonts that are a bit special in this theme, read my remarks below the script.
Have fun,
Wallon<JWM> <!-- green style --> <!-- Update 2023 for new font coding --> <WindowStyle> <Font>Sans-12:style=Book:antialias=true</Font> <Width>5</Width> <Height>20</Height> <Active> <Foreground>#3C5505</Foreground> <Background>#74A604:#FEFDF2</Background> <Outline>#3C5505</Outline> </Active> <Foreground>#517208</Foreground> <Background>#FEFDF2</Background> <Outline>#517208</Outline> </WindowStyle> <TaskListStyle> <Font>-adobe-helvetica-bold-r-*-*-*-120-*-*-*-*-*-*</Font> <Active> <Foreground>#3C5505</Foreground> <Background>#74A604:#FEFDF2</Background> </Active> <Background>#FEFDF2</Background> <Foreground>#517208</Foreground> </TaskListStyle> <TrayStyle> <Font>-adobe-helvetica-bold-r-*-*-*-120-*-*-*-*-*-*</Font> <Foreground>#517208</Foreground> <Background>#FEFDF2</Background> </TrayStyle> <ClockStyle> <Font>-adobe-helvetica-bold-r-*-*-*-120-*-*-*-*-*-*</Font> <Foreground>#517208</Foreground> <Background>#FEFDF2</Background> </ClockStyle> <PagerStyle> <Outline>#517208</Outline> <Foreground>#517208</Foreground> <Background>#FEFDF2</Background> <Active> <Foreground>#517208</Foreground> <Background>#FEFDF2</Background> </Active> </PagerStyle> <MenuStyle> <Font>-adobe-helvetica-medium-r-*-*-*-140-*-*-*-*-*-*</Font> <Foreground>#517208</Foreground> <Background>#FEFDF2</Background> <Outline>#000000</Outline> <Active> <Foreground>#3C5505</Foreground> <Background>#74A604:#FEFDF2</Background> </Active> <Opacity>0.85</Opacity> </MenuStyle> <PopupStyle> <Font>-adobe-helvetica-medium-r-*-*-*-140-*-*-*-*-*-*</Font> <Outline>#517208</Outline> <Foreground>#517208</Foreground> <Background>#FEFDF2</Background> </PopupStyle> </JWM>1) You can associate an alias with a font.
This script uses an alias. How do you find the font linked to this alias? How to find the style linked to this alias?
Here are 4 commands to find the details of the aliases that are often used in linux distributions.wallon@msi:~ $ fc-match sans DejaVuSans.ttf: "DejaVu Sans" "Book" wallon@msi:~ $ fc-match serif DejaVuSerif.ttf: "DejaVu Serif" "Book" wallon@msi:~ $ fc-match monospace DejaVuSansMono.ttf: "DejaVu Sans Mono" "Book" wallon@msi:~ $ fc-match sans-serif DejaVuSans.ttf: "DejaVu Sans" "Book"2) This script uses a system font “Core X11 Fonts”. This is the “-adobe-helvetica-bold” font.
But how do you know if this system font is installed on the antiX iso?
Here is the command to enter in a terminal and you will see that the font is installed with all the details;wallon@msi:~ $ xlsfonts -fn -*-helvetica-bold-r* -adobe-helvetica-bold-r-narrow--0-0-0-0-p-0-iso8859-1 -adobe-helvetica-bold-r-narrow--0-0-0-0-p-0-iso8859-15 -adobe-helvetica-bold-r-narrow--0-0-0-0-p-0-iso8859-2 -adobe-helvetica-bold-r-normal--0-0-0-0-p-0-iso8859-1 -adobe-helvetica-bold-r-normal--0-0-0-0-p-0-iso8859-15 -adobe-helvetica-bold-r-normal--0-0-0-0-p-0-iso8859-2 -adobe-helvetica-bold-r-normal--0-0-100-100-p-0-iso10646-1 -adobe-helvetica-bold-r-normal--0-0-100-100-p-0-iso8859-1 -adobe-helvetica-bold-r-normal--11-80-100-100-p-60-iso10646-1 -adobe-helvetica-bold-r-normal--11-80-100-100-p-60-iso10646-1 -adobe-helvetica-bold-r-normal--11-80-100-100-p-60-iso8859-1 -adobe-helvetica-bold-r-normal--11-80-100-100-p-60-iso8859-1 -adobe-helvetica-bold-r-normal--14-100-100-100-p-82-iso10646-1 -adobe-helvetica-bold-r-normal--14-100-100-100-p-82-iso10646-1 -adobe-helvetica-bold-r-normal--14-100-100-100-p-82-iso8859-1 -adobe-helvetica-bold-r-normal--14-100-100-100-p-82-iso8859-1 -adobe-helvetica-bold-r-normal--17-120-100-100-p-92-iso10646-1 -adobe-helvetica-bold-r-normal--17-120-100-100-p-92-iso10646-1 -adobe-helvetica-bold-r-normal--17-120-100-100-p-92-iso8859-1 -adobe-helvetica-bold-r-normal--17-120-100-100-p-92-iso8859-1 -adobe-helvetica-bold-r-normal--20-140-100-100-p-105-iso10646-1 -adobe-helvetica-bold-r-normal--20-140-100-100-p-105-iso10646-1 -adobe-helvetica-bold-r-normal--20-140-100-100-p-105-iso8859-1 -adobe-helvetica-bold-r-normal--20-140-100-100-p-105-iso8859-1 -adobe-helvetica-bold-r-normal--25-180-100-100-p-138-iso10646-1 -adobe-helvetica-bold-r-normal--25-180-100-100-p-138-iso10646-1 -adobe-helvetica-bold-r-normal--25-180-100-100-p-138-iso8859-1 -adobe-helvetica-bold-r-normal--25-180-100-100-p-138-iso8859-1 -adobe-helvetica-bold-r-normal--34-240-100-100-p-182-iso10646-1 -adobe-helvetica-bold-r-normal--34-240-100-100-p-182-iso10646-1 -adobe-helvetica-bold-r-normal--34-240-100-100-p-182-iso8859-1 -adobe-helvetica-bold-r-normal--34-240-100-100-p-182-iso8859-1May 1, 2023 at 2:09 pm #105745Member
Wallon
::Dear All,
“Voilà” the default “ice” antiX theme updated with the new JWM font coding.
With the agreement of the development team, I have replaced the “smoothansi” font with the “Ubuntu” font.
Just copy the script below into a file and save it in your directory; /home/user/.jwm/themes with the name “ice_updated” for example.
Don’t forget to refresh the list of JWM themes to select the new theme.
Menu > Themes > Update themes listHave fun,
Wallon<JWM> <!-- dsl4ice --> <!-- Update 2023 for new font coding --> <WindowStyle> <Font>Ubuntu-12:style=Regular:antialias=true</Font> <Width>4</Width> <Height>20</Height> <Active> <Foreground>dodgerblue3</Foreground> <Background>grey77:white</Background> <Outline>grey66</Outline> </Active> <Foreground>grey38</Foreground> <Background>grey44:grey66</Background> <Outline>black</Outline> </WindowStyle> <TaskListStyle> <Font>Ubuntu-12:style=Regular:antialias=true</Font> <Active> <Foreground>dodgerblue3</Foreground> <Background>grey77:white</Background> </Active> <Foreground>grey38</Foreground> <Background>grey44:grey66</Background> </TaskListStyle> <TrayStyle> <Font>Ubuntu-12:style=Regular:antialias=true</Font> <Background>lightsteelblue</Background> <Foreground>dodgerblue3</Foreground> </TrayStyle> <ClockStyle> <Font>Ubuntu-16:style=Regular:antialias=true</Font> <Foreground>dodgerblue3</Foreground> <Background>white</Background> </ClockStyle> <PagerStyle> <Outline>black</Outline> <Foreground>grey66</Foreground> <Background>grey33</Background> <Active> <Foreground>dodgerblue3</Foreground> <Background>white</Background> </Active> </PagerStyle> <MenuStyle> <Font>Ubuntu-12:style=Regular:antialias=true</Font> <Foreground>grey55</Foreground> <Background>white</Background> <Outline>#000000</Outline> <Active> <Foreground>dodgerblue3</Foreground> <Background>grey77:white</Background> </Active> <Opacity>0.85</Opacity> </MenuStyle> <PopupStyle> <Font>Ubuntu-10:style=Regular:antialias=true</Font> <Outline>black</Outline> <Foreground>black</Foreground> <Background>darkorange</Background> </PopupStyle> </JWM>May 1, 2023 at 5:03 pm #105765Member
Wallon
::Dear All,
“Voilà” the default “military” antiX theme updated with the new JWM font coding.
I did not change the font of the theme and I did not change the size.
This script uses the “Terminus Bold” font to display the menu but it is not on the antiX ISO. Please install the font with Synaptic. This is the fonts-terminus-otb package.
Just copy the script below into a file and save it in your directory; /home/user/.jwm/themes with the name “military_updated” for example.
Don’t forget to refresh the list of JWM themes to select the new theme.
Menu > Themes > Update themes listHave fun,
Wallon<JWM> <!-- military --> <!-- Update 2023 for new font coding --> <WindowStyle> <Font>Terminus-14:style=Bold:antialias=true</Font> <Width>5</Width> <Height>22</Height> <Active> <Foreground>white</Foreground> <Background>olive drab:#a3853f</Background> <Outline>olive</Outline> </Active> <Foreground>black</Foreground> <Background>#a3853f:olive drab</Background> <Outline>olive</Outline> </WindowStyle> <TaskListStyle> <Font>DejaVu Sans-12:style=Book:antialias=true</Font> <Active> <Foreground>white</Foreground> <Background>olive drab</Background> </Active> <Foreground>black</Foreground> <Background>#a3853f</Background> </TaskListStyle> <TrayStyle> <Font>DejaVu Sans-11:style=Book:antialias=true</Font> <Background>olive</Background> <Foreground>black</Foreground> </TrayStyle> <ClockStyle> <Font>Terminus-16:style=Bold:antialias=true</Font> <Foreground>black</Foreground> <Background>olive</Background> </ClockStyle> <PagerStyle> <Outline>black</Outline> <Foreground>#a3853f</Foreground> <Background>olive drab</Background> <Active> <Foreground>white</Foreground> <Background>black</Background> </Active> </PagerStyle> <MenuStyle> <Font>DejaVu Sans-11:style=Book:antialias=true</Font> <Foreground>black</Foreground> <Background>olive drab</Background> <Outline>#000000</Outline> <Active> <Foreground>white</Foreground> <Background>#385E3F</Background> </Active> <Opacity>0.85</Opacity> </MenuStyle> <PopupStyle enabled="true"> <Font>DejaVu Sans-10:style=Book:antialias=true</Font> <Outline>black</Outline> <Foreground>white</Foreground> <Background>olive drab</Background> </PopupStyle> </JWM> -
AuthorPosts
- You must be logged in to reply to this topic.
