From 02f45298c7ca005cfa936ebdc897cefdb52283f8 Mon Sep 17 00:00:00 2001 From: "Scott C. MacCallum" Date: Tue, 6 Dec 2022 21:03:18 -0500 Subject: [PATCH] Adding files --- config-system.ksh => configure-system.ksh | 0 install-pkg.ksh | 9 ++- search-pkg.ksh | 8 +++ update-system.ksh | 9 +++ xfce.txt | 80 +++++++++++++++++++++++ 5 files changed, 104 insertions(+), 2 deletions(-) rename config-system.ksh => configure-system.ksh (100%) create mode 100755 search-pkg.ksh create mode 100755 update-system.ksh create mode 100644 xfce.txt diff --git a/config-system.ksh b/configure-system.ksh similarity index 100% rename from config-system.ksh rename to configure-system.ksh diff --git a/install-pkg.ksh b/install-pkg.ksh index cefec27..47afbff 100755 --- a/install-pkg.ksh +++ b/install-pkg.ksh @@ -34,12 +34,17 @@ pkg_add audacity pkg_add blender pkg_add chromium pkg_add clisp +pkg_add cmake +pkg_add dos2unix pkg_add emacs pkg_add filezilla pkg_add gimp pkg_add git pkg_add gmake pkg_add go +pkg_add gopher +pkg_add gprolog +pkg_add gtar pkg_add guile pkg_add html2text pkg_add jdk @@ -54,12 +59,12 @@ pkg_add python pkg_add rsync pkg_add ruby pkg_add rust +pkg_add texinfo pkg_add thunderbird -pkg_add vice pkg_add vlc pkg_add w3m pkg_add wget pkg_add wireshark -pkg_add xfce4-pulseaudio +pkg_add xz exit 0 diff --git a/search-pkg.ksh b/search-pkg.ksh new file mode 100755 index 0000000..13accd6 --- /dev/null +++ b/search-pkg.ksh @@ -0,0 +1,8 @@ +#!/bin/ksh + +echo -n "Package name: " +read package + +pkg_info -Q $package | less + +exit 0 diff --git a/update-system.ksh b/update-system.ksh new file mode 100755 index 0000000..795e05c --- /dev/null +++ b/update-system.ksh @@ -0,0 +1,9 @@ +#!/bin/ksh + +fw_update +syspatch +pkg_check +pkg_delete -a +pkg_add -u + +exit 0 diff --git a/xfce.txt b/xfce.txt new file mode 100644 index 0000000..da681c0 --- /dev/null +++ b/xfce.txt @@ -0,0 +1,80 @@ ++----------------------------------------------------------------------- +| Running ${PKGSTEM} on OpenBSD ++----------------------------------------------------------------------- + +The Xfce desktop is composed of 2 meta-packages: + * xfce, for a base Xfce installation + * xfce-extras, for a full Xfce installation. + +Startup +======= +Xfce desktop environment is launched through the 'startxfce4' script. +Simply add '${LOCALBASE}/bin/startxfce4' to your .xinitrc/.xsession +script if you use startx, xenodm or slim. +If you use gdm or kdm, have a look at +https://wiki.xfce.org/faq#starting_xfce. An xfce4.desktop file is +provided for use by gdm. + +Logging out and shutting down the computer +========================================== +If your installation supports complete shutdown, clicking on the logout +button on panel will permit you to either logout, rebooting or halt +the computer. + +If your user is part of the operator group (and thus can execute +/sbin/shutdown), you should be able to shutdown/logout without further +configuration. +Otherwise, halting and rebooting require consolekit2 and polkit: you'll need to +run a systemwide D-BUS service (enable messagebus using rcctl) and pass +--with-ck-launch argument to startxfce4. + +If you run a systemwide D-BUS service, have consolekit2/polkit installed and +don't use --with-ck-launch you will not be able to shutdown/reboot. + +Screen compositor +================= +If you're using the modesetting X driver and experience window flickering when +the compositor is enabled, you should force the window manager to use the +XPresent method for vblank: + +$xfwm4 --vblank=xpresent --replace & + +This is documented upstream at https://git.xfce.org/xfce/xfwm4/tree/COMPOSITOR#n114 + +Power management +================ +If you use Xfce on a laptop, you can install xfce4-power-manager +package, which will provide battery levels/information, and will allow +to configure actions upon low battery level or AC plugging. For proper +function, it requires messagebus and upowerd running. If using consolekit2 and +polkit, it will also allow you to suspend the laptop from the logout dialog. + +Screensaver management +====================== +xflock4 can make use of xfce4-screensaver, xscreensaver or gnome-screensaver. +If installed, a 'Screensaver' icon will appear in settings manager/menu. +Otherwise, xflock4 defaults to call xlock. + +Thunar file manager tips +======================== +If you want to browse samba shares using GVfs, you'll need to install +gvfs-smb package. You can also try gigolo package, which is a GUI to +configure GVfs mounts. + +Terminal, special characters and localized applications +======================================================= +If you use a particular non-ascii encoding and have problems seeing special +characters in terminal (like accentued characters in french), you should +properly configure the default encoding in terminal properties. + +Similarly, if you want localized graphical applications, add this line +to your .xinitrc/.xsession before startxfce4: + +export LC_MESSAGES=fr_FR.UTF-8 + +where 'fr_FR' is your language tag. +See https://www.openbsd.org/faq/faq8.html#locales for more information +on that topic. + +More generally, https://docs.xfce.org and https://docs.xfce.org/faq +are the best resources for user-level documentation.