Article Title: Build a perfect Linux operating system. Linux is a technology channel of the IT lab in China. Includes basic categories such as desktop applications, Linux system management, kernel research, embedded systems, and open source. The flexibility of Linux is manifested in multiple aspects. One of the ways to achieve the same goal and to quickly solve the problem is one of the manifestations. This also produces many tips. Here we will introduce 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,
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.
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.
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.
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.
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 ".
8. Browse files in Nautilus with root User Permissions
By default, our users have low permissions in Nautilus and it is inconvenient to manage files. Therefore, we can set the root user permission to browse files in Nautilus, create a new desktop configuration item in the/usr/share/applications directory:
Sudo gedit/usr/share/applications/Nautilus-root.desktop
Open blank Nautilus-root.desktop in Text Editor
Write in this file:
[Desktop Entry]
Name = File Manager (Super User)
Comment = Browse the filesystem with the file manager
Exec = gksudo "nautilus -- browser % U"
Icon = file-manager
Terminal = false
Type = Application
Categories = Application; System;
Save the file and close the file editor gedit. To start Nautilus as the Root user, choose Application> System Tools> File Manager (Root ),
9. view remote SSH, FTP, and SFTP servers in Nautilus
Use Ctrl + L to open the location bar of Nautilus and enter:
For SSH:
Ssh: // username@ssh.server.com
For FTP:
Ftp: // username@ftp.server.com/
For SFTP:
Sftp: // username@sftp.server.com
Replace username with your username, and replace the @ with the server address. The system will ask you for a password if necessary. If you do not have a username (anonymous), you can omit the username and @ flag.
You can also enter a password, for example:
Ftp: // username: password@ftp.server.com/
10. display my computer, home directory, and recycle bin on GNOME Desktop
First, we have added the universe and multiverse software libraries. In the article "Creating a perfect linux system: hardware-related", we will provide a detailed tutorial to install the gtweakui program with the new version:
Gnome Desktop Environment (universe)> gtweakui
After the gTweakUI is installed, choose system> preference> gTweakUI-Nautilus. Check the Show computer icon, Show home icon, and Show recycle bin icon. This change takes effect immediately.
[1] [2] [3] Next page