wok rev 25683
Add entry menu to use pm-suspend more friendly
author | Stanislas Leduc <shann@slitaz.org> |
---|---|
date | Sat Apr 06 11:51:33 2024 +0200 (7 months ago) |
parents | 1fdbf2cdfae4 |
children | 9a5b8aaafaf5 |
files | pm-utils/receipt pm-utils/stuff/pm-suspend.desktop |
line diff
1.1 --- a/pm-utils/receipt Sun Mar 24 18:25:46 2024 +0000 1.2 +++ b/pm-utils/receipt Sat Apr 06 11:51:33 2024 +0200 1.3 @@ -46,7 +46,7 @@ 1.4 genpkg_rules() 1.5 { 1.6 # main 1.7 - mkdir -p $fs/usr/lib 1.8 + mkdir -p $fs/usr/lib $fs/usr/share/applications 1.9 cp -a $install/usr/bin $fs/usr 1.10 cp -a $install/usr/sbin $fs/usr 1.11 cp -a $install/usr/lib/pm-utils $fs/usr/lib 1.12 @@ -70,6 +70,10 @@ 1.13 echo -n "Add video quirks" 1.14 cp -a $stuff/video-quirks $fs/usr/lib/pm-utils 1.15 status 1.16 + 1.17 + # add pm-suspend menu entry 1.18 + echo -n "Add pm-suspend menu entry" 1.19 + cp -a $stuff/pm-suspend.desktop $fs/usr/share/applications 1.20 } 1.21 1.22 pre_remove()
2.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 2.2 +++ b/pm-utils/stuff/pm-suspend.desktop Sat Apr 06 11:51:33 2024 +0200 2.3 @@ -0,0 +1,10 @@ 2.4 +[Desktop Entry] 2.5 +Type=Application 2.6 +Name=Suspend to RAM 2.7 +Name[fr]=Hibernation en RAM 2.8 +Comment=Suspend computer in ram 2.9 +Comment[fr]=Hibernation de l'ordinateur en mémoire 2.10 +StartupNotify=true 2.11 +Exec=subox pm-suspend 2.12 +Icon=preferences-desktop-screensaver 2.13 +Categories=GTK;Settings;DesktopSettings;