Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revision | |||
| dcore:migrating_from_flwm_to_lxde [2018/07/15 16:52] – [LXPanel menu entries and buttons for suspending to RAM or disk] sm8ps | dcore:migrating_from_flwm_to_lxde [2018/07/15 17:30] (current) – +[quick shutdown button] sm8ps | ||
|---|---|---|---|
| Line 159: | Line 159: | ||
| Afterwards, it is a trivial task of adding an application starter to the LXPanel items with these menu entries. | Afterwards, it is a trivial task of adding an application starter to the LXPanel items with these menu entries. | ||
| + | |||
| + | ==== LXPanel button for quick shutdown with automatic backup ==== | ||
| + | |||
| + | In the same light, one may want to creat a blue exit button in the panel that performs a backup of ' | ||
| + | |||
| + | First, create an // | ||
| + | < | ||
| + | #!/bin/sh | ||
| + | filetool.sh -b | ||
| + | exitcheck.sh shutdown | ||
| + | </ | ||
| + | |||
| + | Then create a menu entry via ' | ||
| + | < | ||
| + | [Desktop Entry] | ||
| + | Name=Exit w/ Backup | ||
| + | Exec=/ | ||
| + | Icon=/ | ||
| + | Type=Application | ||
| + | Categories=System; | ||
| + | </ | ||
| + | |||
| + | Finally, add the menu entry to the application launcher in LXPanel. | ||
| ===== Openbox settings ===== | ===== Openbox settings ===== | ||