dogecoin / dogecoin

very currency
MIT License
14.53k stars 2.86k forks source link

Wallet Dimensions Skewed #3121

Closed Eumaios1212 closed 10 months ago

Eumaios1212 commented 2 years ago

I've just recently downloaded Dogecoin Core 1.14.6 for Linux. When I run it, however, the wallet GUI is massive, while letters of words within the wallet are minuscule. Spent a couple hours working on it with admins within Dogecoin's Discord channel. No luck. They suggested I post here. Not sure what else to try.

Screenshot from 2022-09-24 14-35-37

Device   OS

Thank you.

patricklodder commented 2 years ago

Since you have an Nvidia card in there, this may be one of the known issues with the current Qt version we use. Could you try launching dogecoin-qt from a terminal and playing with these 2 environment variables:

export QT_SCALE_FACTOR=1
export QT_AUTO_SCREEN_SCALE_FACTOR=0

Please let us know if anything changes when setting these.

Eumaios1212 commented 2 years ago

Yes, this worked! Thank you for getting back to me so quickly.

Sent with Proton Mail secure email.

------- Original Message ------- On Sunday, September 25th, 2022 at 11:25 AM, Old Dip Tracker @.***> wrote:

Since you have an Nvidia card in there, this may be one of the known issues with the current Qt version we use. Could you try launching dogecoin-qt from a terminal and playing with these 2 environment variables:

export

QT_SCALE_FACTOR=1

export

QT_AUTO_SCREEN_SCALE_FACTOR=0

Please let us know if anything changes when setting these.

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you authored the thread.Message ID: @.***>

Eumaios1212 commented 2 years ago

Well, I spoke too quickly: the change doesn't endure. If I shut down and restart the computer, I always have to add that line again before restarting Doge. Is this expected? Maybe I should switch GPUs?

Sent with Proton Mail secure email.

------- Original Message ------- On Sunday, September 25th, 2022 at 9:32 PM, Eumaios @.***> wrote:

Yes, this worked! Thank you for getting back to me so quickly.

Sent with Proton Mail secure email.

------- Original Message ------- On Sunday, September 25th, 2022 at 11:25 AM, Old Dip Tracker @.***> wrote:

Since you have an Nvidia card in there, this may be one of the known issues with the current Qt version we use. Could you try launching dogecoin-qt from a terminal and playing with these 2 environment variables:

export

QT_SCALE_FACTOR=1

export

QT_AUTO_SCREEN_SCALE_FACTOR=0

Please let us know if anything changes when setting these.

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you authored the thread.Message ID: @.***>

patricklodder commented 2 years ago

Is this expected?

Yes, it is. How do you launch dogecoin-qt normally? You should add these environment variables to the launcher so that it picks it up every time, rather than setting this globally, so that it only does that for the Dogecoin wallet and software using different versions of Qt are not affected by this little "hack".

Maybe I should switch GPUs?

Not needed. We can make this work, I'm sure.

Eumaios1212 commented 2 years ago

To launch, I just go to the GUI folder, right click and "run". I'm happy to do it another way.

How would I go about adding those variables to the launcher? A config file somewhere?

Thank you.

Sent with Proton Mail secure email.

------- Original Message ------- On Monday, September 26th, 2022 at 11:30 AM, Old Dip Tracker @.***> wrote:

Is this expected?

Yes, it is. How do you launch dogecoin-qt normally? You should add these environment variables to the launcher so that it picks it up every time, rather than setting this globally, so that it only does that for the Dogecoin wallet and software using different versions of Qt are not affected by this little "hack".

Maybe I should switch GPUs?

Not needed. We can make this work, I'm sure.

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you authored the thread.Message ID: @.***>

patricklodder commented 2 years ago

You should be able to take the contributed .desktop file from here and change the Exec= line to be (with your dogecoin-qt path, not /path/to/):

Exec=env QT_SCALE_FACTOR=1 QT_AUTO_SCREEN_SCALE_FACTOR=0 /path/to/dogecoin-qt %u

Then opening the .desktop file should apply the variables for you every time.

Eumaios1212 commented 2 years ago

When I attempt to create a .desktop file with the following lines, I'm told "Error writing Doge.desktop: Permission denied"

Name=Dogecoin Core Comment=Connect to the Dogecoin P2P Network Exec=env QT_SCALE_FACTOR=1 QT_AUTO_SCREEN_SCALE_FACTOR=0 /media/shawn/UbuntuSSD/Doge/dogecoin-1.14.6/bin> Terminal=false Type=Application Icon=dogecoin128 MimeType=x-scheme-handler/dogecoin; Categories=Office;Finance;

I'm sure I'm making a simple error. I'm only in week two of using any Linux distro--migrating from Windows (where Doge worked fine).

Sent with Proton Mail secure email.

------- Original Message ------- On Tuesday, September 27th, 2022 at 10:03 AM, Old Dip Tracker @.***> wrote:

You should be able to take the contributed .desktop file from here and change the Exec= line to be (with your dogecoin-qt path, not /path/to/):

Exec

=env

QT_SCALE_FACTOR

=1

QT_AUTO_SCREEN_SCALE_FACTOR

=0 /path/to/dogecoin-qt %u

Then opening the .desktop file should apply the variables for you every time.

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you authored the thread.Message ID: @.***>

leuqarte commented 2 years ago

To where are you creating/writing the .desktop file?

Eumaios1212 commented 2 years ago

I assumed here:

/usr/share/applications

Perhaps I misunderstood. It is unfortunate that I am having to learn Linux/Ubuntu at the same time as fix this problem. I appreciate your patience with my ignorance.

Sent with Proton Mail secure email.

------- Original Message ------- On Thursday, September 29th, 2022 at 3:24 PM, leuqarte @.***> wrote:

To where are you creating/writing the .desktop file?

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you authored the thread.Message ID: @.***>

patricklodder commented 2 years ago

You should be able to put it in ~/.local/share/applications to not need to make changes with root and keep everything in user space. If that doesn't exist yet, do:

mkdir -p ~/.local/share/applications
Eumaios1212 commented 2 years ago

Ok, I created and placed this .desktop file in this folder. It still does not load properly. Above it was mentioned that I should "open the .desktop file". I'm not sure what that means. To start the wallet and daemon, don't I have to run Dogecoin-qt ?

Sent with Proton Mail secure email.

------- Original Message ------- On Friday, September 30th, 2022 at 9:03 AM, Old Dip Tracker @.***> wrote:

You should be able to put it in ~/.local/share/applications to not need to make changes with root and keep everything in user space. If that doesn't exist yet, do:

mkdir -p

~

/.local/share/applications

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you authored the thread.Message ID: @.***>

alamshafil commented 2 years ago

This is how I did it on my end:

  1. Make the folder

    mkdir -p ~/.local/share/applications
  2. Create the dogecoin.desktop

    nano ~/.local/share/applications/dogecoin.desktop

    Contents (make sure to update Exec line to location of dogecoin-qt)

    [Desktop Entry]
    Name=Dogecoin Core
    Comment=Connect to the Dogecoin P2P Network
    Comment[de]=Verbinde mit dem Dogecoin peer-to-peer Netzwerk
    Comment[fr]=Dogecoin, monnaie virtuelle cryptographique pair à pair
    Comment[tr]=Dogecoin, eşten eşe kriptografik sanal para birimi
    Exec=env QT_SCALE_FACTOR=1 QT_AUTO_SCREEN_SCALE_FACTOR=0 /path/to/dogecoin-qt %u
    Terminal=false
    Type=Application
    Icon=dogecoin128
    MimeType=x-scheme-handler/dogecoin;
    Categories=Office;Finance;
    1. (optional) Update desktop database
      update-desktop-database
    2. (optional, need root) Install dogecoin icon
      wget https://raw.githubusercontent.com/dogecoin/dogecoin/master/share/pixmaps/dogecoin128.png # download icon
      sudo install -Dm644 dogecoin128.png /usr/share/pixmaps/dogecoin128.png # install icon
      rm dogecoin128.png # delete icon since installed

    Result (GNOME desktop):

Screenshot from 2022-10-11 21-33-45