![]() |
|
OpenBSD Packages and Ports Installation and upgrading of packages and ports on OpenBSD. |
![]() |
|
Thread Tools | Display Modes |
|
|||
![]()
I am running OpenBSD 6.5, X with default settings, fluxbox with default settings. My keyboard layout is us-international, which has the following deadkeys: ` ~ ^ ' "
The deadkeys and compose key sequences work everywhere (e.g., xterm, gtk applications) but not in xfe and xfw. For example, in both xfe and xfw: - AltGr works: AltGr + p gives me ö - deadkeys broken: ' then e gives me e (é is expected) - compose key broken: compose then < then 3 gives me <3 (♥ is expected) I don't think it is a problem with xfe/xfw, because deadkeys and compose key work fine in xfe/xfw running in Debian with same keyboard layout. It must either be a problem with fox toolkit in OpenBSD or else something wrong/missing in my OpenBSD environment. I already tried launching xfw with different values for XMODIFIERS, to no avail: Code:
$ XMODIFIERS="@im=xim" xfw $ XMODIFIERS="@im=uim" xfw $ XMODIFIERS="@im=ibus" xfw $ XMODIFIERS="" xfw Code:
export LANG=en_US.UTF-8 export LC_ALL=en_US.UTF-8 fluxbox Last edited by brudan; 19th July 2019 at 07:01 PM. Reason: added .xsession contents |
|
|||
![]()
Thank you, jggimi. I changed my ~/.xsession to this...
Code:
export LANG=en_US.UTF-8 export LC_ALL=en_US.UTF-8 export LC_CTYPE=en_US.UTF-8 fluxbox |
|
|||
![]() Quote:
Code:
exec startfluxbox |
|
|||
![]()
Thank you, ibara. I changed .xsession as you recommended but that did not solve the problem.
Are you able to reproduce the problem? |
|
|||
![]()
I tried the adie text editor, which uses the same FOX toolkit that xfe and xfw use. The problem affects adie as well.
So it seems that the problem affects OpenBSD ports that use the FOX toolkit. The problem does not affect ports that use GTK or Qt toolkit. I have not yet found a fix. Last edited by brudan; 24th July 2019 at 06:57 PM. Reason: clarity |
|
|||
![]()
The FOX toolkit could use an update; it's likely very old. Not guaranteed to solve your issue but I'd probably start there.
|
|
|||
![]()
Good idea, ibara.
So I got the latest stable fox toolkit (version 1.6.57) then compiled and installed it the usual way (note: I cheated and looked at the configure flags and arguments from the existing devel/fox port): Code:
bruno@thinkpad:~/Downloads/fox-1.6.57$ CPPFLAGS="-I/usr/local/include" LDFLAGS="-L/usr/local/lib" ./configure --x-includes="/usr/X11R6/include -I/usr/X11R6/include/freetype2" --x-libraries=/usr/X11R6/lib --with-xft bruno@thinkpad:~/Downloads/fox-1.6.57$ make bruno@thinkpad:~/Downloads/fox-1.6.57$ doas pkg_delete fox bruno@thinkpad:~/Downloads/fox-1.6.57$ doas make install Please take a look at the first line of code above. Maybe one of those configure arguments is wrong or extraneous? Or maybe a critical argument is missing? Last edited by brudan; 25th July 2019 at 03:57 AM. |
|
|||
![]()
I made massive progress with this. Turns out --with-xim was the missing critical argument to configure. Also, after make install there was one library that xfe couldn't find, which required a symbolic link.
So here is what I have so far: Code:
bruno@thinkpad:~/Downloads/fox-1.6.57$ CPPFLAGS="-I/usr/local/include" LDFLAGS="-L/usr/local/lib" ./configure --x-includes="/usr/X11R6/include -I/usr/X11R6/include/freetype2" --x-libraries=/usr/X11R6/lib --with-xft --with-xim bruno@thinkpad:~/Downloads/fox-1.6.57$ make CXX=c++ bruno@thinkpad:~/Downloads/fox-1.6.57$ doas pkg_delete fox bruno@thinkpad:~/Downloads/fox-1.6.57$ doas make install bruno@thinkpad:~/Downloads/fox-1.6.57$ doas ln -s /usr/local/lib/libFOX-1.6.so.0.57 /usr/local/lib/libFOX-1.6.so.2.1 ![]() But now I have this cosmetic issue when launching xfe from the command line: Code:
bruno@thinkpad:~/Downloads/fox-1.6.57$ xfe xfe:/usr/lib/libstdc++.so.57.0: /usr/lib/libc++abi.so.0.1 : WARNING: symbol(_ZTVN10__cxxabiv120__si_class_type_infoE) size mismatch, relink your program xfe:/usr/lib/libstdc++.so.57.0: /usr/lib/libc++abi.so.0.1 : WARNING: symbol(_ZTVN10__cxxabiv120__function_type_infoE) size mismatch, relink your program xfe:/usr/lib/libstdc++.so.57.0: /usr/lib/libc++abi.so.0.1 : WARNING: symbol(_ZTVSt9type_info) size mismatch, relink your program xfe:/usr/lib/libstdc++.so.57.0: /usr/lib/libc++abi.so.0.1 : WARNING: symbol(_ZTVN10__cxxabiv117__class_type_infoE) size mismatch, relink your program xfe:/usr/lib/libstdc++.so.57.0: /usr/lib/libc++abi.so.0.1 : WARNING: symbol(_ZTVN10__cxxabiv123__fundamental_type_infoE) size mismatch, relink your program xfe:/usr/lib/libstdc++.so.57.0: /usr/lib/libc++abi.so.0.1 : WARNING: symbol(_ZTVN10__cxxabiv119__pointer_type_infoE) size mismatch, relink your program xfe:/usr/lib/libstdc++.so.57.0: /usr/lib/libc++abi.so.0.1 : WARNING: symbol(_ZTVN10__cxxabiv129__pointer_to_member_type_infoE) size mismatch, relink your program xfe:/usr/lib/libstdc++.so.57.0: /usr/lib/libc++abi.so.0.1 : WARNING: symbol(_ZTVN10__cxxabiv116__enum_type_infoE) size mismatch, relink your program xfe:/usr/lib/libstdc++.so.57.0: /usr/lib/libc++abi.so.0.1 : WARNING: symbol(_ZTVN10__cxxabiv121__vmi_class_type_infoE) size mismatch, relink your program xfe:/usr/lib/libstdc++.so.57.0: /usr/lib/libc++abi.so.0.1 : WARNING: symbol(_ZTVN10__cxxabiv117__pbase_type_infoE) size mismatch, relink your program xfe:/usr/lib/libstdc++.so.57.0: /usr/lib/libc++abi.so.0.1 : WARNING: symbol(_ZTVN10__cxxabiv117__array_type_infoE) size mismatch, relink your program Last edited by brudan; 25th July 2019 at 12:28 PM. |
|
|||
![]() Quote:
Quote:
Code:
bruno@thinkpad:~/Downloads/fox-1.6.57$ CXX=c++ CPPFLAGS="-I/usr/local/include" LDFLAGS="-L/usr/local/lib" ./configure --x-includes="/usr/X11R6/include -I/usr/X11R6/include/freetype2" --x-libraries=/usr/X11R6/lib --with-xft --with-xim |
|
|||
![]()
Ibara, you are amazing. Yes, that did it.
SOLVED! This GNU/g++ vs. clang/c++ issue keeps tripping me up. Hopefully someday I'll tame it. For posterity's sake, here are the final steps I took to solve the problem described in my first post: Code:
bruno@thinkpad:~/Downloads/fox-1.6.57$ CXX=c++ CPPFLAGS="-I/usr/local/include" LDFLAGS="-L/usr/local/lib" ./configure --x-includes="/usr/X11R6/include -I/usr/X11R6/include/freetype2" --x-libraries=/usr/X11R6/lib --with-xft --with-xim bruno@thinkpad:~/Downloads/fox-1.6.57$ make bruno@thinkpad:~/Downloads/fox-1.6.57$ doas pkg_delete fox bruno@thinkpad:~/Downloads/fox-1.6.57$ doas make install bruno@thinkpad:~/Downloads/fox-1.6.57$ doas ln -s /usr/local/lib/libFOX-1.6.so.0.57 /usr/local/lib/libFOX-1.6.so.2.1 Last edited by brudan; 25th July 2019 at 03:14 PM. |
|
|||
![]()
I submitted a port update here: https://marc.info/?l=openbsd-ports&m...7045606394&w=2
|
|
|||
![]()
Nice. Thank you!
|
![]() |
Tags |
dead keys, fox, keyboard, solved, xfe |
Thread Tools | |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
why won't my table work? | tomp | OpenBSD Security | 3 | 25th August 2011 12:23 PM |
My Mouse Don't Work ??? | sharris | FreeBSD General | 9 | 7th May 2011 02:15 AM |
nspluginwrapper not work... | marduk | NetBSD Installation and Upgrading | 4 | 3rd January 2011 10:23 PM |
Crossplatform UI Work | Turophile | Programming | 9 | 21st October 2008 11:56 PM |
Getting Qt4 to work on FreeBSD | enpey | FreeBSD Ports and Packages | 6 | 6th May 2008 07:20 AM |