You are not logged in.
Im not sure what controls screen blanking with cinnamon but im fairly certain you can use xset to fix it.
what does xset -q say in a terminal?
marjorie@grendel:~$ xset -q
Keyboard Control:
auto repeat: on key click percent: 0 LED mask: 00000002
XKB indicators:
00: Caps Lock: off 01: Num Lock: on 02: Scroll Lock: off
03: Compose: off 04: Kana: off 05: Sleep: off
06: Suspend: off 07: Mute: off 08: Misc: off
09: Mail: off 10: Charging: off 11: Shift Lock: off
12: Group 2: off 13: Mouse Keys: off
auto repeat delay: 500 repeat rate: 33
auto repeating keys: 00ffffffdffffbbf
fadfffefffedffff
9fffffffffffffff
fff7ffffffffffff
bell percent: 50 bell pitch: 400 bell duration: 100
Pointer Control:
acceleration: 2/1 threshold: 4
Screen Saver:
prefer blanking: yes allow exposures: yes
timeout: 0 cycle: 0
Colors:
default colormap: 0x20 BlackPixel: 0x0 WhitePixel: 0xffffff
Font Path:
/usr/share/fonts/X11/misc,/usr/share/fonts/X11/100dpi/:unscaled,/usr/share/fonts/X11/75dpi/:unscaled,/usr/share/fonts/X11/Type1,/usr/share/fonts/X11/100dpi,/usr/share/fonts/X11/75dpi,built-ins
DPMS (Energy Star):
Standby: 0 Suspend: 0 Off: 0
DPMS is Enabled
Monitor is OnI use Cinnamon (3.8.8) as my DE on Beowulf. I'm running a mains-powered desktop PC not a laptop with battery.
I've previously used my particular setup unchanged, apart from a few tweaks on both Mint (pre-systemd) and ASCII and for some time now Beowulf and it 'just worked'.
However I now find that the timer that automatically blanks the screen and then suspends my computer, and is controlled by the Power Management menu option (cinnamon-settings power) no longer works. Invoking suspend directly does work.
Cinnamon-screensaver also doesn't start automatically if you set a delay, though again it can be started directly.
Anyone with any suggestions as to what has broken previous behaviour? The only changes I've made in recent weeks are regular upgrades.
I note that cinnamon-settings-daemon 3.8.4.2 shows a dependency on libsystemd0 and I don't have libsystemd0 installed. However the Debian changelog shows the deb dates from 2018.
Devuan GNU/Linux 3 (beowulf) x86_64
Kernel: 4.9.0-17-amd64
Shell: bash 5.0.3
DE: Cinnamon
WM: Mutter
Terminal: gnome-terminal
Apparmor: 2:13.2-10
Man working fine:
marjorie@grendel:~$ man ls
LS(1) User Commands LS(1)
NAME
ls - list directory contents
SYNOPSIS
ls [OPTION]... [FILE]...
..etc.Altoid wrote:Is this right?
ie: linux-headers-amd64 -> Linux devuan 5.10.0-0.bpo.3-amd64 does no need it?Yes, that's right. The kernel does not have the headers listed as a dependency. The headers are only needed for building custom kernel modules so most users don't need them.
I think you do still need the current kernel headers to recompile the kernel module for NVidia if you are using NVidia's own driver.
I've now updated my earlier reply. It works with lightdm and hence with display managers that use lightdm. I think it was also present as a gludge in gdm. If you use something else (slim?) it may not work.
I have this working in Beowulf with lightdm and Cinnamon.
I have a GRUB_CMDLINE_LINUX="text" in /etc/default/grub.
I assume that you ran update-grub to change /boot/grub/grub.cfg?
This should have put a 'text' parameter in the linux /vmlinux.. line of your grub.cfg's menuentry.
This will start you in text mode, not sure if this will then permit you to successfully run startx - it is implemented as a simple trap in the lightdm init script (/etc/init.d/lightdm):
case "$1" in
start)
CONFIGURED_DAEMON=$(basename "$(cat $DEFAULT_DISPLAY_MANAGER_FILE 2> /dev/null)")
if grep -wqs text /proc/cmdline; then
log_warning_msg "Not starting Light Display Manager (lightdm); found 'text' in kernel commandline."
elif [ -e "$DEFAULT_DISPLAY_MANAGER_FILE" ] && \
[ "$HEED_DEFAULT_DISPLAY_MANAGER" = "true" ] && \
[ "$CONFIGURED_DAEMON" != lightdm ] ; then
log_action_msg "Not starting Light Display Manager; it is not the default display manager"
else
log_daemon_msg "Starting Light Display Manager" "lightdm"
start-stop-daemon --start --quiet --pidfile /var/run/lightdm.pid --name lightdm --exec $DAEMON -b|| echo -n " already running"
log_end_msg $?
fi
;;In my case this is on my mail server and I just run it headless and ssh -X into it from my desktop PC. Graphics mode (Cinnamon desktop) is installed as I used it when configuring the server and it's there if I were to need to work on the server with a keyboard and screen plugged in on my desk.
Isn't there a tool that does this switching sort of automagically if configured accordingly? Or do I have to re-invent the wheel? Is any of the network managers of any use in this case?
I use Network Manager and in Cinnamon the Network applet would allow you to enable whichever of ethernet or wireless is enabled.
You can still confuse it by choosing both if both are enabled.
With a laptop you'd usually choose ethernet if you were sitting at a desk that was wired. Elsewhere you'd probably try and use Wireless.
I can't speak about Chimaera, as I'll stick with stable/Beowulf, but at some point in my migrations I found I could no longer get uswusp to work but found that kernel suspend works OK.
I use pm (pm-utils package, pm-suspend or pm-hibernate commands) to suspend and hibernate and this has options for the power down methods:
# kernel The built-in kernel suspend/resume support.
# Use this if nothing else is supported on your system.
# uswsusp If your system has support for the userspace
# suspend programs (s2ram/s2disk/s2both), then use this.
# tuxonice If your system has support for tuxonice, use this.You can also specify suspend and resume modules in the config (/etc/pm/config.d/defaults). I do this for my wireless ath9k modules as otherwise my atheros wireless card doesn't power down.
You'll also need a resume=[swap partition] parameter in your grub's linux /boot/vmlinuz line if you use hibernate.
Of course they may have removed pm-utils in Chimaera, which would mean I'd have problems upgrading too.
Duh, You should get most of these options in your Cinnamon desktop.
Right click on desktop > Desktop Settings to choose which standard icons you want.
Right Click on desktop > Desktop to arrange your icons, with options for
Icon Size
Auto arrange
Align to grid
By name
By size
By detailed type
By modification date
Horizontal
Vertical
I have one panel at the top for most things and another as a dock at the bottom and (using auto arrange) get no issues with these overlapping the desktop icons.
--
Marjorie
Hi, my fw script is loaded by open-rc
It looks like this...
/home/glenn/build/firewall/fwautorun
#!/bin/bash ### BEGIN INIT INFO # Provides: scriptname # Required-Start: $remote_fs $syslog # Required-Stop: $remote_fs $syslog # Default-Start: 2 3 4 5 # Default-Stop: 0 1 6 # Short-Description: Start daemon at boot time # Description: Enable service provided by daemon. ### END INIT INFO ............
Glenn, If you check earlier in this thread e.g. contribution #7 you'll see that for Default-Start/stop you would normally (at least in sysvinit) use:
# Default-Start: S
# Default-Stop: 0 6The reason to use S rather than 2 is that it executes as early as possible, which is a desirable feature of a firewall.
Is there no S level in open-rc?
if you havent apt updated in a while today would be the day to do it if you use sudo.
My once-a-day unattended-upgrades (security fixes only) picked this up 2:52 GMT yesterday.
Must have been bad - they seems to have pushed it out to the downstream repos (I'm on stable) damn fast.
Marjorie wrote:To enable expressvpn as a daemon in sysvinit you use
I'm fairly sure that the postinst script for the .deb package will do that automatically via dh_installinit(1).
It should, if the sysvinit defaults has been set up when configuring the deb and the systemd default is also to enable. However some packages don't always enable by default - if the installation instructions explicitly tell you to enable the deamon then it won't have done it in the postinst script.
For example the nftables deb (another deb that doesn't install an /etc/init.d/nftables) also doesn't enable nftables by default even if you are using systemd.
Quite frequently when only systemd services are enabled and therefore /etc/inti.d/initscript is not included then the sysvinit postinit and postrm elements are not included either.
What I would suggest is that the OP either rerun update-rc.d, or at least check if their particular daemon has been enabled by looking to see if the synlinks are there.
You can also inspect the deb using gdebi. You'll find the postinst script in the 'installed files tab'. It should include something like this (taken from the chrony deb):
# Automatically added by dh_installinit/12.1.1
if [ "$1" = "configure" ] || [ "$1" = "abort-upgrade" ] || [ "$1" = "abort-deconfigure" ] || [ "$1" = "abort-remove" ] ; then
if [ -x "/etc/init.d/chrony" ]; then
update-rc.d chrony defaults >/dev/null
if [ -n "$2" ]; then
_dh_action=restart
else
_dh_action=start
fi
invoke-rc.d --skip-systemd-native chrony $_dh_action || exit 1
fi
fi
# End automatically added sectionNormally all I have to do is "dpkg -i <the .deb>" and "expressvpn activate"
This is my understanding:
The expression and syntax to enable and to start, stop, restart a service in sysvinit differ from those used by systemd
To enable expressvpn as a daemon in sysvinit you use:
sudo update-rc.d expressvpm defaultsThis creates symbolic links in etc/c0.d ... etc/rc6.d, etc/rcS.d back to /etc/init.d/expressvpn that then start (and stop) expressvpm in the run levels defined in /etc/init.d/expressvpn when the OS starts.
Once you have enabled expressvpn you can then use:
sudo service expressvpn start|stop|restart|status|reload|force-reloadto make changes on the fly.
You can disable a service with
sudo update-rc.d expressvpm removeThis removes the symbolic links, however you need to have removed /etc/init.d/expressvpn first.
How do you install networkmanager properly?
# apt install network-manager{,-gnome}Not sure if that even works without systemd though. I don't use it myself but I know that it has to be removed in Debian buster if you want to use sysvinit, OpenRC or runit-init instead of systemd.
I need to add it to sysvinit as well?
I don't think so, debhelper should do that for you. If it doesn't then file a bug with Debian (after reproducing the problem in a Debian system).
FWIW Network Manager comes as default and works fine in a Beowulf + sysvinit + Cinnamon system i.e without systemd.
As a Cinnamon user I use GDebi if I want to install and view, for audit purposes, off-package Debs (including viewing their install scripts).
Much simpler.
The renaming of ethX and wlanX was something that was introduced in Debian 10 Buster and there was a warning about it in the Release Notes. Devuan Beowulf however retained the traditional names and when I've installed it (on AMD64 systems) it's worked out of the box.
I'm unclear how this was done. However I don't think the Devuan linux-images are patched (there aren't even any +deb10u1 markers on the more recent 4.19 linux-images).
My desktop PC which used wlan0 has a udev rule (/etc/udev/rules.d/70-persistent-net-rules)
# PCI device 0x168c:0x0030 (ath9k)
SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="c0:4a:00:1e:b5:03", ATTR{dev_id}=="0x0", ATTR{type}=="1", KERNEL=="wlan*", NAME="wlan0"My mail server, which uses eth0 doesn't.
Neither have the GRUB_CMDLINE_LINUX parameter set either.
Unless you want to use CUDA you don't need nvidia-persistenced. Delete or disable it.
I also have a fix for one of the problems you can have with it. Of course, your problem may be different.
Comparing your output, running as root with mine as local user, in addition to the lack of pulseaudio (which I have) I also note that you don't seem to have a desktop:
Linux Client Version is 5.3.465578.0920
QSG_RENDER_LOOP is
XDG_CURRENT_DESKTOP = ; GDMSESSION =whereas in mine:
Linux Client Version is 5.0.418682.0603
QSG_RENDER_LOOP is
XDG_CURRENT_DESKTOP = X-Cinnamon; GDMSESSION = cinnamonAlso you've truncated the line that gives your PC spec. How much memory do you have? I have 8GiB. Zoom only seems to be using 57 MiB idling but I don't know how much it uses in a live session. I'd expect it would also use quite a bit of graphics memory.
Probably worth checking whether when zoom is active it's not driving you into using swap (disk) memory.
You are probably right.
I can't find what the default is for the Devuan/Debian Installer, but you are right that the general recommendation is that you should have more swap than memory, and mostly the recommendation is x2.
This doesn't explain why yours has much less.
I've never used automatic partitioning, usually because I'm configuring something more complicated like LVM or RAID or have other live OS already on other partitions and don't want to lose them.
My mail sever has no swap (well it never hibernates and I'd rather it kill processes than try and use swap).
My desktop machine has lots of disks, from various generations of installs, most have swap partitions and I actually use a different partition for hibernation, which is x2 RAM, than the primary one, which is about 1.5 x RAM, that I use for swap as such.
Just as another data point.
I have Zoom installed, version 5.0.418682.0603 on a normal Beowulf installation. It installs in /opt. I have a old Logitech webcam (low res).
And it works fine.
I note that it seems to uses Qt. Could this be an issue?
well, i have just let devuan installer do automatic partitioning, there must be an error then -
surely i have forgot to double check the partitioning process.
I doubt if the automatic configuration of the partitioning would have allowed for your wish to use swap for hibernation.
root@devuan:~# free -h total used free shared buff/cache available Mem: 2.8Gi 491Mi 1.8Gi 85Mi 601Mi 2.1Gi Swap: 255Mi 0B 255Mi
Whatever the other issues , this looks problematic for successful hibernation since the Mem in use (491Mi), which is what needs to be written to disk on hibernation, is nearly twice as large as Swap you have (255Mi, all free).
Usually you would want to have as much swap as memory.
I'm running Devuan 2.0 Cinnamon because the latest Cinnamon does not support most themes anymore (I'm not young, so dark themes hurt my eyes).
Hi, I'm not that young either. And I like light themes and detest dark themes too.
However I've been able to run light/pastel themes no problem even with Devuan 3 (and Firefox-esr 78.3.0, currently at 120%)
OS: Devuan GNU/Linux 3 (beowulf) x86_64Resolution: 1920x1200, Screen 24", 16x10
DE: Cinnamon 3.8.8
WM: Mutter (Muffin)
WM Theme: Blue-mint (TraditionalGreen)
Theme: TraditionalGreen [GTK2/3]
Icons: menta [GTK2/3]
Contols: TraditionalGreen
Mouse: DMZ-White
Desktop Blue-mint
I kind of vaguely remember trying to install the uswsusp/uspsusp package but not being able to find it for the Droid4... this seems to be connected to a hibernation-module in the kernel, right? or is it just about the devices repositories?
I don't know anything about compiling kernels (yet!), but, if I do learn, will it be possible to compile it for that device with the "hibernation-module/functionality" activated? or is it another module? another technique?
how can I get hibernation? i love hibernation
You can achieve hibernation either through kernel mode, which requires the appropriate kernel module, or in userspace, using uswsusp or tuxonice.
If your device https://leste.maemo.org/Motorola_Droid_4 lacks both kernel support (available kernels don't have the appropriate kernel module) and you don't have the package uswsusp in your sources then I think that means that you would have to compile one or the other to get hibernation (though even then it could be possible that your hardware lacks the appropriate hooks to make it work).
NB. Just as an update on my earlier posts I do now have hibernate running using kernel mode on Beowulf on my (pretty ordinary) AMD64 hardware, though I also still use pm-hibernate to call it as I have a few things I want to invoke in the pre-sleep and post-wake scripts.
You also need to have a resume=UUID=your.swap.drive.UUID (or similar) command in the linux vmlinux line in your grub menuentry. This tells the kernel where to store/restore your memory image.
Firefox-esr was recently upgraded to 78.3 (and was on 68.12 previously) as a security update.
To be honest I don't see much difference or reason not to upgrade.