WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: 14.x X86 (TC32) pending icewm changes  (Read 3697 times)

aus9

  • Guest
14.x X86 (TC32) pending icewm changes
« on: August 23, 2023, 08:48:44 AM »
Hi

Not yet submitted so friendly warning for some changes in updating icewm for 14.x
There are changes to some themes. I am going to keep all themes in TC32 unlike my rudeness in TC64 forcing some to load an theme TCE.
Members may need to check Apps for the new list of themes and decide whether to make a backup of any missing theme they are currently using please.

icewm has improved its menu - desktop handling such that it now looks good as per image
https://imgur.com/VOdbqg2

My info file will remind you....just like TC64 that icewm uses this order to rule the world
prefoverride over theme over preferences

So on TC32 using the nanoblue theme....to over ride the blue background my prefoverride file reads as
Quote
DesktopBackgroundCenter=1
DesktopBackgroundImage="/home/tc/2wallpaper/cat-lick.jpeg"
The top line rescales quite a large image

Note that you can now use your mouse to change just about every preferences, as long as you remember
settings -> preferences -> save modifications
exittc and startx may be required for some things

Changing keyboard combinations is live by holding down logo key and press r

I will not be submitting for at least a week or more so plenty of time for you to make backups of your settings and or themes

full list of new TCE themes
win95 motif default Helix icedesert NanoBlue (see link) ...CrystalBlue metal2 & Infadel2 has 2 variants

Infadel2 - overloaded variant now offers rollup of App so too does default

And we will a locale TCE too

Good luck
« Last Edit: August 23, 2023, 08:51:11 AM by aus9 »

aus9

  • Guest
Re: 14.x X86 (TC32) pending icewm changes
« Reply #1 on: August 25, 2023, 01:43:46 AM »
test 2......good and bad news

I have traditionally on TC64 not been able to get into any libX desktop. Feel free to blame me.
I now use readelf with a grep command to look for elf file dependencies that are needed and I now have a desktop that kind of runs okish without Xorg-7.7

dep list is (subject to change)
Quote
fribidi.tcz
imlib2.tcz
libXpm.tcz
libXinerama.tcz
libXft.tcz
libXrandr.tcz
libXcomposite.tcz
libXdamage.tcz
libSM.tcz.tcz
libICE.tcz.tcz
lxterminal.tcz
adwaita-icon-theme.tcz
gtk-update-icon-cache.tcz
dejavu-fonts-ttf.tcz

First here is proof I am not on Xorg
Code: [Select]
tc@box:~$ inxi -Gxxx
Graphics:
  Device-1: AMD driver: N/A arch: GCN-5 pcie: speed: 8 GT/s lanes: 16
    bus-ID: 26:00.0 chip-ID: 1002:15d8 class-ID: 0300
  Display: server: TinyX Xvesa v: 1.3 driver: vesa display-ID: :0.0
    resolution: no Xvesa data
  API: VBE v: 3.0 source: AMD ATOMBIOS dac: fixed controller: VGA compatible
    ram: 48 MiB
tc@box:~$

Now the bad news.....none of my desktop shortcuts from the "keys" file I will inject into your $HOME/.icemwm/keys..... work.

They only work if I load Xorg-7.7 (untested the 3d)

So I will wait to see if anyone cares?

Either I submit above dep file and mention in the info file to load Xorg if you need kb shortcuts
or I re-name the comments to say its a Xorg desktop similar to TC64?

I am fine if no-one uses it or no-one replies with their thoughts.
I am aware I am supposed to offer the least number of dependencies, but suggest the least number that gives you the benefits of icewm


thanks for reading
« Last Edit: August 25, 2023, 01:47:31 AM by aus9 »

Offline Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11656
Re: 14.x X86 (TC32) pending icewm changes
« Reply #2 on: August 25, 2023, 09:09:02 AM »
Hi aus9
... now have a desktop that kind of runs okish without Xorg-7.7 ...
 ----- Snip -----
 ... none of my desktop shortcuts from the "keys" file I will inject into your $HOME/.icemwm/keys..... work.

They only work if I load Xorg-7.7 ...
Do the shortcuts work if you use  Xfbdev.tcz ?


aus9

  • Guest
Re: 14.x X86 (TC32) pending icewm changes
« Reply #3 on: August 25, 2023, 10:02:38 AM »
Hi Rich no do not get there
loading Xfbdev, changes /etc/sysconfig/xserver and ~/.xsession
failed in waitforX

so a trick Juanito asked for a different bork I tried just the top line of .xession at the console prompt
Code: [Select]
Xfbdev -mouse /dev/input/mice,5 -nolisten tcp -I

fatal server error 
no screens found
.

I am not fussed by this....maybe others will get kb combos working but I have an AMD APU that has already been problematic for me trying xbase.lst etc


trivia
I have kept backups of my .xsession files which are for Vesa, Xorg and Xfbdev

Offline jazzbiker

  • Hero Member
  • *****
  • Posts: 934
Re: 14.x X86 (TC32) pending icewm changes
« Reply #4 on: August 25, 2023, 10:41:17 AM »
Hi aus9,

I'm on AMD APU now under Core64 14.0, writing this post with seamonkye-noSSE2 over Xfbdev.

aus9

  • Guest
Re: 14.x X86 (TC32) pending icewm changes
« Reply #5 on: August 25, 2023, 09:48:02 PM »
hi jazzbiker
Are you willing to try out existing TCE for icewm?
if so create a keys file (add more if you like it )

Code: [Select]
mkdir $HOME/.icewm
echo '# Super = Windows logo key on US kb, some other keynames include
# Alt Ctrl -- Note capitals where applicable
# Below are user defined
# files are /usr/local/share/icewm/keys or $HOME/.icemwm/keys

key "Super+Enter" aterm
key "Super+a" apps
key "Super+r" icewm -r
key "Super+s" seamonkey' > $HOME/.icemwm/keys

exit to prompt then startx
the restart is required for icewm to use whatever we define the refresh "key" for which I am using r
this is only needed once.....after that you can add new keys and refresh while in icewm,
if you are so inclined.  ;D

Please report if keys works for you on Xfbdev. No matter whether you have time or not, I think I will now go down path of leaving Xorg out of dep list and name it in the info file.

thanks

trivia
I tried loading libxkbcommon to see if I could get keys to work on vesa.....nope
« Last Edit: August 25, 2023, 09:52:55 PM by aus9 »

Offline jazzbiker

  • Hero Member
  • *****
  • Posts: 934
Re: 14.x X86 (TC32) pending icewm changes
« Reply #6 on: August 26, 2023, 01:45:36 AM »
Hi aus9!

For me $HOME/.icewm/keys works.
Code: [Select]
tc@box:~$ cat .icewm/keys
key "Alt+a" apps
key "Alt+Enter" aterm
tc@box:~$ uname -a
Linux box 6.1.2-tinycore64 #612 SMP Mon Jan  2 17:24:30 UTC 2023 x86_64 GNU/Linux
tc@box:~$ . /etc/init.d/tc-functions
tc@box:~$ getBuild
x86
tc@box:~$ cat /etc/sysconfig/Xserver
Xfbdev
tc@box:~$ cat /etc/sysconfig/desktop
icewm-session

EDIT: if I logout with icewm menu the X server remains running and Ctrl-Backspace is necessary to leave X. Is it normal?
« Last Edit: August 26, 2023, 02:10:03 AM by jazzbiker »

aus9

  • Guest
Re: 14.x X86 (TC32) pending icewm changes
« Reply #7 on: August 26, 2023, 07:36:50 AM »
my fault Idid not give you an exittc key.
here is my actual file
Quote
# Super = Windows logo key on US kb, some other keynames include
# Alt Ctrl -- Note capitals where applicable
# IceWM system key defs located at menu or context menu for Preferences -> key (something)
# Below are user defined
# files are /usr/local/share/icewm/keys or $HOME/.icemwm/keys

key "Super+Enter" lxterminal
key "Super+a" apps
key "Super+c" cpanel
key "Super+e" exittc
key "Super+f" fox
key "Super+h" lxterminal -e htop
key "Super+l" leafpad
key "Super+m" mtpaint
key "Super+p" pcmanfm
key "Super+v" vlc3
key "Super+2" aterm -fn 12x24
key "Super+r" icewm -r

not all are downloaded or loaded

OK thanks for the test. I will mention Xorg and Xfbdev in the info file
« Last Edit: August 26, 2023, 07:42:04 AM by aus9 »

Offline jazzbiker

  • Hero Member
  • *****
  • Posts: 934
Re: 14.x X86 (TC32) pending icewm changes
« Reply #8 on: August 26, 2023, 08:18:01 AM »
Hi aus9,

By the way as You may have noticed I used Alt instead of Super, because on one of my boxes Super was not acting as modifier but simply was sending 0 keystroke to stdin. Both under Xfbdev and Xorg. I never used this key and it was predictable that it will cause problems :-) Is it kind of default for icewm?

aus9

  • Guest
Re: 14.x X86 (TC32) pending icewm changes
« Reply #9 on: August 26, 2023, 08:48:55 AM »
No. Its the personal preference of whoever the maintainer is.
On TC64 I used logo key as I do not use it for things while I use
Control, Shift keys for the things you know.

The idea is you can edit to suit, as it will be a read-writeable file.
But now I know you have an issue, I will add a comment to the info file.
AFAIK no bug report was reported to forum for the TC64 variant so I assumed all was good. For me, I had wbar loaded until I tested my keys. So hopefully I did not cause you too much mischief  :)

Thanks for reporting

BTW I assumed you either did a full reboot or exit to prompt to allow icewm find that new key file?
« Last Edit: August 26, 2023, 08:51:06 AM by aus9 »

Offline jazzbiker

  • Hero Member
  • *****
  • Posts: 934
Re: 14.x X86 (TC32) pending icewm changes
« Reply #10 on: August 26, 2023, 12:21:03 PM »
BTW I assumed you either did a full reboot or exit to prompt to allow icewm find that new key file?

I followed Your advice and exited to prompt. But now I tested "Restart Icewm" in the "Logout" menu - it catches created new $HOME/.icewm/keys file too.

By the way, Super key alone envokes icewm menu and I don't see it in /usr/local/share/icewm/keys or in one of another /usr/local/share/icewm/* files. Super key seems to be hardwired to the icewm menu.

Offline jazzbiker

  • Hero Member
  • *****
  • Posts: 934
Re: 14.x X86 (TC32) pending icewm changes
« Reply #11 on: August 26, 2023, 02:32:48 PM »
Hi aus9,

Isn't it possible that icewm failure under Xvesa is caused by the ambiguous Super key behaviour? In Your example of the keys file all the shortcuts include Super modifier. Isn't it worth trying icewm under Xvesa using another modifier keys in the keys file?

aus9

  • Guest
Re: 14.x X86 (TC32) pending icewm changes
« Reply #12 on: August 27, 2023, 12:09:46 AM »
Hi jazzbiker

Firstly on TC64 if I hold down the logo key and release....pressing no other keys....it brings up the menu key as per your great observations.
But If I input logo key and a letter....kb shortcuts work exactly like TC32.....this is why I made my keys file the way it was until your testing

2) on TC32 I then attempted to change all keys to use Alt rather than logo and still fail
I have a Ryzen 3 Vega 8 zen+ AMD APU and maybe that makes difference to you having a desktop with Xfbdev and me without.

b) I still can not get Alt + my other key to work on Vesa

But I am not a coder and ponder below but am no wiser.....it looks like hard coding but does not give a value or keymap etc
Code: [Select]
tc@box:/tmp/tcloop/icewm/usr/local/bin$ strings icewm | grep Alt
13CtrlAltDelete
ModSuperIsCtrlAlt
TimeFormatAlt
Alt+Ctrl+h
Alt+Ctrl+d
Alt+Shift+F7
Alt+Shift+F11
Alt+Shift+F9
Alt+Shift+F8
Alt+Shift+F5
Alt+Shift+F4
Alt+Shift+F3
Alt+Shift+F2
Alt+Ctrl+Shift+equal
Alt+Ctrl+Shift+minus
Alt+Ctrl+Shift+0
Alt+Ctrl+Shift+9
Alt+Ctrl+Shift+8
Alt+Ctrl+Shift+7
Alt+Ctrl+Shift+6
Alt+Ctrl+Shift+5
Alt+Ctrl+Shift+4
Alt+Ctrl+Shift+3
Alt+Ctrl+Shift+2
Alt+Ctrl+Shift+1
Alt+Ctrl+equal
Alt+Ctrl+minus
Alt+Ctrl+0
Alt+Ctrl+9
Alt+Ctrl+8
Alt+Ctrl+7
Alt+Ctrl+6
Alt+Ctrl+5
Alt+Ctrl+4
Alt+Ctrl+3
Alt+Ctrl+2
Alt+Ctrl+1
Alt+Ctrl+Shift+Down
Alt+Ctrl+Shift+Right
Alt+Ctrl+Shift+Left
Alt+Ctrl+Down
Alt+Ctrl+Right
Alt+Ctrl+Left
Alt+Ctrl+Space
Alt+Ctrl+Esc
Alt+Ctrl+Del
Alt+Shift+Esc
Alt+Esc
Alt+grave
Alt+Shift+Tab
Alt+Tab
Alt+Space
Ctrl+Alt+Shift+KP_Begin
Ctrl+Alt+KP_Begin
Ctrl+Alt+KP_Home
Ctrl+Alt+KP_Left
Ctrl+Alt+KP_End
Ctrl+Alt+KP_Down
Ctrl+Alt+KP_Next
Ctrl+Alt+KP_Right
Ctrl+Alt+KP_Prior
Ctrl+Alt+KP_Up
Alt+F12
Alt+Shift+F12
Alt+F11
Alt+Shift+F10
Alt+F10
Alt+F9
Alt+F8
Alt+F7
Alt+F6
Alt+Shift+F6
Alt+F5
Alt+F4
Alt+F3
Alt+F2
Alt+F1
Ctrl+Alt+Pointer_Button1
Alt+Pointer_Button3
Alt+
AltGr+
tc@box:/tmp/tcloop/icewm/usr/local/bin$ strings icewm | grep Super
ModSuperIsCtrlAlt
Super+
tc@box:/tmp/tcloop/icewm/usr/local/bin$

strings against icewm-session gives no hits worthy of reporting.

###################################

Never the less.....I accept good testing and observations

I will submit a keys file with Alt and not Super.
I will mention in info file for members if they can not get kb shortcuts to work to either load Xfbdev or Xorg-7.7
And they can still use a menu/context menu or wbar as they see fit.


I will now wait for next week to submit. Slightly offtopic what is your preferred desktop?
« Last Edit: August 27, 2023, 12:26:34 AM by aus9 »

aus9

  • Guest
Re: 14.x X86 (TC32) pending icewm changes
« Reply #13 on: August 27, 2023, 12:19:46 AM »
I should mention that the upstream source has a keys file but none of was of practical benefit to me to launch TC software.
When I do rebuild I will have a look at it. The usr/loc/share....keys file is a replacement file and not an original file.

EDIT (2) The other thing for me is, no Xorg means no ~/.X.d which I use for turning on numlockx rather than in my bootlocal.sh
and some other stuff....so I am not convinced I will do much testing on Vesa on TC32
« Last Edit: August 27, 2023, 12:25:32 AM by aus9 »

Offline jazzbiker

  • Hero Member
  • *****
  • Posts: 934
Re: 14.x X86 (TC32) pending icewm changes
« Reply #14 on: August 27, 2023, 03:35:07 AM »
I have a Ryzen 3 Vega 8 zen+ AMD APU and maybe that makes difference to you having a desktop with Xfbdev and me without.

Mine is ancient C-60 (firmware-radeon.tcz). You named AMD APU. C-60 is AMD APU too but of course our APUs belongs to totally different families and I am sure are run by different video drivers.

b) I still can not get Alt + my other key to work on Vesa

I was not able to test Xvesa with icewm at all. Without graphics driver loaded icewm was not showing any text in menus (despite fltk-full.tcz loaded). If I was trying Xvesa with graphics-KERNEL.tcz loaded I got broken video output even after closing X - Xvesa was damaging video driver's normal functioning.

Slightly offtopic what is your preferred desktop?

dwm + dmenu + st. Works everywhere. For the very old boxes nothing works better than flwm + aterm.
« Last Edit: August 27, 2023, 03:50:54 AM by jazzbiker »