WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: xtodo command not working in Tiny Core Linux-HELP  (Read 6097 times)

Offline whizzywhirl

  • Newbie
  • *
  • Posts: 27
xtodo command not working in Tiny Core Linux-HELP
« 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]
Code: [Select]
xdotool search --sync --onlyvisible --class "Firefox" windowactivate key F11 & firefoxto 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

Online Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14815
Re: xtodo command not working in Tiny Core Linux-HELP
« Reply #1 on: June 11, 2019, 11:12:25 AM »
It seems the existing version did not support "--sync" - updated version posted.

Offline whizzywhirl

  • Newbie
  • *
  • Posts: 27
Re: xtodo command not working in Tiny Core Linux-HELP
« Reply #2 on: June 11, 2019, 11:23:28 AM »
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.


Offline whizzywhirl

  • Newbie
  • *
  • Posts: 27
Re: xtodo command not working in Tiny Core Linux-HELP
« Reply #4 on: June 11, 2019, 11:29:23 AM »
Thanks, I will try it and let you know. :) :)

Offline whizzywhirl

  • Newbie
  • *
  • Posts: 27
Re: xtodo command not working in Tiny Core Linux-HELP
« Reply #5 on: June 11, 2019, 01:00:59 PM »
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 :
Quote
xdotool: error while loading shared libraries: libxkbcommon.so.0: wrong ELF class: ELFCLASS64

Offline Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11619
Re: xtodo command not working in Tiny Core Linux-HELP
« Reply #6 on: June 11, 2019, 01:12:54 PM »
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:
Code: [Select]
version
uname -a

Online Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14815
Re: xtodo command not working in Tiny Core Linux-HELP
« Reply #7 on: June 11, 2019, 01:31:08 PM »
Libxkbcommon was downloaded from the x86_64 repo rather than the x86 repo.

Offline whizzywhirl

  • Newbie
  • *
  • Posts: 27
Re: xtodo command not working in Tiny Core Linux-HELP
« Reply #8 on: June 11, 2019, 01:39:54 PM »
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

Code: [Select]
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.

Online Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14815
Re: xtodo command not working in Tiny Core Linux-HELP
« Reply #9 on: June 11, 2019, 01:46:55 PM »
What do the last few lines of dmesg say after the segfault?

Offline whizzywhirl

  • Newbie
  • *
  • Posts: 27
Re: xtodo command not working in Tiny Core Linux-HELP
« Reply #10 on: June 11, 2019, 02:15:23 PM »
The last few lines shows
Quote
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 ?

Online Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14815
Re: xtodo command not working in Tiny Core Linux-HELP
« Reply #11 on: June 11, 2019, 03:33:12 PM »
For me your xdotool command starts firefox, but segfaults with Xvesa and starts firefox without the segfault with Xorg-7.7.

Offline whizzywhirl

  • Newbie
  • *
  • Posts: 27
Re: xtodo command not working in Tiny Core Linux-HELP
« Reply #12 on: June 11, 2019, 03:40:49 PM »
So what do you think I should do to open firefox in full screen using xdotool

Offline Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11619
Re: xtodo command not working in Tiny Core Linux-HELP
« Reply #13 on: June 11, 2019, 03:44:28 PM »
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.

Offline whizzywhirl

  • Newbie
  • *
  • Posts: 27
Re: xtodo command not working in Tiny Core Linux-HELP
« Reply #14 on: June 11, 2019, 03:58:54 PM »
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