window title text
Technical issues/questions of an intermediate or advanced nature.
coa
coa
Rava
window title text
Post#5 by coa » 12 Dec 2022, 06:50
yes i dont mind Rava
Im using Cinnamon Desktop
and here is theme with windows title align left, theme is called mint
https://forums.linuxmint.com/download/f ... c488b3766d
Im using Cinnamon Desktop
and here is theme with windows title align left, theme is called mint
https://forums.linuxmint.com/download/f ... c488b3766d
coa
- Rava
- Contributor
- Posts: 5424
- Joined: 11 Jan 2011, 02:46
- Distribution: XFCE 5.01 x86_64 + 4.0 i586
- Location: Forests of Germany
window title text
Post#6 by Rava » 12 Dec 2022, 18:14
Did you incorporate that into your 003- module or did you include it via a personal module (that gets loaded later, e.g. by conveniently giving it a higher number - e.g. 100-cinnamon-patches.xzm ) or via changes= ?coa wrote: ↑12 Dec 2022, 06:50and here is theme with windows title align left, theme is called mint
https://forums.linuxmint.com/download/f ... c488b3766d
Cheers!
Yours Rava
Yours Rava
Rava
Ed_P
coa
Rava
coa
- Rava
- Contributor
- Posts: 5424
- Joined: 11 Jan 2011, 02:46
- Distribution: XFCE 5.01 x86_64 + 4.0 i586
- Location: Forests of Germany
window title text
Post#11 by Rava » 17 Dec 2022, 15:31
I never use it.
You can create settings/scripts module where you store settings, personal scripts and programs and other additions (best path is in /usr/local/ - e.g. your scripts and programs in /usr/local/bin .
Or when there is a ext[234] partition and your boot medium can symlink to that then you can use $PORTDIR/rootcopy/
I prefer the creation of modules since they work on a backup USB thumbdrive, one as small as 1GB is sufficient for that.
I will soon post my 991-usr_local_bin and 992-rootcopy creation script suite that greatly aids me with that.

Cheers!
Yours Rava
Yours Rava
Rava
coa
- Rava
- Contributor
- Posts: 5424
- Joined: 11 Jan 2011, 02:46
- Distribution: XFCE 5.01 x86_64 + 4.0 i586
- Location: Forests of Germany
window title text
Post#13 by Rava » 17 Dec 2022, 17:56
Since a later loaded module overwrites the settings and files of older loaded modules, I named mine like so:
006-man.xzm (instead of 06-man.xzm, not my module)
985-palemoon-settings--RECENT.xzm
991-usr_local_bin_RECENT.xzm
992-rootcopy_5.0-RECENT.xzm
The files named *RECENT* are symlinks and the real physical file has its creation date in its file name.
I first use a symlink from the boot device (e.g. sda1) to the folder where my modules are, e.g. on sda5 in the folder Porteus_modules/ also to the same filename, e.g. 992-rootcopy_5.0-RECENT.xzm
The reason for that is that I do not need to alter any external boot devices when I use these to load my internal modules, since all first are directed from e.g.
/mnt/sdb1/porteus/base/992-rootcopy_5.0-RECENT.xzm to /mnt/sda5/Porteus_modules/992-rootcopy_5.0-RECENT.xzm
And my make-992-rootcopy.sh script not only creates my 992-rootcopy module but also creates the symlink to its most recent just created version while keeping the older modules as backup.
E.g.:
Code: Select all
root@porteus:/Porteus_modules# ls -o 992-rootcopy_5.0-RECENT.xzm |cut -c 19-
35 2022-12-09 21:13 992-rootcopy_5.0-RECENT.xzm -> 992-rootcopy_5.0_2022-12-09.xzm
The reason is: the module 991-usr_local_bin* is meant to have scripts and programs that will work in any DE imaginable. Therefore there is only one recent 991-usr_local_bin* module that will be used by any DE I could possible load.
The module named 992-rootcopy_5.0* is only meant for the current DE. When I use a different DE the contents of 992-rootcopy_5.0* will change accordingly, but most probably not the name (since I am lazy and usually always use the same XFCE version anyway). Unless I switch more often between DEs then I would add the DE name into it, e.g. like so:
Code: Select all
992-rootcopy_5.0-XFCE4.12-RECENT.xzm
992-rootcopy_5.0-XFCE4.16-RECENT.xzm
992-rootcopy_5.0-LXDE-RECENT.xzm
Code: Select all
root@porteus:/usr/local/bin# ls -o make-99*
-rwxr--r-- 1 root 2939 2022-11-08 21:30 make-991-usr_local_bin.sh
lrwxrwxrwx 1 root 25 2021-02-27 23:06 make-992-rootcopy.sh -> make-991-usr_local_bin.sh
The script is physically only one script, but it looks up if it was started as "make-991-usr_local_bin.sh" or as "make-992-rootcopy.sh" and then acts either in the one way or the other.
Cheers!
Yours Rava
Yours Rava
Rava
coa
- Rava
- Contributor
- Posts: 5424
- Joined: 11 Jan 2011, 02:46
- Distribution: XFCE 5.01 x86_64 + 4.0 i586
- Location: Forests of Germany
window title text
Post#15 by Rava » 17 Dec 2022, 18:45
I will post my module creation suite soon. I think I have to re-write part of the article, I have written it weeks ago already and PM'd it to someone for review, but since it is a bit of a complex script suite I am not sure if I was able to explain everything in an easy to understand way in the current unpublished version of it.
I can PM it to you if you are willing to look it over? When you see no major flaws in how I wrote the article then I will publish it.
Cheers!
Yours Rava
Yours Rava
Rava