Closed K4KDR closed 7 years ago
Update: if run with sudo (i.e., root), the GUI displays with a dark background. Not being terribly familiar with python, any help understanding why this happens would be appreciated and might help others.
(Editorial comment: unless root authority is required to run the app, many would probably prefer that root authority NOT be required to run the app)
Command run: sudo python minxss_beacon_decoder.py
Give e8a03b3 a try. I used Qt Designer to enforce custom dark color palette in each window instead of allowing it to inherit (which only seems to work on Mac for some reason).
No apparent change in GUI white background. Info follows:
k4kdr@:~/MinXSS_Beacon_Decoder$ uname -a
Linux k4kdr-linux 4.8.0-49-generic #52~16.04.1-Ubuntu SMP Thu Apr 20 10:55:59 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux
k4kdr@:~/MinXSS_Beacon_Decoder$ python --version
Python 2.7.12
k4kdr@:~/MinXSS_Beacon_Decoder$ git show --oneline -s --pretty=format:"%h, %ar, %ad : %s"
e8a03b3, 18 minutes ago, Wed Apr 26 09:59:01 2017 -0600 : Enforced dark color palette throughout for all platforms
k4kdr@:~/MinXSS_Beacon_Decoder$ python minxss_beacon_decoder.py
/usr/lib/python2.7/dist-packages/Crypto/Cipher/blockalgo.py:141: FutureWarning: CTR mode needs counter parameter, not IV
self._cipher = factory.new(key, *args, **kwargs)
Traceback (most recent call last):
File "minxss_beacon_decoder.py", line 499, in prepareToExit
self.uploadData()
File "minxss_beacon_decoder.py", line 486, in uploadData
scp_upload.upload(self.bufferOutputBinaryFilename)
File "/home/k4kdr/MinXSS_Beacon_Decoder/scp_upload.py", line 24, in upload
scp.put(file, remote_path = directory)
File "/usr/lib/python2.7/dist-packages/scp.py", line 154, in put
self._send_files(files)
File "/usr/lib/python2.7/dist-packages/scp.py", line 238, in _send_files
self._recv_confirm()
File "/usr/lib/python2.7/dist-packages/scp.py", line 321, in _recv_confirm
raise SCPException(asunicode(msg[1:]))
scp.SCPException: scp: Dropbox/minxss_dropbox/data/ham_data/: No such file or directory
Try d128719, I used a different method for setting the background color.
Using commit 5a22838, a dark background now correctly appears in the GUI when run as a standard user!
k4kdr@:~/MinXSS_Beacon_Decoder$ python minxss_beacon_decoder.py
... however, please note the side-effects:
-Options box: "Saving to logfile" window is very low-contrast -About tab: some text in images is very low-contrast
5189c6a has better contrast for those things. Looks right on my system but I won't close until you confirm. Thanks!
Using commit 5189c6a, I believe that all text is clearly readable. There may be value in reviewing the following screen shots because if there is anything NOT visible on my machine, I would not know it. Looks great!
Looks great! More layout improvements on the way and some new minor features. Closing issue.
This has been an issue since day-1 for me but I had been manually editing ui_mainWindow.py as a work-around. Also, it only affected the upper-left "IP Address" section. However, now with the new layout in commit 06a81e6, I will need to ask for assistance. The entire GUI is now a white background with text that is only slightly darker than white. (see screen shot below)
I am running Ubuntu 16.04, fully updated, with no special alterations or unusual hardware. I would greatly appreciate direction on how I might correct the display of the app to run with the darker background that I'm sure is intended. In fact, in a recent tweet from JA0CAW, I see that the dark background is displaying properly on his system.
Many thanks as always!