95 lines
2.3 KiB
Python
95 lines
2.3 KiB
Python
#!/usr/bin/env python3
|
|
import os
|
|
import subprocess
|
|
|
|
|
|
# User and Tweaks #
|
|
#Settings Manager
|
|
def osettingsmgr():
|
|
subprocess.Popen ("xfce4-settings-manager")
|
|
#Deconf Editor
|
|
def odeconf():
|
|
subprocess.Popen ("dconf-editor")
|
|
#Mouse Settings
|
|
def omt():
|
|
subprocess.Popen ("xfce4-mouse-settings")
|
|
#Appearence
|
|
def oclf():
|
|
subprocess.Popen ("xfce4-appearance-settings")
|
|
#Panel Preferences
|
|
def opp():
|
|
subprocess.Popen (["xfce4-panel", "--preferences"])
|
|
#Notifications Configuration
|
|
def ons():
|
|
subprocess.Popen ("xfce4-notifyd-config")
|
|
#Default settings
|
|
def opa():
|
|
subprocess.Popen ("xfce4-mime-settings")
|
|
#Keyboardsettings
|
|
def oks():
|
|
subprocess.Popen ("xfce4-keyboard-settings")
|
|
# Network and Hardware #
|
|
#Network Manager
|
|
def nhnm():
|
|
subprocess.Popen ("nm-connection-editor")
|
|
#Printers
|
|
def nhpr():
|
|
subprocess.Popen ("system-config-printer")
|
|
#Display
|
|
def nhdis():
|
|
subprocess.Popen ("xfce4-display-settings")
|
|
#Power Manager
|
|
def nhpom():
|
|
subprocess.Popen ("xfce4-power-manager-settings")
|
|
#Pulse Audio Volume
|
|
def nhpav():
|
|
subprocess.Popen ("pavucontrol")
|
|
# Settings and Software #
|
|
#User and Groups
|
|
def ssug():
|
|
subprocess.Popen ("users-admin")
|
|
#Disk Utilities
|
|
def ssdu():
|
|
subprocess.Popen ("gnome-disks")
|
|
#Update Manager
|
|
def ssum():
|
|
subprocess.Popen(["pkexec", "python3", "/opt/pypep/pepu.py"])
|
|
|
|
#Accessibilitity
|
|
def ssas():
|
|
subprocess.Popen ("xfce4-accessibility-settings")
|
|
#System Informaion
|
|
def sssi():
|
|
cmd = "xfce4-terminal -e 'bash -c \"neofetch\";bash'"
|
|
subprocess.Popen(cmd,shell=True)
|
|
#Flathub
|
|
def ssfh():
|
|
os.system('python3 /opt/pypep/fh.py')
|
|
def ssfgnm():
|
|
pass
|
|
#Snapstore
|
|
def ssss():
|
|
os.system('python3 /opt/pypep/spstore.py')
|
|
def ssst():
|
|
cmd = "[ -e /snap/bin ] && snap-store || xfce4-terminal -T \"Snap Store Installer\" -e \"bash -c 'sudo snap install snap-store'\""
|
|
subprocess.Popen(cmd,shell=True)
|
|
#App Image
|
|
def ssai():
|
|
os.system('python3 /opt/pypep/aih.py')
|
|
#gnomestore
|
|
def ssgn():
|
|
subprocess.Popen ("gnome-software")
|
|
#gnomestoreweb
|
|
def ssgns():
|
|
os.system('python3 /opt/pypep/gstore.py')
|
|
#Synaptic Package Manager
|
|
def ssspm():
|
|
subprocess.Popen ("synaptic-pkexec")
|
|
#Installer
|
|
def packages():
|
|
subprocess.Popen(["pkexec", "python3", "/opt/pypep/peppackages.py"])
|
|
|
|
#Launch ICE
|
|
def lice():
|
|
subprocess.Popen ("ice")
|