diff --git a/peplightdm/50-xfce.conf b/peplightdm/50-xfce.conf new file mode 100644 index 0000000..d5ceab5 --- /dev/null +++ b/peplightdm/50-xfce.conf @@ -0,0 +1,2 @@ +[Seat:*] +user-session=xfce diff --git a/peplightdm/lightdm.conf b/peplightdm/lightdm.conf index b893186..d301753 100644 --- a/peplightdm/lightdm.conf +++ b/peplightdm/lightdm.conf @@ -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 diff --git a/pmostools/peptools/bsconf.py b/pmostools/peptools/bsconf.py index a0e6a7b..56300bf 100644 --- a/pmostools/peptools/bsconf.py +++ b/pmostools/peptools/bsconf.py @@ -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") diff --git a/pmostools/peptools/hub.py b/pmostools/peptools/hub.py index bbb1269..6324a23 100755 --- a/pmostools/peptools/hub.py +++ b/pmostools/peptools/hub.py @@ -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 diff --git a/pmostools/peptools/hubconf.py b/pmostools/peptools/hubconf.py index 530ca81..61226d9 100644 --- a/pmostools/peptools/hubconf.py +++ b/pmostools/peptools/hubconf.py @@ -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### diff --git a/pmostools/peptools/kumo.py b/pmostools/peptools/kumo.py index 6bc128b..8109116 100644 --- a/pmostools/peptools/kumo.py +++ b/pmostools/peptools/kumo.py @@ -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) diff --git a/pmostools/peptools/refresh.py b/pmostools/peptools/refresh.py index fecd2ce..0c9a44c 100644 --- a/pmostools/peptools/refresh.py +++ b/pmostools/peptools/refresh.py @@ -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(): diff --git a/pmostools/peptools/upgrade.py b/pmostools/peptools/upgrade.py index 93860e0..43cbce7 100644 --- a/pmostools/peptools/upgrade.py +++ b/pmostools/peptools/upgrade.py @@ -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 diff --git a/pmostools/peptools/welfunc.py b/pmostools/peptools/welfunc.py index 808037e..0a8b4bf 100644 --- a/pmostools/peptools/welfunc.py +++ b/pmostools/peptools/welfunc.py @@ -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/ & ' )