ubuntu 桌面技巧学习笔记
Posted 11 months, 1 week ago at 11:30 am. 0 comments
完整内容在 https://help.ubuntu.com/ubuntu/desktopguide/C/desktop-tips.html
笔记如下:
Alt-F2 运行程序
Open files with administrative privileges from the file manager
Open a new file to edit in the relevant directory:
gedit $HOME/.gnome2/nautilus-scripts/Open\ as\ Administrator
Insert the following lines into the new file:
for uri in $NAUTILUS_SCRIPT_SELECTED_URIS; do
gksudo “gnome-open $uri” &
done
Save the edited file (an example)
Make the edited file executable:
chmod +x $HOME/.gnome2/nautilus-scripts/Open\ as\ Administrator
Hide Recent Documents in the Places menu
To hide Recent Documents from the Places menu, open a terminal and run the command:
chmod 400 ~/.recently-used
To enable it again, run the command:
chmod 600 ~/.recently-used
重启Gnome
Ctrl-Alt-Backspace
或者
sudo /etc/init.d/gdm restart
Preventing the Ctrl-Alt-Backspace shortcut keys from restarting X
Make a backup copy of your existing /etc/X11/xorg.conf file:
sudo cp /etc/X11/xorg.conf /etc/X11/xorg.conf_backup
Open /etc/X11/xorg.conf for editing:
gksudo gedit /etc/X11/xorg.conf
Add the following lines to the end of the file:
Section “ServerFlags”
Option “DontZap” “yes”
EndSection
Save the edited file (an example).
The change will take effect the next time you log in to GNOME.
Popularity: 7% [?]
Tags: gnome, tips, ubuntu, viRelated posts
No Replies
Feel free to leave a reply using the form below!