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

Newbie Question on Screen background #69

Open
ashutoshmjain opened this issue Mar 15, 2022 · 7 comments
Open

Newbie Question on Screen background #69

ashutoshmjain opened this issue Mar 15, 2022 · 7 comments
Assignees
Labels

Comments

@ashutoshmjain
Copy link

Hi - I am new to twin, thus this question and apologies for putting this in "issues" because I couldn't figure out any other communication channel ..

I am trying to change the screen background for all the windows to "White" and the font color to "Black" - basically for working on tty out in the sun.. I tried to tweak the configuration below but don't seem to get anywhere .. could someone please suggest the changes


set screen background

Background 1 High Black On Blue (
"\xb1"


Thanks

@cosmos72
Copy link
Owner

Hello @ashutoshmjain,
the "Background" configuration in .twinrc sets the foreground/background colors and fill character of the screen i.e. outside all windows.

There is currently no way to change the colors palette used by a window.

@ashutoshmjain
Copy link
Author

Thanks for the response .. got it .. I guess I was confusing between "screen" and "windows" . Btw , is it possible that windows are transparent so that it shows the color of the screen . Saying this cuz its really hard to read on black background in bright sun light ..

@cosmos72 cosmos72 self-assigned this Sep 5, 2022
@cosmos72
Copy link
Owner

cosmos72 commented Sep 5, 2022

There is currently no support for transparency.

@dimitrik-fr
Copy link

As you involved SCREEN -- just curious if there is any way to use several SCREENs in Twin ?

because from the all logic and config options it's seems to be so, but each time I've tried -- could not even switch to the second SCREEN, maybe I've just missed something ?

thanks in advance for any help ! ;-))

@cosmos72
Copy link
Owner

cosmos72 commented Sep 7, 2022

Long time ago there was support for multiple screens - it's not used since ages. No idea if it still works.

I'd need to (re)check how to create additional screens, and how to switch between them.

@cosmos72
Copy link
Owner

cosmos72 commented Sep 7, 2022

[UPDATE]
There is an AddScreen "SCREEN_NAME" function you can bind to some key, mouse action, or menu entry in $HOME/.twinrc

Then you can (in theory) switch between screens by clicking on the two vertical arrows on the far right of the menu bar,
provided the menu bar is not hidden by default (in case it's hidden, add GlobalFlags -HideMenu) to $HOME/.twinrc

But a quick test doing exactly that seems to hang twin in an infinite loop. There must be some bitrot in multiple screens support.

@dimitrik-fr
Copy link

Seems like in my case creating several Screens is working.
However, when trying to use a menu item for given Window "SendToScreen N" -- Twin hangs..

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

No branches or pull requests

3 participants