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

Assistance needed changing GNS3 app menu text colors #21

Open
bsaunder2002 opened this issue Sep 28, 2023 · 0 comments
Open

Assistance needed changing GNS3 app menu text colors #21

bsaunder2002 opened this issue Sep 28, 2023 · 0 comments

Comments

@bsaunder2002
Copy link

First: Great tool!
Second: Wish GNS3 team would incorporate this into GNS3. This has soo much value.
Third: About me. I have a cataract. This means it's like I'm looking through frosted glass. Excess light washes the vision out. Any light colored background means I cannot see or read anything. The best solution is night mode with high contrast (white) text. Ie black background, white text.
Without gns3themes, I cannot use GNS3. I use GNS3 for prototyping solutions at my job...I get paid to use GNS3. Thank you for writing gns3themes.

Now my issue:
Debian 12
Python virtual environment deployment of GNS3 via pip install.
1st to get gns3themes to work, I had to determine my location of GNS3 in the python virtual environment.
In my case: /home/bsaunder/programs/GNS3/gns3-server-master/gns3env/lib/python3.11/site-packages
So after I git got (checkout or download zip) /home/bsaunder/programs/GNS3/gns3theme-master
I could:
sudo ./gns3theme.py --install /home/bsaunder/programs/GNS3/gns3-server-master/gns3env/lib/python3.11/site-packages -u $USER -s n30x-dark --fg bbeb14
and it worked!

Request: remove the sudo check. It is not always needed. In my cause, bsaunder owns every file in the path you should not need sudo. I trust noone as we all should. sudo is not safe :)

Now my problem. No matter what I do, the menu text in GNS3 always comes out a dark green. This is low contrast and hard to read without a magnifier.
I've tried modifying: colorschemes.py and custom_style.py and rerunning the above command.
Nothing I do changes the menu style. I really like to change the color and the size.

My theory is that it's not applying the modifications after the 1st run. Here is the output from my run:
CSSFormat: Generating new CSS format
PatchFile: Start Patching gns3_gui source code
PatchFile: File already patched gns3_gui main_window.py, skipping..
PatchFile: File already patched gns3_gui settings.py, skipping..
PatchFile: File already patched gns3_gui style.py, skipping..
PatchFile: Changed gns3_gui grid color
PatchFile: Changed ethernet_link_item color
PatchFile: Finished patching gns3_gui source code

Is my theory right that the bits I'm changing were skipped?

Request: flag to force repatching everything (if my theory is right)

Open for ideas.

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

1 participant