Difference between revisions of "LXQt"
Views
Actions
Namespaces
Variants
Tools
no edit summary
imported>Excalibur1234 |
imported>Excalibur1234 |
||
Line 209: | Line 209: | ||
Right click on your panel and choose "Add panel widget". Then add a Quick Launch / Starter widget. A text will appear on your panel. | Right click on your panel and choose "Add panel widget". Then add a Quick Launch / Starter widget. A text will appear on your panel. | ||
You can drag and drop any icon | You can drag and drop any icon (from your start menu / mainmenu or your custom icon file) there in order to create a Quick Launch / Starter icon in your panel. You can even drop multiple icons / icon files on one Quick Launch / Starter widget. | ||
But if you want your custom icon in your panel, you must first create your own <code>.desktop</code> file (please keep reading). | |||
===Example:=== | |||
For demonstration purposes, let's create a custom icon, which will shut down our computer when clicked: | For demonstration purposes, let's create a custom icon, which will shut down our computer when clicked: | ||
First, let's create a new file (e.g. in your home directory or any other directory you want): Right click and choose "Create New" --> "Blank File". Name the file <code>ShutDown.desktop</code>. You can choose any name you want, but the <code>.desktop</code> in the end is important. | First, let's create a new file (e.g. in your home directory or any other directory you want): Right click and choose "Create New" --> "Blank File". Name the file <code>ShutDown.desktop</code>. You can choose any name you want, but the <code>.desktop</code> in the end is important. | ||
Next, edit this file with a text editor: | Next, edit this file with a text editor. It's file content is supposed to look like: | ||
[Desktop Entry] | [Desktop Entry] | ||
Line 231: | Line 233: | ||
Finally, you can drag and drop your custom icon file onto | Finally, you can drag and drop your custom icon file onto a Quick Launch / Starter widget in your panel (as described in the beginning of this chapter) to create your custom panel icon. | ||