Author

Topic: Get the Bitcoin-Qt menus back on Unity Ubuntu 12.04 and up (Read 3564 times)

legendary
Activity: 1358
Merit: 1002
Use Gnome or KDE.
You are just loosing time with Unity.
We'll use whatever we want to, OK?
This thread is about a problem with the Bitcoin-qt software on Unity and how to solve it, it's not a thread about your favourite window manager, so, please, take your off-topic advice somewhere else. Noticed the part about the problem being with Bitcoin-qt, not Unity? If you're so eager to help why didn't you recommend an alternative bitcoin client instead of going straight to the window manager?
hero member
Activity: 504
Merit: 500
Use Gnome or KDE.
You are just loosing time with Unity.
legendary
Activity: 1358
Merit: 1002
BTW, you should use the following solution if you're using 13.04(at least on the 13.04 I'm using Tongue)
In 13.04 the .desktop file/shortcut disappears from the HUD when edited, so now I'm using the method below

Start it from the command line using the following command
Code:
APPMENU_DISPLAY_BOTH=1 bitcoin-qt &
legendary
Activity: 1176
Merit: 1233
May Bitcoin be touched by his Noodly Appendage
Thank you Psy! I'm still learning my way through Linux Unity and I'd already written this problem off as something I'd have to live with. So nice to not have to boot into Windows or OSX just to run bitcoin-qt!
member
Activity: 68
Merit: 10
Open up your terminal and type
Code:
sudo gedit /usr/share/applications/bitcoin-qt.desktop

Find the following line
Code:
Exec=/usr/bin/bitcoin-qt
and replace it with
Code:
Exec=APPMENU_DISPLAY_BOTH=1 bitcoin-qt

Thank you Psy! I'm still learning my way through Linux and I'd already written this problem off as something I'd have to live with. So nice to not have to boot into Windows or OSX just to run bitcoin-qt!
legendary
Activity: 1358
Merit: 1002
I tried this and it didn't work. Still no menu on my Bitcoin-QT window in Ubuntu 12.04. Anyone else having this issue?

On 12.04/12.10 worked perfect for me. In 13.04 the .desktop file/shortcut disappears from the HUD when edited, so now I'm using the method below

Start it from the command line using the following command
Code:
APPMENU_DISPLAY_BOTH=1 bitcoin-qt &
legendary
Activity: 1358
Merit: 1002
Cool, thanks.

How did you find this out?
I wonder if there is a way to do this programmatically inside bitcoin-qt.


I found in the meantime that 1 in 20 starts or so still has no menus, but I can live with that.
This isn't a solution, just a workaround. My previous workaround was to uninstall appmenu-qt and only have local menu in all qt apps and was clearly worse than this one.
hero member
Activity: 812
Merit: 1022
No Maps for These Territories
Cool, thanks.

How did you find this out?
I wonder if there is a way to do this programmatically inside bitcoin-qt.
legendary
Activity: 1358
Merit: 1002
How will you do that?
Easy!

Open up your terminal and type
Code:
sudo gedit /usr/share/applications/bitcoin-qt.desktop

Find the following line
Code:
Exec=/usr/bin/bitcoin-qt
and replace it with
Code:
Exec=APPMENU_DISPLAY_BOTH=1 bitcoin-qt

Save the file.

Open Unity HUD and start Bitcoin-qt.

If the above doesn't work, then try the following workaround.

Start it from the terminal using the following command
Code:
APPMENU_DISPLAY_BOTH=1 bitcoin-qt &


You should have at least one of the menus available now. Smiley
Jump to: