- 1. Question: how can I change the settings of xfce4-power-manager - I can change the values in the graphical interface, but it has no effect - same thing if I change the values in .config/xfce4/xfconf/xfce-perchannel-xml/xfce2-power-manager.xml.
It does always the same thing - shut doqn, if I press the power button - suspends, when I close the lid -etc. etc.
- 2. Question: Hibernation - it wants to hibernate on inactivity. but it does not, because of not finding the swapfile - there is a swapfile, but it recognices it as swsuspend - normally hibernation should work with this filetype, but ok it does not - so I swapon - and now hibernation works
but how to make it persistent - because on every boot, the swappartition is all the time recogniced as swsuspend
Code: Select all
root@porteus:/home/guest# cat /etc/fstab # Do not edit this file as fstab is recreated automatically during every boot. # Please use /etc/rc.d/rc.local or sysvinit scripts if you want to mount/unmount # drive, filesystem or network share. # System mounts: aufs / aufs defaults 0 0 proc /proc proc defaults 0 0 sysfs /sys sysfs defaults 0 0 devtmpfs /dev devtmpfs defaults 0 0 devpts /dev/pts devpts rw,mode=0620,gid=5 0 0 # Device partitions: /dev/mmcblk0p1 /mnt/mmcblk0p1 ntfs-3g noatime,nodiratime,suid,dev,exec,async 0 0 /dev/mmcblk0p1 /mnt/mmcblk0p1 ntfs-3g users,noatime,nodiratime,suid,dev,exec,async,comment=x-gvfs-show 0 0 /dev/mmcblk0p2 /mnt/mmcblk0p2 ntfs-3g users,noatime,nodiratime,suid,dev,exec,async,comment=x-gvfs-show 0 0 /dev/mmcblk1p1 /mnt/mmcblk1p1 vfat users,noatime,nodiratime,suid,dev,exec,async,comment=x-gvfs-show,umask=0,check=s,utf8 0 0 /dev/mmcblk1p2 /mnt/mmcblk1p2 swsuspend users,noatime,nodiratime,suid,dev,exec,async,comment=x-gvfs-show 0 0 /dev/sda1 /mnt/sda1 ext4 users,noatime,nodiratime,suid,dev,exec,async,comment=x-gvfs-show 0 0 # Hotplugged devices: root@porteus:/home/guest# swapon /dev/mmcblk1p2 swapon: /dev/mmcblk1p2: Software-Ruhezustandsdaten entdeckt. Die Auslagerungssignatur wird neu geschrieben. root@porteus:/home/guest# cat /etc/fstab # Do not edit this file as fstab is recreated automatically during every boot. # Please use /etc/rc.d/rc.local or sysvinit scripts if you want to mount/unmount # drive, filesystem or network share. # System mounts: aufs / aufs defaults 0 0 proc /proc proc defaults 0 0 sysfs /sys sysfs defaults 0 0 devtmpfs /dev devtmpfs defaults 0 0 devpts /dev/pts devpts rw,mode=0620,gid=5 0 0 # Device partitions: /dev/mmcblk0p1 /mnt/mmcblk0p1 ntfs-3g noatime,nodiratime,suid,dev,exec,async 0 0 /dev/mmcblk0p1 /mnt/mmcblk0p1 ntfs-3g users,noatime,nodiratime,suid,dev,exec,async,comment=x-gvfs-show 0 0 /dev/mmcblk0p2 /mnt/mmcblk0p2 ntfs-3g users,noatime,nodiratime,suid,dev,exec,async,comment=x-gvfs-show 0 0 /dev/mmcblk1p1 /mnt/mmcblk1p1 vfat users,noatime,nodiratime,suid,dev,exec,async,comment=x-gvfs-show,umask=0,check=s,utf8 0 0 /dev/mmcblk1p2 none swap sw,pri=1 0 0 /dev/sda1 /mnt/sda1 ext4 users,noatime,nodiratime,suid,dev,exec,async,comment=x-gvfs-show 0 0 # Hotplugged devices: root@porteus:/home/guest#
- 3. Question - how to resume from hibernation. I run Porteus from USB-Stick. My syslinux Porteus config is like this:
but it does not resume - it boots fresh
Code: Select all
LABEL GRAPHICAL MENU LABEL Graphics mode KERNEL /boot/syslinux/vmlinuz INITRD /boot/syslinux/initrd.xz APPEND changes=/porteus resume=/dev/mmcblk1p2 TEXT HELP