Eu quero começar a aplicação kwrite no modo raiz, mas na minha barra de ferramentas inferior.
Eu estava revisando esta postagem Como adicionar um item ao menu Aplicativos? , mas não sei como editá-lo.
Eu sei, é possível usar $ sudo KWrite como root, mas eu não quero ter uma sessão de janela do Terminal exclusivamente para outro aplicativo.
Eu quero abrir diretamente como root pressionando o atalho!
$ sudo kwrite
Connecting to deprecated signal QDBusConnectionInterface::serviceOwnerChanged(QString,QString,QString)
kbuildsycoca4 running...
Outro com & mas sempre imprime mensagens de aviso irritantes ...
$ sudo kwrite &
[2] 9763
[1] Done sudo kwrite
[xxxxx@CentOS Desktop]$ kwrite(9765) KSambaSharePrivate::testparmParamValue: We got some errors while running testparm "Load smb config files from /etc/samba/smb.conf
Loaded services file OK.
WARNING: You have some share names that are longer than 12 characters.
These may not be accessible to some older clients.
(Eg. Windows9x, WindowsMe, and smbclient prior to Samba 3.0.)
"
Module "resources" is registered
Module "activities" is registered
Module "features" is registered
These are the disabled plugins: ("activitymanager_plugin_dummy", "activitymanager_plugin_nepomuk")
This is the current thread id for Activities 139949764507392 QThread(0x127f170)
Initializing plugin: "activitymanager_plugin_globalshortcuts"
This is the current thread id for Activities 139950302849216 QThread(0x10c9f20)
Initializing plugin: "activitymanager_plugin_slc"
Initializing plugin: "activitymanager_plugin_virtualdesktopswitch"
VirtualDesktopSwitch::init
Module "org.kde.ActivityManager.VirtualDesktopSwitch" is registered
Initializing plugin: "activitymanager_plugin_activityranking"
running in thread ActivityRanking
Initializing plugin: "activitymanager_plugin_sqlite"
Module "org.kde.ActivityManager.Resources.Scoring" is registered
QDBusConnection: name 'org.kde.kglobalaccel' had owner '' but we thought it was ':1.10'
É possível?
Como fazer isso?
Tags root centos desktop-shortcuts