Trinity 14.0.6 preliminary.
Don't know if it is a feature of ksnapshot or a misconfiguration
somewhere from me, but it is getting absolutely annoying what happens.
I have a website, a document or whatsoever on my screen in full
A4-papersize. Now I want a printout of a small part of it. Call
ksnapshot, choose "region" "new snapshot" and then draw a border around
the desired part. Press "print" and then print it. Bull... I get a
print in landscape, useless and even worse not even the original layout
reappears.
Stop ksnapshot, restart it and same procedure with again the same
miserable result.
Stop, restart, same procedure but no actual printing, instead I look
into the printer properties. And there, big surprise, landscape was
marked as to be printed BUT all 4 orientations were grayed out, so I
couldn't change that.
Checked in tdeprint the printersettings, nothing wrong, in "instances"
"settings" all 4 orientations were available and portrait was marked as
to be applied in the default printer.
Checked kprinter and of course the settings of tdeprint were there also
valid.
But then I had an idea. If I selected in ksnapshot a larger part of the
screen, say more than half A4, what would happen?
Yes, some ugly words from me and there it was: portrait was marked but
still all 4 possibilities grayed out.
So ksnapshot decides how it wants to print and doesn't leave the user a
chance to get a result, that he wants. Utterly bull....
Any suggestion, where I could look to alter this behaviour?
Phiebie.
http://www.heliocastro.info/?p=291
This is very interesting
--
John Pisini
Systems Administrator
TFCCS
617-450-3988
Disclaimer for email:
The information contained in this electronic message and any attachments to
this message is intended for the exclusive use of the addressee(s) and may
contain confidential or privileged information. This e-mail is not
intended to, and shall not, constitute an electronic signature giving rise
to a binding legal contract, unless expressly stated otherwise in the body
of the e-mail by the sender.
Hi
I'm trying to get skype sound to work but apparently the monkeys at MS removed
alsa support and replaced it with pulse, which is rubbish. Even though I have
pulse enable (pclos - ali's remaster), it still doesn't show up. Is there a
fix to re-enable alsa or the like?
Kate
Last post ack the list archives was in August 2017, after which the list
was silent, and my msgs were apparently routed to /dev/null. But I
didn't unsubscribe.
My ISP has been known to block/bounce but pearsoncomputing.net was in
their "whitelist", I put it there yonks ago.
Anyway, I'm glad to be back.
--
Cheers, Gene Heskett
--
"There are four boxes to be used in defense of liberty:
soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author)
Genes Web page <http://geneslinuxbox.net:6309/gene>
On 05/19/2019 04:56 PM, deloptes wrote:
>> Amarok remove ( https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=921127 )
>> argues "it's dead upstream and better alternatives exist."
>>
>> mp4v2 has 9 ignored security issues ( https://tracker.debian.org/pkg/mp4v2
>> ) so if it is possible to modify it in order to Amarpk does not depend on
>> mp4v2, then much better (Qt4/Qt5 Amarok versions do not depend on mp4v2).
> I think if we want to remove this dependency, we need to open an issue in
> TGW for it.
The problem becomes, and naturally so, that TDE may need to become upstream
for the various components of Amarok, or Amarok itself it upsteam support is gone.
There was a lengthy discussion on the openSuSE list about Amarok and
specifically whether a "better alternatives exist.". There were none found
that provided the traditional features or behavior of Amarok, which mitigates
in favor of patching Amarok and continuing to offer it. There were always
shortcomings in the supposed better alternatives that either required hacks or
workarounds, even for behavior as trivial as continual play.
Just another angle to consider. The openSuSE list discussion was within the
past 2-weeks, though I must have deleted that thread.
--
David C. Rankin, J.D.,P.E.
I’m trying to upload the tde.pm for MX Linux to the Wiki. Permitted file
types: png, gif, jpg, jpeg, webp. Okay, whatever, I can rename it to
tde.png, except the Wiki is a perfectionist:
“File extension ".png" does not match the detected MIME type of the file
(application/xml).”
Would one of the Wiki admins add both .txt and whatever extension handles
(application/xml) to the permitted file upload types list? Or just turn the
MIME type matching off.
Thanks,
Michael
---------------------------------------------------------------------
To unsubscribe, e-mail: trinity-users-unsubscribe(a)lists.pearsoncomputing.net
For additional commands, e-mail: trinity-users-help(a)lists.pearsoncomputing.net
Read list messages on the web archive: http://trinity-users.pearsoncomputing.net/
Please remember not to top-post: http://trinity.pearsoncomputing.net/mailing_lists/#top-posting
I'm setting up TDE-based Debian on a new machine and I've run into a problem I have not
experienced on any other of my machines with similar configurations: KMix can't control audio
volume. More specifically, I have two audio outputs: an HDMI one (via nVidia card with
proprietary drivers) and a front panel audio jack. Sound works correctly on both outputs and I
can control it with pavucontrol (PulseAudio sound mixer). However:
1. KMix master slider that appears after clicking on the tray icon does absolutely nothing.
2. When I open the mixer window in KMix it recognizes PulseAudio as an audio device. There is just
one volume slider and it does nothing.
3. Another recognized audio device is HD-Audio Generic. This has a bunch of output sliders and the
sliders work correctly (i.e. they change the volume) when the sound is directed to headphones,
but not when it's directed to HDMI (output change done via pavucontrol).
4. The final audio device recognized by KMix is HDA Nvidia. This only has seven toggles labales
IEC958. First toggle mutes/unmutes the sound, the remaining ones don't seem to be doing anything.
I'm puzzled. This is the first time I see KMix master slider not working at all, even though I
have pulseaudio set up on all my other machines with TDE. Any thoughts or suggestions?
Janek
---------------------------------------------------------------------
To unsubscribe, e-mail: trinity-users-unsubscribe(a)lists.pearsoncomputing.net
For additional commands, e-mail: trinity-users-help(a)lists.pearsoncomputing.net
Read list messages on the web archive: http://trinity-users.pearsoncomputing.net/
Please remember not to top-post: http://trinity.pearsoncomputing.net/mailing_lists/#top-posting
Issue:
In TDE in MX18 (stretch) the MX Tools apps would open in TDE.
In TDE in MX19 (buster) the MX Tools that need to run as root will not open in
TDE. The behavior is click the menu item and nothing happens (e.g. do not
get any prompts for password).
MX Dev:
“What does TDE Buster use to escalate permissions for their apps that need
it?”
“We did switch them to using a wrapper called mx-pkexec to keep the tools
working on Buster after Debian removed gksu and went more to policykit-based
privileges.”
This isn’t huge, really just an annoyance, as I can login to Xfce to run any
of the MX Tools I need...
Example Menu Command:
su-to-root -X -c mx-packageinstaller
Copied mx-pkexec, su-to-root, and other called items below.
I tried the example command, it seems to need a GUI, as it borks with 'wrong
password' (when the root password is correct).
Any thoughts would be really appreciated.
Best,
Michael
Ref’s:
https://forum.mxlinux.org/viewtopic.php?p=589003#p589003
michael@local [~]# cat /usr/bin/mx-pkexec
#!/bin/bash
# MX Linux pkexec wrapper to retain QT environment
# Usage:
# mx-pkexec mx-apps ...
# original code by fehlix for MX-Linux
if test "$EUID" != 0; then
# normal user
# wayland fix (chkboom)
if [ x"$WAYLAND_DISPLAY" != "x" ] && [ -n "${WAYLAND_DISPLAY##/*}" ]; then
WAYLAND_DISPLAY=$XDG_RUNTIME_DIR/$WAYLAND_DISPLAY
fi
QTENV="${XDG_RUNTIME_DIR:-/tmp}/mx-pkexec-qtenv.$EUID.$PPID.$$.
$RANDOM$RANDOM"
if [ -f "$QTENV" ] ; then
rm $QTENV
fi
umask 0022
touch "$QTENV"
while IFS=$'\n' read -r ENV; do
IFS='=' read PAR VAL < <(echo $ENV);
echo "export $PAR=${VAL@Q}" >> $QTENV
done < <(printenv | grep -E '^DESKTOP_SESSION|^KDE_FULL_SESSION=|
^LANG=|^LANGUAGE=|^LC_|^QT_|^XDG_SESSION_TYPE|^XDG_CURRENT_DESKTOP|
^WAYLAND_')
echo "CURRENT_WORK_DIR='$PWD'" >> "$QTENV"
chmod +r "$QTENV"
pkexec /usr/bin/mx-pkexec "--qtenv" "$QTENV" "${@}"
if [ -f "$QTENV" ] ; then
rm $QTENV
fi
fi
if test "$EUID" == 0; then
# root user
# set XDG_RUNTIME_DIR - do nothing if already set
if [ x"$XDG_RUNTIME_DIR" = "x" ]; then
XDG_RUNTIME_DIR=/run/user/0
export XDG_RUNTIME_DIR
[ -d $XDG_RUNTIME_DIR ] || mkdir -p $XDG_RUNTIME_DIR
chmod 700 $XDG_RUNTIME_DIR
chown 0:0 $XDG_RUNTIME_DIR
fi
if [ "x$1" = "x--qtenv" ]; then
QTENV="$2"
shift
shift
if [ -f "$QTENV" -a "x$QTENV" != "x${QTENV#*/mx-pkexec-qtenv.}" ] ;
then
. "$QTENV"
rm "$QTENV"
cd "${CURRENT_WORK_DIR}"
unset CURRENT_WORK_DIR
fi
PATH="/usr/local/bin:$PATH"
fi
# check if command is given within one parameter, split by eval in case
[ $# == 1 ] && eval set "$@"
RUN="$1"
shift
# check remaining parameter are quoted twice and do unquote
[ $# != 0 ] && [ -z "${1##[\'\"]*}" ] && [ -z "${1%%*[\'\"]}" ] && eval
set "$@"
echo Starting "$RUN" "${@@Q}"
command -v "$RUN" >/dev/null || { echo "mx-pkexec: Command '$RUN' not
found"; exit 1; }
exec "$RUN" "${@}"
fi
exit
michael@local [~]# cat /usr/bin/su-to-root
#!/bin/bash
if test -r /etc/su-to-rootrc; then
. /etc/su-to-rootrc
fi
if test -r ~/.su-to-rootrc; then
. ~/.su-to-rootrc
fi
PRIV=root
COMMAND=
NEEDS=text
gettext=$(which gettext 2>/dev/null)
transl() {
txt="$1";
shift;
if [ -n "$gettext" ]; then
txt="$(gettext su-to-root "$txt")";
fi
printf "$txt" "$@"
}
eshell() {
getent passwd $1 | cut -f7 -d:
}
usage () {
transl 'usage: %s [-X] [-p <user>] -c <command>
-c command: command to execute as a string (mandatory)
-p <user>: user to switch to (default: root)
-X: command is a X11 program\n' "$0" >&2
exit 1
}
for i in "$@"; do
case "$prev" in
-p)
PRIV="$i";;
-c)
COMMAND="$i";;
-X)
NEEDS="X11";;
esac
prev="$i"
done
if [ -z "$COMMAND" ] ; then
usage;
fi
euid=$(id -u)
privid=$(id -u $PRIV)
if test "$euid" = "$privid"; then
sh -c "$COMMAND"
else
case $NEEDS in
text)
if test "$euid" != 0; then
transl 'About to execute %s.\n' "$COMMAND"
transl 'This command needs %s privileges to be executed.\n' "$PRIV"
fi
PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/bin/X11:/usr/local/sbin:/usr/local/bin
SHELL=`eshell $PRIV`
case $SU_TO_ROOT_SU in
sux) suname=sux; pwuser="$PRIV"; cmd='sux -p "$PRIV" "$COMMAND"';;
sudo) suname=sudo;pwuser="$USER"; cmd='sudo -u "$PRIV"
sh -c "$COMMAND"';;
*) suname=su; pwuser="$PRIV"; cmd='su -p "$PRIV" -c "$COMMAND"';;
esac
transl 'Using %s...\n' "$suname"
transl 'Enter %s password at prompt.\n' "$pwuser"
yesexpr=$(locale yesexpr)
while ! eval $cmd; do
transl 'Incorrect password or command failed. Try again? (y/N)'
read ans
if echo "$ans" | perl -e "<> =~ /$yesexpr/ and exit(1);"; then
exit 1
fi
done;;
X11)
if test -z "$SU_TO_ROOT_X"; then
if which gksu >/dev/null 2>&1 ; then
SU_TO_ROOT_X=gksu
if test "X$KDE_FULL_SESSION" = "Xtrue" ; then
if which kdesu >/dev/null 2>&1 ; then
SU_TO_ROOT_X=kdesu
elif test -x /usr/lib/kde4/libexec/kdesu ; then
SU_TO_ROOT_X=kde4su
fi;
fi;
elif which kdesu >/dev/null 2>&1 ; then
SU_TO_ROOT_X=kdesu
elif test -x /usr/lib/kde4/libexec/kdesu ; then
SU_TO_ROOT_X=kde4su
elif which ktsuss >/dev/null 2>&1 ; then
SU_TO_ROOT_X=ktsuss
elif which sux >/dev/null 2>&1 ; then
SU_TO_ROOT_X=sux
else
SU_TO_ROOT_X=su-to-root
fi
fi
case $SU_TO_ROOT_X in
gksu) gksu -u "$PRIV" "$COMMAND";;
gksudo) gksudo -u "$PRIV" "$COMMAND";;
kdesu) kdesu -u "$PRIV" "$COMMAND";;
kdesudo) kdesudo -u "$PRIV" "$COMMAND";;
kde4su) /usr/lib/kde4/libexec/kdesu -u "$PRIV" "$COMMAND";;
ktsuss) ktsuss -u "$PRIV" "$COMMAND";;
sux) env SU_TO_ROOT_SU=sux \
x-terminal-emulator -e su-to-root -p "$PRIV" -c "$COMMAND";;
# As a last resort, open a new x-terminal-emulator and prompt for the
password
# Do not use -X here!
*) x-terminal-emulator -e su-to-root -p "$PRIV" -c "$COMMAND";;
esac;;
esac
fi
michael@local [~]# which x-terminal-emulator
/usr/bin/x-terminal-emulator
michael@local [~]# ll /usr/bin/x-terminal-emulator
lrwxrwxrwx 1 root root 37 May 30
22:29 /usr/bin/x-terminal-emulator -> /etc/alternatives/x-terminal-emulator
michael@local [~]# ll /etc/alternatives/x-terminal-emulator
lrwxrwxrwx 1 root root 31 May 30
22:29 /etc/alternatives/x-terminal-emulator -> /usr/bin/xfce4-terminal.wrapper
michael@local [~]# ll /usr/bin/xfce4-terminal.wrapper
-rwxr-xr-x 1 root root 1124 Aug 15 2019 /usr/bin/xfce4-terminal.wrapper
michael@local [~]# cat /usr/bin/xfce4-terminal.wrapper
#! /usr/bin/perl -w
#
# Terminal.wrapper - Debian terminal wrapper script
#
# Copyright (c) 2004-2005 os-cillation
#
while ($opt = shift(@ARGV))
{
if ($opt eq '-display')
{
$arg = shift(@ARGV);
push(@args, '--default-display', $arg);
}
elsif ($opt eq '-name')
{
$arg = shift(@ARGV);
}
elsif ($opt eq '-n')
{
$arg = shift(@ARGV);
}
elsif ($opt eq '-T' || $opt eq '-title')
{
push(@args, '--title', shift(@ARGV));
}
elsif ($opt eq '-geometry')
{
$arg = shift(@ARGV);
push(@args, "--geometry=$arg");
}
elsif ($opt eq '-fn')
{
$arg = shift(@ARGV);
}
elsif ($opt eq '-fg')
{
$arg = shift(@ARGV);
}
elsif ($opt eq '-bg')
{
$arg = shift(@ARGV);
}
elsif ($opt eq '-tn')
{
$arg = shift(@ARGV);
}
elsif ($opt eq '-e')
{
$arg = shift(@ARGV);
if (@ARGV)
{
push(@args, '-x', $arg, @ARGV);
last;
}
else
{
push(@args, '-e', $arg);
}
last;
}
elsif ($opt eq '-h' || $opt eq '--help')
{
push(@args, '--help');
}
}
exec('xfce4-terminal',@args);
michael@local [~]# which xfce4-terminal
/usr/bin/xfce4-terminal
michael@local [~]# ll /usr/bin/xfce4-terminal
-rwxr-xr-x 1 root root 248384 Aug 15 2019 /usr/bin/xfce4-terminal
michael@local [~]#
michael@local [~/data/trash]# su-to-root -X -c mx-packageinstaller
==== AUTHENTICATING FOR org.mxlinux.mx-pkexec ===
Authentication is required to run this application
Authenticating as: root
Password:
polkit-agent-helper-1: error response to PolicyKit daemon:
GDBus.Error:org.freedesktop.PolicyKit1.Error.Failed: No session for cookie
==== AUTHENTICATION FAILED ===
Error executing command as another user: Not authorized
This incident has been reported.
---------------------------------------------------------------------
To unsubscribe, e-mail: trinity-users-unsubscribe(a)lists.pearsoncomputing.net
For additional commands, e-mail: trinity-users-help(a)lists.pearsoncomputing.net
Read list messages on the web archive: http://trinity-users.pearsoncomputing.net/
Please remember not to top-post: http://trinity.pearsoncomputing.net/mailing_lists/#top-posting
Hi all!
It looks like there's an error in the mailinglist archive. e.g.:
http://trinity-users.pearsoncomputing.net/?0::17435
Software error:
Cannot decode string with wide characters at /usr/lib/powerpc64le-linux-gnu/perl/5.24/Encode.pm line 202.
For help, please send mail to the webmaster (kb9vqf(a)pearsoncomputing.net), giving this error message and the time and date of the error.
--
Please do not email me anything that you are not comfortable also sharing with the NSA, CIA ...
---------------------------------------------------------------------
To unsubscribe, e-mail: trinity-users-unsubscribe(a)lists.pearsoncomputing.net
For additional commands, e-mail: trinity-users-help(a)lists.pearsoncomputing.net
Read list messages on the web archive: http://trinity-users.pearsoncomputing.net/
Please remember not to top-post: http://trinity.pearsoncomputing.net/mailing_lists/#top-posting
Hey all,
I'm guessing the Wiki changed or something? I tried to log in, it said my
account didn't exist. I created a new account with the same credentials, it
logged me into my old account. It said I needed to confirm my email address
(same one I use here), email never showed up. After an hour I asked it to
resend, it said it did. After another ~3 hours now, neither has shown up.
What do?
---------------------------------------------------------------------
To unsubscribe, e-mail: trinity-users-unsubscribe(a)lists.pearsoncomputing.net
For additional commands, e-mail: trinity-users-help(a)lists.pearsoncomputing.net
Read list messages on the web archive: http://trinity-users.pearsoncomputing.net/
Please remember not to top-post: http://trinity.pearsoncomputing.net/mailing_lists/#top-posting