The time now is Sun 07 Mar 2021, 20:12
All times are UTC - 4 |
Author |
Message |
James Gryphon
Joined: 25 Jun 2018 Posts: 6
|
Posted: Fri 20 Jul 2018, 18:29 Post subject:
Advanced JWM configuration questions |
|
I'm not sure if this is the right place, so please pardon me if it's the wrong board for this kind of thing.
Some time ago (when I was using Ubuntu MATE), I came up with a design for a desktop and theme, as a kind of art project. I thought it might be interesting to try to adapt some of it to Puppy sometime, but I'm not sure whether JWM is configurable enough to make it up to the task. Here's a snapshot of one of the more recent pictures. Mind you that not everything is perfected, and this isn't a picture of an actual system, just a drawing of one.
I took a preliminary look at JWM to see whether there was a good way to implement some (probably not all) of these kinds of changes. One big thing that is in the way, though, is that I'm not sure there's a way to use a texture or patterns of certain colors, instead of a single solid color, for many of the interface elements. I'm also not totally sure about the clicked/inactive/hover effects for buttons, the drag strip at the bottom-right of the window, or, well, much of any of this.
If there's not really any way to do it in JWM, that's fine. I like the JWM default look well enough. That said, I am curious as to whether IceWM would be better for this kind of thing, and if so, if it's reasonably convenient to change Xenialpup to it without destroying all of my configuration in the process.
|
Back to top
|
|
 |
april
Joined: 14 Sep 2013 Posts: 1241 Location: Green Island baby!
|
Posted: Sat 21 Jul 2018, 03:37 Post subject:
|
|
Hi James
I'm not following you too well .
As far as I know you can download ice in the PPM and use it if you wish
I don't understand though what you want to do with new folders?
You can change the background ,alter the desktop icons , have as many additionsl desktops as you wish so where are you going .
One question I wish answered if you have some experience in window managers is if I start a program at bootup , how can I get it to start on desktop 3 ? It needs to change focus to desktop 3 before the program opens obviously ,but perhaps it might then need to go to desktop 1 to open something else , but it cant until the graphics begin to open at least on desktop 3.
|
Back to top
|
|
 |
bigpup

Joined: 11 Oct 2009 Posts: 13981 Location: S.C. USA
|
Posted: Sat 21 Jul 2018, 16:39 Post subject:
|
|
Always, always tell us what Puppy version you are using??????
Have you tried to use any of the setting options you can find in menu>Desktop>JWMdesk Manager?
This topic in the forum has all kinds of stuff you can add to the options the above offers.
http://www.murga-linux.com/puppy/index.php?f=37&ppage=30&sort=lastpost&order=DESC
Just make sure, anything you download and install, gets put in the correct location, so it shows up in the listed options.
_________________ 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
YaPI(any iso installer)
|
Back to top
|
|
 |
HerrBert
Joined: 03 Nov 2016 Posts: 153 Location: NRW, Germany
|
Posted: Sun 22 Jul 2018, 04:28 Post subject:
|
|
if i understand you right, you want to change buttons, progressbars and so on. jwm only alters windowtitle and taskbar. you are looking for gtk-themes, i guess.
|
Back to top
|
|
 |
jrb

Joined: 11 Dec 2007 Posts: 1539 Location: Smithers, BC, Canada
|
Posted: Sun 22 Jul 2018, 07:55 Post subject:
|
|
april wrote: | One question I wish answered if you have some experience in window managers is if I start a program at bootup , how can I get it to start on desktop 3 ? It needs to change focus to desktop 3 before the program opens obviously ,but perhaps it might then need to go to desktop 1 to open something else , but it cant until the graphics begin to open at least on desktop 3. |
You might try using two scripts, both in /root/Startup
myscript1:
Code: | #!/bin/sh
wmctrl -s 3
myapp1 |
myscript2
Code: | #!/bin/sh
sleep 5
wmctrl -s 1
myapp2 |
where myapp 1&2 are the applications you wish to start. May have to include path, ex: /usr/bin/leafpad
|
Back to top
|
|
 |
MochiMoppel

Joined: 26 Jan 2011 Posts: 2084 Location: Japan
|
Posted: Sun 22 Jul 2018, 10:17 Post subject:
Re: Advanced JWM configuration questions |
|
James Gryphon wrote: | Some time ago (when I was using Ubuntu MATE), I came up with a design for a desktop and theme, as a kind of art project. I thought it might be interesting to try to adapt some of it to Puppy sometime, but I'm not sure whether JWM is configurable enough to make it up to the task. | Desktop would be possible but window elements - as pointed out by HerrBert - would be the job of Gtk themes, not JWM. Close icons on the left though may be impossible. Looks like Windows 3.1
april wrote: | if I start a program at bootup , how can I get it to start on desktop 3 ? It needs to change focus to desktop 3 before the program opens obviously | Obviously? Not if you use JWM's group settings. The program would start in the desired desktop but would not take focus and the desktop would not switch to the desktop of the started program.
|
Back to top
|
|
 |
april
Joined: 14 Sep 2013 Posts: 1241 Location: Green Island baby!
|
Posted: Mon 23 Jul 2018, 07:04 Post subject:
|
|
jrb wrote: |
You might try using two scripts, both in /root/Startup
myscript1:
Code: | #!/bin/sh
wmctrl -s 3
myapp1 |
myscript2
Code: | #!/bin/sh
sleep 5
wmctrl -s 1
myapp2 |
where myapp 1&2 are the applications you wish to start. May have to include path, ex: /usr/bin/leafpad |
Thank you ever so much . I will investigate those .
Thank you too MochiMoppel !
bigpup he says Xenialpup in the first post .
|
Back to top
|
|
 |
MochiMoppel

Joined: 26 Jan 2011 Posts: 2084 Location: Japan
|
Posted: Mon 23 Jul 2018, 08:29 Post subject:
|
|
@april: If you don't use JWM then wmctrl may be your only choice, but you need only 1 script.
Following code will open myapp as any other application you start at bootup, presumably in desktop 1.
It may take a second or even more before the window appears, so let the script take a short nap.
Wmctrl then takes the active window (almost certainly the program you just started) and moves it to desktop 3.
Your current desktop 1 does not change, so there is no need to switch back from 3 to 1.
Code: | #!/bin/bash
myapp &
sleep 1
wmctrl -r :ACTIVE: -t3 | Note that wmctrl counts desktops from 0. Desktop 3 in the example would be Desktop 4 in JWM.
|
Back to top
|
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You cannot attach files in this forum You can download files in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group
|