update peptools and lightdm configs

This commit is contained in:
manuel 2023-11-19 13:16:45 -01:00
parent 2cb723f40b
commit e9a12d00f3
9 changed files with 93 additions and 73 deletions

2
peplightdm/50-xfce.conf Normal file
View File

@ -0,0 +1,2 @@
[Seat:*]
user-session=xfce

View File

@ -19,6 +19,60 @@
# backup-logs = True to move add a .old suffix to old log files when opening new ones
# dbus-service = True if LightDM provides a D-Bus service to control it
#
#type=local
#pam-service=lightdm
#pam-autologin-service=lightdm-autologin
#pam-greeter-service=lightdm-greeter
#xserver-backend=
#xserver-command=X
#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=lightdm-gtk-greeter
greeter-hide-users=false
#greeter-allow-guest=true
#greeter-show-manual-login=false
#greeter-show-remote-login=true
#user-session=xfce
#allow-user-switching=true
#allow-guest=true
#guest-session=
#session-wrapper=lightdm-session
#greeter-wrapper=
#guest-wrapper=
#display-setup-script=
#display-stopped-script=
#greeter-setup-script=
#session-setup-script=
#session-cleanup-script=
#autologin-guest=false
#autologin-user=
#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.
#
[LightDM]
#start-default-seat=true
#greeter-user=lightdm
@ -87,61 +141,7 @@
# 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
#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=lightdm-gtk-greeter
greeter-hide-users=false
#greeter-allow-guest=true
#greeter-show-manual-login=false
#greeter-show-remote-login=true
user-session=xfce
allow-user-switching=true
#allow-guest=true
#guest-session=xfce
#session-wrapper=lightdm-session
#greeter-wrapper=
#guest-wrapper=
#display-setup-script=
#display-stopped-script=
#greeter-setup-script=
#session-setup-script=
#session-cleanup-script=
#autologin-guest=false
#autologin-user=
#autologin-user-timeout=0
#autologin-in-background=false
#autologin-session=xfce
#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
@ -160,6 +160,7 @@ allow-user-switching=true
# height = Height of display to use
# depth = Color depth of display to use
#
[VNCServer]
#enabled=false
#command=Xvnc

View File

@ -1,5 +1,10 @@
import ttkbootstrap as ttk
#This will set the style to used for boostrap
#just change the name to what is needed for the
#the system
"""
* Author: "PeppermintOS Team(peppermintosteam@proton.me)
*
* License: SPDX-License-Identifier: GPL-3.0-or-later
*
* This module will set the style to be used for bootstrap
* just change the name to the prefered theme to be used for the
* system
"""
bbstyle = ttk.Window(themename="darkly")

View File

@ -115,7 +115,7 @@ def fphandle():
def sbphandle():
""" Hanlde Snap Store """
""" Handle Snap Store """
check_snap_path = '/usr/bin/gnome-software'
if os.path.exists(check_snap_path):
btnsw.destroy()
@ -157,9 +157,8 @@ def sbphandle():
def xsetting_handle():
""" Check to see what the desktop session is
If its not xfce do not use the xfce
setting button or user groups
""" Check to see what the desktop session is If its not xfce do not use
the xfce setting button or user groups
"""
check = os.environ.get('DESKTOP_SESSION')
using = check

View File

@ -3,7 +3,8 @@
*
* License: SPDX-License-Identifier: GPL-3.0-or-later
*
* The hub config file
* The hub config file should be used for the over all button style and design
* of the hub
"""
import os
from tkinter import PhotoImage
@ -12,8 +13,7 @@ from tkinter import PhotoImage
gusr = os.getlogin()
spath = "/home/" + gusr + "/.local/share/pmostools/peptools"
### this files should be used for the over all button style and design of the
### hub
#button icons.
###General System icons###

View File

@ -97,8 +97,6 @@ def fill_url_address():
os.system('luakit -U ' + run_addrs + ' &')
### Create SSB side
new_label = ttk.Label(pwin, text="Create new SSBs",
bootstyle="danger",
font=("Helvetica", 14)

View File

@ -1,5 +1,12 @@
import os
"""
* Author: "PepDebian(peppermintosteam@proton.me)
*
* License: SPDX-License-Identifier: GPL-3.0-or-later
*
* Used to refresh the data in the Kumo Gui
"""
import os
def refresh_win():

View File

@ -1,3 +1,10 @@
"""
* Author: "PepDebian(peppermintosteam@proton.me)
*
* License: SPDX-License-Identifier: GPL-3.0-or-later
*
* Beta upgrade tool.
"""
import os
import re
import subprocess

View File

@ -22,15 +22,14 @@ def hub():
os.system('hub')
##SSB's###
##SSB's
def pep_docs():
"""Open Pep Docs"""
os.system('luakit -U https://peppermint_os.codeberg.page/html/ &'
)
# Community Section
## Community Section
def mastodon():
"""Open Mastodon"""
@ -46,7 +45,8 @@ def code_berg():
def matrix():
"""Open Matrix"""
os.system('luakit -U https://matrix.to/#/!JhPtEbNexzFaoOkvGp:matrix.org?via=matrix.org & '
os.system('luakit -U https://matrix.to/#/!JhPtEbNexzFaoOkvGp:matrix.org?'
'via=matrix.org & '
)
@ -58,5 +58,6 @@ def source_forge():
def build_date():
"""Open BuildDate wiki"""
os.system('luakit -U https://sourceforge.net/p/peppermintos/pepwiki/BuildDate/ & '
os.system('luakit -U https://sourceforge.net/p/peppermintos/pepwiki/'
'BuildDate/ & '
)