Post by Vincent CoenHello All!
Over the last two days after some mag updates I now have a status bar at
the top of the screen as well as the normal one on the bottom.
How do I remove the blasted thing?
Helps if you provide some basic information pertaining to your problem.
Seems you have a DE (Desktop Environment) problem so it would help if
you provided which one being used. afterstep, awesome, Blackbox, cinnamon, dwm, Enlightenment, fluxbox,
Fvwm, fvwm2, fvwm-crystal, Gnome, i3, icewm, jwm, KDE, lightdm, lxde
matchbox, mate, openbox, pekwm, pewwm, plasma, razorqt, spectrwm,
sugar, swm, Unity, windowmaker, xbmc, Xfce,
I can recommend creating a signature file with basic system information.
Better would be a script which creates the signature which keeps the
sig file up to date. For example:
----8<----8<----8<<----8< cut below this line ----8<----8<<----8<----8<----8<<
#!/bin/bash
#***********************************************************************
#* gen_sig_file.sh - generate $HOME/.signature file Version 2.3
#*
#* Automatically overwrites $HOME/.signature on each login
#* with basic information about your setup.
#*
#* When you post to Usenet your Usenet client can append it to your
#* post which helps respondents to provide more detailed replies.
#*
#* You need to place the script somewhere in your $PATH environment.
#* echo $PATH to see possible locations.
#*
#* Save as gen_sig_file.sh
#* chmod +x gen_sig_file.sh
#*
#* Script Test Procedure:
#* gen_sig_file.sh
#* cat $HOME/.signature
#*
#* Install:
#* For all users:
#* cp gen_sig_file.sh /usr/local/bin/gen_sig_file.sh
#* chmod +x /usr/local/bin/gen_sig_file.sh
#*
#* For a single user:
#* echo $PATH to see possible locations.
#*
#* Users should use the autostart feature to run gen_sig_file.sh
#* to set the ST and DE values.
#*
#* Login test:
#* click up a terminal
#* su - $USER
#* cat $HOME/.signature
#*
#* There should be no =Unknown values. If so script should be
#* modified to generate a value, or just hard code a value.
#*
#* Modify your Usenet client to add/append $HOME/.signature
#* to your posts and post a message in one of the Usenet test groups
#* to verify it works as desired.
#*
#***********************************************************************
Sig_fn=$HOME/.signature
# Sig_fn=$PWD/.signature
DE="Unknown" # Display Environment gnome, plasma, xfce....
DM="Unknown" # Display Manager lightdm, sddm, gdm, ...
DISTRO="Unknown"
KERNEL="Kernel=$(uname -r) on $(uname -m)"
Service="display-manager.service"
ST="Unknown" # Session Type tty, x11, wayland or mir.
type -p lsb_release > /dev/null 2>&1
if [ $? -eq 0 ] ; then
set $(lsb_release -d | grep Description)
if [ $# -gt 1 ] ; then
shift
DISTRO="$@"
fi
fi
if [ -e /etc/os-release ] ; then
. /etc/os-release
DISTRO="$NAME $VERSION"
fi # if [ -e /etc/sysconfig/desktop ]
if [ -e /etc/sysconfig/desktop ] ; then
. /etc/sysconfig/desktop
if [ -n ${DISPLAYMANAGER:-"$DM"} ] ; then
DM="$DISPLAYMANAGER"
fi
if [ -n ${DESKTOP:-"$DE"} ] ; then
DE=$DESKTOP
fi
fi
if [ -e $HOME/.dmrc ] ; then
set -- $(IFS='=' ; echo $(grep ion= $HOME/.dmrc))
DE=$2
fi
if [ -n ${XDG_CURRENT_DESKTOP:-"$DE"} ] ; then
DE=$XDG_CURRENT_DESKTOP
fi
if [ -n ${XDG_SESSION_TYPE:-"$ST"} ] ; then
ST=$XDG_SESSION_TYPE
fi
if [ -e /etc/release ] ; then
DISTRO=$(cat /etc/release)
fi
if [ $(uname -s) = "Darwin" ] ; then
DISTRO=$(sw_vers | sed -ne $'s/ProductVersion://p')
fi
systemctl --quiet is-active $Service 2> /dev/null
if [ $? -eq 0 ] ; then
set -- $( systemctl status $Service | grep PID: )
DM=$(echo $4 | tr -d '() ')
fi
echo -en "-- \nRunning " > $Sig_fn
echo "$DISTRO using" >> $Sig_fn
echo "$KERNEL DM=$DM DE=$DE ST=$ST" >> $Sig_fn
echo "grub2 GPT legacy OS boot" >> $Sig_fn
if [ -x /usr/bin/lspcidrake ] ; then
lspcidrake | grep Card >> $Sig_fn
fi
#***********end gen_sig_file.sh ***************************