You are not logged in.

#1 2016-07-05 19:19:43

Zwenn
Member
Registered: 2016-07-05
Posts: 9

Unable to pin GNOME-Terminal on Docky

Hello everybody,

I just installed Docky on my arch machine an wanted to pin the "GNOME-Terminal" on it.

I didn't have any problems with other programs, Firefox, Netbeans and so on...only the Terminal could not be pinned.

On right-click there isn't an entry to pin the application on Docky, and it couldn't also added by drag-and-drop.

Could please someone help me?

Thanks
Sven

Offline

#2 2016-07-11 15:19:41

Tead
Member
Registered: 2016-07-11
Posts: 1

Re: Unable to pin GNOME-Terminal on Docky

You aren't the only one.

There is a (confirmed) bug report on the Docky Launchpad site already:
https://bugs.launchpad.net/docky/+bug/1587481

Offline

#3 2016-10-06 19:42:58

teravice
Member
Registered: 2014-12-05
Posts: 4
Website

Re: Unable to pin GNOME-Terminal on Docky

A simple solution that works is:

1) open terminal and then cd /usr/share/applications

2) sudo nano gnome-terminal.desktop

3) paste this:

[Desktop Entry]
Name=Terminal
Comment=Use the command line
TryExec=gnome-terminal
Exec=gnome-terminal
Icon=utilities-terminal
Type=Application
X-GNOME-DocPath=gnome-terminal/index.html
X-GNOME-Bugzilla-Bugzilla=GNOME
X-GNOME-Bugzilla-Product=gnome-terminal
X-GNOME-Bugzilla-Component=BugBuddyBugs
X-GNOME-Bugzilla-Version=3.20.2
Categories=GNOME;GTK;Utility;TerminalEmulator;
StartupNotify=true
StartupWMClass=gnome-terminal
OnlyShowIn=GNOME;
Keywords=Run;
Actions=New

[Desktop Action New]
Name=New Terminal
Exec=gnome-terminal
OnlyShowIn=GNOME

4) save and close the file

5) navigate through nautilus to /usr/share/applications and find the Terminal icon. You should now have 2 icons. Drag one of them to Docky. If you drag the one you created you are good to go. if you have dragged the old one then: if you open a terminal it will pop a new terminal icon. Right click on the new terminal, Pin to Dock and then remove via drag and drop the old one.

DO NOT DELETE THE FILE YOU CREATED.. it will break it.

Until they fix the bug you can use this solution


                                            There is no cure for curiosity...

Offline

#4 2016-10-09 12:40:28

Zwenn
Member
Registered: 2016-07-05
Posts: 9

Re: Unable to pin GNOME-Terminal on Docky

Thanks for your post, but it doesn't work for me.

There is just ONE icon in /usr/share/applications...

Zwenn

Offline

#5 2016-10-09 12:55:21

teravice
Member
Registered: 2014-12-05
Posts: 4
Website

Re: Unable to pin GNOME-Terminal on Docky

That's weird because I just did it 2 days ago on a clean install. If you ls at /usr/share/applications do you see the file you created? That should be gnome-terminal.desktop

Last edited by teravice (2016-10-09 12:55:53)


                                            There is no cure for curiosity...

Offline

#6 2016-10-09 15:35:21

Zwenn
Member
Registered: 2016-07-05
Posts: 9

Re: Unable to pin GNOME-Terminal on Docky

Yes, I can see the new file. But I can not drag and drop it to Docky. And the file does not have the Same icon aß the terminal "original" file.

The icon of the new file looks like a paper symbol,  like on printers etc.

Last edited by Zwenn (2016-10-09 15:37:20)

Offline

#7 2016-10-09 15:37:56

teravice
Member
Registered: 2014-12-05
Posts: 4
Website

Re: Unable to pin GNOME-Terminal on Docky

Does it execute if you double-click it? If not, run sudo chmod +x /usr/share/applications/gnome-terminal.deaktop


                                            There is no cure for curiosity...

Offline

#8 2016-10-10 11:19:41

Zwenn
Member
Registered: 2016-07-05
Posts: 9

Re: Unable to pin GNOME-Terminal on Docky

Thanks. I will check it later.

Offline

#9 2016-10-11 04:41:25

Zwenn
Member
Registered: 2016-07-05
Posts: 9

Re: Unable to pin GNOME-Terminal on Docky

I did chmod but I was not able to drag and drop the new file to Docky.

I don't know why, but after a reboot there is a terminal icon in Docky. Wien I click on it, the icon only "jumps" a little bit but there starts nö terminal.

Is there something with with the user rights?

UPDATE
Changing the group rights to user does not solve my problem

Last edited by Zwenn (2016-10-11 06:00:51)

Offline

Board footer

Powered by FluxBB