Coder Social home page Coder Social logo

Comments (7)

nucleardreamer avatar nucleardreamer commented on September 26, 2024

Hi @gardlt , I wasn't able to reproduce that (by changing env vars in the compose file). How are you setting environment variables right now?

I made a branch that changes the xinitrc script to add a bash shebang line, maybe the script wasn't correctly converting the variable check into a string? Why don't you go ahead and try it out to tell me if you see a difference: https://github.com/balenablocks/xserver/tree/cursor-variable-toggle

from xserver.

gardlt avatar gardlt commented on September 26, 2024

I try to deploy these changes and the cursor is still showing.

We are currently running
balenaOS : balenaOS 2.83.18+rev1
Release: Production

I found a workaround that does work, by updating the entry.sh

from xserver.

ngmartins avatar ngmartins commented on September 26, 2024

CURSOR env var doesn't toggle for me as well.
A tried both: docker-compose and balena portal defenition.

from xserver.

ngmartins avatar ngmartins commented on September 26, 2024

I think it is because it is hardcoded on Dockerfile.template file.

from xserver.

nucleardreamer avatar nucleardreamer commented on September 26, 2024

@ngmartins the CURSOR variable is set in the Dockerfile as the default option, it will be overridden if set anywhere else

from xserver.

nucleardreamer avatar nucleardreamer commented on September 26, 2024

I am unable to reproduce this issue at all still. Setting CURSOR in the docker-compose.yml, on balena dashboard device or fleet variables all have the same result.

For anyone seeing this, it's important to make sure you have all capitol CURSOR as the environment name, and no quotes around true or false values.

from xserver.

jellyfish-bot avatar jellyfish-bot commented on September 26, 2024

[jsreds] This has attached https://jel.ly.fish/7bcadf12-7139-4db7-b061-72e6dccd296c

from xserver.

Related Issues (12)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.