JWMdesk-3.6

Moderator: Forum moderators

geo_c
Posts: 3093
Joined: Fri Jul 31, 2020 3:37 am
Has thanked: 2430 times
Been thanked: 959 times

lxsession to edit colors in theme maker

Post by geo_c »

Don't know if this is the right thread to ask, but I'm trying to tweak a cayan-theme pet, and I have JWM thememaker installed. I can change window and title bar, border colors etc, but not text within windows. When I open the Color menu in GTK it notifies, 'Setting color scheme is not available without lxsession as session manager.'

Do I have lxsession? Or is that another application I need to load?

thanks
~geo

geo_c
Old School Hipster, and Such

User avatar
AntonioPt
Posts: 325
Joined: Wed Aug 11, 2021 7:41 pm
Has thanked: 139 times
Been thanked: 64 times

Re: JWMdesk-3.0

Post by AntonioPt »

Hi radky first of all congratulations for all your hard work

I just updated the JWM and i notice that the script desksetup.sh has some code for nuthing but thats me :)
you created 2 svg files but you all so copy some files, so i wonder why you got it that peace of code :P
Old Version of Clock /usr/local/jwmdesk updates format without no need to reboot and in new version i need to reboot
you need to update the code to eval `gtkdialog -p GUI --center` or eval `gtkdialog --program=GUI --center` in order to update

There may be one or more small issues but cant figureout yet but for now its this :)

Best Regards António

Why astronauts use Linux
Because you can't open windows in space

radky
Posts: 376
Joined: Fri May 28, 2021 2:14 am
Has thanked: 42 times
Been thanked: 342 times

Re: lxsession to edit colors in theme maker

Post by radky »

geo_c wrote: Thu Aug 12, 2021 3:08 am

Don't know if this is the right thread to ask, but I'm trying to tweak a cayan-theme pet, and I have JWM thememaker installed. I can change window and title bar, border colors etc, but not text within windows. When I open the Color menu in GTK it notifies, 'Setting color scheme is not available without lxsession as session manager.'

Do I have lxsession? Or is that another application I need to load?

thanks
~geo

@geo_c,

Trio's JWM thememaker utility is not part of JWMdesk. You might consider posting your request in a separate thread where users of that application could offer advice.

Lxsession is the session manager of lxpanel (not JWM). You will find it lxpanel Pups, such as Peebee's LxPup variations.

Good luck in you quest for the ultimate desktop theme. :thumbup:

PupMates
https://www.smokey01.com/radky/PupMates.html

Last edited by radky on Thu Oct 21, 2021 5:47 pm, edited 1 time in total.
radky
Posts: 376
Joined: Fri May 28, 2021 2:14 am
Has thanked: 42 times
Been thanked: 342 times

Re: JWMdesk-3.0

Post by radky »

AntonioPt wrote: Thu Aug 12, 2021 4:00 am

Hi radky first of all congratulations for all your hard work

I just updated the JWM and i notice that the script desksetup.sh has some code for nuthing but thats me :)
you created 2 svg files but you all so copy some files, so i wonder why you got it that peace of code :P
Old Version of Clock /usr/local/jwmdesk updates format without no need to reboot and in new version i need to reboot
you need to update the code to eval `gtkdialog -p GUI --center` or eval `gtkdialog --program=GUI --center` in order to update

There may be one or more small issues but cant figureout yet but for now its this :)

Best Regards António

@AntonioPt,

Thanks for your comments.

The desksetup.sh utility automatically creates the two main svg images displayed on tab-1 and tab-2. One of those files (deskicons.svg) is then symlinked to the appropriate system icon path: /usr/share/icons/hicolor/48x48/apps/. From this location the icon can be called and used for the title-bar icon (left upper corner).

The JWMclock module of JWMdesk-3.X is for JWM only, and it updates the clock by changing the strftime string in the XML code of the jwm tray, followed by the 'jwm -restart' command to refresh the time display. Rebooting is not required. The initial position of the graphical interface in the screen 'center' is determined by the 'window-position' parameter. The legacy 'GUI -center' parameter is not required for GUI placement and it has no impact on the clock format. If you require greater control of the clock font attributes (color, size and style), the legacy PupClockset utility may be of interest (see PupMates).

I hope this helps.

PupMates
https://www.smokey01.com/radky/PupMates.html

Last edited by radky on Thu Oct 21, 2021 5:47 pm, edited 1 time in total.
radky
Posts: 376
Joined: Fri May 28, 2021 2:14 am
Has thanked: 42 times
Been thanked: 342 times

Re: JWMdesk-3.1

Post by radky »

JWMdesk-3.1

See first and second posts.

PupMates
https://www.smokey01.com/radky/PupMates.html

Last edited by radky on Thu Oct 21, 2021 5:47 pm, edited 1 time in total.
hundido
Posts: 221
Joined: Tue Jun 15, 2021 7:51 am
Has thanked: 118 times
Been thanked: 7 times

Re: JWMdesk-3.1

Post by hundido »

Thank you for all your work on this, radky. It has some cool options, and I especially appreciate your attention to tint.

My low vision issues make me find problems that are only problems for a few of us.

I'm using my Lenovo Thinkpad to test this.

Here's a pic of what happens to the tint after I put the redshift on in Fossapup64, for reasons I can show you in the next pic):

redshift trying to find sct in Display Control.png
redshift trying to find sct in Display Control.png (231.22 KiB) Viewed 8807 times

The other problem, was with the toggles inside of the xrandr, none of it changed the whites. Everything turned sepia except the color white, which remained a painfully bright white. The next pic is of the color change, using the Display Control (I killed redshift), where I cannot figure out how to make the whites less painful:

JWMDesktopTint.png
JWMDesktopTint.png (239.03 KiB) Viewed 8807 times

I wonder how well you can see the differences in tint from the screen shots? It's hard for me to see in preview, but then I'm looking through one tint or the other.

Thank you again for all you do, and sorry to have such difficult eyes, but those are the challenges for me.

williams2
Posts: 1070
Joined: Sat Jul 25, 2020 5:45 pm
Been thanked: 306 times

Re: JWMdesk-3.1

Post by williams2 »

The first thing to adjust to get a good picture is the backlight.

If the backlight is too bright the picture will be unpleasant. No settings of the gamma will be satisfactory.

For an external flat screen monitor, the backlight can be adjusted in the monitor's configuration menu.

For a laptop, you can adjust the brightness of the backlight using brightness-set
For example, brightness-set 8
Or you can use an app like adjbacklight

For an external monitor, you can then adjust the white level and the black level.
Sometimes the white level is labelled contrast and the black level is labelled brightness.
Sometimes the contrast and brightness are true contrast and brightness controls.
Most people adjust the white level much too bright and the black level much too black.

Only after adjusting the backlight properly should you adjust the gamma. Redshift, xgamma, and xrandr adjust the gamma.

The only way to adjust painfully bright whites is to adjust the backlight brightness.

PS I don't like redshift, I never use it.

radky
Posts: 376
Joined: Fri May 28, 2021 2:14 am
Has thanked: 42 times
Been thanked: 342 times

Re: JWMdesk-3.1

Post by radky »

Hi hundido,

The following excerpt is Note-3 from the second post of this thread, describing how the xrandr and sct utilities are implemented in the 'Display Control' module of JWMdesk.

Note-3: Display Control calls xrandr or (optionally) an enhanced version of sct to adjust the screen color temperature and brightness. If sct is installed, a toggle button is available to switch between the xrandr and sct interfaces, each providing unique advantages for improved screen viewing. For example, the xrandr interface provides greater contrast and color saturation at lower temperatures, while the sct interface provides the sepia effect of color warmth reminiscent of vintage photographs. Additionally, for multi-monitor configurations, the xrandr interface supports independent settings for each screen while the sct interface iterates identical settings for all screens simultaneously. Importantly, xrandr and sct do not change the actual backlight intensity, rather the observed screen appearance represents software modulation of available light.

If you choose to install the sct utility, there are important caveats. The original release of the sct utility by Ted Unangst has a singular function - to change the screen color temperature via the RandR X window system protocol. However, Display Control requires an updated version of sct (with code from the mgudemann, faf0 and mfachal forks). Specifically, this updated version of sct adds (1) screen brightness control and (2) multi-monitor support and (3) baseline adjustment of color temperatures in smooth 100K increments rather than the original coarse 500K increments. The updated 32-bit and 64-bit sct binaries for Display Control are available in the first post above.

In the xrandr and sct interfaces of Display Control, the selected color temperature values in Degrees Kelvin and the corresponding light intensity values are accessible in hscale slider widgets which are easily navigated. If you prefer single-click profiles to quickly adjust the screen tint and brightness please go to the Presets Option where you will find multiple preconfigured viewing profiles plus a custom option for your favorite profile. Since xrandr does not directly modify the tint of pure white backgrounds, the lower preset values for brightness are particularly useful at night to reduce the screen intensity of application windows that may appear bright white when viewed in some GTK themes.

Alternatively, Display Control provides a useful laptop hardware option (Screen Backlight) to change brightness of the primary screen through /sys/class/backlight (not for external screens in a multi-monitor configuration). When launched, Display Control checks the contents of /sys/class/backlight and if supporting files are not found the Screen Backlight option is not included in the GUI. The default script (brightness-set) which mediates backlight brightness control is courtesy of James Budiono of Fatdog Linux. If you require an alternate mediator of backlight control, the optional and versatile brightnessctl utility (if installed) will integrate seamlessly with Display Control. Please be aware, the new non-Xorg Xwayland Pups of Woof-CE do not support modulation of screen color temperature via xrandr or sct. Consequently, in this scenario the Display Control interface will exclude those options but will provide the option to control (laptop) backlight intensity.

The software (Tint and Brightness) and hardware (Screen Backlight) options can be used simultaneously but many users will choose one option and set the other option to a baseline neutral state (6500K and 100% for color temperature and brightness respectively).

Your screenshot above shows you have selected the 'Xrandr' interface for control of tint and brightness. Since the tint slider control of xrandr does not directly modify the tint of pure white backgrounds, the residual bright sreen intensity may be uncomfortable for those with sensitive vision. You can use the brightness slider control to reduce the screen intensity of application windows that may appear bright white, but this represents software modulation of light intensity and the effect may not be sufficient for sensitive eyes. For this reason, some users may prefer the 'Sct' interface to control screen tint and brightness, but this requires the modified version of sct which is available for download in the first post of this thread. After the modified sct utility is installed, the GUI of Display Control will show a toggle button which you can use to switch quickly between the xrandr and sct interfaces for control of screen tint and brightness.

If the software modulation of tint and brightness by xrandr and/or sct proves insufficient for your needs, please use the backlight slider control (if available) to adjust the actual intensity of the screen backlight. This option uses the brightness-set utility of James Budiono to directly modify light intensity. In this scenario you can use the tint control of 'Display Control' to decrease the screen color temperature for less blue light and improved sleep. At the same time, you can use the backlight control to decrease the overall backlight screen intensity for less of the painfully bright white.

Please see the third post of this thread for a simple graph that depicts the relationship between screen color temperature and the intensity of blue light that may impact our sleep-wake cycles.

Display Control and Screen Tint
viewtopic.php?p=32277&sid=0c48d885a0b0f ... 74f#p32277

PupMates
https://www.smokey01.com/radky/PupMates.html

Last edited by radky on Thu Oct 21, 2021 5:48 pm, edited 1 time in total.
geo_c
Posts: 3093
Joined: Fri Jul 31, 2020 3:37 am
Has thanked: 2430 times
Been thanked: 959 times

Re: JWMdesk-3.1

Post by geo_c »

I have a feeling that this version 3.1 of JWMdesk is more recent than the one I have pre-installed on @puddlemoon's jackalpup. If I install this new pet, will it update, or instead potentially break my current install?

geo_c
Old School Hipster, and Such

radky
Posts: 376
Joined: Fri May 28, 2021 2:14 am
Has thanked: 42 times
Been thanked: 342 times

Re: JWMdesk-3.1

Post by radky »

Hi geo_c,

Installing newer versions of JWMdesk will update old files and add a few new files.

JWMdesk no longer includes companion Pupmates such as PupControl (available as separate download).

The next release (JWMdesk 3.2) will be available in a few days.

PupMates
https://www.smokey01.com/radky/PupMates.html

Last edited by radky on Thu Oct 21, 2021 5:48 pm, edited 1 time in total.
radky
Posts: 376
Joined: Fri May 28, 2021 2:14 am
Has thanked: 42 times
Been thanked: 342 times

Re: JWMdesk-3.2

Post by radky »

JWMdesk-3.2

See first and seconds posts.

PupMates
https://www.smokey01.com/radky/PupMates.html

Last edited by radky on Thu Oct 21, 2021 5:49 pm, edited 1 time in total.
geo_c
Posts: 3093
Joined: Fri Jul 31, 2020 3:37 am
Has thanked: 2430 times
Been thanked: 959 times

Re: JWMdesk-3.2

Post by geo_c »

I've got JWMdesk-3.2 running on Fossapup, and Jackalpup, along with the tint control app, which is really helpful on my laptop monitor that never seems to be quite right compared to an external hdmi monitor.

geo_c
Old School Hipster, and Such

radky
Posts: 376
Joined: Fri May 28, 2021 2:14 am
Has thanked: 42 times
Been thanked: 342 times

Re: JWMdesk-3.2

Post by radky »

@geo_c

Thanks for the report, and thanks for testing the JWMdesk screen control module.

PupMates
https://www.smokey01.com/radky/PupMates.html

Last edited by radky on Thu Oct 21, 2021 5:49 pm, edited 1 time in total.
hundido
Posts: 221
Joined: Tue Jun 15, 2021 7:51 am
Has thanked: 118 times
Been thanked: 7 times

Re: JWMdesk-3.2

Post by hundido »

Thank you for your replies, radky and williams2.

I'm not understanding if sct, in the gui, is controlled by the slider labelled "tint", which I see in my screenshot under the Xrandr, or if there's supposed to be a tab between Xrandr and Screensaver that I don't have. When I click on the sct binaries to try to install them again, my system tells me I already have them installed.

I tried on my Lenovo Thinkpad with Fossapup64, and I tried on a Acer Aspire 5738 using Xenial64.

Is Fossapup an xwayland and not xorg pup, because the note said tint won't work in xrandr or sct in xwayland pups, if I understood? If that's what's happening, do you know what is the newest pup sct would work in?

Could someone please post a screenshot highlighting where the sct gui is? I feel like I'm missing something.

radky
Posts: 376
Joined: Fri May 28, 2021 2:14 am
Has thanked: 42 times
Been thanked: 342 times

Re: JWMdesk-3.2

Post by radky »

Hi hundido,

Thanks for your question.

hundido wrote:

I'm not understanding if sct, in the gui, is controlled by the slider labelled "tint", which I see in my screenshot under the Xrandr, or if there's supposed to be a tab between Xrandr and Screensaver that I don't have. When I click on the sct binaries to try to install them again, my system tells me I already have them installed.

The Xrandr and Sct tabs of the Display Control module are not available at the same time.

Xrandr is the default GUI interface for 'Display Control' as shown in the first screenshot below. After the optional Sct binary is installed you will see a 'toggle' button (also shown in the first screenshot below).

Click the toggle button to switch between the Xrandr and Sct interfaces. After switching to the Sct interface, the GUI will appear as you see in the second sreenshot below.

Both GUI interfaces (Xrandr or Sct) will have the tint and brightness slider widgets to control the screen color temperature and light intensity respectively. If the Xrandr interface does not produce a comfortable screen appearance, then you could toggle (switch) to the Sct interface to adjust the screen appearance in a manner identical to the sepia effect of the popular Redshift utility. Please see the third post of this thread to better understand the relationship between screen color temperature and the visible light spectrum.

If Xrandr or Sct do not produce the desired screen appearance, the following may be helpful. If the laptop supports hardware backlight control, then please set the Tint and Brightness slider widgets of 'Display Control' to neutral positions (tint = 6500K, brightness = 100) and use the Backlight option to adjust the (hardware) light intensity of the laptop screen. Alternatively, for external monitors, some users may prefer the available manual controls for adjustment of screen brightness and contrast.

hundido wrote:

Is Fossapup an xwayland and not xorg pup, because the note said tint won't work in xrandr or sct in xwayland pups, if I understood? If that's what's happening, do you know what is the newest pup sct would work in?

At this time, all legacy Pups (including your installations of Xenialpup64 and fossapup64) use Xorg for the display server. Both Xrandr and Sct are fully functional in Xorg-based Pups. Please keep in mind, the installed Sct binary must be the one available in the first post of this thread.

On the other hand, new Woof-CE Pups (such as Vanilla Dpup) are currently evolving and available for testing but are not yet official releases. These Pups of the future have many new features including the replacement of Xorg with a different display server (Cage compositor running Xwayland).

Xwayland does not support xrandr or sct modulation of screen tint and brightness. In this scenario, only the Backlight option of 'Display Control' is available for the adjustment of screen illumination. However, for those who prefer Xorg, our Woof-CE devs have provided an option to toggle (switch) between the Xwayland and legacy Xorg display servers. This convenient option will ease the switch to Xwayland, if and when Puppy Linux officially transitions to Xwayland.

I hope this helps. :)

PupMates
https://www.smokey01.com/radky/PupMates.html

Attachments
Xrandr.png
Xrandr.png (28.21 KiB) Viewed 8788 times
Sct.png
Sct.png (25.14 KiB) Viewed 8788 times
hundido
Posts: 221
Joined: Tue Jun 15, 2021 7:51 am
Has thanked: 118 times
Been thanked: 7 times

Re: JWMdesk-3.2

Post by hundido »

radky,

Thanks so much for the screenshots and extra instruction. My problem was I didn't figure out that was the toggle button until I saw your labeled screenshot. I have sct set to about 1800 and it is wonderful. Thank you, thank you for that visual magic that makes it possible for me to play with puppies.

All the gratitude,

geo_c
Posts: 3093
Joined: Fri Jul 31, 2020 3:37 am
Has thanked: 2430 times
Been thanked: 959 times

Re: JWMdesk-3.2

Post by geo_c »

hundido wrote: Fri Oct 22, 2021 5:34 am

radky,

Thanks so much for the screenshots and extra instruction. My problem was I didn't figure out that was the toggle button until I saw your labeled screenshot. I have sct set to about 1800 and it is wonderful. Thank you, thank you for that visual magic that makes it possible for me to play with puppies.

All the gratitude,

Same here! My pup has never looked better than it does now!

geo_c
Old School Hipster, and Such

radky
Posts: 376
Joined: Fri May 28, 2021 2:14 am
Has thanked: 42 times
Been thanked: 342 times

Re: JWMdesk-3.3

Post by radky »

JWMdesk-3.3

See first and seconds posts.

PupMates
https://www.smokey01.com/radky/PupMates.html

geo_c
Posts: 3093
Joined: Fri Jul 31, 2020 3:37 am
Has thanked: 2430 times
Been thanked: 959 times

Re: JWMdesk-3.3

Post by geo_c »

radky wrote: Sat Nov 20, 2021 5:46 am

JWMdesk-3.3

See first and seconds posts.

PupMates
https://www.smokey01.com/radky/PupMates.html

Thanks! JWMdesk-3.3 seems to have cleared up an issue that I was experiencing on my Fossapup64-proper install which was not occurring on my Jackalpup re-master. The inactive window transparency was not able to turn off. No matter how I set in picom window effects, the inactive windows were still transitioning to semi-transparent. Installing JWM-3.3 has solved the problem.

JWM-3.3 seems to be running very well in both installs.

geo_c
Old School Hipster, and Such

radky
Posts: 376
Joined: Fri May 28, 2021 2:14 am
Has thanked: 42 times
Been thanked: 342 times

Re: JWMdesk-3.3

Post by radky »

@geo_c wrote:

JWM-3.3 seems to be running very well in both installs.

Thanks for testing the new release. Your report is very much appreciated!

PupMates
https://www.smokey01.com/radky/PupMates.html

radky
Posts: 376
Joined: Fri May 28, 2021 2:14 am
Has thanked: 42 times
Been thanked: 342 times

Re: JWMdesk-3.5

Post by radky »

JWMdesk-3.5

See first and second posts.

PupMates
https://www.smokey01.com/radky/PupMates.html

User avatar
mikeslr
Posts: 3135
Joined: Mon Jul 13, 2020 11:08 pm
Has thanked: 183 times
Been thanked: 1013 times

Re: JWMdesk-3.5

Post by mikeslr »

Read your Changelog, viewtopic.php?p=32276#p32276. :thumbup: Wow :!: You've been busy. Great work. :D

User avatar
josejp2424
Posts: 264
Joined: Sun Jul 12, 2020 11:40 pm
Has thanked: 274 times
Been thanked: 172 times

Re: JWMdesk-3.5

Post by josejp2424 »

radky wrote: Thu Mar 17, 2022 1:31 pm

JWMdesk-3.5

See first and second posts.

PupMates
https://www.smokey01.com/radky/PupMates.html

excellent and upgrading my jwmdeskt-3.3
gracias @radky

radky
Posts: 376
Joined: Fri May 28, 2021 2:14 am
Has thanked: 42 times
Been thanked: 342 times

Re: JWMdesk-3.5

Post by radky »

@mikeslr,

Yes, the changelog for JWMdesk-3.5 describes some of the fixes and new features, especially for the Theme Manager module. Thank you for testing this release. :)

---

@josejp2424,

Thanks for upgrading to JWMdesk-3.5. By the way, your Devuanpup and Dpup releases are very good and JWMdesk integrates nicely with both.

PupMates
https://www.smokey01.com/radky/PupMates.html

radky
Posts: 376
Joined: Fri May 28, 2021 2:14 am
Has thanked: 42 times
Been thanked: 342 times

Re: JWMdesk-3.5.1

Post by radky »

JWMdesk-3.5.1

See first and second posts.

PupMates
https://www.smokey01.com/radky/PupMates.html

radky
Posts: 376
Joined: Fri May 28, 2021 2:14 am
Has thanked: 42 times
Been thanked: 342 times

Re: JWMdesk-3.5.2

Post by radky »

JWMdesk-3.5.2

See first and second posts.

PupMates
https://www.smokey01.com/radky/PupMates.html

radky
Posts: 376
Joined: Fri May 28, 2021 2:14 am
Has thanked: 42 times
Been thanked: 342 times

Re: JWMdesk-3.5.4

Post by radky »

JWMdesk-3.5.4

See first and second posts.

PupMates
https://www.smokey01.com/radky/PupMates.html

geo_c
Posts: 3093
Joined: Fri Jul 31, 2020 3:37 am
Has thanked: 2430 times
Been thanked: 959 times

Re: JWMdesk-3.5.4

Post by geo_c »

radky wrote: Wed May 25, 2022 3:36 am

JWMdesk-3.5.4
PupMates
https://www.smokey01.com/radky/PupMates.html

I installed 3.5.4 and curiously I don't know how to access the gui that gives me a choice of my saved JWM themes, so that I can switch from one to the other. I have a script to do that manually, copying my theme rc's to the current rc, but there used to be gui window to that showed the menu.png and window-button.png. Is that still available on my system somewhere?

I'm on Fossapup64

Thanks!

geo_c
Old School Hipster, and Such

radky
Posts: 376
Joined: Fri May 28, 2021 2:14 am
Has thanked: 42 times
Been thanked: 342 times

Re: JWMdesk-3.5.4

Post by radky »

@geo_c,

For access to the Legacy JWM Theme Switcher, please go to the button shown by the red marker in the attached image-1.

The GUI of the JWM theme switcher no longer requires the original png images of the menu and window-button graphics. Rather the GUI automatically generates svg images from the hexadecimal color code of each JWM theme. See image-2 below.

Thanks for your question.

PupMates
https://www.smokey01.com/radky/PupMates.html

Attachments
image-1.png
image-1.png (21.57 KiB) Viewed 4958 times
image-2.png
image-2.png (42.43 KiB) Viewed 4958 times
backi
Posts: 627
Joined: Thu Jul 23, 2020 2:28 pm
Has thanked: 100 times
Been thanked: 78 times

Re: JWMdesk-3.5.4

Post by backi »

@radky :

Fantastico :thumbup: :thumbup: :thumbup:

Post Reply

Return to “Desktop”