Bitcoin Forum

Bitcoin => Development & Technical Discussion => Topic started by: Raoul Duke on April 25, 2013, 11:20:17 AM



Title: Get the Bitcoin-Qt menus back on Unity Ubuntu 12.04 and up
Post by: Raoul Duke on April 25, 2013, 11:20:17 AM
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. :)


Title: Re: Get the Bitcoin-Qt menus back on Unity Ubuntu 12.04 and up
Post by: wumpus on April 25, 2013, 04:31:21 PM
Cool, thanks.

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


Title: Re: Get the Bitcoin-Qt menus back on Unity Ubuntu 12.04 and up
Post by: Raoul Duke on April 25, 2013, 07:58:25 PM
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.


Title: Re: Get the Bitcoin-Qt menus back on Unity Ubuntu 12.04 and up
Post by: Raoul Duke on May 28, 2013, 10:14:36 AM
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 &


Title: Re: Get the Bitcoin-Qt menus back on Unity Ubuntu 12.04 and up
Post by: Landstander on August 23, 2013, 07:13:19 PM
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!


Title: Re: Get the Bitcoin-Qt menus back on Unity Ubuntu 12.04 and up
Post by: jackjack on August 23, 2013, 07:51:31 PM
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!


Title: Re: Get the Bitcoin-Qt menus back on Unity Ubuntu 12.04 and up
Post by: Raoul Duke on August 23, 2013, 08:17:54 PM
BTW, you should use the following solution if you're using 13.04(at least on the 13.04 I'm using :P)
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 &


Title: Re: Get the Bitcoin-Qt menus back on Unity Ubuntu 12.04 and up
Post by: virtualmaster on August 27, 2013, 10:02:04 AM
Use Gnome or KDE.
You are just loosing time with Unity.


Title: Re: Get the Bitcoin-Qt menus back on Unity Ubuntu 12.04 and up
Post by: Raoul Duke on August 27, 2013, 01:11:43 PM
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?