打印

krusader(超级用户模式)在gnome的菜单怎样建立?

krusader(超级用户模式)在gnome的菜单怎样建立?

我的系统是ubuntu6.06,桌面是gnome,所用的文件管理器是Krusader1.070,但它默认启动的是普通用户!只有在进入以普通用户启动krusader,再在它的界面启动超级用户,很不方便,我想直接建立一个启动超级用户模式的krusader(桌面gnome)的菜单应怎样建立?

它在KDE桌面下的超级用户模式krusader的菜单(krusader_root-mode.desktop)内容为:

[Desktop Entry]
Encoding=UTF-8
Name=Krusader - root-mode
Exec=krusader -caption "%c" %i %m
Icon=krusader_root.png
Terminal=false
Type=Application
DocPath=krusader/index.html
Categories=Qt;KDE;System;
OnlyShowIn=KDE;
X-KDE-SubstituteUID=true
X-KDE-Username=root
Comment=Twin-Panel File Manager with root-privileges
GenericName[zh_CN]=文件管理器
GenericName[zh_TW]=檔案管理程式



以root用户权限在 Nautilus 中浏览文件内容为:

[Desktop Entry]

Name=文件管理器(超级用户)

Comment=Browse the filesystem with the file manager

Exec=gksudo "nautilus --browser %U"

Icon=file-manager

Terminal=false

Type=Application

Categories=Application;System;


大家帮我看看怎样建立krusader_root-mode.desktop(for gnome)?

TOP

试试sudo,krusader现在的中文支持怎样
我的公钥
©气势磅礴的雪崩只是因为最轻薄的雪花也有她的重量

TOP

什么中文支持?现在这krusader就以是中文的!相当正常。我用V1.70.0版!就是不知道上面问题怎样解决?

在终端下用sudo krusader是可以进入超级用户,我就想建个快捷方式krusader_root-mode.desktop。

TOP

在桌面上建立一个启动器,写上你的命令即可

命令为 sudo krusader

或者 gksudo krusader

TOP

[quote:bf384204a3="yangh"]在桌面上建立一个启动器,写上你的命令即可

命令为 sudo krusader

或者 gksudo krusader[/quote]

不起作用!根本不能启动。双击没反应。我试了这样建立也不能启动:

[Desktop Entry]
Encoding=UTF-8
Name=Krusader - root-mode
Name[zh_CN]=Krusader - root-模式
Exec=gksu /usr/bin/krusader -caption "%c" %i %m
Icon=krusader_root.png
Terminal=false
Type=Application
DocPath=krusader/index.html
Categories=Application;System;
Comment=Twin-Panel File Manager with root-privileges
GenericName=File Manager
GenericName[zh_CN]=文件管理器
GenericName[zh_TW]=檔案管理程式
MultipleArgs=false
NotShowIn=KDE
X-KDE-SubstituteUID=true
X-Ubuntu-Gettext-Domain=krusader

TOP

首先你要确认
gksu /usr/bin/krusader -caption "%c" %i %m
能在命令行上正常工作,然后再创建相应的启动器。

TOP

多谢!问题已经解决,是参数的问题!去掉就行!

TOP