Hi, I'm Tuan. Today I will create shutdown icon for linux operating system.
- you are in a hurry, want to shutdown quickly on ubuntu complicated shutdown operations, type the command that makes you uncomfortable. Let's learn about creating shutdown icon. I will help you to create a turn off icon for ubuntu. You can only install the icon on your computer screen. To create the icon, it must go through the following steps:
Create a file named turn-off.desktop using terminal cat > turn-off.desktop
Turn on write file mode and write the command line:
[Desktop Entry]
Version=x.y
Name=Shut down icon
Comment = create by Tuan Tran
Exec=/sbin/shutdown -Ph now
Icon=/usr/share/icons/Humanity/places/16/folder_home.svg
Terminal=false
Type=Application
Categories=Utility;Application;
Left click enable properties and go to permission tab allow executing file as program
Right click allow lauching and here is the result:
So you are done creating the shutdown icon. good luck!
Top comments (0)