LinuxThe flexibility is manifested in multiple aspects. It is one of the manifestations of achieving the same goal in multiple ways and quickly solving problems.TipsHere are some common tips.
1. Restart the GNOME Desktop instead of restarting the computer
After saving and disabling the file to be saved, press Ctrl-Alt-Backspace to restart GNOME. If the Ctrl-Alt-Backspace key combination is disabled, enter
Sudo/etc/init. d/MCM restart
2. Enable the numeric Lock Num Lock on the keypad when GNOME is started.
After joining the universe software library, use the new one to install numlockx
X11 (universe)> numlockx
If this classification is not available, search for this package, as shown in Figure 1:
Figure 1
Back up the/etc/X11/TPD/Init/Default file:
Sudo cp/etc/X11/mcm/Init/Default/etc/X11/mcm/Init/Default_backup
Edit/etc/X11/TPD/Init/Default:
Sudo gedit/etc/X11/mcm/Init/Default
Find this line (it should be the last line ).
Exit 0
Add
If [-x/usr/bin/numlockx]; then
/Usr/bin/numlockx on
Fi
Save the file. 2:
Figure 2
The change will take effect the next time GNOME is started. If you want to try it out immediately, you can disable Num Lock and restart GNOME without restarting your computer.
3. automatically run the program at GNOME startup
This is similar to the boot program in Windows. Choose system> preference> session, select the Startup Program page, and use the add, edit, and delete buttons to manage the programs to be started at logon. 3:
Figure 3
4. Switch to Terminal Mode
You can switch to the first terminal by using the Ctrl-Alt-F1 combination key. To switch back to the desktop, you can press the Ctrl-Alt-F7 key combination. A total of six terminals are available. Each of them corresponds to a Ctrl-Alt-F1 to a Ctrl-Alt-F6.
5. Press Ctrl-Alt-Backspace to restart X.
Back up the/etc/X11/xorg. conf file.
Sudo cp/etc/X11/xorg. conf/etc/X11/xorg. conf_backup
Edit/etc/X11/xorg. conf.
Sudo gedit/etc/X11/xorg. conf
Add
Section "ServerFlags"
Option "DontZap" "yes"
EndSection
Save the file. The change will take effect the next time GNOME is started. If you want the change to take effect immediately, you can manually restart GNOME. 4:
Figure 4
6. Use the non-browsing mode of Nautilus
In the Nautilus file browser, choose Edit> preference. Click the behavior tab. If this option is not selected, it is always opened in the browser window. Disable and re-open Nautilus. 5:
Figure 5
7. show hidden items in Nautilus
By default, Nautilus, our file browsing tool, does not show hidden projects. You can use the Ctrl-H shortcut to switch between display and hide folders.
To permanently display hidden files, choose Edit> preference. Click view page. Select "show hidden and backup files ". 6:
Figure 6