Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
dcore:migrating_from_flwm_to_lxde [2018/07/15 16:49] – [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 137: | Line 137: | ||
==== LXPanel menu entries and buttons for suspending to RAM or disk ==== | ==== LXPanel menu entries and buttons for suspending to RAM or disk ==== | ||
- | If [[dcore: | + | If [[dcore: |
First, create the directory ' | First, create the directory ' | ||
Line 158: | Line 158: | ||
LXPanel should automatically recognize the changes and show the new menu entries. If not so, then '' | LXPanel should automatically recognize the changes and show the new menu entries. If not so, then '' | ||
+ | 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 ===== | ||