Navigation

    MagicMirror Forum

    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • Donate
    • Discord
    1. Home
    2. pogges
    P
    • Profile
    • Following 0
    • Followers 0
    • Topics 2
    • Posts 11
    • Best 0
    • Groups 0

    pogges

    @pogges

    0
    Reputation
    142
    Profile views
    11
    Posts
    0
    Followers
    0
    Following
    Joined Last Online

    pogges Follow

    Latest posts made by pogges

    • RE: MMM-CountDown

      @sdetweil ok

      posted in Troubleshooting
      P
      pogges
    • RE: MMM-CountDown

      @broberg soooo fix it

      in custom.css:

      .MMM-CountDown .time {
      	font-weight: bold;
      	color: red;
      	}
      .MMM-CountDown .event {
      	font-weight: bold;
      	color: red;
      	}
      

      in CountDown.js:
      before

      textWrapper.className = "align-left bright large light";
      timeWrapper.className = "time bright xlarge light";
      

      now:

      textWrapper.className = "event align-left bright large light";
      timeWrapper.className = "time bright xlarge light";
      

      thats it
      Thx

      posted in Troubleshooting
      P
      pogges
    • RE: MMM-CountDown

      @broberg

      module.register("MMM-CountDown",{
      	// Default module config.
      	defaults: {
      		event: "Endlich Rente in",
      		date: "2021-31-5",
      		colored: true,
      		showHours: false,
      		showMinutes: false,
      		showSeconds: false,
      		customInterval: 1000,
      		daysLabel: ' Tagen',
      		hoursLabel: 'h',
      		minutesLabel: 'm',
      		secondsLabel: 's',
      	},
      
      	// set update interval
      	start: function() {
      		var self = this;
      		setInterval(function() {
      			self.updateDom(); // no speed defined, so it updates instantly.
      		}, this.config.customInterval); 
      	},
      
      	// Update function
      	getDom: function() {
      		var wrapper = document.createElement("div");
      
      		var timeWrapper = document.createElement("div");
      		var textWrapper = document.createElement("div");
      
      		textWrapper.className = "align-left bright large light";
      		timeWrapper.className = "time bright xlarge light";
      		textWrapper.innerHTML=this.config.event;
      
      		var today = new Date(Date.now());
      		var target = new Date(this.config.date);
      		var timeDiff = target - today;
      
      		// Set days, hours, minutes and seconds
      		var diffDays = Math.floor(timeDiff / (1000 * 60 * 60 * 24));
      		var diffHours = Math.floor((timeDiff % (1000 * 60 * 60 * 24)) / (1000 * 60 * 60));
      		var diffMinutes = Math.floor((timeDiff % (1000 * 60 * 60)) / (1000 * 60));
      		var diffSeconds = Math.floor((timeDiff % (1000 * 60)) / 1000);
      		
      		// Build the output
      		var hrs = '';
      		var mins = '';
      		var secs = '';
      		var days = diffDays + this.config.daysLabel;
      
      		if(this.config.showHours == true) hrs = diffHours + this.config.hoursLabel;
      		if(this.config.showMinutes == true) mins = diffMinutes + this.config.minutesLabel;
      		if(this.config.showSeconds == true) secs = diffSeconds + this.config.secondsLabel;
      
      		timeWrapper.innerHTML = days + hrs + mins + secs;
      
      		wrapper.appendChild(textWrapper);
      		wrapper.appendChild(timeWrapper);
      
      		return wrapper;
      	}
      });
      
      posted in Troubleshooting
      P
      pogges
    • MMM-CountDown

      Hallo helpers,

      i have trouble to color the fonts for date, event and Dayslabel.
      my css:

      /*
       *
       * MMM-CountDown
       *
       * 
       * MIT Licensed.
       *
       * Custom here your css module
       *
       */
      
      
      
      .MMM-CountDown .event {
        color: yellow;
      }
      
      .MMM-CountDown .date {
        color: orange;
      }
      
      .MMM-CountDown .daysLabel {
        color: yellow;
      }
      

      so whats wrong please

      posted in Troubleshooting
      P
      pogges
    • RE: Raspi3 Busterfull Screensaverproblem

      @sdetweil so new installation with your links, all ok thx

      posted in Troubleshooting
      P
      pogges
    • RE: Raspi3 Busterfull Screensaverproblem

      sorry nichts rotes. Ich setz nochmal frisch auf. mit oder ohne pm2?

      posted in Troubleshooting
      P
      pogges
    • RE: Raspi3 Busterfull Screensaverproblem

      xscreensaver running
      xscreensaver already disabled
      xscreensaver running
      xscreensaver already disabled
      lxsession screen saver already disabled

      Trotzdem Hintergrund schwarz.

      Tja Satz mit x war wohl nix😟 Auf dem Bildschirm sehe ich den Mauszeiger und beim drücken der Win-Taste geht das Dropdownmenue auf aber der Hintergrund bleibt schwarz.
      Ich meine das ist eine Mirrorursache. Soll ich nochmal neu aufsetzen? Brauch man pm2? welche Anleitung kann man denn benutzen wenn die Anweisungen teilweise nicht für Buster sind?

      home/pi/.xserver

      XScreenSaver Preferences File

      Written by xscreensaver-demo 5.42 for pi on Fri Nov 22 13:40:47 2019.

      https://www.jwz.org/xscreensaver/

      timeout: 0:01:00
      cycle: 0:00:00
      lock: False
      lockTimeout: 0:00:00
      passwdTimeout: 0:00:30
      visualID: default
      installColormap: True
      verbose: False
      timestamp: True
      splash: True
      splashDuration: 0:00:05
      demoCommand: xscreensaver-demo
      prefsCommand: xscreensaver-demo -prefs
      nice: 10
      memoryLimit: 0
      fade: False
      unfade: False
      fadeSeconds: 0:00:03
      fadeTicks: 20
      captureStderr: True
      ignoreUninstalledPrograms:False
      font: -medium-r--140--m-
      dpmsEnabled: False
      dpmsQuickOff: False
      dpmsStandby: 0:00:00
      dpmsSuspend: 0:00:00
      dpmsOff: 0:00:00
      grabDesktopImages: False
      grabVideoFrames: False
      chooseRandomImages: False
      imageDirectory:

      mode: off
      selected: -1

      textMode: url
      textLiteral: XScreenSaver
      pointerPollTime: 0:00:05
      pointerHysteresis: 10
      windowCreationTimeout:0:00:30
      initialDelay: 0:00:00
      GetViewPortIsFullOfLies:False
      procInterrupts: True
      xinputExtensionDev: False
      overlayStderr: True
      authWarningSlack: 20

      home/pi/etc/xdg/lxsession/LXDE-pi/autostart

      @lxpanel --profile LXDE-pi
      @pcmanfm --desktop --profile LXDE-pi
      @xscreensaver -no-splash
      @xset s noblank
      @xset s off
      @xset -dpms

      lightdm

      [LightDM]
      #start-default-seat=true
      #greeter-user=lightdm
      #minimum-display-number=0
      #minimum-vt=7
      #lock-memory=true
      #user-authority-in-system-dir=false
      #guest-account-script=guest-account
      #logind-check-graphical=false
      #log-directory=/var/log/lightdm
      #run-directory=/var/run/lightdm
      #cache-directory=/var/cache/lightdm
      #sessions-directory=/usr/share/lightdm/sessions:/usr/share/xsessions:/usr/share/wayland-sessions
      #remote-sessions-directory=/usr/share/lightdm/remote-sessions
      #greeters-directory=$XDG_DATA_DIRS/lightdm/greeters:$XDG_DATA_DIRS/xgreeters
      #backup-logs=true
      #dbus-service=true

      Seat configuration

      Seat configuration is matched against the seat name glob in the section, for example:

      [Seat:*] matches all seats and is applied first.

      [Seat:seat0] matches the seat named “seat0”.

      [Seat:seat-thin-client*] matches all seats that have names that start with “seat-thin-client”.

      type = Seat type (local, xremote, unity)

      pam-service = PAM service to use for login

      pam-autologin-service = PAM service to use for autologin

      pam-greeter-service = PAM service to use for greeters

      xserver-backend = X backend to use (mir)

      xserver-command = X -s 0 -dpms

      xmir-command = Xmir server command to run (can also contain arguments e.g. Xmir -special-option)

      xserver-config = Config file to pass to X server

      xserver-layout = Layout to pass to X server

      xserver-allow-tcp = True if TCP/IP connections are allowed to this X server

      xserver-share = True if the X server is shared for both greeter and session

      xserver-hostname = Hostname of X server (only for type=xremote)

      xserver-display-number = Display number of X server (only for type=xremote)

      xdmcp-manager = XDMCP manager to connect to (implies xserver-allow-tcp=true)

      xdmcp-port = XDMCP UDP/IP port to communicate on

      xdmcp-key = Authentication key to use for XDM-AUTHENTICATION-1 (stored in keys.conf)

      unity-compositor-command = Unity compositor command to run (can also contain arguments e.g. unity-system-compositor -special-option)

      unity-compositor-timeout = Number of seconds to wait for compositor to start

      greeter-session = Session to load for greeter

      greeter-hide-users = True to hide the user list

      greeter-allow-guest = True if the greeter should show a guest login option

      greeter-show-manual-login = True if the greeter should offer a manual login option

      greeter-show-remote-login = True if the greeter should offer a remote login option

      user-session = Session to load for users

      allow-user-switching = True if allowed to switch users

      allow-guest = True if guest login is allowed

      guest-session = Session to load for guests (overrides user-session)

      session-wrapper = Wrapper script to run session with

      greeter-wrapper = Wrapper script to run greeter with

      guest-wrapper = Wrapper script to run guest sessions with

      display-setup-script = Script to run when starting a greeter session (runs as root)

      display-stopped-script = Script to run after stopping the display server (runs as root)

      greeter-setup-script = Script to run when starting a greeter (runs as root)

      session-setup-script = Script to run when starting a user session (runs as root)

      session-cleanup-script = Script to run when quitting a user session (runs as root)

      autologin-guest = True to log in as guest by default

      autologin-user = User to log in with by default (overrides autologin-guest)

      autologin-user-timeout = Number of seconds to wait before loading default user

      autologin-session = Session to load for automatic login (overrides user-session)

      autologin-in-background = True if autologin session should not be immediately activated

      exit-on-failure = True if the daemon should exit if this seat fails

      [Seat:*]
      #type=local
      #pam-service=lightdm
      #pam-autologin-service=lightdm-autologin
      #pam-greeter-service=lightdm-greeter
      #xserver-backend=
      #xserver-command=X s0 -dpms
      #xmir-command=Xmir
      #xserver-config=
      #xserver-layout=
      #xserver-allow-tcp=false
      #xserver-share=true
      #xserver-hostname=
      #xserver-display-number=
      #xdmcp-manager=
      #xdmcp-port=177
      #xdmcp-key=
      #unity-compositor-command=unity-system-compositor
      #unity-compositor-timeout=60
      greeter-session=pi-greeter
      greeter-hide-users=false
      #greeter-allow-guest=true
      #greeter-show-manual-login=false
      #greeter-show-remote-login=true
      #user-session=default
      #allow-user-switching=true
      #allow-guest=true
      #guest-session=
      #session-wrapper=lightdm-session
      #greeter-wrapper=
      #guest-wrapper=
      display-setup-script=/usr/share/dispsetup.sh
      #display-stopped-script=
      #greeter-setup-script=
      #session-setup-script=
      #session-cleanup-script=
      #autologin-guest=false
      autologin-user=pi
      #autologin-user-timeout=0
      #autologin-in-background=false
      #autologin-session=
      #exit-on-failure=false

      XDMCP Server configuration

      enabled = True if XDMCP connections should be allowed

      port = UDP/IP port to listen for connections on

      listen-address = Host/address to listen for XDMCP connections (use all addresses if not present)

      key = Authentication key to use for XDM-AUTHENTICATION-1 or blank to not use authentication (stored in keys.conf)

      hostname = Hostname to report to XDMCP clients (defaults to system hostname if unset)

      The authentication key is a 56 bit DES key specified in hex as 0xnnnnnnnnnnnnnn. Alternatively

      it can be a word and the first 7 characters are used as the key.

      [XDMCPServer]
      #enabled=false
      #port=177
      #listen-address=
      #key=
      #hostname=

      VNC Server configuration

      enabled = True if VNC connections should be allowed

      command = Command to run Xvnc server with

      port = TCP/IP port to listen for connections on

      listen-address = Host/address to listen for VNC connections (use all addresses if not present)

      width = Width of display to use

      height = Height of display to use

      depth = Color depth of display to use

      [VNCServer]
      #enabled=false
      #command=Xvnc
      #port=5900
      #listen-address=
      #width=1024
      #height=768
      #depth=8

      Vielleicht kannste mal drüberschauen

      Vielen Dank

      posted in Troubleshooting
      P
      pogges
    • RE: Raspi3 Busterfull Screensaverproblem

      xscreensaver running
      xscreensaver already disabled
      xscreensaver running
      xscreensaver already disabled

      Mal sehen ob das stimmt. In freudiger Erwartung. Ich melde mich dann:smiling_face_with_open_mouth:

      posted in Troubleshooting
      P
      pogges
    • RE: Raspi3 Busterfull Screensaverproblem

      wo find ich die log Datei?

      posted in Troubleshooting
      P
      pogges
    • RE: Raspi3 Busterfull Screensaverproblem

      @sdetweil bash -c “$(curl -sL https://www.dropbox.com/s/ah7wtk30101xx4t/test_screensaver.sh?dl=0)”
      xscreensaver running

      posted in Troubleshooting
      P
      pogges