Giter Club home page Giter Club logo

alexanderadam / etax_zug Goto Github PK

View Code? Open in Web Editor NEW
1.0 1.0 0.0 10 KB

Dockerfile for eTax.zug. The tax software of the Swiss canton of Zug. πŸ’Έβž•πŸ‹ https://www.zg.ch/behoerden/finanzdirektion/steuerverwaltung/eTax.zug

Home Page: https://zg.ch/de/steuern-finanzen/steuern/natuerliche-personen/steuererklaerung-ausfuellen

Dockerfile 52.17% Shell 47.83%
canton docker java kanton-zug linux podman schweiz steuer steuererklaerung swing-gui

etax_zug's Introduction

Docker container for eTax.zug (Linux)

This is a Dockerfile for eTax.zug.

If you have an existing directory from last year, you should rename it to avoid conflicts (i.e. mv etax etax_2021). You will probably need to select /home/taxpayer/etax_zug as the installation directory. Otherwise the entrypoint script might behave strange. For now there is a symlink from the current etax default directory to it but they could change it with the next release. Maybe we could establish a more robust logic here though.

Also you should save your tax data in /home/taxpayer/Steuerfaelle. Otherwise the data won't be persisted after you threw the container away!

Using the Dockerfile

You can build the image by calling

$ docker build -t etax_zug .
Sending build context to Docker daemon  93.18kB
…
Successfully tagged etax_zug:latest

After a successful build you should be able to run eTax Zug by calling

$ bash run.sh
No installation was found. Downloading https://etaxdownload.zg.ch/2042/eTaxZGnP2042_64bit.sh to eTaxInstaller.sh.
…

Bugs

Links

Because the image should be small and therefore doesn't contain a browser you can't click on links. Right click + copy would be nice but it seems that the folks at Information Factory AG didn't implement this yet.

HiDPI-Displays

This is a Java application. Meaning it might not work well with all of your native UI settings. If you are using a display with high DPI and the fonts are very small, you might want to edit the file etax/eTax.zug 2021 nP after the first start.

uiScale

Setting uiScale doesn't seem to work any more:

So for instance from

$INSTALL4J_JAVA_PREFIX exec "$app_java_home/bin/java" "-splash:$app_home/.install4j/s_1wbh84j.png" …

to

$INSTALL4J_JAVA_PREFIX exec "$app_java_home/bin/java" "-Dswing.defaultlaf=com.sun.java.swing.plaf.gtk.GTKLookAndFeel" "-Dsun.java2d.dpiaware=true" "-Dawt.useSystemAAFontSettings=on" "-Dsun.java2d.uiScale=2" "-splash:$app_home/.install4j/s_1wbh84j.png" …

-Dsun.java2d.ddscale

This doesn't seem to work either

$INSTALL4J_JAVA_PREFIX exec "$app_java_home/bin/java" "-Dsun.java2d.ddscale=true" "-splash:$app_home/.install4j/s_1wbh84j.png" …

environment variable GDK_SCALE

This doesn't seem to work either

GDK_SCALE=2 $INSTALL4J_JAVA_PREFIX exec "$app_java_home/bin/java" "-splash:$app_home/.install4j/s_1wbh84j.png" …

etax_zug's People

Contributors

alexanderadam avatar

Stargazers

 avatar

Watchers

 avatar

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.