Closed gnulinux666 closed 2 months ago
Hi gnulinux666,
is sudo needed?
sudo /setup.py build
can you check this:
ls /usr/share/glib*
Hi dr-ni
I checked with sudo
privilege and without .
ls /usr/share/glib*
dtds gettext schemas valgrind
and sudo python3 setup.py build
?
/home/gnulinux/onboard/./setup.py:118: SyntaxWarning: invalid escape sequence '\d' version = re.search('(?:(?:\d+).)+\d+', output).group() /home/gnulinux/onboard/./setup.py:55: DeprecationWarning: distutils Version classes are deprecated. Use packaging.version instead. current_ver = version.StrictVersion(DistUtilsExtra.auto.version) /home/gnulinux/onboard/./setup.py:56: DeprecationWarning: distutils Version classes are deprecated. Use packaging.version instead. required_ver = version.StrictVersion('2.12') removing pycache directories recursively found dconf version 0.40.0 setup.py: running pkg-config: pkg-config --libs --cflags gdk-3.0 x11 xi xtst xkbfile dconf libcanberra hunspell libudev setup.py: -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/cairo -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/freetype2 -I/usr/include/dconf -D_REENTRANT -I/usr/include/hunspell -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/sysprof-6 -pthread -I/usr/include/libpng16 -I/usr/include/pixman-1 -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/fribidi -lgdk-3 -lz -lharfbuzz -lpangocairo-1.0 -lpango-1.0 -lgdk_pixbuf-2.0 -lcairo-gobject -lcairo -lX11 -lXi -lXtst -lxkbfile -ldconf -lgio-2.0 -lglib-2.0 -lgobject-2.0 -lcanberra -lhunspell-1.7 -ludev WARNING: the following files are not recognized by DistUtilsExtra.auto: Onboard/manual_tests/test_xembed
is this the full output?
sudo python3 setup.py clean
python3 setup.py build > build_log.txt 2>&1
cat build_log.txt
I have commited some fixes... can you check again:
git pull
sudo python3 setup.py clean
python3 setup.py build > build_log.txt 2>&1
cat build_log.txt
sudo tools/install_gsettings_schema
build_log.txt
./onboard
/home/gnulinux/onboard/Onboard/utils.py:151: SyntaxWarning: invalid escape sequence '\d'
"""
/home/gnulinux/onboard/Onboard/utils.py:220: SyntaxWarning: invalid escape sequence '\s'
pattern = re.compile('>\n\s+([^<>\s].*?)\n\s+</', re.DOTALL)
/home/gnulinux/onboard/Onboard/utils.py:221: SyntaxWarning: invalid escape sequence '\g'
pretty_xml = pattern.sub('>\g<1></', ugly_xml)
/home/gnulinux/onboard/Onboard/utils.py:356: SyntaxWarning: invalid escape sequence '\:'
"""
/home/gnulinux/onboard/Onboard/utils.py:1683: SyntaxWarning: invalid escape sequence '\w'
"""(?:
09:38:15.334 WARNING Config: Starting in project directory, importing local packages and extensions.
Traceback (most recent call last):
File "/home/gnulinux/onboard/./onboard", line 35, in
did you make the git pull?
first cd onboard
then git pull
yes I did , although I did rm -rf onboard
and git clone https://github.com/dr-ni/onboard
again
the distutils warning is solved:
https://github.com/dr-ni/onboard/commit/5a3c7fe41af2113559e3242b1e5585fd2b65b571
but still in your log in line 1:
/home/gnulinux/onboard/setup.py:55: DeprecationWarning: distutils Version classes are deprecated. Use packaging.version instead.
oh sorry there are many more imports let me check it again...
can you check again:
git pull python3 setup.py clean python3 setup.py build sudo tools/install_gsettings_schema
./onboard
currently cannot start onboard
but if everything worked without errors you can install:
sudo python3 setup.py install
And if necessary, uninstall with sudo python3 setup.py install --record files.txt sudo xargs -a files.txt --delimiter='\n' rm -v sudo rm -rf /usr/local/share/onboard
on my ubuntu I had to install python3-packaging is there also a package for arch?
and to avoid crashing:
onboard-settings
build_log.txt in fact I have ubuntu 24.04 on my real system . if I sure "suggestion" part work and don't crash I will compile and install in ubuntu.
your log is looking fine is it working on your arch after install?
on my 24.04 it was first crashing since the preset is always Xinput this must be set to gtk until I have made a fix
unfortunately it is not working on arch , I set to GTK .
onboard 23:24:06.544 WARNING Config: mousetweaks GSettings schema not found, mousetweaks integration disabled. 23:24:08.112 WARNING Onboard.WPEngine: System language model '/usr/share/onboard/models/.lm' doesn't exist, skipping. Segmentation fault (core dumped)
do you have installed mousetweaks? did you uninstall all previously installed onboard packages?
after installing mousetweaks onboard 23:47:14.112 WARNING Onboard.WPEngine: System language model '/usr/share/onboard/models/.lm' doesn't exist, skipping. Segmentation fault (core dumped)
I uninstalled and reinstalled but this error remained .
there is no older onboard installed? can you install my mousetweaks version?
This command sudo rm -rf /usr/local/share/onboard
remove all onboard from my system . I installed with this command sudo pacman -S mousetweaks
are you sure onboard is removed correct? https://bbs.archlinux.org/viewtopic.php?id=96523 what is your displaymanager? wayland is not supported, you need xorg can you uninstall mousetweaks and install my git version?
in xorg works but "suggestion" is not working yet.
mousetweaks --help-all Usage: mousetweaks [OPTION?] - GNOME mouse accessibility daemon
Help Options: -h, --help Show help options --help-all Show all help options --help-gtk Show GTK+ Options
GTK+ Options --class=CLASS Program class as used by the window manager --name=NAME Program name as used by the window manager --gtk-module=MODULES Load additional GTK+ modules --g-fatal-warnings Make all warnings fatal
Application Options: --dwell Enable dwell click --ssc Enable simulated secondary click --dwell-time=[0.2-3.0] Time to wait before a dwell click --ssc-time=[0.5-3.0] Time to wait before a simulated secondary click -m, --dwell-mode=[window|gesture] Set the active dwell mode -c, --hide-ctw Hide the click-type window -t, --threshold=[0-30] Ignore small pointer movements -g, --geometry=WIDTHxHEIGHT+X+Y Click-type window geometry -s, --shutdown Shut down mousetweaks --daemonize Start mousetweaks as a daemon --login Start mousetweaks in login mode --display=DISPLAY X display to use
which version of mousetweak do you want to install ?
please check ps -e | grep tty
and pgrep wayland
in the README.md you can find the link to my mousetweaks.git
before installation please check again that you have absolutely COMPLETELY unstalled ALL onboard and mousetweaks packages from pacman!
as I have seen here: https://wiki.archlinux.org/title/GNOME Wayland is default
Wayland is not supported, you need xorg
what is your setting?
ps -e | grep tty 1053 tty2 00:00:00 gdm-x-session 1055 tty2 00:02:44 Xorg 1093 tty2 00:00:00 gnome-session-b [gnulinux@arch onboard]$ pgrep wayland
sudo pacman -Rsn mousetweaks checking dependencies...
Packages (1) mousetweaks-3.32.0-2
Total Removed Size: 0.41 MiB
:: Do you want to remove these packages? [Y/n] y :: Processing package changes... (1/1) removing mousetweaks [################################] 100% :: Running post-transaction hooks... (1/2) Arming ConditionNeedsUpdate... (2/2) Compiling GSettings XML schema files...
your mousetweaks version get error I've sent log that page
can you also uninstall onboard from pacman again ?
error: target not found: onboard pacman not found onboard
all errors are gone but suggestion is not working and when I close : onboard Segmentation fault (core dumped)
what do you mean with suggestion? how did you close? is onboard now working? is mousetweaks now working?
maybe you can show me with recordmydesktop
onboard 22:07:47.524 WARNING Onboard.WPEngine: Failed to find language models in '/home/gnulinux/.local/share/onboard/models': No such file or directory (2) Segmentation fault (core dumped)
can you launch it with onboard -d all
and send me output after crash
Now I'm in Ubuntu noble 24.04 I wanna test it on ubuntu.
I installed on ubuntu show suggestion but when I cilicked a word it didn't put on target ,look at screenshot I click sudo on suggestion but don't type in terminal .
I have now started to fix all deprecated warnings. can you; git pull cd onboard/ python3 setup.py clean python3 setup.py build killall onboard sudo python3 setup.py install and check again also onboard-settings and switch to XInput again
Not working ,after now I am going to test it just in ubuntu noble. onboard_DEBUG2.txt
is it starting with the gtk setting?
yes, Dose suggestion part work for you? you have ubuntu OS.
Unfortunately not, I have the same behaviour. Is the word suggestion working on arch?
Not working on arch ,after upgrading python 3.12 word suggestion' onboard not working on ubuntu 22.04 is working.
for me it is also not working on ubuntu?
can yo show me with recordmydesktop
I said on ubuntu 24.04 is not working on ubuntu 22.04 is working .
ah ok
can you install old ubuntu on virtualbox and compare onboard code . lubuntu-screen0.webm
Theese questions are still not answered:
Can you check these settings? It fixed the autosuggestion for me.
yes,It fixed for me too , but only work with english language .
Arch Linux Gnome 46
./setup.py build tools/install_gsettings_schema