[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: define a new keyboard shortcuts in "settings/keyboard/shortcuts"



On 2015-04-22, mudongliang <mudongliangabcd@hotmail.com> wrote:
> I want to define a new  keyboard shortcuts in the graphic
> "settings/keyboard/shortcuts" to start-up the gitlab!
> Name: Gitlab Panel
> Commands: su -c "/opt/gitlab-7.9.3-0/manager-linux-x64.run"
> The attribute of this file is following :
> /opt/gitlab-7.9.3-0/manager-linux-x64.run: ELF 64-bit LSB executable,
> x86-64, version 1 (GNU/Linux), statically linked, stripped
> But when I press the keyboard , there is no response to me! 
>
> mudongliang
>
>

Try using /usr/bin/gksu (from the package of the same name) instead of
su. (See the man page for the appropriate syntax.) Then you will be
prompted for the root password.

-- 

Liam



Reply to: