Found it! JWM glitch solution! (+some thoughts)
Found it! JWM glitch solution! (+some thoughts)
I've managed to find the source of this glitch, in order to fix this remove the "<Tray ... />" entry from the file ~/.jwm/jwmrc-personal and restart JWM. Screenshot without the glitch:
Now, some thoughts The news from March 18 described some bugs of JWM, summary:
1. Glitch - Fixed
2. Taskbar space - Fixed
3. Swallowed being killed - Hopefully fixed
4. JWM crash - Fixed
All fixes will (hopefully) be in the next JWM release (thank you Joe!)! Moreover, I plan to add some features to that release.
Now for the screenshot... three things:
1) As you can see I use the new launcher feature of JWM, I have a Show Desktop button and a Mozilla launcher.
2) I changed my BG to plain dark/blue which IMO clears the desktop (and probably saves some X resources).
3) The desktop icons- I've moved them around a bit, isn't this better? I've renamed some of them, and capitalised all of them. I've added a black outline to all of them.
I suggest that the next Puppy will use JWM's launcher feature, consider a plain background as a default, and clean up the desktop icons.
Now, some thoughts The news from March 18 described some bugs of JWM, summary:
1. Glitch - Fixed
2. Taskbar space - Fixed
3. Swallowed being killed - Hopefully fixed
4. JWM crash - Fixed
All fixes will (hopefully) be in the next JWM release (thank you Joe!)! Moreover, I plan to add some features to that release.
Now for the screenshot... three things:
1) As you can see I use the new launcher feature of JWM, I have a Show Desktop button and a Mozilla launcher.
2) I changed my BG to plain dark/blue which IMO clears the desktop (and probably saves some X resources).
3) The desktop icons- I've moved them around a bit, isn't this better? I've renamed some of them, and capitalised all of them. I've added a black outline to all of them.
I suggest that the next Puppy will use JWM's launcher feature, consider a plain background as a default, and clean up the desktop icons.
[color=#4682B4]Lior Tubi[/color]
- BarryK
- Puppy Master
- Posts: 9392
- Joined: Mon 09 May 2005, 09:23
- Location: Perth, Western Australia
- Contact:
Lior,
A problem!
I've just created a snapshot live-cd, but after JWM (v1.4) was running, the keyboard
was dead.
Well, not quite dead, running rxvt, everytime I pressed a key, the cursor flickered. This was a hint that the keyboard was working but something was
killing the characters.
So, I commented out this line in ~/.jwm/jwmrc-personal:
That fixed it, keyboard now working. Why?
A problem!
I've just created a snapshot live-cd, but after JWM (v1.4) was running, the keyboard
was dead.
Well, not quite dead, running rxvt, everytime I pressed a key, the cursor flickered. This was a hint that the keyboard was working but something was
killing the characters.
So, I commented out this line in ~/.jwm/jwmrc-personal:
Code: Select all
<!-- Key bindings -->
<Key key="Up">up</Key>
<Key key="Down">down</Key>
<Key key="Right">right</Key>
<Key key="Left">left</Key>
<Key key="h">left</Key>
<Key key="j">down</Key>
<Key key="k">up</Key>
<Key key="l">right</Key>
<Key key="Return">select</Key>
<Key key="Escape">escape</Key>
<Key key="F12">root</Key>
<!-- <Key key="Print">exec:mtpaintsnapshot.sh</Key> -->
<Key mask="A" key="Tab">next</Key>
<Key mask="A" key="F4">close</Key>
<Key mask="A" key="F10">maximize</Key>
<Key mask="A" key="F6">minimize</Key>
<Key mask="A" key="#">desktop#</Key>
<Key mask="A" key="F1">root</Key>
<Key mask="A" key="F2">window</Key>
Well, for some reason the directional keys are "grabbed" twice. Does removing only these lines in ~/.jwm/jwmrc-personal fix the problem:
If so then JWM should check for duplicated key bindings and comment out those after the first occurance.
EDIT: After reading the JWM key bindings documentation, now I'm having second thoughts, but do test it. Confusing: The directional keys should not "be intercepted by the window manager" and "it is possible to bind multiple key combinations to the same action" (should be on the same line, then?).
Code: Select all
<Key key="h">left</Key>
<Key key="j">down</Key>
<Key key="k">up</Key>
<Key key="l">right</Key>
EDIT: After reading the JWM key bindings documentation, now I'm having second thoughts, but do test it. Confusing: The directional keys should not "be intercepted by the window manager" and "it is possible to bind multiple key combinations to the same action" (should be on the same line, then?).
Damn, that was one hell of a bug
I spent more than two hours trying to figure out what goes wrong for your system, and why mine works... I renamed pup001 and started a fresh Puppy, the print button stuck the keyboard too. I figured maybe it works for me because I'm using a self-hacked version of JWM, but no! So I returned to 1.4. and 1.4+patch, and 1.5. and 1.5 from the Subversion repos, but grrrr nothing worked! So I read again the code that handles keybindings... nothing seems wrong... damn! I started to freak out! OK, removing everything from .jwmrc except the <key> entry. Trying another keys, they work. Whats wrong with this?! dammmmmmmn!!! Meanwhile somthing went wrong with my ISP, so I can't google it... Returning to Ubuntu, replacing the pup001 with the old one, rebooting. Looking at my old .jwmrc. Starting all over again... Until...
It struck me!! I have a Hebrew keyboard... meaning I have a working Xkb... no wayyyyy that's the solution!!!! Copied the files in order to get a working Xkb, restarted X, and damn, that press on the printscreen never felt better...
Another good reason to include Xkb ahh?
I spent more than two hours trying to figure out what goes wrong for your system, and why mine works... I renamed pup001 and started a fresh Puppy, the print button stuck the keyboard too. I figured maybe it works for me because I'm using a self-hacked version of JWM, but no! So I returned to 1.4. and 1.4+patch, and 1.5. and 1.5 from the Subversion repos, but grrrr nothing worked! So I read again the code that handles keybindings... nothing seems wrong... damn! I started to freak out! OK, removing everything from .jwmrc except the <key> entry. Trying another keys, they work. Whats wrong with this?! dammmmmmmn!!! Meanwhile somthing went wrong with my ISP, so I can't google it... Returning to Ubuntu, replacing the pup001 with the old one, rebooting. Looking at my old .jwmrc. Starting all over again... Until...
It struck me!! I have a Hebrew keyboard... meaning I have a working Xkb... no wayyyyy that's the solution!!!! Copied the files in order to get a working Xkb, restarted X, and damn, that press on the printscreen never felt better...
Another good reason to include Xkb ahh?
[color=#4682B4]Lior Tubi[/color]
OK I calmed down
I'm posting my .jwmrc files. Notes (jwmrc): I removed the xmms thing, it was only an example, and puppy doesn't come with xmms anyway... Added Rxvt launcher after the screenshot. The lancher icons are from http://tango-project.org/ . Changed the clock format after the screenshot, I'm regular to 24h format... Set all the fonts to Lucida Grande. (jwmrc-personal): Three desktops are enough for me, print key.
.jwmrc:
.jwmrc-personal:
I'm posting my .jwmrc files. Notes (jwmrc): I removed the xmms thing, it was only an example, and puppy doesn't come with xmms anyway... Added Rxvt launcher after the screenshot. The lancher icons are from http://tango-project.org/ . Changed the clock format after the screenshot, I'm regular to 24h format... Set all the fonts to Lucida Grande. (jwmrc-personal): Three desktops are enough for me, print key.
.jwmrc:
Code: Select all
<?xml version="1.0"?>
<JWM>
<RootMenu label="Start" labeled="false" height="0">
...
</RootMenu>
<Group>
<Class>Gaim</Class>
<Option>sticky</Option>
</Group>
<!-- Additional tray attributes: autohide, width, border, layer, layout -->
<Tray autohide="false" insert="right" x="0" y="-1" border="1" height="26" >
<!-- Additional TrayButton attribute: label -->
<TrayButton label="Start" icon="start-here.png"/>
<TrayButton popup="Show Desktop" icon="user-desktop.png">showdesktop</TrayButton>
<TrayButton popup="Open Terminal" icon="mini-sh.xpm">exec:rxvt</TrayButton>
<TrayButton popup="Browse" icon="applications-internet.png">exec:/usr/local/bin/defaultbrowser</TrayButton>
<!-- Additional Pager attributes; width, height -->
<Pager/>
<!-- Additional TaskList attribute: maxwidth -->
<TaskList/>
<Dock/>
<!-- Additional Swallow attribute: height -->
<Swallow name="blinky">
blinky -bg "#E0E5E0"
</Swallow>
<Swallow name="xload" width="32">
xload -nolabel -bg "#BCBAB5" -fg red -hl white
</Swallow>
<Clock format=" %H:%M ">xclock</Clock>
</Tray>
<!-- Visual Styles -->
<BorderStyle>
<Font>Lucida Grande-12:regular</Font>
<Width>5</Width>
<Height>20</Height>
<Foreground>black</Foreground>
<Background>#E0E5E0</Background>
<ActiveForeground>white</ActiveForeground>
<ActiveBackground>#4A5966</ActiveBackground>
</BorderStyle>
<TaskListStyle>
<Font>Lucida Grande-12:regular</Font>
<ActiveForeground>white</ActiveForeground>
<ActiveBackground>#8899A6</ActiveBackground>
</TaskListStyle>
<!-- Additional TrayStyle attribute: insert -->
<TrayStyle>
<Font>Lucida Grande-12:regular</Font>
<Background>#E0E5E0</Background>
<Foreground>black</Foreground>
</TrayStyle>
<PagerStyle>
<Outline>black</Outline>
<Foreground>#E0E5E0</Foreground>
<Background>#888888</Background>
<ActiveForeground>#8899AA</ActiveForeground>
<ActiveBackground>#3A4956</ActiveBackground>
</PagerStyle>
<MenuStyle>
<Font>Lucida Grande-12:regular</Font>
<Foreground>black</Foreground>
<Background>#E0E5E0</Background>
<ActiveForeground>white</ActiveForeground>
<ActiveBackground>#3A4956</ActiveBackground>
</MenuStyle>
<PopupStyle delay="600">
<Font>Lucida Grande-10</Font>
<Outline>black</Outline>
<Foreground>black</Foreground>
<Background>yellow</Background>
</PopupStyle>
<Icons>
<IconPath>$HOME/.icons</IconPath>
<IconPath>/usr/local/lib/X11/mini-icons</IconPath>
<IconPath>/usr/local/lib/X11/pixmaps</IconPath>
</Icons>
<StartupCommand>
</StartupCommand>
<!-- Virtual Desktops -->
<!-- Name tags can be contained within Desktops for desktop names. -->
<Desktops count="4"/>
<!-- Double click speed (in milliseconds) -->
<DoubleClickSpeed>400</DoubleClickSpeed>
<!-- Double click delta (in pixels) -->
<DoubleClickDelta>2</DoubleClickDelta>
<!-- The focus model (sloppy or click) -->
<FocusModel>sloppy</FocusModel>
<!-- The snap mode (none, screen, or border) -->
<SnapMode distance="10">border</SnapMode>
<!-- The move mode (outline or opaque) -->
<MoveMode>opaque</MoveMode>
<!-- The resize mode (outline or opaque) -->
<ResizeMode>opaque</ResizeMode>
<!-- Key bindings -->
<Key key="Up">up</Key>
<Key key="Down">down</Key>
<Key key="Right">right</Key>
<Key key="Left">left</Key>
<Key key="h">left</Key>
<Key key="j">down</Key>
<Key key="k">up</Key>
<Key key="l">right</Key>
<Key key="Return">select</Key>
<Key key="Escape">escape</Key>
<Key mask="A" key="Tab">next</Key>
<Key mask="A" key="F4">close</Key>
<Key mask="A" key="#">desktop#</Key>
<Key mask="A" key="F1">root</Key>
<Key mask="A" key="F2">window</Key>
<Include>/root/.jwm/jwmrc-personal</Include>
</JWM>
Code: Select all
<!-- Personally configurable options for JWM: these override default settings and theme settings -->
<JWM>
<!-- Number of virtual desktops -->
<Desktops count="3"/>
<!-- Double click speed (in milliseconds) -->
<DoubleClickSpeed>400</DoubleClickSpeed>
<!-- Double click delta (in pixels) -->
<DoubleClickDelta>2</DoubleClickDelta>
<!-- The focus model (sloppy or click) -->
<FocusModel>click</FocusModel>
<!-- The snap mode (none, screen, or border) -->
<SnapMode distance="10">none</SnapMode>
<!-- The move mode (outline or opaque) -->
<MoveMode>outline</MoveMode>
<!-- The resize mode (outline or opaque) -->
<ResizeMode>outline</ResizeMode>
<!-- Key bindings -->
<Key key="Up">up</Key>
<Key key="Down">down</Key>
<Key key="Right">right</Key>
<Key key="Left">left</Key>
<Key key="h">left</Key>
<Key key="j">down</Key>
<Key key="k">up</Key>
<Key key="l">right</Key>
<Key key="Return">select</Key>
<Key key="Escape">escape</Key>
<Key key="F12">root</Key>
<Key key="Print">exec:mtpaintsnapshot.sh</Key>
<Key mask="A" key="Tab">next</Key>
<Key mask="A" key="F4">close</Key>
<Key mask="A" key="F10">maximize</Key>
<Key mask="A" key="F6">minimize</Key>
<Key mask="A" key="#">desktop#</Key>
<Key mask="A" key="F1">root</Key>
<Key mask="A" key="F2">window</Key>
</JWM>
[color=#4682B4]Lior Tubi[/color]
wow that's great news!
I always use fvwm95 as my window manager but because of the fixes made in jwm, i think i'll make a shift.
[color=blue][i]"If you have knowledge, let others light their candles in it."
~Margaret Fuller[/i][/color]
~Margaret Fuller[/i][/color]
- BarryK
- Puppy Master
- Posts: 9392
- Joined: Mon 09 May 2005, 09:23
- Location: Perth, Western Australia
- Contact:
But I thought the cut-down xkb in 1.0.8r1 is working for standard us layout?lior2b wrote: It struck me!! I have a Hebrew keyboard... meaning I have a working Xkb... no wayyyyy that's the solution!!!! Copied the files in order to get a working Xkb, restarted X, and damn, that press on the printscreen never felt better...
Another good reason to include Xkb ahh?
That's what I've got.
But, I guess there must be something wrong with it.
Actually, I don't think it works at all... X probably fallbacks to it's default US layout (which probably doesn't include the print button)...But I thought the cut-down xkb in 1.0.8r1 is working for standard us layout?
That's what I've got.
But, I guess there must be something wrong with it.
eMeRy, thanks for checking... this feature isn't very important to users who know the screenshot menu entry, but for new users, it is just the expected behaviour...
[color=#4682B4]Lior Tubi[/color]
Yes, I sent it directly to Barry. It is being used in Puppy2alpha-11apr with success.Nathan F wrote:I know this is an old thread, but did we ever get a good, small, working xkb folder?
I'll upload it for you here
Paul
- Attachments
-
- xkb_minimum.tar.gz
- Working minimum xkb folder
- (111.39 KiB) Downloaded 389 times
Methinks Raspberry Pi were ideal for runnin' Puppy Linux