Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Question] Support for Freebsd ? #19

Open
ahmadraniri1994 opened this issue Jun 28, 2022 · 10 comments
Open

[Question] Support for Freebsd ? #19

ahmadraniri1994 opened this issue Jun 28, 2022 · 10 comments

Comments

@ahmadraniri1994
Copy link

Any support for freebsd ? I still have no luck when I try tbsm on freebsd. It's more simple on GNU/Linux distro.

@ahmadraniri1994
Copy link
Author

Perhaps, I just need to adjust "readlink" part, since that command is kind of different between GNU/linux and freebsd. I'll try to give update, thanks.

@ahmadraniri1994
Copy link
Author

It's just not readlink apparently, "sed", and probably other parts too.

@ahmadraniri1994
Copy link
Author

Finally I can make it work for some WMs and wayland compositors (gnome X, openbox, hikari), still have no luck for gnome wayland, need to tinkering again.
What I did :

  • adjust readlink command.
  • replace sed with gsed.
  • replace tty with ttyv.

@loh-tar
Copy link
Owner

loh-tar commented Jun 28, 2022

Any support for freebsd ?

Apparently not :-)
But you seem to make progress. You should use the shellchecked branch, this will be part of the next release.

I think I will not work on tbsm in the next weeks or months, so don't expect to much. But any PR is welcome to support other systems.

@ahmadraniri1994
Copy link
Author

Honestly, I have little knowledge about github stuffs :), once it's done I'll give it update. Apparently gnome wayland also can't be launched via lightdm too, so I must be messed up on something.

@loh-tar
Copy link
Owner

loh-tar commented Jun 29, 2022

I have little knowledge about github stuffs :)

I see, no problem. Should you have success you can mail me a diff or the complete source.

I never tried Wayland, so no help here too, sorry :-)

@ahmadraniri1994
Copy link
Author

I never tried Wayland, so no help here too, sorry :-)

But your tbsm works great when I use it to launch Wayland hehe.

you can mail me a diff or the complete source.

Sure, ASAP, I'm away from my machine right now.

@ahmadraniri1994
Copy link
Author

Hello, I'm sorry for too long on respond, This is my freebsd version of tbsm. For wayland compositor, mostly works except for gnome wayland or kde wayland (since no official wayland support for now).
Hope it helps.

@loh-tar
Copy link
Owner

loh-tar commented Jul 2, 2022

Hello, I'm sorry for too long on respond,

Three days is nearly immediately, there is no need to apologize :-) I'm the one which will take longer to look closer on your patch.

..except for gnome wayland or kde wayland

Hm, strange why some Wayland stuff works, some other not. Maybe someone else came around with a hint.

Until soon, but have a little patience. Thank you.

@loh-tar
Copy link
Owner

loh-tar commented Sep 11, 2022

Hello Ahmad,

I have looked a little on you changes.
ATM I tend to add a (Free)BSD branch to the repo which I will try to keep in sync with master. As long as there are no further requests to support BSD, or other system which require some special commands to do some stuff, I would like to avoid to introduce extra checks and quirks to support all these "out of the box". Even though it should not be that difficult to add these quirks.

I have some questions:

  • Is it typical to have so much in /usr/local for (Free)BSD or is it more the way you like it and you have configured your system
  • I guess gsed is GNU-sed. Is that always available on (Free)BSD or should that mentioned as a dependency for proper use of tbsm?

Regarding Wayland: Did you notice that there is here a PR #21? So far I know is D-Bus "Linux stuff" and not available on (Free)BSD, so the current code and proposed changes may not fit for (Free)BSD. Any hint from you may useful there.

loh-tar added a commit that referenced this issue Sep 16, 2022
...to support e.g. BSD where tty may named ttyv

See #19
loh-tar added a commit that referenced this issue Nov 13, 2022
...to support e.g. BSD where tty may named ttyv

See #19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants