Tiny Core Linux
Tiny Core Extensions => TCE Q&A Forum => Topic started by: whizzywhirl on June 11, 2019, 10:56:48 AM
-
I am trying to execute this command after installing xtodo.tcz in tiny core linux
Code: newbielink:javascript:void(0); [nonactive]
xdotool search --sync --onlyvisible --class "Firefox" windowactivate key F11 & firefox
to make firefox open in full screen. But, this command is not working here and I tried this on Ubuntu where it is working fine.
I installed the xtodo.tcz from version 2.0 of TCL. Kindly help me or tell me another way to send keys to firefox such as F11 and alt+ctrl+m to open firefox in full screen.
I am new to this forum. Kindly help me if I am unable to follow rules in this post.
P.S : Output image is given below
-
It seems the existing version did not support "--sync" - updated version posted.
-
Can I have the updated tcz file to download it and then installed it locally. Because I don't have internet in my tiny core Linux system.
-
http://tinycorelinux.net/10.x/x86/tcz/xdotool.tcz
http://tinycorelinux.net/10.x/x86/tcz/xdotool.tcz.dep
http://tinycorelinux.net/10.x/x86/tcz/xdotool.tcz.md5.txt
-
Thanks, I will try it and let you know. :) :)
-
I now installed the extension as given here and also I downloaded other dependencies from http://ftp.vim.org/ftp/pub/pub/os/Linux/distr/tinycorelinux/10.x/x86_64/tcz/
after installing xdotool.tcz and then running the command gives me this error :
xdotool: error while loading shared libraries: libxkbcommon.so.0: wrong ELF class: ELFCLASS64
-
Hi whizzywhirl
You are mixing 32 and 64 bit programs. What version and architecture of Tinycore are you running? If you are not sure, post the
outputs of these commands:
version
uname -a
-
Libxkbcommon was downloaded from the x86_64 repo rather than the x86 repo.
-
Yes, you were right I did mess the architecture of the program. So, after installing it from http://tinycorelinux.net/10.x/x86/tcz/libxkbcommon.tcz
now the error changed to
Segmentation fault
also I am posting my output of version and uname -a
version
10.0
uname -a
Linux box 4.19.10-tinycore #1999 SMP Tue Dec 18 13:36:47 UTC 2018 i686 GNU/Linux
P.S thanks guys you are helping me alot.
-
What do the last few lines of dmesg say after the segfault?
-
The last few lines shows
xdotool[3235 segfault at 14 ip b7f44490 sp bfe456a0 error 4 in libxdo.so3[b7f41000+5000]
Code: 45 c4 8b ..............................................
xdotool[3242]: segfault at 14 ip b7f8490 sp bf89a4a0 error 4 in libxdo.so3[b7fb5000+5000]
Code: 45 c4 8b ..............................................
xdotool[3260]: segfault at 14 ip b7f92490 sp bfe066f0 error 4 in libxdo.so3[b7f8f000+5000]
Code: 45 c4 8b ..............................................
I think this means there is some problem in libxdo ?
-
For me your xdotool command starts firefox, but segfaults with Xvesa and starts firefox without the segfault with Xorg-7.7.
-
So what do you think I should do to open firefox in full screen using xdotool
-
Hi whizzywhirl
If switching to Xorg is not an option, try setting Firefox to full screen prior to closing it. It should remember its size the next
time you start it.
-
Basically, I wanted to open a html file at boot time in full screen at firefox. Therefore, I want to made a script which opens firefox and xdotool will help me to open it full screen. What do you mean by switching to Xorg ? Also please tell me if there can be other solution to this. Thank you
-
Hi whizzywhirl
I am trying to execute this command after installing xtodo.tcz in tiny core linux
Code: newbielink:javascript:void(0); [nonactive]
xdotool search --sync --onlyvisible --class "Firefox" windowactivate key F11 & firefox
I think that might be backwards. You are starting Firefox after the xdotool command. See if this works any better:
firefox -url <urlhere> & xdotool search --sync --onlyvisible --class "Firefox" windowactivate key F11
Replace <urlhere> with the .html file you want to open.
-
Thank you Rich. I actually switched to Xorg now Xdotool is working.