xmodmap settings get lost or reset

2024-12-01 Thread Matthias Apitz


Hello,

I'm using KDE (kde5-5.27.7.23.08.0_2.pkg) and Xorg (xorg-7.7_3.pkg), all
compiled from ports.

On start of KDE a script sets keymappings to get a Spanish keyboard from
a normal German QWERTZ keyboard, as for example:

xmodmap -e "keycode 10 =  1 exclam exclamdown onesuperior"
xmodmap -e "keycode 20 =  questiondown question backslash ssharp"
xmodmap -e "keycode 26 =  e E eacute Eacute"
xmodmap -e "keycode 27 =  r R EuroSign"
xmodmap -e "keycode 30 =  u U uacute Uacute"
,,,

Magically, these setting get lost or reset from time to time, and every
day; today I've had to rerun this script at:

07:25:22 CET (boot time)
09:26:00 CET (run the script by hand again)
12:37:25 CET (run the script by hand again)

What could cause the lost/reset of the mappings?

Thanks

matthias
-- 
Matthias Apitz, ✉ g...@unixarea.de, http://www.unixarea.de/ +49-176-38902045
Public GnuPG key: http://www.unixarea.de/key.pub

Annalena Baerbock: "We are fighting a war against Russia ..." (25.1.2023)

I, Matthias, I am not at war with Russia.
Я не воюю с Россией.
Ich bin nicht im Krieg mit Russland.


how to prevent startup of akonadiserver(s)

2023-11-09 Thread Matthias Apitz


With the recent update to FreeBSD 14.0-CURRENT r1400094 and ports from
bleeding edge I see a lot of akonadiserver running, which I really do
not need:

[guru@c720-1400094 ~]$ ps ax | grep kon
1546  -  S 0:02,50 /usr/local/bin/akonadi_control
1566  -  S 0:00,39 /usr/local/bin/akonadiserver
1617  -  S 0:01,20 /usr/local/bin/akonadi_akonotes_resource --identifier 
akonadi_akon
1618  -  S 0:02,46 /usr/local/bin/akonadi_archivemail_agent --identifier 
akonadi_arch
1619  -  S 0:01,19 /usr/local/bin/akonadi_birthdays_resource --identifier 
akonadi_bir
1620  -  S 0:01,22 /usr/local/bin/akonadi_contacts_resource --identifier 
akonadi_cont
1621  -  S 0:02,48 /usr/local/bin/akonadi_followupreminder_agent 
--identifier akonadi
1622  -  S 0:01,25 /usr/local/bin/akonadi_ical_resource --identifier 
akonadi_ical_res
1623  -  SN0:01,28 /usr/local/bin/akonadi_indexing_agent --identifier 
akonadi_indexin
1624  -  S 0:01,21 /usr/local/bin/akonadi_maildir_resource --identifier 
akonadi_maild
1625  -  S 0:01,28 /usr/local/bin/akonadi_maildispatcher_agent --identifier 
akonadi_m
1626  -  S 0:02,46 /usr/local/bin/akonadi_mailfilter_agent --identifier 
akonadi_mailf
1627  -  S 0:02,36 /usr/local/bin/akonadi_mailmerge_agent --identifier 
akonadi_mailme
1628  -  S 0:01,20 /usr/local/bin/akonadi_migration_agent --identifier 
akonadi_migrat
1629  -  S 0:01,34 /usr/local/bin/akonadi_newmailnotifier_agent 
--identifier akonadi_
1630  -  S 0:02,38 /usr/local/bin/akonadi_sendlater_agent --identifier 
akonadi_sendla
1631  -  S 0:02,43 /usr/local/bin/akonadi_unifiedmailbox_agent --identifier 
akonadi_u

How could I prevent its start on start of plasma?
Thanks

matthias
-- 
Matthias Apitz, ✉ g...@unixarea.de, http://www.unixarea.de/ +49-176-38902045
Public GnuPG key: http://www.unixarea.de/key.pub

I am not at war with Russia.
Я не воюю с Россией.
Ich bin nicht im Krieg mit Russland.


Re: Image viewer gwenview needs 27 secs to start

2023-10-22 Thread Matthias Apitz
El día domingo, octubre 22, 2023 a las 02:15:31p. m. +0200, Fernando Apesteguía 
escribió:

> Try having a look with qdbusviewer and exporting DBUS_SESSION_BUS_ADDRESS
> if necessary.
> From your log it seems it is accessing org.freedesktop.UPower the specific
> method is not shown.
> 
> What if you try to call UPower by hand?
> 
> dbus-send --print-reply \ --system \ --dest=org.freedesktop.UPower \
> /org/freedesktop/UPower \ org.freedesktop.UPower.EnumerateDevices

This gave the same delay. The name org.freedesktop.UPower.EnumerateDevices
gave me the hint: Days ago I move away /usr/local/libexec/upowerd to
/usr/local/libexec/upowerd.away and copied /bin/true to 
/usr/local/libexec/upowerd
to investigate another issue I have with KDE5 (switching between the
virtual desktops does not work fast). I renamed it again and gwenview
behaves normal.

Thanks for your help.

    matthias
-- 
Matthias Apitz, ✉ g...@unixarea.de, http://www.unixarea.de/ +49-176-38902045
Public GnuPG key: http://www.unixarea.de/key.pub

I am not at war with Russia.
Я не воюю с Россией.
Ich bin nicht im Krieg mit Russland.


Re: Image viewer gwenview needs 27 secs to start

2023-10-22 Thread Matthias Apitz
El día domingo, octubre 22, 2023 a las 12:54:40p. m. +0200, Ronald Klop 
escribió:

> Hi,
> 
> This needs some debugging of the application.
> 
> During these 27 seconds it can be interesting to get the output of:

I found the point where it spends this amount of time. I run 

$ truss -o gwenview.tr -d gwenview

and with grep/vim I found the point in time where it waits 25 secs for
something:

...
2.001783437 socket(PF_LOCAL,SOCK_STREAM|SOCK_CLOEXEC,0) = 21 (0x15)
2.002053139 connect(21,{ AF_UNIX "/var/run/dbus/system_bus_socket" },33) = 0 
(0x0)
...
2.019812505 sendmsg(21,{NULL,0,[{"l\^A\0\^A 
\0\0\0\v\0\0\0\M^H\0\0"...,152},{"\^V\0\0\0org.freedesktop.UPower"...,32}],2,{},0,0},MSG_NOSIGNAL)
 = 184 (0xb8)
27.024832498 poll({ 11/POLLIN 12/POLLIN 21/POLLIN },3,25068) = 1 (0x1)
27.024978322 
recvmsg(21,{NULL,0,[{"l\^C\^A\^Ac\0\0\0\a\0\0\0m\0\0\0"...,2048}],1,{},0,MSG_CMSG_CLOEXEC},MSG_CMSG_CLOEXEC)
 = 227 (0xe3)
27.025182480 recvmsg(21,0x896a197b0,MSG_CMSG_CLOEXEC) ERR#35 'Resource 
temporarily unavailable'

i.e. it sends something to /var/run/dbus/system_bus_socket and waits 25
secs in poll(2) for the answer until it timesout after 25086 millisecs.

matthias

-- 
Matthias Apitz, ✉ g...@unixarea.de, http://www.unixarea.de/ +49-176-38902045
Public GnuPG key: http://www.unixarea.de/key.pub

I am not at war with Russia.
Я не воюю с Россией.
Ich bin nicht im Krieg mit Russland.


Image viewer gwenview needs 27 secs to start

2023-10-22 Thread Matthias Apitz


I'm used to use gwenview for image viewing and manipulating. Since I
updated to recent ports (via git at September 22, exact version see
below) the start is VERY lazy. It takes 27 secs to present the image
when started with 'gwenview file.jpg' from a shell.

Any ideas or help?

matthias


gwenview-23.08.0
Name   : gwenview
Version: 23.08.0
Installed on   : Sun Sep 24 11:27:49 2023 CEST
Origin : graphics/gwenview
Architecture   : FreeBSD:14:amd64
Prefix : /usr/local
Categories : kde-applications kde graphics
Licenses   : LGPL20
Maintainer : k...@freebsd.org
WWW: http://gwenview.sourceforge.net
Comment: Image viewer and browser for KDE
Options:
DOCS   : on
Shared Libs required:
libwayland-client.so.0
libtiff.so.5
libpng16.so.16
libphonon4qt5.so.4
liblcms2.so.2
libkImageAnnotator.so.0
libjpeg.so.8
libexiv2.so.28
libX11.so.6
libQt5Xml.so.5
libQt5X11Extras.so.5
libQt5Widgets.so.5
libQt5WaylandClient.so.5
libQt5Svg.so.5
libQt5PrintSupport.so.5
libQt5Network.so.5
libQt5Gui.so.5
libQt5DBus.so.5
libQt5Core.so.5
libQt5Concurrent.so.5
libKF5XmlGui.so.5
libKF5WindowSystem.so.5
libKF5WidgetsAddons.so.5
libKF5TextWidgets.so.5
libKF5SonnetUi.so.5
libKF5Solid.so.5
libKF5Service.so.5
libKF5Parts.so.5
libKF5Notifications.so.5
libKF5KIOWidgets.so.5
libKF5KIOGui.so.5
libKF5KIOFileWidgets.so.5
libKF5KIOCore.so.5
libKF5KDcraw.so.5
libKF5JobWidgets.so.5
libKF5ItemViews.so.5
libKF5ItemModels.so.5
libKF5IconThemes.so.5
libKF5I18n.so.5
libKF5GuiAddons.so.5
libKF5FileMetaData.so.3
libKF5CoreAddons.so.5
libKF5ConfigWidgets.so.5
libKF5ConfigGui.so.5
libKF5ConfigCore.so.5
libKF5Completion.so.5
libKF5Codecs.so.5
libKF5Bookmarks.so.5
libKF5Baloo.so.5
libKF5AuthCore.so.5
libKF5Auth.so.5
libKF5Activities.so.5
Shared Libs provided:
libgwenviewlib.so.5
Annotations:
FreeBSD_version: 1400094
build_timestamp: 2023-09-22T01:09:11+
built_by   : poudriere-git-3.3.99.20220831
port_checkout_unclean: no
port_git_hash  : 2a6cfd50d
ports_top_checkout_unclean: no
ports_top_git_hash: 1a898a009
repo_type  : binary
repository : FreeBSD
Flat size  : 11.1MiB
Description:
Gwenview is a fast and easy to use image viewer for KDE.

Features:
 - Supports simple image manipulations: rotate, mirror, flip, and resize.
 - Supports basic file management actions such as copy, move, delete,
   and others.
 - Functions both as a standalone application and an embedded viewer
   in the Konqueror web browser.
 - Can be extended using KIPI plugins.
-- 
Matthias Apitz, ✉ g...@unixarea.de, http://www.unixarea.de/ +49-176-38902045
Public GnuPG key: http://www.unixarea.de/key.pub

I am not at war with Russia.
Я не воюю с Россией.
Ich bin nicht im Krieg mit Russland.


Re: CPU consumtion by kglobalaccel / Xorg (was: Fwd: xorg-server-21.1.8_2,1 && key Control_L)

2023-10-05 Thread Matthias Apitz
This morning my firefox crashed on startup. While digging into this I
found as reason "Too many open files" (and my kernel value for this is:

# sysctl kern.maxfiles
kern.maxfiles: 62558

With Don Google I found the reason in this issue against KDE5 baloo:

https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=273669

I disabled baloo and have had already deleted /usr/local/libexec/upowerd
with

# mv /usr/local/libexec/upowerd /usr/local/libexec/upowerd.away
# cp /usr/bin/true /usr/local/libexec/upowerd

With these two changes the switching between the virtual desktops is
much better.

matthias

-- 
Matthias Apitz, ✉ g...@unixarea.de, http://www.unixarea.de/ +49-176-38902045
Public GnuPG key: http://www.unixarea.de/key.pub


Re: CPU consumtion by kglobalaccel / Xorg (was: Fwd: xorg-server-21.1.8_2,1 && key Control_L)

2023-09-26 Thread Matthias Apitz
El día lunes, septiembre 18, 2023 a las 07:44:40 +0300, Gleb Popov escribió:

> On Mon, Sep 18, 2023 at 7:39 PM Matthias Apitz  wrote:
> >
> > When I kill kglobalaccel5, Xorg stressed with repeated 'Control_L' goes
> > only to 20% but Control_L + TAB does not switch to my virtual desktops.
> > When I restart kglobalaccel5 from the shell, switching works again with
> > the same CPU symptom.
> 
> Ugh, this doesn't give a hint, then. Do you have fancy effects enabled
> for the virtual desktop switching? If yes, can you try disabling it or
> the compositor altogether to see if the problem goes away? I don't
> really remember how to do that, so you'd have to search for these
> settings in System Settings yourself.

I've removed now ~/.config and ~/.cache so plasma created a new fresh
desktop on the next 'startx'. I did the following config changes after
the desktop was up:

- configured 4 virtual desktops
- Ctrl+TAB to cycle forward between them
- Shift+Ctrl+TAB to cycle backward
- Ctrl+F1 ... to jump to desktop 1 ...

With this the problem is again visible: kglobalaccel5 and Xorg process
CPU utilisation goes up when switching and when I switch to fast,
it does not even switch anymore and later replays fast the movement.

What next to check? File a PR?

matthias


-- 
Matthias Apitz, ✉ g...@unixarea.de, http://www.unixarea.de/ +49-176-38902045
Public GnuPG key: http://www.unixarea.de/key.pub


Re: port www/qt5-webengine fails reproducible at the same place compilation

2023-09-21 Thread Matthias Apitz
El día jueves, septiembre 21, 2023 a las 05:03:15p. m. +0300, Gleb Popov 
escribió:

> On Thu, Sep 21, 2023 at 4:47 PM Matthias Apitz  wrote:
> >
> > Should I file a new PR?
> 
> You should check git log:
> https://cgit.freebsd.org/ports/commit/?id=190bd2d090115c5c38661198d16fd55288aeb9c1
> This commit is just several commits later than the one you're building.
> 

I checked the git log, but in direction of the past because on August
nn, it still compiled, with

cd www/qt5-webengine
git log .

to see if one of the recent changes could cause it.

OK, lesson learned. Thanks


    matthias

-- 
Matthias Apitz, ✉ g...@unixarea.de, http://www.unixarea.de/ +49-176-38902045
Public GnuPG key: http://www.unixarea.de/key.pub


port www/qt5-webengine fails reproducible at the same place compilation

2023-09-21 Thread Matthias Apitz


On a recent CURRENT (August 5) and ports from git September 13, the
above port fails in poudriere reproducible at the same place during compilation:


www/qt5-webengine for pkg qt5-webengine-5.15.8_6 failed after 02:46:52
with

lines 120952 ff from poudriere log file qt5-webengine-5.15.8_6.log 
 
120952 
../../../../qtwebengine-everywhere-src-5.15.8/src/3rdparty/chromium/gpu/command_buffer/service/program_manager.cc:627:25:
 error: no member named 'as_string' in 'absl::string_view'
120953   return output + input.as_string();
120954   ~ ^
120955 7 warnings and 1 error generated.
... (~500 lines deleted)
121476 9 warnings generated.
121477 ninja: build stopped: subcommand failed.
121478 *** [run_ninja] Error code 1

there is a similar package fallout as mail in 
https://www.mail-archive.com/freebsd-pkg-fallout@freebsd.org/msg2193618.html
to k...@freebsd.org

The full log is here: http://www.unixarea.de/qt5-webengine-5.15.8_6.log.txt

Should I file a new PR?

    matthias

-- 
Matthias Apitz, ✉ g...@unixarea.de, http://www.unixarea.de/ +49-176-38902045
Public GnuPG key: http://www.unixarea.de/key.pub


Re: CPU consumtion by kglobalaccel / Xorg (was: Fwd: xorg-server-21.1.8_2,1 && key Control_L)

2023-09-18 Thread Matthias Apitz
El día lunes, septiembre 18, 2023 a las 10:41:52p. m. +0200, Michael Gmelin 
escribió:

> 
> 
> > On 18. Sep 2023, at 18:03, Matthias Apitz  wrote:
> > 
> > El día lunes, septiembre 18, 2023 a las 11:36:17a. m. +0200, Matthias 
> > Apitz escribió:
> > 
> >>> El día lunes, septiembre 18, 2023 a las 11:08:16 +0300, Gleb Popov 
> >>> escribió:
> >>> 
> >>> On Mon, Sep 18, 2023 at 10:42 AM Matthias Apitz  wrote:
> >>>> 
> >>>> 
> >>>> I investigated the problem described below further and modified
> >>>> ~/.xinitrc to not start plasma, but twm and one xterm. The issue depends
> >>>> clearly on KDE5. On KeyPress event of Control_L the two processes
> >>>> Xorg and kglobalaccel jump in top on the list, Xorg with 30++%.
> >>>> 
> >>>> If one uses multiple time Control_L + TAB to rotate between the virtual
> >>>> desktops, this is lazy at the beginning and later the requests get
> >>>> somehow stacked nd re-played by its own like a movie.
> >>>> 
> >>>> This is not with my older laptop installation with ports from end of
> >>>> 2020 (which have been bleeding edge at this time).
> >>>> 
> >>>> Should I file a bug in bugs.kde.org or is that somehow a known issue?
> >>>> 
> >>>> Thanks
> >>> 
> >>> Probably you have something strange bound to this shortcut. Does the
> >>> problem exist for a newly created user (with empty ~/.config and
> >>> ~/.cache) ?
> >> 
> >> The trees ~/.config and ~/.cache have been copied from the 2020's system
> >> which is still in use. But I will follow your advice and test with a
> >> newly created user.
> > 
> > I created a new user 'test', did login as 'test', copied my ~guru/.xinitrc
> > to ~/.xinitrc, started KDE with 'startx' and started on the empty desktop
> > 'Konsole' from the Application launcher and with 'Konsole' the command
> > 'top'. Using the key 'Control_L' a few times, let's say 10 times in 10
> > seconds, brings the proc Xorg to 60% and kglobalaccel to 20% CPU 
> > utilization.
> > 
> > Please let me know, if I could check something.
> > 
> 
> Could you share the content of your .xinitrc (excuse if you had before).

It's attached. There is also nothing fancy configured for the desktop
switch. Each new desktop just moves in from right to the left. I have
configured 4 virtual desktops and from the fourth it cycles back to the
first.

matthias

-- 
Matthias Apitz, ✉ g...@unixarea.de, http://www.unixarea.de/ +49-176-38902045
Public GnuPG key: http://www.unixarea.de/key.pub
#
# test section to not boot KDE
#
# setxkbmap de -option terminate:ctrl_alt_bksp
# twm &
# xterm -fn 10x20
# exit
#
# end of test section

#
setxkbmap de -option terminate:ctrl_alt_bksp
xrandr --output default --mode 1366x768
/usr/local/bin/xbindkeys

# Trackpad section
#
device="Cypress APA I2C Trackpad"
#
xinput set-prop "$device" "libinput Tapping Enabled" 1
#
# for those who like "natural" scrolling:
#
xinput set-prop "$device" "libinput Natural Scrolling Enabled" 1
#
# this gives three buttons in the lower part of the TP:
#
xinput set-prop "$device" "libinput Middle Emulation Enabled"  0
#
#
#  Trackpad layout (see man cyapa)
#
#   2/3   1/3
#  +++
#  ||   Middle   |
#  ||   Button   |
#  |   Left ||
#  |  Button++
#  ||   Right|
#  ||   Button   |
#  ++|
#  | Thumb/Button Area   | 15%
#  +-+
# see also:
# https://wayland.freedesktop.org/libinput/doc/latest/clickpad-softbuttons.html
#
# end of Trackpad section


#
# startplasma-x11
#
echo .xinitrc-StartKDE > startkde.log
exec ck-launch-session startplasma-x11 \
  2>&1 | while read line; do echo -n "$(date '+%T'): "; echo $line ; test 
"$line" = "startkde: Done." && exit ; done | tee -a startkde.log


Re: CPU consumtion by kglobalaccel / Xorg (was: Fwd: xorg-server-21.1.8_2,1 && key Control_L)

2023-09-18 Thread Matthias Apitz
El día lunes, septiembre 18, 2023 a las 07:09:13p. m. +0300, Gleb Popov 
escribió:

> On Mon, Sep 18, 2023 at 7:04 PM Matthias Apitz  wrote:
> >
> > I created a new user 'test', did login as 'test', copied my ~guru/.xinitrc
> > to ~/.xinitrc, started KDE with 'startx' and started on the empty desktop
> > 'Konsole' from the Application launcher and with 'Konsole' the command
> > 'top'. Using the key 'Control_L' a few times, let's say 10 times in 10
> > seconds, brings the proc Xorg to 60% and kglobalaccel to 20% CPU 
> > utilization.
> 
> This is peculiar. At least we now know that it isn't your personal
> setup's problem. However, I'm not sure how to debug this further.
> 
> How about killing the kglobalaccel process? Does this stop the CPU 
> consumption?
> 

When I kill kglobalaccel5, Xorg stressed with repeated 'Control_L' goes
only to 20% but Control_L + TAB does not switch to my virtual desktops.
When I restart kglobalaccel5 from the shell, switching works again with
the same CPU symptom.

matthias

-- 
Matthias Apitz, ✉ g...@unixarea.de, http://www.unixarea.de/ +49-176-38902045
Public GnuPG key: http://www.unixarea.de/key.pub


Re: CPU consumtion by kglobalaccel / Xorg (was: Fwd: xorg-server-21.1.8_2,1 && key Control_L)

2023-09-18 Thread Matthias Apitz
El día lunes, septiembre 18, 2023 a las 11:36:17a. m. +0200, Matthias Apitz 
escribió:

> El día lunes, septiembre 18, 2023 a las 11:08:16 +0300, Gleb Popov escribió:
> 
> > On Mon, Sep 18, 2023 at 10:42 AM Matthias Apitz  wrote:
> > >
> > >
> > > I investigated the problem described below further and modified
> > > ~/.xinitrc to not start plasma, but twm and one xterm. The issue depends
> > > clearly on KDE5. On KeyPress event of Control_L the two processes
> > > Xorg and kglobalaccel jump in top on the list, Xorg with 30++%.
> > >
> > > If one uses multiple time Control_L + TAB to rotate between the virtual
> > > desktops, this is lazy at the beginning and later the requests get
> > > somehow stacked nd re-played by its own like a movie.
> > >
> > > This is not with my older laptop installation with ports from end of
> > > 2020 (which have been bleeding edge at this time).
> > >
> > > Should I file a bug in bugs.kde.org or is that somehow a known issue?
> > >
> > > Thanks
> > 
> > Probably you have something strange bound to this shortcut. Does the
> > problem exist for a newly created user (with empty ~/.config and
> > ~/.cache) ?
> 
> The trees ~/.config and ~/.cache have been copied from the 2020's system
> which is still in use. But I will follow your advice and test with a
> newly created user.

I created a new user 'test', did login as 'test', copied my ~guru/.xinitrc
to ~/.xinitrc, started KDE with 'startx' and started on the empty desktop
'Konsole' from the Application launcher and with 'Konsole' the command
'top'. Using the key 'Control_L' a few times, let's say 10 times in 10
seconds, brings the proc Xorg to 60% and kglobalaccel to 20% CPU utilization.

Please let me know, if I could check something.

Thanks

matthias

-- 
Matthias Apitz, ✉ g...@unixarea.de, http://www.unixarea.de/ +49-176-38902045
Public GnuPG key: http://www.unixarea.de/key.pub


Re: CPU consumtion by kglobalaccel / Xorg (was: Fwd: xorg-server-21.1.8_2,1 && key Control_L)

2023-09-18 Thread Matthias Apitz
El día lunes, septiembre 18, 2023 a las 11:08:16 +0300, Gleb Popov escribió:

> On Mon, Sep 18, 2023 at 10:42 AM Matthias Apitz  wrote:
> >
> >
> > I investigated the problem described below further and modified
> > ~/.xinitrc to not start plasma, but twm and one xterm. The issue depends
> > clearly on KDE5. On KeyPress event of Control_L the two processes
> > Xorg and kglobalaccel jump in top on the list, Xorg with 30++%.
> >
> > If one uses multiple time Control_L + TAB to rotate between the virtual
> > desktops, this is lazy at the beginning and later the requests get
> > somehow stacked nd re-played by its own like a movie.
> >
> > This is not with my older laptop installation with ports from end of
> > 2020 (which have been bleeding edge at this time).
> >
> > Should I file a bug in bugs.kde.org or is that somehow a known issue?
> >
> > Thanks
> 
> Probably you have something strange bound to this shortcut. Does the
> problem exist for a newly created user (with empty ~/.config and
> ~/.cache) ?

The trees ~/.config and ~/.cache have been copied from the 2020's system
which is still in use. But I will follow your advice and test with a
newly created user.

Thanks

matthias


-- 
Matthias Apitz, ✉ g...@unixarea.de, http://www.unixarea.de/ +49-176-38902045
Public GnuPG key: http://www.unixarea.de/key.pub


CPU consumtion by kglobalaccel / Xorg (was: Fwd: xorg-server-21.1.8_2,1 && key Control_L)

2023-09-18 Thread Matthias Apitz


I investigated the problem described below further and modified
~/.xinitrc to not start plasma, but twm and one xterm. The issue depends
clearly on KDE5. On KeyPress event of Control_L the two processes
Xorg and kglobalaccel jump in top on the list, Xorg with 30++%.

If one uses multiple time Control_L + TAB to rotate between the virtual
desktops, this is lazy at the beginning and later the requests get
somehow stacked nd re-played by its own like a movie.

This is not with my older laptop installation with ports from end of
2020 (which have been bleeding edge at this time).

Should I file a bug in bugs.kde.org or is that somehow a known issue?

Thanks

matthias

- Forwarded message from Matthias Apitz  -

Date: Sun, 17 Sep 2023 17:16:09 +0200
From: Matthias Apitz 
To: freebsd-...@freebsd.org
Subject: xorg-server-21.1.8_2,1 && key Control_L


Hello,

I updated (using poudriere) to very recent ports and esp. the Xorg to
to 7.7_3 and the server itself from xorg-server-1.20.9,1.txz to
xorg-server-21.1.8_2,1.

I'm using a desktop, where Control_L + TAB is used to circle around in virtual
desktops. While using this I see some kind of lazy switch between the
virtual desktops and investigating this it turned out, that simple
pressing the key Control_L (i.e. without followed by TAB) makes the
Xorg process consuming 20% to 50% of the CPU.

Xorg is running as: 

/usr/local/libexec/Xorg -nolisten tcp -retro -logverbose 6

and pressing Control_L + TAB (for the desktop rotate) gives messages in
/var/log/Xorg.0.log like these

$ tail -f /var/log/Xorg.0.log
...
[ 11019.507] [dix] EventToCore: Not implemented yet 
[ 11019.507] [dix] EventToCore: Not implemented yet 
[ 11019.663] [dix] EventToCore: Not implemented yet 
[ 11019.663] [dix] EventToCore: Not implemented yet 
[ 11019.663] [dix] EventToCore: Not implemented yet 
[ 11019.663] [dix] EventToCore: Not implemented yet 

What does this mean?

matthias
-- 
Matthias Apitz, ✉ g...@unixarea.de, http://www.unixarea.de/ +49-176-38902045
Public GnuPG key: http://www.unixarea.de/key.pub


- End forwarded message -

-- 
Matthias Apitz, ✉ g...@unixarea.de, http://www.unixarea.de/ +49-176-38902045
Public GnuPG key: http://www.unixarea.de/key.pub


Re: KDE plasma clipboard && paste into host system

2021-02-07 Thread Matthias Apitz
El día viernes, febrero 05, 2021 a las 11:01:11a. m. +0100, Matthias Apitz 
escribió:

> 
> Hello,
> 
> I run 13.0-CURRENT r368166 (amd64) in VBox 5.2.30 on a Windows 10 host
> (because I have to, please don't blame me). Since the update to
> 13.0-CURRENT and Plasma I have the following problem:
> 
> I can 'cut' with the mouse text in any window in KDE and 'paste' the
> content everywhere in KDE. It is also visible in Clipboard right after
> selecting the text with the mouse. All fine.
> 
> But, to paste it into Windows, i.e. the host, with Ctrl-V I have first
> to mark (click) it in the KDE Clipboard. 
> 
> This is only with this new KDE. An older KDE-4 VM does not show this
> issue.

I found the reason with reading carefully the help of the Klipper
application; one must enable the following:

  Synchronize contents of the clipboard and the selection
  
  Sets the clipboard mode. When an area of the screen is
  selected with mouse or keyboard, this is called the “selection”.
  If this option is selected, the selection and the clipboard is
  kept the same, so that anything in the selection is immediately
  available for pasting elsewhere using any method, including the
  traditional middle mouse button. Otherwise, the selection is
  recorded in the clipboard history, but the selection can only
  be pasted using the middle mouse button. Also see the Ignore
  selection option. See the section called “Clipboard/Selection
  Behavior”.

With this it works like it should. And this option was enabled in the
KDE4 Klipper (maybe as default, because I do not remember having ever
touch this).

matthias

-- 
Matthias Apitz, ✉ g...@unixarea.de, http://www.unixarea.de/ +49-176-38902045
Public GnuPG key: http://www.unixarea.de/key.pub


KDE plasma clipboard && paste into host system

2021-02-05 Thread Matthias Apitz


Hello,

I run 13.0-CURRENT r368166 (amd64) in VBox 5.2.30 on a Windows 10 host
(because I have to, please don't blame me). Since the update to
13.0-CURRENT and Plasma I have the following problem:

I can 'cut' with the mouse text in any window in KDE and 'paste' the
content everywhere in KDE. It is also visible in Clipboard right after
selecting the text with the mouse. All fine.

But, to paste it into Windows, i.e. the host, with Ctrl-V I have first
to mark (click) it in the KDE Clipboard. 

This is only with this new KDE. An older KDE-4 VM does not show this
issue.

Any ideas

    matthias
-- 
Matthias Apitz, ✉ g...@unixarea.de, http://www.unixarea.de/ +49-176-38902045
Public GnuPG key: http://www.unixarea.de/key.pub


Re: panel clock does not show all digits of the time

2020-12-19 Thread Matthias Apitz
El día viernes, diciembre 18, 2020 a las 07:36:35p. m. +0100, Tobias C. Berner 
escribió:

> Moin moin
> 
> I remember a similar issue on the lock screen some time ago -- but I
> don't see it at the moment.
> Have you looked whether there is a bug report upstream? This does not
> seem like it should be
> caused by our packaging.

> On Fri, 18 Dec 2020 at 08:32, Matthias Apitz  wrote:
> >
> >
> > Hello,
> >
> > With a very recent plasma from ports on CURRENT I have the issue that from 
> > time
> > to time some of the digits of the clock in the panel are going away (look 
> > screen at
> > http://www.unixarea.de/clock.png ). To make them appear again I change
> > the characters for the digits from normal to bold (or vice versa) and
> > then after some time they're away again.
> >

I reopened an older similar issue in bugs.kde.org:
https://bugs.kde.org/show_bug.cgi?id=365716
which was closed due to "This bug has been in NEEDSINFO status with no
change for at least 30 days. The bug is now closed as RESOLVED > WORKSFORME
due to lack of needed information."

Thanks

matthias

-- 
Matthias Apitz, ✉ g...@unixarea.de, http://www.unixarea.de/ +49-176-38902045
Public GnuPG key: http://www.unixarea.de/key.pub
Без книги нет знания, без знания нет коммунизма (Влaдимир Ильич Ленин)
Without books no knowledge - without knowledge no communism (Vladimir Ilyich 
Lenin) 
Sin libros no hay saber - sin saber no hay comunismo. (Vladimir Ilich Lenin)


panel clock does not show all digits of the time

2020-12-17 Thread Matthias Apitz

Hello,

With a very recent plasma from ports on CURRENT I have the issue that from time
to time some of the digits of the clock in the panel are going away (look 
screen at
http://www.unixarea.de/clock.png ). To make them appear again I change
the characters for the digits from normal to bold (or vice versa) and
then after some time they're away again.

What can I do?

matthias
-- 
Matthias Apitz, ✉ g...@unixarea.de, http://www.unixarea.de/ +49-176-38902045
Public GnuPG key: http://www.unixarea.de/key.pub


It needs two or even more times to unlock plasma screen

2020-12-11 Thread Matthias Apitz


Hello,

I'm running KDE5 plasma from the latest ports on FreeBSD CURRENT. When
the screen gets locked I have to provide two or even more times the
correct password to unlock the screen. On the alpha console it says in
some of these cases (not always) "Authentication failure".

Plasma is started via 'startx' and this line in ~/.xinitrc

exec ck-launch-session startplasma-x11

What can I do to investigate the reason. And no, it's not a wrong
spelled password :-)

Thanks

    matthias

-- 
Matthias Apitz, ✉ g...@unixarea.de, http://www.unixarea.de/ +49-176-38902045
Public GnuPG key: http://www.unixarea.de/key.pub


Re: start of kde5 changes env var LANG

2020-12-08 Thread Matthias Apitz
El día lunes, diciembre 07, 2020 a las 10:53:55a. m. -0500, Dwayne MacKinnon 
escribió:

> Hi,
> 
> I recently ran into similar issues. I did some looking around, and discovered 
> that KDE/KF5 was trying to use DBUS to get account information, and failing. 
> I 
> installed sysutils/accountsservice and I find a massive difference in how it 
> runs. For one thing, startup is much quicker. For another, my CHARSET and 
> LANG 
> settings from /etc/login.conf are respected.
> 
> I'm beginning to think there should be a dependency on sysutils/
> accountsservice for x11/kde5.

Hi,

I've installed sysutils/accountsservice now but can't confirm that the
settings from /etc/login.conf or ~/.login.conf are respected. I've even
modified /etc/login.conf and run as root 'cap_mkdb -v /etc/login.conf'

$ grep :lang /etc/login.conf ~/.login.conf
/etc/login.conf::lang=de_DE.UTF-8:
/etc/login.conf::lang=ru_RU.UTF-8:\
~/.login.conf:  :lang=de_DE.UTF-8:

$ cat ~/.login.conf
#
# overwrite values from /etc/login.conf
#
# g...@unixarea.de, Dec. 2020

me:\
:charset=UTF-8:\
:lang=de_DE.UTF-8:

$ env | grep LANG
LANG=C.UTF-8

I also feel no improvement of the desktop boot time. It takes around 28
seconds from 'startx' until plasma is ready.

matthias

-- 
Matthias Apitz, ✉ g...@unixarea.de, http://www.unixarea.de/ +49-176-38902045
Public GnuPG key: http://www.unixarea.de/key.pub


Re: start of kde5 changes env var LANG

2020-12-07 Thread Matthias Apitz
El día lunes, diciembre 07, 2020 a las 12:08:51p. m. +0100, Matthias Apitz 
escribió:

> Hello,
> 
> Thanks, this works fine. 
> 
> I have another script (used in ~/.kde4/Autostart/xmod.sh) which I now
> copied to ~/.config/plasma-workspace/env/xmod.sh which does:

I came up with this small hack:

$ cat ~/.config/plasma-workspace/env/xmod.sh

echo $0 >> /tmp/autostart.txt
( sleep 60 ; ~/xmod.sh ) &

i.e. the real work is done in ~/xmod.sh which is launched by
~/.config/plasma-workspace/env/xmod.sh but 60 secs later;

    matthias


-- 
Matthias Apitz, ✉ g...@unixarea.de, http://www.unixarea.de/ +49-176-38902045
Public GnuPG key: http://www.unixarea.de/key.pub


Re: start of kde5 changes env var LANG

2020-12-07 Thread Matthias Apitz
El día lunes, diciembre 07, 2020 a las 08:33:51a. m. +0200, Oleksandr Kryvulia 
escribió:

> 07.12.20 07:53, Matthias Apitz пишет:
> > Hello,
> >
> > This is on FreeBSD CURRENT with ports from head. I login on a normal
> > console and get LANG from ~/.profile as 
> >
> > ...

> > Which script/config of KDE modifies the env var LANG?
> >
> >
> >
> 
> Hi!
> 
> You can use ~/.config/plasma-workspace/env/env.sh for setting variables.

Hello,

Thanks, this works fine. 

I have another script (used in ~/.kde4/Autostart/xmod.sh) which I now
copied to ~/.config/plasma-workspace/env/xmod.sh which does:

# Acer C720
#
# swap Alt with Win-key
# use (old) CapsLock as Alt_l
#

/usr/local/bin/setxkbmap -model pc105 \
  -layout de,us   \
  -option "altwin:swap_alt_win"   \
  -option "lv3:ralt_switch"

# we use the Win-key to add more (esp. Spanish) letters to the keys:
#
# Spanish tilded chars (use Mode_switch + char)
#
xmodmap -e "keycode 0x40 =  Mode_switch"
xmodmap -e "keycode 0x39 =  n N ntilde Ntilde"
xmodmap -e "keycode 0x1a =  e E eacute Eacute"
...
#
xmodmap -e "keycode 94 = less greater guillemotleft guillemotright bar 
brokenbar"
#
# PgUp, PgDown, Home, End keys:
#
xmodmap -e "keycode 111 =  Up   Up   Prior" # XXX: Home
xmodmap -e "keycode 116 =  Down Down Next"  # XXX: End
#
# F11
xmodmap -e "keycode 67  = F1 F1 F11"

i.e. the idea is to be able to type Spanish tilded chars like

áéíóñ ÁÉÍÓÑ ...

and get some other keys like Prior and Next which are missing on the small C720
netbook keyboard.

The script worked fine for ages in KDE4 and works also when I start it
in a xterm when the plasma is up. But when it is launched as 
~/.config/plasma-workspace/env/xmod.sh during the start of the KDE5,
somewhere the settings get reset to the default values.

Any idea how this could work? Thanks

matthias


-- 
Matthias Apitz, ✉ g...@unixarea.de, http://www.unixarea.de/ +49-176-38902045
Public GnuPG key: http://www.unixarea.de/key.pub


start of kde5 changes env var LANG

2020-12-06 Thread Matthias Apitz


Hello,

This is on FreeBSD CURRENT with ports from head. I login on a normal
console and get LANG from ~/.profile as 

LANG=es_ES.UTF-8 export LANG

When I do 'startx' which launches:

exec ck-launch-session startplasma-x11

The terminal in my desktop have:

$ env | grep LANG
LANG=C.UTF-8

Which script/config of KDE modifies the env var LANG?

Thanks

matthias

-- 
Matthias Apitz, ✉ g...@unixarea.de, http://www.unixarea.de/ +49-176-38902045
Public GnuPG key: http://www.unixarea.de/key.pub
Без книги нет знания, без знания нет коммунизма (Влaдимир Ильич Ленин)
Without books no knowledge - without knowledge no communism (Vladimir Ilyich 
Lenin) 
Sin libros no hay saber - sin saber no hay comunismo. (Vladimir Ilich Lenin)


Re: smbclient ./. Dolphin

2019-09-17 Thread Matthias Apitz
El día Tuesday, September 17, 2019 a las 09:07:14AM +, Ricardo Fraile 
escribió:

> El lun, 16-09-2019 a las 11:13 +0200, Matthias Apitz escribió:
> > Hello,
> > 
> > At work I have to access from my virtual machine running FreeBSD the
> > files system of the Windows 7 host (please, be patient and don't
> > blame
> > me). For this I mostly use smbclient like:
> > 
> > $ smbclient //APITZM-LTOH/apitzm -A ~/.smbpw -I 10.49.8.55 -m SMB2
> > Unknown parameter encountered: "display charset"
> > Ignoring unknown parameter "display charset"
> > Domain=[XXX] OS=[] Server=[]
> > smb: \>
> > 
> > which works just fine.
> > 
> > I tried to use the same configuration in Dolphin of KDE4, but this
> > just
> > hangs. I used TCPDUMP to understand, what could be the problem.

Because Adrian asked, this is with Dolphin of KDE4 from ports of March
2017. But, that's not working must be something fundamental stupid I'm
doing because it's only doing the three-way-handshake on TCP/IP and
nothing else. See below.

> > Here is smbclient:
> > 
> > 09:46:12.686328 IP 10.0.2.15.24162 > 10.49.8.55.445: Flags [S], seq
> > 1278231313, win 65535, options [mss 1460,nop,wscale 6,sackOK,TS val
> > 51304411 ecr 0], length 0
> > 09:46:12.688274 IP 10.49.8.55.445 > 10.0.2.15.24162: Flags [S.], seq
> > 1141201409, ack 1278231314, win 65535, options [mss 1460], length 0
> > 09:46:12.688292 IP 10.0.2.15.24162 > 10.49.8.55.445: Flags [.], ack
> > 1, win 65535, length 0
> > 09:46:12.688548 IP 10.0.2.15.24162 > 10.49.8.55.445: Flags [P.], seq
> > 1:217, ack 1, win 65535, length 216 SMB PACKET: SMBnegprot (REQUEST)
> > ...
> > 
> > and this is Dolphin:
> > 
> > 11:10:40.579506 IP 10.0.2.15.23810 > 10.49.8.55.445: Flags [S], seq
> > 1055509186, win 65535, options [mss 1460,nop,wscale 6,sackOK,TS val
> > 56372363 ecr 0], length 0
> > 11:10:40.581858 IP 10.49.8.55.445 > 10.0.2.15.23810: Flags [S.], seq
> > 1678033409, ack 1055509187, win 65535, options [mss 1460], length 0
> > 11:10:40.581878 IP 10.0.2.15.23810 > 10.49.8.55.445: Flags [.], ack
> > 1, win 65535, length 0
> > 
> > i.e. after the SYN-SYN-ACK no more traffic. 
> > 
> > What could I do wrong?
> > 
> > matthias
> 
> You are lucky if you get a working solution. FreeBSD haven't support to
> SMBv3

That's why I'm using for smbclient the option '-m SMB2'. The Dolphin
does not offer anything to configure this at all.

But, as only the SYN-SYN-ACK is done, this at this point is not the
problem because the SYN-SYN-ACK does not allow to set/ask for the SMB
version.

matthias
-- 
Matthias Apitz, ✉ g...@unixarea.de, http://www.unixarea.de/ +49-176-38902045
Public GnuPG key: http://www.unixarea.de/key.pub
May, 9: Спаси́бо освободители! Thank you very much, Russian liberators!


smbclient ./. Dolphin

2019-09-16 Thread Matthias Apitz


Hello,

At work I have to access from my virtual machine running FreeBSD the
files system of the Windows 7 host (please, be patient and don't blame
me). For this I mostly use smbclient like:

$ smbclient //APITZM-LTOH/apitzm -A ~/.smbpw -I 10.49.8.55 -m SMB2
Unknown parameter encountered: "display charset"
Ignoring unknown parameter "display charset"
Domain=[XXX] OS=[] Server=[]
smb: \>

which works just fine.

I tried to use the same configuration in Dolphin of KDE4, but this just
hangs. I used TCPDUMP to understand, what could be the problem.

Here is smbclient:

09:46:12.686328 IP 10.0.2.15.24162 > 10.49.8.55.445: Flags [S], seq 1278231313, 
win 65535, options [mss 1460,nop,wscale 6,sackOK,TS val 51304411 ecr 0], length 0
09:46:12.688274 IP 10.49.8.55.445 > 10.0.2.15.24162: Flags [S.], seq 
1141201409, ack 1278231314, win 65535, options [mss 1460], length 0
09:46:12.688292 IP 10.0.2.15.24162 > 10.49.8.55.445: Flags [.], ack 1, win 
65535, length 0
09:46:12.688548 IP 10.0.2.15.24162 > 10.49.8.55.445: Flags [P.], seq 1:217, ack 
1, win 65535, length 216 SMB PACKET: SMBnegprot (REQUEST)
...

and this is Dolphin:

11:10:40.579506 IP 10.0.2.15.23810 > 10.49.8.55.445: Flags [S], seq 1055509186, 
win 65535, options [mss 1460,nop,wscale 6,sackOK,TS val 56372363 ecr 0], length 0
11:10:40.581858 IP 10.49.8.55.445 > 10.0.2.15.23810: Flags [S.], seq 
1678033409, ack 1055509187, win 65535, options [mss 1460], length 0
11:10:40.581878 IP 10.0.2.15.23810 > 10.49.8.55.445: Flags [.], ack 1, win 
65535, length 0

i.e. after the SYN-SYN-ACK no more traffic. 

What could I do wrong?

matthias
-- 
Matthias Apitz, ✉ g...@unixarea.de, http://www.unixarea.de/ +49-176-38902045
Public GnuPG key: http://www.unixarea.de/key.pub
May, 9: Спаси́бо освободители! Thank you very much, Russian liberators!


text widget in unlock screen withou bullets/text (was: Re: battery icon in the panel && battery life time)

2019-06-25 Thread Matthias Apitz
El día martes, junio 25, 2019 a las 12:44:35p. m. +, Matthias Apitz 
escribió:

> For me as user, I got it working today once, exactly as for the other test 
> user.
> When it worked there was even the configured avatar (my photo) visible.
> Unlocking and locking the desktop again (without any further change in
> the config) made it not working again and the avatar is only a grey
> circle. Must be some bug, whatever it triggers.

I have below the log of 'startx' in the terminal from where this is
started, from start to lock to unlock. The lock is done at 12:50:47.

Maybe one of the messages gives a hint (to me not). Thanks

matthias


.xinitrc-StartKDE
12:46:28: 
file:///usr/local/share/plasma/look-and-feel/org.kde.oxygen/contents/splash/Splash.qml:89:
 ReferenceError: bottomRect is not defined
12:46:28: 
file:///usr/local/share/plasma/look-and-feel/org.kde.oxygen/contents/splash/Splash.qml:88:
 ReferenceError: bottomRect is not defined
12:46:28: 
file:///usr/local/share/plasma/look-and-feel/org.kde.oxygen/contents/splash/Splash.qml:89:
 ReferenceError: bottomRect is not defined
12:46:28: startkde: Starting up...
12:46:28: kdeinit5: preparing to launch '/usr/local/lib/libexec/kf5/klauncher'
12:46:28: kdeinit5: Launched KLauncher, pid = 8876, result = 0
12:46:29: Connecting to deprecated signal 
QDBusConnectionInterface::serviceOwnerChanged(QString,QString,QString)
12:46:29: kdeinit5: opened connection to :0
12:46:29: kdeinit5: preparing to launch 'libkdeinit5_kded5'
12:46:29: kdeinit5: Launched KDED, pid = 8882 result = 0
12:46:29: kdeinit5: preparing to launch 'libkdeinit5_kcminit_startup'
12:46:29: kdeinit5: Launched 'kcminit_startup', pid = 8885 result = 0
12:46:29: Initializing "kcm_style" : "kcminit_style"
12:46:29: kdeinit5: Got SETENV 
'GTK_RC_FILES=/etc/gtk/gtkrc:/home/guru/.gtkrc:/home/guru/.config/gtkrc' from 
launcher.
12:46:29: kdeinit5: Got SETENV 
'GTK2_RC_FILES=/etc/gtk-2.0/gtkrc:/home/guru/.gtkrc-2.0:/home/guru/.config/gtkrc-2.0'
 from launcher.
12:46:29: Initializing "kcm_mouse" : "kcminit_mouse"
12:46:29: kdeinit5: Got SETENV 'XCURSOR_THEME=Oxygen_Black' from launcher.
12:46:29: kdeinit5: Got SETENV 'XCURSOR_SIZE=0' from launcher.
12:46:29: Initializing "kcm_access" : "kcminit_access"
12:46:29: kdeinit5: Got EXEC_NEW '/usr/local/bin/kaccess' from launcher.
12:46:29: kdeinit5: preparing to launch '/usr/local/bin/kaccess'
12:46:29: Xlib XKB extension major= 1 minor= 0
12:46:29: kdeinit5: PID 8885 terminated.
12:46:29: kdeinit5: Got KWRAPPER '/usr/local/bin/ksmserver' from wrapper.
12:46:29: kdeinit5: preparing to launch '/usr/local/bin/ksmserver'
12:46:29: X server XKB extension major= 1 minor= 0
12:46:30: Qt: Session management error: networkIdsList argument is NULL
12:46:30: Configuring Lock Action
12:46:30: kdeinit5: Got SETENV 
'SESSION_MANAGER=local/c720-r349041:/tmp/.ICE-unix/8912' from launcher.
12:46:30: Initializing "kded_touchpad" : "kcminit_touchpad"
12:46:30: kcm_touchpad: Using X11 backend
12:46:30: Initializing "kcm_kgamma" : "kcminit_kgamma"
12:46:30: QDBusConnection: name 'org.kde.kglobalaccel' had owner '' but we 
thought it was ':1.10'
12:46:30: org.kde.kf5.ksmserver: Starting autostart service 
"/usr/local/etc/xdg/autostart/krunner.desktop" ("/usr/local/bin/krunner")
12:46:30: org.kde.kf5.ksmserver: Starting autostart service 
"/usr/local/etc/xdg/autostart/org.kde.plasmashell.desktop" 
("/usr/local/bin/plasmashell")
12:46:30: org.kde.kf5.ksmserver: Starting autostart service 
"/usr/local/etc/xdg/autostart/pam_kwallet_init.desktop" 
("/usr/local/lib/libexec/pam_kwallet_init")
12:46:30: org.kde.kf5.ksmserver: Starting autostart service 
"/usr/local/etc/xdg/autostart/polkit-kde-authentication-agent-1.desktop" 
("/usr/local/lib/libexec/polkit-kde-authentication-agent-1")
12:46:30: org.kde.kf5.ksmserver: Starting autostart service 
"/usr/local/etc/xdg/autostart/xembedsniproxy.desktop" 
("/usr/local/bin/xembedsniproxy")
12:46:30: Session path: "/org/freedesktop/ConsoleKit/Session8"
12:46:30: org.kde.kf5.ksmserver: Starting autostart service 
"/usr/local/etc/xdg/autostart/gmenudbusmenuproxy.desktop" 
("/usr/local/bin/gmenudbusmenuproxy")
12:46:30: org.kde.kf5.ksmserver: Starting autostart service 
"/usr/local/etc/xdg/autostart/restore_kmix_volumes.desktop" 
("/usr/local/bin/kmixctrl", "--restore")
12:46:30: kdeinit5: Got EXEC_NEW '/usr/local/bin/korgac' from launcher.
12:46:30: kdeinit5: preparing to launch '/usr/local/bin/korgac'
12:46:31: KCrash: Attempting to start /usr/local/bin/kded5 from kdeinit
12:4

Re: battery icon in the panel && battery life time

2019-06-25 Thread Matthias Apitz
El día lunes, junio 24, 2019 a las 10:10:52p. m. +0200, Adriaan de Groot 
escribió:

> On Monday, 24 June 2019 22:34:10 CEST Matthias Apitz wrote:
> > I tried to bring up another issue in #kde at chat.freenode.net: The
> > unlock screen has no stars or dots when typing the password to unlock,
> 
> Works for me. You may be missing fonts if have not installed the whole x11/
> kde5 and x11/sddm. That might explain missing glyphs, or your font 
> configuration may choose a font that doesn't have the necessary glyphs.

I have no x11/sddm port installed, only x11/kde5.

> Try it with a fresh user as well.

I created an additional user and it worked for him as it should. In the
text input widget to unlock, there is written "Password" and typing the
real password, gives bullets.

For me as user, I got it working today once, exactly as for the other test user.
When it worked there was even the configured avatar (my photo) visible.
Unlocking and locking the desktop again (without any further change in
the config) made it not working again and the avatar is only a grey
circle. Must be some bug, whatever it triggers.

matthias

-- 
Matthias Apitz, ✉ g...@unixarea.de, http://www.unixarea.de/ +49-176-38902045
Public GnuPG key: http://www.unixarea.de/key.pub
May, 9: Спаси́бо освободители! Thank you very much, Russian liberators!


Re: battery icon in the panel && battery life time

2019-06-24 Thread Matthias Apitz
El día domingo, junio 23, 2019 a las 06:42:05p. m. +0200, Adriaan de Groot 
escribió:

> On Sunday, 23 June 2019 13:24:08 CEST Matthias Apitz wrote:
> > Hello,
> > 
> > In the panel there is a small battery icon. When I unplug the power, it says
> > on mouse over '5:04 Remaining (100%)' the value is correct, more or less
> > what the 5:04 hours regards. But, how the KDE gets to know this? The ACPI
> > only says the percentage, and not the life time:
> 
> The information comes from powerdevil and/or Solid, You can try it from the 
> command line in a Plasma session (when powerdevil is running):
> 
> qdbus local.org_kde_powerdevil  /org/kde/Solid/PowerManagement 
> batteryRemainingTime

Thanks for the reply. The above command gives the remaining time in ms
(when the battery is discharging) or 0 (when AC is attached).

> I think that goes into the upower backend for solid to get actual power 
> information, and from there .. you might want to ask in general KDE channels 
> (e.g. on IRC in #kde on Freenode) or start chasing through the stack yourself.

I tried to bring up another issue in #kde at chat.freenode.net: The
unlock screen has no stars or dots when typing the password to unlock,
but got no response, or missed the response because I have no time to
follow all the chatting there all day long to see if it contains a response to 
my
question. Is this really meant to substitute support by mail? If so, bad
times are upraising :-(

matthias
-- 
Matthias Apitz, ✉ g...@unixarea.de, http://www.unixarea.de/ +49-176-38902045
Public GnuPG key: http://www.unixarea.de/key.pub
May, 9: Спаси́бо освободители! Thank you very much, Russian liberators!


battery icon in the panel && battery life time

2019-06-23 Thread Matthias Apitz



Hello,

In the panel there is a small battery icon. When I unplug the power, it says on
mouse over '5:04 Remaining (100%)' the value is correct, more or less
what the 5:04 hours regards. But, how the KDE gets to know this? The
ACPI only says the percentage, and not the life time:

$ sysctl -a | grep acpi.battery
hw.acpi.battery.info_expire: 5
hw.acpi.battery.units: 1
hw.acpi.battery.state: 0
hw.acpi.battery.rate: 0
hw.acpi.battery.time: -1
hw.acpi.battery.life: 100

How KDE calculates from the percentage the life time?

matthias

-- 
Matthias Apitz, ✉ g...@unixarea.de, http://www.unixarea.de/ +49-176-38902045
Public GnuPG key: http://www.unixarea.de/key.pub
May, 9: Спаси́бо освободители! Thank you very much, Russian liberators!


battery icon in the panel && battery life time

2019-06-23 Thread Matthias Apitz

Hello,

In the panel there is a small battery icon. When I unplug the power, it says on
mouse over '5:04 Remaining (100%)' the value is correct, more or less
what the 5:04 hours regards. But, how the KDE gets to know this? The
ACPI only says the percentage, and not the life time:

$ sysctl -a | grep acpi.battery
hw.acpi.battery.info_expire: 5
hw.acpi.battery.units: 1
hw.acpi.battery.state: 0
hw.acpi.battery.rate: 0
hw.acpi.battery.time: -1
hw.acpi.battery.life: 100

How KDE calculates from the percentage the life time?

matthias
-- 
Matthias Apitz, ✉ g...@unixarea.de, http://www.unixarea.de/ +49-176-38902045
Public GnuPG key: http://www.unixarea.de/key.pub
May, 9: Спаси́бо освободители! Thank you very much, Russian liberators!


signature.asc
Description: PGP signature


zapping Xorg and KDE5 sometimes also shuts down the system

2019-06-21 Thread Matthias Apitz

Hello,

Sometimes Ctrl-Alt-BS not only stops the Xorg server (and KDE5) but also
the complete OS. In the log it says about the server and termination:

[   225.419]
X.Org X Server 1.18.4
Release Date: 2016-07-19
[   225.419] X Protocol Version 11, Revision 0
[   225.419] Build Operating System: FreeBSD 13.0-CURRENT amd64
[   225.419] Current Operating System: FreeBSD c720-r349041 13.0-CURRENT 
FreeBSD 13.0-CURRENT #1 r349041: Sat Jun 15 07:45:13 CEST 2019 
guru@jet:/usr/obj/usr/src/amd64.amd64/sys/GENERIC amd64
[   225.420] Build Date: 15 June 2019  09:39:43PM
...
[   252.039] (II) modeset(0): EDID vendor "CMN", prod id 4402
[   252.039] (II) modeset(0): Printing DDC gathered Modelines:
[   252.039] (II) modeset(0): Modeline "1366x768"x0.0   76.42  1366 1502 1532 
1592  768 776 788 800 -hsync -vsync (48.0 kHz eP) (II) mouse: 3rd Button 
detected: disabling emulate3Button
[  7080.468] (II) Server zapped. Shutting down.
[  7092.070] (II) config/devd: terminating backend...
[  7092.403] (II) UnloadModule: "mouse"
[  7092.403] (II) UnloadModule: "kbd"
[  7101.033] (II) Server terminated successfully (0). Closing log file.

and after this the system goes down as someone did a regular 'shutdown -p now'

Why?

matthias

-- 
Matthias Apitz, ✉ g...@unixarea.de, http://www.unixarea.de/ +49-176-38902045
Public GnuPG key: http://www.unixarea.de/key.pub
May, 9: Спаси́бо освободители! Thank you very much, Russian liberators!


signature.asc
Description: PGP signature


Re: moving from KDE4 to KDE5

2019-06-19 Thread Matthias Apitz
El día Tuesday, June 18, 2019 a las 02:48:34PM +0200, Matthias Apitz escribió:

> While testing and configuring things, I'm chocking with two issues:
> 
> - I configured zapping (alt-ctrl-backspace) which works, i.e. terminates
>   the Xorg server but powers off the laptop. Why?
> 
> - The desktop many times comes in an unusable state: the menus (for
>   example the Application Launcher or the Hamburger in the upper corner)
>   come up as empty, transparent frames, i.e. only the border is painted.
>   Somethings seems to be crashing...
> 
> This is with r349041 and ports from June 10.
> 
> Any comments?

One question and one joke:

Is this list kde-freebsd@kde.org meant to be used as a place for asking
for help and hints (and inhabited by people) or is it only meant for svn
commit messages and PR mail addr?

The joke: My 9 years old son runs FreeBSD with KDE4 on his laptop. This
morning he watched me while I was testing KDE5 and asked me what I was
doing? I said the new desktop which I would be installing soon on his
laptop too. He said, it was looking ugly, for example he missed the red
icon for shutdown, and others :-)

matthias
-- 
Matthias Apitz, ✉ g...@unixarea.de, http://www.unixarea.de/ +49-176-38902045
Public GnuPG key: http://www.unixarea.de/key.pub
May, 9: Спаси́бо освободители! Thank you very much, Russian liberators!


Re: moving from KDE4 to KDE5

2019-06-18 Thread Matthias Apitz
El día Tuesday, June 18, 2019 a las 09:48:16AM +0200, Matthias Apitz escribió:

> 
> For the transition from KDE4 to KDE5 I have two more silly questions: In
> my HOME the KDE4 configuration is below ~/.local and ~/.kde4. When I now
> start KDE5 for the first time, will this (the desktop) somehow migrated,
> as far as possible? Or will it even be in the way and should be deleted
> before?

While testing and configuring things, I'm chocking with two issues:

- I configured zapping (alt-ctrl-backspace) which works, i.e. terminates
  the Xorg server but powers off the laptop. Why?

- The desktop many times comes in an unusable state: the menus (for
  example the Application Launcher or the Hamburger in the upper corner)
  come up as empty, transparent frames, i.e. only the border is painted.
  Somethings seems to be crashing...

This is with r349041 and ports from June 10.

Any comments?

    matthias

-- 
Matthias Apitz, ✉ g...@unixarea.de, http://www.unixarea.de/ +49-176-38902045
Public GnuPG key: http://www.unixarea.de/key.pub
May, 9: Спаси́бо освободители! Thank you very much, Russian liberators!


Re: moving from KDE4 to KDE5

2019-06-18 Thread Matthias Apitz


For the transition from KDE4 to KDE5 I have two more silly questions: In
my HOME the KDE4 configuration is below ~/.local and ~/.kde4. When I now
start KDE5 for the first time, will this (the desktop) somehow migrated,
as far as possible? Or will it even be in the way and should be deleted
before?

Thanks

matthias
-- 
Matthias Apitz, ✉ g...@unixarea.de, http://www.unixarea.de/ +49-176-38902045
Public GnuPG key: http://www.unixarea.de/key.pub
May, 9: Спаси́бо освободители! Thank you very much, Russian liberators!


Re: moving from KDE4 to KDE5

2019-06-17 Thread Matthias Apitz
El día lunes, junio 17, 2019 a las 09:50:47a. m. -0400, Dwayne MacKinnon 
escribió:

> Hi Matthias,
> 
> If I'm not using sddm, I use the following in my .xinitrc for kf5:
> 
> exec ck-launch-session startkde
> 
> There are advantages, I've found, to having ConsoleKit invoked. 
> 
> As for poudriere, doing a bulk build on x11/kde5 should pull in everything 
> you 
> need. I use poudriere all the time with that entry in my build file.


Hi,

I have a poudriere build file of around 400++ lines of ports:

$ wc -l myThings/FreeBSD/poudriere-list
 432 myThings/FreeBSD/poudriere-list

among these (now) x11/kde5. My poudriere oven (a rackmount Dell
PowerEdge r210) builds based on this around 2100 packages in around 48
hours. This afternoon I installed the system (r349041) and the repo of
the 2100 ports to an external USB disk, pkg-installed kde5 and xorg
while chrooting into it, rebooted from it, tweaked a bit my home and
KDE5 came up fine with 'startx' with the .xinitrc as you say, just for
run a test. Ofc there is a lot to change/configure inside KDE5 (and a
lot to learn if one comes from KDE4).

A big thanks to all KDE @ FreeBSD folks to bring this to our ports tree.

Btw: What is 'kf5' exactly as naming?

matthias


-- 
Matthias Apitz, ✉ g...@unixarea.de, http://www.unixarea.de/ +49-176-38902045
Public GnuPG key: http://www.unixarea.de/key.pub
May, 9: Спаси́бо освободители! Thank you very much, Russian liberators!


signature.asc
Description: PGP signature


moving from KDE4 to KDE5

2019-06-17 Thread Matthias Apitz


Hello,

I'm moving on FreeBSD CURRENT with ports tree as of June 10 from KDE4 to
KDE5 for the first time. I've compiled ~2000 ports with poudriere, for the
KDE5 I just let it compile 'x11/kde5' and all its dependencies. Is this
enough to get KDE5 on the screen or do I miss essentials ports?

In KDE4 I started the desktop with the 'startx' command and a correct
~/.xinitrc as:

exec /usr/local/bin/startkde

and as well the file ~/.xserverrc as:

exec X -retro -logverbose 6 -listen

Will the same work for KDE5? Can someone please point me to a good
documentation for experienced FreeBSD and KDE4 user, but KDE5 dummies, like me?

Thanks

    matthias
-- 
Matthias Apitz, ✉ g...@unixarea.de, http://www.unixarea.de/ +49-176-38902045
Public GnuPG key: http://www.unixarea.de/key.pub
May, 9: Спаси́бо освободители! Thank you very much, Russian liberators!


Re: building x11-wm/plasma5-kwin w/ poudriere results in out of swap space

2019-06-13 Thread Matthias Apitz
El día Thursday, June 13, 2019 a las 04:38:25PM +0800, Martin Wilke escribió:

> On 2019-06-11 14:59, Matthias Apitz wrote:
> >Hello,
> >
> >I'm build the latest port svn checkout (June 10) on r342378 with
> >poudriere and (after isolating it) have the problem that building
> >x11-wm/plasma5-kwin runs reproducible out of swap during 'configure'
> >phase:
> >
> >[00:00:49] Cleaning the build queue
> >[00:00:49] Sanity checking build queue
> >[00:00:49] Processing PRIORITY_BOOST
> >[00:00:50] Balancing pool
> >[00:00:50] Recording filesystem state for prepkg... done
> >[00:00:52] Building 1 packages using 1 builders
> >[00:00:52] Starting/Cloning builders
> >[00:00:54] Hit CTRL+t at any time to see build progress and stats
> >[00:00:54] [01] [00:00:00] Building x11-wm/plasma5-kwin |
> >plasma5-kwin-5.15.5
> >load: 0.95  cmd: sh 19376 [piperd] 67.68r 0.00u 0.00s 0% 3932k
> >[freebsd-r342378-ports-20190610] [2019-06-11_07h49m10s]
> >[parallel_build:] Queued: 1  Built: 0  Failed: 0  Skipped: 0  Ignored:
> >0  Tobuild: 1   Time: 00:01:40
> > [01]: x11-wm/plasma5-kwin   | plasma5-kwin-5.15.5
> >build-depends   (00:01:06 / 00:01:08)
> >[00:02:02] Logs:
> >/usr/local/poudriere/data/logs/bulk/freebsd-r342378-ports-20190610/2019-06-11_07h49m10s
> >load: 0.52  cmd: wc 26535 [piperd] 0.10r 0.00u 0.00s 0% 2656k
> >[freebsd-r342378-ports-20190610] [2019-06-11_07h49m10s]
> >[parallel_build:] Queued: 1  Built: 0  Failed: 0  Skipped: 0  Ignored:
> >0  Tobuild: 1   Time: 00:03:27
> > [01]: x11-wm/plasma5-kwin   | plasma5-kwin-5.15.5   configure
> >  (00:01:17 / 00:02:55)
> >[00:03:49] Logs:
> >/usr/local/poudriere/data/logs/bulk/freebsd-r342378-ports-20190610/2019-06-11_07h49m10s
> >^C[00:04:13] Error: Signal SIGINT caught, cleaning up and exiting
> >
> >Is this a known issue? Or should I investigate deeper which process it
> >is?
> 
> This problem is not only for plasma5 its random happened since import of
> clang8. I have not found any real solution for it.

Hello Martin,

Thanks for replying. The issue is not randomly, but affects all ports
using a QML tool 'qmlplugindump' which allocates 12 GByte memory. It is
this bug issue:

https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=232736

I attached yesterday a poudriere log file for the port misc/kf5-purpose
which also shows the same problem with 'qmlplugindump'. The poudriere
log also says, that clang7 is used:

...
===
===>  Configuring for kf5-purpose-5.58.0
===>  Performing out-of-source build
/bin/mkdir -p /wrkdirs/usr/ports/misc/kf5-purpose/work/.build
-- The C compiler identification is Clang 7.0.1
-- The CXX compiler identification is Clang 7.0.1
-- Check for working C compiler: /usr/bin/clang
-- Check for working C compiler: /usr/bin/clang -- works
...

matthias
-- 
Matthias Apitz, ✉ g...@unixarea.de, http://www.unixarea.de/ +49-176-38902045
Public GnuPG key: http://www.unixarea.de/key.pub
May, 9: Спаси́бо освободители! Thank you very much, Russian liberators!


building x11-wm/plasma5-kwin w/ poudriere results in out of swap space

2019-06-11 Thread Matthias Apitz


Hello,

I'm build the latest port svn checkout (June 10) on r342378 with
poudriere and (after isolating it) have the problem that building
x11-wm/plasma5-kwin runs reproducible out of swap during 'configure'
phase:

[00:00:49] Cleaning the build queue
[00:00:49] Sanity checking build queue
[00:00:49] Processing PRIORITY_BOOST
[00:00:50] Balancing pool
[00:00:50] Recording filesystem state for prepkg... done
[00:00:52] Building 1 packages using 1 builders
[00:00:52] Starting/Cloning builders
[00:00:54] Hit CTRL+t at any time to see build progress and stats
[00:00:54] [01] [00:00:00] Building x11-wm/plasma5-kwin | plasma5-kwin-5.15.5
load: 0.95  cmd: sh 19376 [piperd] 67.68r 0.00u 0.00s 0% 3932k
[freebsd-r342378-ports-20190610] [2019-06-11_07h49m10s] [parallel_build:] 
Queued: 1  Built: 0  Failed: 0  Skipped: 0  Ignored: 0  Tobuild: 1   Time: 
00:01:40
[01]: x11-wm/plasma5-kwin   | plasma5-kwin-5.15.5   
build-depends   (00:01:06 / 00:01:08)
[00:02:02] Logs: 
/usr/local/poudriere/data/logs/bulk/freebsd-r342378-ports-20190610/2019-06-11_07h49m10s
load: 0.52  cmd: wc 26535 [piperd] 0.10r 0.00u 0.00s 0% 2656k
[freebsd-r342378-ports-20190610] [2019-06-11_07h49m10s] [parallel_build:] 
Queued: 1  Built: 0  Failed: 0  Skipped: 0  Ignored: 0  Tobuild: 1   Time: 
00:03:27
[01]: x11-wm/plasma5-kwin   | plasma5-kwin-5.15.5   configure   
(00:01:17 / 00:02:55)
[00:03:49] Logs: 
/usr/local/poudriere/data/logs/bulk/freebsd-r342378-ports-20190610/2019-06-11_07h49m10s
^C[00:04:13] Error: Signal SIGINT caught, cleaning up and exiting

Is this a known issue? Or should I investigate deeper which process it
is?

matthias


-- 
Matthias Apitz, ✉ g...@unixarea.de, http://www.unixarea.de/ +49-176-38902045
Public GnuPG key: http://www.unixarea.de/key.pub
May, 9: Спаси́бо освободители! Thank you very much, Russian liberators!



- End forwarded message -

-- 
Matthias Apitz, ✉ g...@unixarea.de, http://www.unixarea.de/ +49-176-38902045
Public GnuPG key: http://www.unixarea.de/key.pub
May, 9: Спаси́бо освободители! Thank you very much, Russian liberators!


Re: kdelibs-kde4 is marked as broken on FreeBSD 13.0: incompatible with base SSL ...

2018-12-25 Thread Matthias Apitz
El día lunes, diciembre 24, 2018 a las 01:16:40p. m. +0100, Adriaan de Groot 
escribió:

> On Monday, 24 December 2018 11:24:59 CET Jan Beich wrote:
> > g...@unixarea.de writes:
> > > I know that KDE4 will be removed from ports by the end of the year,
> > > that's why I wanted to update my CURRENT and ports right now before
> > > this. I now find that one of the fundamental ports (x11/kdelibs-kde4) is
> > > marked as broken...
> > > 
> > > Is there a fix for this (for example using SSL from ports and not from
> > > base). The alternative would be reset my poudriere oven to a 19 of
> > > September (my last build with KDE4).
> > 
> > Try adding DEFAULT_VERSIONS+=ssl=openssl to make.conf(5) and commenting
> > out BROKEN_FreeBSD_13 in kdelibs-kde4/Makefile.
> 
> What Jan said will *probably* work. We (kde@) do not have the person-hours to 
> chase this. You'll want a ports tree from last week, since we've been 
> updating 
> KDE4-era ports to their current releases recently, if you're particularly 
> attached to the unmaintained stuff.
> 
> [ade]

Thanks to you both (Jan and Adriaan) for your help and your work in
general!

It's a pity that KDE4 is unmaintained (upstream and in FreeBSD) because
it does fine for me and many others for many years. From time to time I have to
use KDE5 at work on SUSE Linux workstations and it's rather strange to
use this as a C(K)ommon Desktop Environment, to be honestly. That's why
I see a lot of mails and PR, for example
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=233182
expressing the same.

Anyway, I will try to get it compiled based on your hint, and if not either 
return to
a September version or switch to KDE5.

Thanks again.

matthias


-- 
Matthias Apitz, ✉ g...@unixarea.de, http://www.unixarea.de/ +49-176-38902045
Public GnuPG key: http://www.unixarea.de/key.pub
October, 7 -- The GDR was different: Peace instead of Bundeswehr and wars, 
Druschba
instead of Nazis, to live instead of to survive.


signature.asc
Description: PGP signature


Re: debugging a run of poudriere-bulk

2018-10-04 Thread Matthias Apitz
El día Thursday, October 04, 2018 a las 01:14:55PM +0930, Shane Ambler escribió:

> > How can I enter the jail interactively in the moment after the crash to 
> > rerun and
> > debug pkg-static?
> 
> Using
> 
> poudriere testport -j  -p  -i -o 
> 
> will drop you into the jail after the build stops, you then rerun make
> manually, check build logs... Logging out will then continue on and
> clean up the jail. You can also use -I instead of -i and it leaves the
> jail in place so you can manually connect to and stop the jail.
> 
> Note that poudriere uses a clean jail with only deps listed for the
> port, you can add extra BUILD_DEPENDS to get extra ports (gdb valgrind)
> installed with the test build.

Thanks! One should read man pages completely in advance and not only the
part of 'poudriere bulk ...'.

I did so and in nthis case the crash occurs *after* the package is
complete:


...
> Checking for pkg-plist issues (check-plist)
===> Parsing plist
===> Checking for items in STAGEDIR missing from pkg-plist
===> Checking for items in pkg-plist which are not in STAGEDIR
===> No pkg-plist issues found (check-plist)
=>> Checking for staging violations... done
===
===>  Building package for kde-workspace-kde4-4.11.22_26
file sizes/checksums  [2126]: .. done
packing files [2126]: .. done
packing directories  [0]: . done
===
=>> Recording filesystem state for preinst... done
===
===>  Installing for kde-workspace-kde4-4.11.22_26
===>  Checking if kde-workspace-kde4 already installed
===>   Registering installation for kde-workspace-kde4-4.11.22_26
Child process pid=75639 terminated abnormally: Segmentation faul
*** Error code 139

Stop.
make: stopped in /usr/ports/x11/kde-workspace-kde4
===
[00:13:29] Installing packages
[00:13:29] Installing run-depends for x11/kde-workspace-kde4 | 
kde-workspace-kde4-4.11.22_26


# ls -l 
/wrkdirs/usr/ports/x11/kde-workspace-kde4/work/pkg/kde-workspace-kde4-4.11.22_26.txz
-rw-r--r--  1 nobody  wheel  18338720 Oct  4 14:02 
/wrkdirs/usr/ports/x11/kde-workspace-kde4/work/pkg/kde-workspace-kde4-4.11.22_26.txz

Poudriere installs the package 'pkg' into the jail to could make use of
'pkg-static' (and other tools). Maybe it would be an idea to create
outside a special version of this package which have a special version
of 'pkg-static' in this, for example a shellsript with the name
pkg-static which is something like:

#!/bin/sh
echo $0 $* > /tmp/pkg-static-args.$$
truss -o /tmp/pkg-static.$$ /usr/local/sbin/pkgstatic.exec $*

to get more information about the crash.

Other ideas?

matthias

-- 
Matthias Apitz, ✉ g...@unixarea.de, http://www.unixarea.de/ +49-176-38902045
Public GnuPG key: http://www.unixarea.de/key.pub
October, 7 -- The GDR was different: Peace instead of Bundeswehr and wars, 
Druschba
instead of Nazis, to live instead of to survive.


Re: debugging a run of poudriere-bulk

2018-10-03 Thread Matthias Apitz
El día miércoles, octubre 03, 2018 a las 11:06:55p. m. +0200, Tobias C. Berner 
escribió:

> Moin moin
> 
> Unfortunately it is very hard to help here when not being able to reproduce
> the issue :/
> Have you tried wiping all the packages in poudriere's repo? -- i.e. -c --
> maybe you're pkg package is just hosed.

Tobias,

The problem *is* reproducible, even in the build clusters of freebsd.org
(see pkg-fallout messages). It is only (until now) not debug-able.

    matthias


-- 
Matthias Apitz, ✉ g...@unixarea.de, http://www.unixarea.de/ +49-176-38902045
Public GnuPG key: http://www.unixarea.de/key.pub
October 3: Day of German Unity? No! Day of taking over the GDR.
3. Oktober: Tag der Deutschen Einheit? Nein! DDR-Anschlusstag.


signature.asc
Description: PGP signature


Re: debugging a run of poudriere-bulk

2018-10-03 Thread Matthias Apitz

I added the following lines to /usr/local/share/poudriere/bulk.sh to get
the env vars into the environment of pkg(8):

export DEBUG_LEVEL=4
export DEBUG_SCRIPTS=TRUE
export DEVELOPER_MODE=TRUE
export PKG_CREATE_VERBOSE=TRUE

With these the port builds fine:

# tail -f 
/usr/local/poudriere/data/logs/bulk/freebsd-r338641-ports-20180920/2018-10-03_22h03m46s/logs/kde-workspace-kde4-4.11.22_26.log
...

DBG(1)[94432]> PkgConfig: loading repositories in /etc/pkg/
DBG(1)[94432]> PKgConfig: loading /etc/pkg//FreeBSD.conf
DBG(1)[94432]> PkgConfig: parsing key 'FreeBSD'
DBG(1)[94432]> PkgConfig: parsing repository object FreeBSD
DBG(1)[94432]> PkgConfig: loading repositories in /usr/local/etc/pkg/repos/
DBG(1)[94432]> Creating package from stage directory: 
'/wrkdirs/usr/ports/x11/kde-workspace-kde4/wor
k/stage'
DBG(1)[94432]> Parsing manifest from '+MANIFEST'
DBG(3)[94432]> Manifest: found key: 'name'

...

DBG(2)[94432]> Packing file 
'/wrkdirs/usr/ports/x11/kde-workspace-kde4/work/stage/usr/local/share/wallpapers/stripes.png.desktop'
DBG(2)[94432]> Packing file 
'/wrkdirs/usr/ports/x11/kde-workspace-kde4/work/stage/usr/local/share/xsessions/kde4.desktop'
DBG(2)[94432]> Packing file 
'/wrkdirs/usr/ports/x11/kde-workspace-kde4/work/stage/usr/local/etc/rc.d/kdm4'
packing files [2126]... done
packing directories  [0]: . done
===
=>> Cleaning up wrkdir
===>  Cleaning for kde-workspace-kde4-4.11.22_26
build of x11/kde-workspace-kde4 | kde-workspace-kde4-4.11.22_26 ended at Wed 
Oct  3 22:15:54 CEST 2018
build time: 00:11:21

i.e. the pkg-static does not crash.

And now?

matthias

-- 
Matthias Apitz, ✉ g...@unixarea.de, http://www.unixarea.de/ +49-176-38902045
Public GnuPG key: http://www.unixarea.de/key.pub
October 3: Day of German Unity? No! Day of taking over the GDR.
3. Oktober: Tag der Deutschen Einheit? Nein! DDR-Anschlusstag.


signature.asc
Description: PGP signature


Re: debugging a run of poudriere-bulk

2018-10-03 Thread Matthias Apitz
El día miércoles, octubre 03, 2018 a las 01:41:14p. m. +0200, Matthias Apitz 
escribió:

> 
> Hello,
> 
> 
> I'm trying to nail down PR 231532 of a port which fails to build in
> poudriere. In the last phase of the ports build, while creating the pkg
> of the built port with pkg-static, this crashes:

When I do run pudriere bulk with -vv options, it says only:

[00:02:40] [01] [00:01:51] Status   x11/kde-workspace-kde4 | 
kde-workspace-kde4-4.11.22_26: build
[00:10:41] [01] [00:09:52] Status   x11/kde-workspace-kde4 | 
kde-workspace-kde4-4.11.22_26: run-depends
[00:10:46] [01] [00:09:57] Status   x11/kde-workspace-kde4 | 
kde-workspace-kde4-4.11.22_26: stage
[00:11:42] [01] [00:10:53] Status   x11/kde-workspace-kde4 | 
kde-workspace-kde4-4.11.22_26: package
[00:11:46] [01] [00:10:57] Finished x11/kde-workspace-kde4 | 
kde-workspace-kde4-4.11.22_26: Failed: package
[00:11:46] Stopping 1 builders

    matthias


-- 
Matthias Apitz, ✉ g...@unixarea.de, http://www.unixarea.de/ +49-176-38902045
Public GnuPG key: http://www.unixarea.de/key.pub
October 3: Day of German Unity? No! Day of taking over the GDR.
3. Oktober: Tag der Deutschen Einheit? Nein! DDR-Anschlusstag.


signature.asc
Description: PGP signature


debugging a run of poudriere-bulk

2018-10-03 Thread Matthias Apitz

Hello,


I'm trying to nail down PR 231532 of a port which fails to build in
poudriere. In the last phase of the ports build, while creating the pkg
of the built port with pkg-static, this crashes:

# tail 
/usr/local/poudriere/data/logs/bulk/freebsd-r338641-ports-20180920/2018-10-03_11h32m17s/logs/kde-workspace-kde4-4.11.22_26.log
Child process pid=85086 terminated abnormally: Segmentation fault
*** Error code 1

Stop.
make: stopped in /usr/ports/x11/kde-workspace-kde4
=>> Cleaning up wrkdir

# grep 85086 /var/log/messages
Oct  3 11:44:01 jet kernel: pid 85086 (pkg-static), uid 65534: exited on signal 
11


How can I enter the jail interactively in the moment after the crash to rerun 
and
debug pkg-static?

When I run 'poudriere bulk -i ...' the port builds fine:

# poudriere bulk -i -J 1 -j freebsd-r338641 -p ports-20180920 
x11/kde-workspace-kde4


# cd /usr/ports/x11/kde-workspace-kde4
# make package
gmake[1]: Leaving directory 
'/wrkdirs/usr/ports/x11/kde-workspace-kde4/work/.build'
install -l rs 
/wrkdirs/usr/ports/x11/kde-workspace-kde4/work/stage/usr/local/bin/startkde 
/wrkdirs/usr/ports/x11/kde-workspace-kde4/work/stage/usr/local/bin/startkde4
/bin/mkdir -p 
/wrkdirs/usr/ports/x11/kde-workspace-kde4/work/stage/usr/local/share/xsessions
install  -m 0644 /usr/ports/x11/kde-workspace-kde4/files/kde4.desktop 
/wrkdirs/usr/ports/x11/kde-workspace-kde4/work/stage/usr/local/share/xsessions
> Compressing man pages (compress-man)
===> Staging rc.d startup script(s)
===>  Building package for kde-workspace-kde4-4.11.22_26
cp: /packages/All/kde-workspace-kde4-4.11.22_26.txz: Read-only file system
*** Error code 1

Stop.
make: stopped in /usr/ports/x11/kde-workspace-kde4

# cd /usr/ports/x11/kde-workspace-kde4
# ls -l
total 42
-rw-r--r--  1 root  wheel5480 Sep 20 05:16 Makefile
-rw-r--r--  1 root  wheel 225 Sep 20 05:16 distinfo
drwxr-xr-x  2 root  wheel  30 Sep 20 05:16 files
-rw-r--r--  1 root  wheel 219 Sep 20 05:16 pkg-descr
-rw-r--r--  1 root  wheel  100336 Sep 20 05:16 pkg-plist
# ls -la /wrkdirs/usr/ports/x11/kde-workspace-kde4/work/pkg
total 17921
drwxr-xr-x  2 root  wheel64 Oct  3 09:13 .
drwxr-xr-x  7 root  wheel   960 Oct  3 09:13 ..
-rw-r--r--  1 root  wheel  18346688 Oct  3 09:13 
kde-workspace-kde4-4.11.22_26.txz

# scp -p 
/wrkdirs/usr/ports/x11/kde-workspace-kde4/work/pkg/kde-workspace-kde4-4.11.22_26.txz
 guru@192.168.2.35:/tmp

-- 
Matthias Apitz, ✉ g...@unixarea.de, http://www.unixarea.de/ +49-176-38902045
Public GnuPG key: http://www.unixarea.de/key.pub
13. August 2018: Ich würde gern einen AUSREISEANTRAG stellen.
August 13, 2018: I'd like to ask for an exit permit of this country.


signature.asc
Description: PGP signature


Re: [Bug 231532] x11/kde-workspace-kde4: Seg fault while building the package with poudriere on very recent CURRENT

2018-10-02 Thread Matthias Apitz
On Tuesday, October 2, 2018 4:10:52 PM CEST, bugzilla-nore...@freebsd.org 
wrote:

https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=231532

--- Comment #4 from Adriaan de Groot  ---
I can't reproduce it here; messages on the mailing list, I 
think, suggest it's
related to pkg-devel vs. base pkg, or perhaps it's pkg in 
CURRENT vs pkg on 11.

In any case the *crash* is in some other part of the build, not in
kde-workspace itself. A pkg-person really needs to look at this.



the crash is within a jail of poudriere on CURRENT with ports from head; 
poudriere compiles ports-mgmt/pkg (not pkg-devel) and installs this into 
the jail; at the end of the build pkg-static segflts when it builds the 
final pkg; I tried to get a core file, until now with no luck


matthias



--
Sent from my Ubuntu phone
http://www.unixarea.de/


Re: [package - head-amd64-default][x11/kde-workspace-kde4] Failed for kde-workspace-kde4-4.11.22_26 in package

2018-10-02 Thread Matthias Apitz
El día Tuesday, October 02, 2018 a las 09:28:11AM +, 
pkg-fall...@freebsd.org escribió:

> You are receiving this mail as a port that you maintain
> is failing to build on the FreeBSD package build server.
> Please investigate the failure and submit a PR to fix
> build.

The PR is already there, but no fix: 
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=231532

> Maintainer: k...@freebsd.org
> Last committer: zeis...@freebsd.org
> Ident:  $FreeBSD: head/x11/kde-workspace-kde4/Makefile 479538 
> 2018-09-11 18:34:27Z zeising $
> Log URL:
> http://beefy12.nyi.freebsd.org/data/head-amd64-default/p481092_s339077/logs/kde-workspace-kde4-4.11.22_26.log
> Build URL:  
> http://beefy12.nyi.freebsd.org/build.html?mastername=head-amd64-default&build=p481092_s339077
> Log:
> 
> =>> Building x11/kde-workspace-kde4
> build started at Tue Oct  2 08:04:58 UTC 2018
> port directory: /usr/ports/x11/kde-workspace-kde4
> package name: kde-workspace-kde4-4.11.22_26
> building for: FreeBSD head-amd64-default-job-12 12.0-ALPHA8 FreeBSD 
> 12.0-ALPHA8 1200084 amd64
> maintained by: k...@freebsd.org
> Makefile ident:  $FreeBSD: head/x11/kde-workspace-kde4/Makefile 479538 
> 2018-09-11 18:34:27Z zeising $
> Poudriere version: 3.2.7-6-g819c79a1
> Host OSVERSION: 1200083
> Jail OSVERSION: 1200084
> Job Id: 12
> 
> 

-- 
Matthias Apitz, ✉ g...@unixarea.de, ⌂ http://www.unixarea.de/  📱 
+49-176-38902045
Public GnuPG key: http://www.unixarea.de/key.pub
13. August 2018: Manchmal möchte ich nun einen AUSREISEANTRAG stellen.
August 13, 2018: Sometimes I'd like to ask for an exit permission now.


Re: CURRENT r338641 with poudriere-devel: seg fault on building x11/kde-workspace-kde4

2018-09-21 Thread Matthias Apitz
El día Friday, September 21, 2018 a las 11:17:59AM +0200, Matthias Apitz 
escribió:

> ===
> ===>   kde-workspace-kde4-4.11.22_26 depends on file: /usr/local/sbin/pkg - 
> not found
> ===>   Installing existing package /packages/All/pkg-1.10.5_3.txz
> [freebsd-r338641-ports-20180920-job-03] Installing pkg-1.10.5_3...
> [freebsd-r338641-ports-20180920-job-03] Extracting pkg-1.10.5_3: .. 
> done
> 
> I will remove this pkg /packages/All/pkg-1.10.5_3.txz again and will
> poudriere ask to build ports-mgmt/pkg-devel instead of this, because
> this is already on level 1.10.99.

I found no way that poudriere uses ports-mgmt/pkg-devel, it always
compiles again ports-mgmt/pkg before kde-workspace-kde4-4.11.22_26,
which crashes :-(

Any hints?

matthias

-- 
Matthias Apitz, ✉ g...@unixarea.de, ⌂ http://www.unixarea.de/  📱 
+49-176-38902045
Public GnuPG key: http://www.unixarea.de/key.pub


Re: CURRENT r338641 with poudriere-devel: seg fault on building x11/kde-workspace-kde4

2018-09-21 Thread Matthias Apitz
El día Friday, September 21, 2018 a las 10:08:57AM +0200, Matthias Apitz 
escribió:

> I filed a PR re/ ports:
> https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=231532
> 
> but I think the culprit is the base system because the component which
> segfaults is 'pkg-static':
> 
> ...
> ===
> ===>  Building package for kde-workspace-kde4-4.11.22_26
> Child process pid=67229 terminated abnormally: Segmentation fault
> *** Error code 1
> 
> /var/log/messages:
> 
> Sep 21 09:19:51 jet kernel: pid 67229 (pkg-static), uid 65534: exited on 
> signal 11
> 
> As this is running in a poudriere jail, how could I get a core file of
> this?

This is ofc a bit wrong because poudriere is installing the port to have
pkg:

===
===>   kde-workspace-kde4-4.11.22_26 depends on file: /usr/local/sbin/pkg - not 
found
===>   Installing existing package /packages/All/pkg-1.10.5_3.txz
[freebsd-r338641-ports-20180920-job-03] Installing pkg-1.10.5_3...
[freebsd-r338641-ports-20180920-job-03] Extracting pkg-1.10.5_3: .. done

I will remove this pkg /packages/All/pkg-1.10.5_3.txz again and will
poudriere ask to build ports-mgmt/pkg-devel instead of this, because
this is already on level 1.10.99.

matthias
-- 
Matthias Apitz, ✉ g...@unixarea.de, ⌂ http://www.unixarea.de/  📱 
+49-176-38902045
Public GnuPG key: http://www.unixarea.de/key.pub


Re: CURRENT r338641 with poudriere-devel: seg fault on building x11/kde-workspace-kde4

2018-09-21 Thread Matthias Apitz
El día Friday, September 21, 2018 a las 06:54:25AM +0200, Matthias Apitz 
escribió:

> 
> Hello,
> 
> I have here a reproducible Segmentation fault in staging phase of the
> port x11/kde-workspace-kde4; the full log file is here:
> http://www.unixarea.de/kde-workspace-kde4-4.11.22_26.log
> 
> The first few lines and the end of the log are below; any comments or
> hints how to nail this down? Thanks

I filed a PR re/ ports:
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=231532

but I think the culprit is the base system because the component which
segfaults is 'pkg-static':

...
===
===>  Building package for kde-workspace-kde4-4.11.22_26
Child process pid=67229 terminated abnormally: Segmentation fault
*** Error code 1

/var/log/messages:

Sep 21 09:19:51 jet kernel: pid 67229 (pkg-static), uid 65534: exited on signal 
11

As this is running in a poudriere jail, how could I get a core file of
this?

matthias
-- 
Matthias Apitz, ✉ g...@unixarea.de, ⌂ http://www.unixarea.de/  📱 
+49-176-38902045
Public GnuPG key: http://www.unixarea.de/key.pub


CURRENT r338641 with poudriere-devel: seg fault on building x11/kde-workspace-kde4

2018-09-20 Thread Matthias Apitz

Hello,

I have here a reproducible Segmentation fault in staging phase of the
port x11/kde-workspace-kde4; the full log file is here:
http://www.unixarea.de/kde-workspace-kde4-4.11.22_26.log

The first few lines and the end of the log are below; any comments or
hints how to nail this down? Thanks

matthias


=>> Building x11/kde-workspace-kde4
build started at Fri Sep 21 05:23:49 CEST 2018
port directory: /usr/ports/x11/kde-workspace-kde4
package name: kde-workspace-kde4-4.11.22_26
building for: FreeBSD freebsd-r338641-ports-20180920-job-03 12.0-ALPHA5 FreeBSD 
12.0-ALPHA5 1200084 amd64
maintained by: k...@freebsd.org
Makefile ident:  $FreeBSD: head/x11/kde-workspace-kde4/Makefile 479538 
2018-09-11 18:34:27Z zeising $
Poudriere version: 3.2.99.20180601
Host OSVERSION: 1200084
Jail OSVERSION: 1200084
Job Id: 03

---Begin Environment---
SHELL=/bin/csh
OSVERSION=1200084
UNAME_v=FreeBSD 12.0-ALPHA5 1200084
UNAME_r=12.0-ALPHA5
BLOCKSIZE=K
MAIL=/var/mail/root
STATUS=1
HOME=/root
PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin
LOCALBASE=/usr/local
USER=root
LIBEXECPREFIX=/usr/local/libexec/poudriere
POUDRIERE_VERSION=3.2.99.20180601
MASTERMNT=/usr/local/poudriere/data/.m/freebsd-r338641-ports-20180920/ref
POUDRIERE_BUILD_TYPE=bulk
PACKAGE_BUILDING=yes
SAVED_TERM=screen
GID=0
UID=0
PWD=/usr/local/poudriere/data/.m/freebsd-r338641-ports-20180920/ref/.p/pool
P_PORTS_FEATURES=FLAVORS SELECTED_OPTIONS
MASTERNAME=freebsd-r338641-ports-20180920
SCRIPTPREFIX=/usr/local/share/poudriere
OLDPWD=/usr/local/poudriere/data/.m/freebsd-r338641-ports-20180920/ref/.p
SCRIPTPATH=/usr/local/share/poudriere/bulk.sh
POUDRIEREPATH=/usr/local/bin/poudriere
---End Environment---

---Begin Poudriere Port Flags/Env---
PORT_FLAGS=
PKGENV=
FLAVOR=
DEPENDS_ARGS=
MAKE_ARGS=
---End Poudriere Port Flags/Env---

---Begin OPTIONS List---
===> The following configuration options are available for 
kde-workspace-kde4-4.11.22_26:
 GLES=on: OpenGL ES 2.0 support in kwin and kinfocenter
 GPS=on: GPS geolocation via gpsd
 KACTIVITY=on: Activity Manager daemon
 UPOWER=on: Power management via UPower
 WALLPAPERS=on: Install official KDE wallpapers
> Multimedia support via Phonon
 GSTREAMER=off: Multimedia via Phonon-GStreamer
 VLC=on: Multimedia via Phonon-VLC
> Options available for the group PLASMA
 PYTHON=off: Python plasmoids support
 RUBY=off: Ruby plasmoids support
===> Use 'make config' to modify these settings
---End OPTIONS List---

--MAINTAINER--
k...@freebsd.org
--End MAINTAINER--

--CONFIGURE_ARGS--

--End CONFIGURE_ARGS--

...


-- Installing: 
/wrkdirs/usr/ports/x11/kde-workspace-kde4/work/stage/usr/local/share/apps/kstyle/themes/qtplastique.themerc
-- Installing: 
/wrkdirs/usr/ports/x11/kde-workspace-kde4/work/stage/usr/local/share/apps/kstyle/themes/qtwindows.themerc
-- Installing: 
/wrkdirs/usr/ports/x11/kde-workspace-kde4/work/stage/usr/local/share/apps/kstyle/themes/qtgtk.themerc
gmake[1]: Leaving directory 
'/wrkdirs/usr/ports/x11/kde-workspace-kde4/work/.build'
install -l rs 
/wrkdirs/usr/ports/x11/kde-workspace-kde4/work/stage/usr/local/bin/startkde 
/wrkdirs/usr/ports/x11/kde-workspace-kde4/work/stage/usr/local/bin/startkde4
/bin/mkdir -p 
/wrkdirs/usr/ports/x11/kde-workspace-kde4/work/stage/usr/local/share/xsessions
install  -m 0644 /usr/ports/x11/kde-workspace-kde4/files/kde4.desktop 
/wrkdirs/usr/ports/x11/kde-workspace-kde4/work/stage/usr/local/share/xsessions
> Compressing man pages (compress-man)
===> Staging rc.d startup script(s)
===
===
===>  Building package for kde-workspace-kde4-4.11.22_26
Child process pid=81309 terminated abnormally: Segmentation fault
*** Error code 1

Stop.
make: stopped in /usr/ports/x11/kde-workspace-kde4
=>> Cleaning up wrkdir
===>  Cleaning for kde-workspace-kde4-4.11.22_26
build of x11/kde-workspace-kde4 | kde-workspace-kde4-4.11.22_26 ended at Fri 
Sep 21 05:40:40 CEST 2018
build time: 00:16:51
!!! build failure encountered !!!


-- 
Matthias Apitz, ✉ g...@unixarea.de, http://www.unixarea.de/ +49-176-38902045
Public GnuPG key: http://www.unixarea.de/key.pub


signature.asc
Description: PGP signature


Re: Wiki page for KDE on FreeBSD ?

2018-01-09 Thread Matthias Apitz
El día martes, enero 09, 2018 a las 10:33:52a. m. +0100, Kurt Jaeger escribió:

> Hi!
> 
> I've seen
> 
>   https://community.kde.org/FreeBSD/Setup
> 
> and it looks like a disaster 8-} Who can I contact to get write access
> to fix it ?

I do install some ports (as precompiled packages from my podriere oven):

x11/xorg
x11/kde4
...

and call from VT 'startx'; that's it.

matthias
-- 
Matthias Apitz, ✉ g...@unixarea.de, ⌂ http://www.unixarea.de/  📱 
+49-176-38902045
Public GnuPG key: http://www.unixarea.de/key.pub


signature.asc
Description: PGP signature


Using OpenPGP Card to unlock KDE desktop

2017-12-28 Thread Matthias Apitz

How to use the OpenPGP Card to unlock the KDE desktop
 Matthias Apitz 
   Thu Dec 28 20:07:19 CET 2017

Based on: gpg (GnuPG) 2.1.19 and poldi VERSION 0.4.2.git


I'm using the OpenPGP Card (among other things) to lock my KDE desktop
when the card is withdrawn. This is easy to be done from the script
${GNUPGHOME}/scd-event which fires up the KDE proc

...
   nohup /usr/local/lib/kde4/libexec/kscreenlocker_greet --immediateLock &
...

to lock the desktop until the correct password is provided. 
'kscreenlocker_greet'
uses /usr/local/lib/kde4/libexec/kcheckpass to check the credentials
with PAM using the rules file /usr/local/etc/pam.d/kde which has the pointer
to the shared lib to use for this:

$ grep auth /usr/local/etc/pam.d/kde
authrequiredpam_unix.so no_warn try_first_pass

What I do want here is, that the authentication is not done against the UNIX
(FreeBSD) password database, but against the OpenPGP Card's key, i.e. requires 
the
correct PIN of the card to be entered as password in 'kscreenlocker_greet'.

Here are the details of installation and configuration.


Installation:

$ git clone  https://github.com/gpg/poldi.git
$ cd poldi
$ ./autogen.sh 
$ ./configure --enable-maintainer-mode
$ gmake
# gmake install

There are some issues/bugs in poldi's sources on FreeBSD:

1)  in subdir tests/

$ diff pam-test.c.orig pam-test.c
23c23
< #include 
---
> #include 
38c38
< misc_conv,
---
> openpam_ttyconv,

and remove '-lpam_misc' from Makefile

2)  in src/assuan/ add funopen.c and funopen.o to the Makefile

$ grep -n funopen src/assuan/Makefile
144:assuan-socket.$(OBJEXT) funopen.$(OBJEXT)
343:assuan-buffer.c funopen.c \


3)  in conf/Makefile the calls to hard 'install' must be changed to:

INSTALL = $(install_sh) -c(line 8)
and called as $(INSTALL) (line 465 ff)
after this, the 'gmake install-conf-skeleton' installs the files into 
/usr/local/etc/poldi/...

4)  the pam_poldi.so is search in /usr/local/lib and not in 
/usr/local/lib/security
we make a sym link:

# ln -s /usr/local/lib/security/pam_poldi.so /usr/local/lib/pam_poldi.so

5)  the log file will be written as normal user, use chown or chmod 0666

# touch /var/log/poldi
# chown guru /var/log/poldi


Configuration details:

# vim /usr/local/etc/poldi/poldi.conf

auth-method localdb
log-file /var/log/poldi
debug
# Specify SCDaemon executable
scdaemon-program /usr/local/libexec/scdaemon

$ gpg --card-status | grep 'Application ID'

Application ID ...: D2760001240102010005532B

# vim /usr/local/etc/poldi/localdb/users

D2760001240102010005532B guru

# touch /usr/local/etc/poldi/localdb/keys/D2760001240102010005532B
# chown guru /usr/local/etc/poldi/localdb/keys/D2760001240102010005532B

For tests we create our own file 'myked' in /usr/local/etc/pam.d/:

# cp /usr/local/etc/pam.d/kde /usr/local/etc/pam.d/mykde
# grep auth /usr/local/etc/pam.d/mykde
authrequiredpam_poldi.so
(note: additional args to 'pam_poldi.so' gives PAM parse error)


Now we insert the key in the local key database as user 'guru' with:

$ gpg-connect-agent "/datafile 
/usr/local/etc/poldi/localdb/keys/D2760001240102010005532B" "SCD 
READKEY --advanced OPENPGP.3" /bye
OK
$ ls -l /usr/local/etc/poldi/localdb/keys/D2760001240102010005532B
-rw-r--r--  1 guru  wheel  1077 28 dic.  09:48 
/usr/local/etc/poldi/localdb/keys/D2760001240102010005532B
$ file /usr/local/etc/poldi/localdb/keys/D2760001240102010005532B
/usr/local/etc/poldi/localdb/keys/D2760001240102010005532B: ASCII text, 
with very long lines

For some first tests we run:

(re-insert the card first)

$ tests/pam-test mykde -u guru
Insert authentication card for user `guru'
Trying authentication as user `guru'...
Please unlock the card

Number: 0005 532B
Holder: Matthias Apitz  (<< here it asks for the PIN of the Card)
Authentication succeeded
Authenticated as user `guru'

# tail -f /var/log/poldi
Poldi 2017-12-28 10:51:35 [10785] debug: using authentication method `localdb'
Poldi 2017-12-28 10:51:35 [10785] debug: got scdaemon socket name from 
gpg-agent, connected to socket '/home/guru/.gnupg-ccid/S.scdaemon'
Poldi 2017-12-28 10:51:35 [10785] debug: Waiting for card for user `guru'...
Poldi 2017-12-28 10:51:35 [10785] debug: connected to card; serial number is: 
D2760001240102010005532B
Poldi 2017-12-28 10:51:35 [10785] debug: Trying authentication as user `guru'...
Poldi 2017-12-28 10:51:48 [10785] debug: authentication succeeded

In case of errors check also /var/log/messages


Now the changes for "real world" KDE:

# cp -p /usr/local

Re: KMix and more than one sound device

2017-06-19 Thread Matthias Apitz
El día lunes, junio 19, 2017 a las 01:02:58p. m. +0200, Matthias Apitz escribió:

> 
> Hello,
> 
> I have configured in KDE 4.14.x for sound control:
> 
> System Settings --> Shortcuts and Gestures --> Global Keyboard Shortcuts --> 
> KMix
> 
> Alt + f8   --> Mute
> Alt + f9   --> Decrease Volume
> Alt + f10  --> Increase Volume
> 
> This works fine with the default (internal) sound device. But when I
> plug-in an USB audio headset, the default device is switched correctly
> to the USB audio which works fine to and the 'mixer' command line works to:
> 
> $ cat /dev/sndstat 
> Installed devices:
> pcm0:  (play)
> pcm1:  (play/rec)
> pcm2:  (play/rec) default
> 
> # tail /etc/sysctl.conf
> ...
> #
> # last attached snd device gets 'default'
> # see man sound(4)
> hw.snd.default_auto=2
> 
> # mixer
> Mixer vol  is currently set to  75:75
> Mixer pcm  is currently set to  75:75
> Mixer mic  is currently set to   0:0
> 
> 
> What is not working, is controlling the mixer with the Alt+F.. keys. It
> seems that KMix does not see the switch to the new device.
> 

KMix sees all sound devices which are present on KDE startup. A later
plug-in needs a restart of KDE. Then all is fine.

Si the questions is more: why it does no see new pluged-in devices?

matthias
-- 
Matthias Apitz, ✉ g...@unixarea.de, ⌂ http://www.unixarea.de/  ☎ 
+49-176-38902045
Public GnuPG key: http://www.unixarea.de/key.pub
8. Mai 1945: Wer nicht feiert hat den Krieg verloren.
8 de mayo de 1945: Quien no festeja perdió la Guerra.
May 8, 1945: Who does not celebrate lost the War.


signature.asc
Description: PGP signature


KMix and more than one sound device

2017-06-19 Thread Matthias Apitz

Hello,

I have configured in KDE 4.14.x for sound control:

System Settings --> Shortcuts and Gestures --> Global Keyboard Shortcuts --> 
KMix

Alt + f8   --> Mute
Alt + f9   --> Decrease Volume
Alt + f10  --> Increase Volume

This works fine with the default (internal) sound device. But when I
plug-in an USB audio headset, the default device is switched correctly
to the USB audio which works fine to and the 'mixer' command line works to:

$ cat /dev/sndstat 
Installed devices:
pcm0:  (play)
pcm1:  (play/rec)
pcm2:  (play/rec) default

# tail /etc/sysctl.conf
...
#
# last attached snd device gets 'default'
# see man sound(4)
hw.snd.default_auto=2

# mixer
Mixer vol  is currently set to  75:75
Mixer pcm  is currently set to  75:75
Mixer mic  is currently set to   0:0


What is not working, is controlling the mixer with the Alt+F.. keys. It
seems that KMix does not see the switch to the new device.

matthias

-- 
Matthias Apitz, ✉ g...@unixarea.de, ⌂ http://www.unixarea.de/  ☎ 
+49-176-38902045
Public GnuPG key: http://www.unixarea.de/key.pub
8. Mai 1945: Wer nicht feiert hat den Krieg verloren.
8 de mayo de 1945: Quien no festeja perdió la Guerra.
May 8, 1945: Who does not celebrate lost the War.


signature.asc
Description: PGP signature


port head/x11/kde4-runtime not buildable due to missing distfile

2017-05-20 Thread Matthias Apitz

Hello,

I'm building ports in head (last svn update May 19) and the above port fails
in poudriere due to missing distfile:

# cat distinfo 
TIMESTAMP = 1490531914
SHA256 (KDE/applications/16.12.3/kde-runtime-16.12.3.tar.xz) =
7e6406b9d85594fdedb2bd424316159f5633fbe8b28970338e4d81418f4017eb
SIZE (KDE/applications/16.12.3/kde-runtime-16.12.3.tar.xz) = 7902924

I spent an hour or so searching with Don G. for it with no luck.
Has someone a private copy of it in local
/usr/ports/distfiles/KDE/applications/16.12.3

Thanks

matthias
-- 
Matthias Apitz   |  /"\   ASCII Ribbon Campaign:
E-mail: g...@unixarea.de |  \ /   - No HTML/RTF in E-mail
WWW: http://www.unixarea.de/ |   X- No proprietary attachments
phone: +49-176-38902045  |  / \   - Respect for open standards
 | en.wikipedia.org/wiki/ASCII_Ribbon_Campaign


Re: konqueror can not resolve 'localhost' when interface has no IP addr

2017-04-20 Thread Matthias Apitz
El día jueves, abril 20, 2017 a las 08:03:15p. m. +0200, Matthias Apitz 
escribió:

> > You could be able to set it up to be more verbose via kdebugdialog from
> > x11/kde4-runtime.
> 
> I ticked now [v]konqueror there and will test when I'm offline again,
> and report back.

Here is the STDOUT of the konqueror start while offline:

http://www.unixarea.de/konqueror-debug.txt


-- 
Matthias Apitz, ✉ g...@unixarea.de, ⌂ http://www.unixarea.de/  ☎ 
+49-176-38902045
Aus "Nie wieder Krieg!" wurde "Nie wieder Krieg ohne Deutschlands Truppen"
The "No wars anymore!" changed now to "No wars anymore without German battle 
groups!"
El "¡Nunca jamás guerra!" ha cambiado a "¡Nunca jamás guerra sin tropas 
alemanas!" 


Re: konqueror can not resolve 'localhost' when interface has no IP addr

2017-04-20 Thread Matthias Apitz
El día jueves, abril 20, 2017 a las 06:20:01p. m. +0200, Tobias C. Berner 
escribió:

> Hi
> 
> - masterport: x11/kde4
> - .xinitrc with "exec ck-launch-sessions startkde"

Hi,

I was asking about how to install and start plasma5; this is my actual
~/.xinitrc:

cd
setxkbmap -option terminate:ctrl_alt_bksp
xrandr --output default --mode 1366x768
/usr/local/bin/xbindkeys
test -f startkde.log && mv startkde.log startkde.log.last
ps ax | fgrep hal | tee -a startkde.log
mixer vol 91
exec /usr/local/bin/startkde 2>&1 | while read line; do echo -n "$(date '+%T'): 
"; echo $line ; test "$line" = "startkde: Done." && exit ; done | tee -a 
startkde.log

> - this is the correct mailing list, but yes, it seems to be mostly commit
> messages for plasma5 :D

yes, I know :-(

> You could be able to set it up to be more verbose via kdebugdialog from
> x11/kde4-runtime.

I ticked now [v]konqueror there and will test when I'm offline again,
and report back.

Thx

matthias


-- 
Matthias Apitz, ✉ g...@unixarea.de, ⌂ http://www.unixarea.de/  ☎ 
+49-176-38902045
Aus "Nie wieder Krieg!" wurde "Nie wieder Krieg ohne Deutschlands Truppen"
The "No wars anymore!" changed now to "No wars anymore without German battle 
groups!"
El "¡Nunca jamás guerra!" ha cambiado a "¡Nunca jamás guerra sin tropas 
alemanas!" 


Re: konqueror can not resolve 'localhost' when interface has no IP addr

2017-04-20 Thread Matthias Apitz
El día miércoles, abril 19, 2017 a las 08:16:12p. m. +0200, Matthias Apitz 
escribió:

> El día miércoles, abril 19, 2017 a las 03:22:06p. m. +0200, Tobias C. Berner 
> escribió:
> 
> > Can you try to disable the 'Network Status' service of KDE? (probably:
> > systemsettings->startup and shutdown->background services -- I can't
> > remeber kde4 :D) and try again?
> 
> You remembered correctly. systemsettings->startup and 
> shutdown->ServiceManager->[ ]NetworkStatus
> Deactivated, rebooted (w/o Wifi), no change for konqueror.

Is there any way to turn on some kind of debug/log for konqueror?

matthias
-- 
Matthias Apitz, ✉ g...@unixarea.de, ⌂ http://www.unixarea.de/  ☎ 
+49-176-38902045
Aus "Nie wieder Krieg!" wurde "Nie wieder Krieg ohne Deutschlands Truppen"
The "No wars anymore!" changed now to "No wars anymore without German battle 
groups!"
El "¡Nunca jamás guerra!" ha cambiado a "¡Nunca jamás guerra sin tropas 
alemanas!" 


Re: konqueror can not resolve 'localhost' when interface has no IP addr

2017-04-19 Thread Matthias Apitz
El día miércoles, abril 19, 2017 a las 03:22:06p. m. +0200, Tobias C. Berner 
escribió:

> Can you try to disable the 'Network Status' service of KDE? (probably:
> systemsettings->startup and shutdown->background services -- I can't
> remeber kde4 :D) and try again?

You remembered correctly. systemsettings->startup and 
shutdown->ServiceManager->[ ]NetworkStatus
Deactivated, rebooted (w/o Wifi), no change for konqueror.

Btw: As you say 'remeber kde4 :D)', a few questions:
- Is there any master-port in head to pull-in all required ports?
- Is there any guide how to bring it up as today with 'startx'?
- Is there any mailing-list to discuss problems? (this one here has,
  apart of your commit messages, nearly zero traffic - does it mean nobody
  uses KDE 4+x?)

Thanks

matthias (a happy KDE4 user)



-- 
Matthias Apitz, ✉ g...@unixarea.de, ⌂ http://www.unixarea.de/  ☎ 
+49-176-38902045


Re: konqueror can not resolve 'localhost' when interface has no IP addr

2017-04-19 Thread Matthias Apitz
El día miércoles, abril 19, 2017 a las 11:20:27a. m. +0200, Matthias Apitz 
escribió:

> El día miércoles, abril 19, 2017 a las 10:34:31a. m. +0200, Tobias C. Berner 
> escribió:
> 
> > There seems to be a similiar upstream bug report
> > https://bugs.kde.org/show_bug.cgi?id=187731
> 
> I checked the issue, it has less or nothing todo with my problem. In my
> case, the konqueror response about failing name resolve is done
> immediately. The apache in my case is as well not contacted.
> 
> > Can you try 127.0.0.1 instead of localhost?

Here you can see (while offline) how wget and konqueror do:

$ ifconfig wlan0
wlan0: flags=8843 metric 0 mtu 1500
ether 90:48:9a:92:9e:43
nd6 options=29
media: IEEE 802.11 Wireless Ethernet autoselect (autoselect)
status: no carrier
ssid "" channel 140 (5700 MHz 11a)
regdomain 108 indoor ecm authmode WPA1+WPA2/802.11i privacy MIXED
deftxkey UNDEF txpower 30 bmiss 7 mcastrate 6 mgmtrate 6 scanvalid 60
wme burst roaming MANUAL bintval 0
groups: wlan 
$ wget http://localhost/
--2017-04-19 13:26:42--  http://localhost/
Resolving localhost... 127.0.0.1, ::1
Connecting to localhost|127.0.0.1|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 45 [text/html]
Saving to: 'index.html.1'

index.html.1 100%[==>]  45  
--.-KB/sin 0s  

2017-04-19 13:26:42 (2.95 MB/s) - 'index.html.1' saved [45/45]

$ konqueror http://localhost/

The result in konqueror is visible here: http://www.unixarea.de/konqueror1.png
the reaction is in the same second (i.e. no DNS timeout).

matthias
-- 
Matthias Apitz, ✉ g...@unixarea.de, ⌂ http://www.unixarea.de/  ☎ 
+49-176-38902045


Re: konqueror can not resolve 'localhost' when interface has no IP addr

2017-04-19 Thread Matthias Apitz
El día miércoles, abril 19, 2017 a las 10:34:31a. m. +0200, Tobias C. Berner 
escribió:

> There seems to be a similiar upstream bug report
> https://bugs.kde.org/show_bug.cgi?id=187731

I checked the issue, it has less or nothing todo with my problem. In my
case, the konqueror response about failing name resolve is done
immediately. The apache in my case is as well not contacted.

> Can you try 127.0.0.1 instead of localhost?

This works.

matthias

-- 
Matthias Apitz, ✉ g...@unixarea.de, ⌂ http://www.unixarea.de/  ☎ 
+49-176-38902045
Aus "Nie wieder Krieg!" wurde "Nie wieder Krieg ohne Deutschlands Truppen"
The "No wars anymore!" changed now to "No wars anymore without German battle 
groups!"
El "¡Nunca jamás guerra!" ha cambiado a "¡Nunca jamás guerra sin tropas 
alemanas!" 


konqueror can not resolve 'localhost' when interface has no IP addr

2017-04-18 Thread Matthias Apitz

Hello,

I'm preparing myself to give some talk for which I need some multimedia
content. To not depend on Internet in the place of the conference, I
installed in my netbook (FreeBSD 12.0-CURRENT r314251, KDE 4.14, all
ports compiled from head) a local apache and normally

konqueror http://localhost/

works as it should, until (and lucky I tested this) the interface wlan0
has no IP addr assigned. In this case konqueror says that it can not
resolve 'localhost' (which of course is in /etc/hosts file and
/etc/nsswitch.conf says 'hosts: files dns'). 

It is enough to set some dummy IP into the interface with:

# ifconfig wlan0 1.1.1.1

and this makes konqueror happy resolving 'localhost'. I've watched this
with truss: /etc/nsswitch.conf is checked, but /etc/hosts not.

Firefox works in both cases, with and without IP addr in the interface.

Any idea what's causing this bug?

matthias
-- 
Matthias Apitz, ✉ g...@unixarea.de, ⌂ http://www.unixarea.de/  ☎ 
+49-176-38902045


Re: .kde4/Autostart/xmod.sh && xmodmap's

2017-03-25 Thread Matthias Apitz
El día domingo, marzo 12, 2017 a las 07:03:26p. m. +0100, Matthias Apitz 
escribió:

> I have a script ~/.kde4/Autostart/xmod.sh which does some keyboard
> adjustments with xmodmap on KDE4 start, for example:
> 
> echo $0 >> /tmp/autostart.txt
> date>> /tmp/autostart.txt
> echo DISPLAY: $DISPLAY >> /tmp/autostart.txt

The problem seems to be a raise between the script and the upcoming KDE
desktop. If I put a sleep of 10 secs into the script, all is fine.

-- 
Matthias Apitz, ✉ g...@unixarea.de, ⌂ http://www.unixarea.de/  ☎ 
+49-176-38902045
Aus "Nie wieder Krieg!" wurde "Nie wieder Krieg ohne Deutschlands Truppen"
The "No wars anymore!" changed now to "No wars anymore without German battle 
groups!"
El "¡Nunca jamás guerra!" ha cambiado a "¡Nunca jamás guerra sin tropas 
alemanas!" 


.kde4/Autostart/xmod.sh && xmodmap's

2017-03-12 Thread Matthias Apitz

Hello,

I have a script ~/.kde4/Autostart/xmod.sh which does some keyboard
adjustments with xmodmap on KDE4 start, for example:

echo $0 >> /tmp/autostart.txt
date>> /tmp/autostart.txt
echo DISPLAY: $DISPLAY >> /tmp/autostart.txt

/usr/local/bin/setxkbmap -model pc105 \
  -layout de   \
  -option "altwin:swap_alt_win"   \
  -option "lv3:ralt_switch"
#
# we use the Win-key to add more (esp. Spanish) letters to the keys:
#
xmodmap -e "keycode 145 = Delete Delete Delete Delete"
#
# Spanish tilded chars (use Mode_switch + char)
#
xmodmap -e "keycode 0x40 =  Mode_switch"
xmodmap -e "keycode 0x39 =  n N ntilde Ntilde"
...

The script works fine when fired up within the KDE session, but does not
seem to work when launched as Autostart (it gets launched as I can see in
the file /tmp/autostart.txt), but it seems that the changes done by
xmodmap are somehow re-setted again during start of KDE.

Any ideas?

matthias


-- 
Matthias Apitz, ✉ g...@unixarea.de, ⌂ http://www.unixarea.de/  ☎ 
+49-176-38902045
Aus "Nie wieder Krieg!" wurde "Nie wieder Krieg ohne Deutschlands Truppen"
The "No wars anymore!" changed now to "No wars anymore without German battle 
groups!"
El "¡Nunca jamás guerra!" ha cambiado a "¡Nunca jamás guerra sin tropas 
alemanas!" 


[kde-freebsd] 12-CURRENT / KDE4 on Dell Latitude E6330 && problem w/ 3 batteries

2016-07-20 Thread Matthias Apitz


Hello,

I have installed 12-CURRENT and KDE4 on the above amd64 laptop. It has
as 250GByte SSD, 8 GB RAM and 4 cores. All is fine and fast.

One small issue is, that 'devinfo -vv' shows 3 batteries, but KDE power
management is nervos because 2 are not installed:

battery0 pnpinfo _HID=PNP0C0A _UID=1 at handle=\_SB_.BAT0
battery1 pnpinfo _HID=PNP0C0A _UID=2 at handle=\_SB_.BAT1
battery2 pnpinfo _HID=PNP0C0A _UID=3 at handle=\_SB_.BAT2

How could I change that KDE ignores the not existing batteries?

matthias
-- 
Matthias Apitz, ✉ g...@unixarea.de, ⌂ http://www.unixarea.de/  ☎ 
+49-176-38902045
"Wer übersieht, dass wir uns den anderen weggenommen haben und sie uns 
wiederhaben wollen,
kann von den Kämpfen der letzten Tage keinen verstehen. Und kann natürlich auch 
keinen
dieser Kämpfe bestehen." Hermann Kant in jW 1.10.1989
___
kde-freebsd mailing list
kde-freebsd@kde.org
https://mail.kde.org/mailman/listinfo/kde-freebsd
See also http://freebsd.kde.org/ for latest information


[kde-freebsd] unable to unlock KDE session (kcheckpass with wrong perms)

2016-07-19 Thread Matthias Apitz

Hello,

I'm installing a new laptop with 12-CURRENT and ports from head
(compiled by me with poduriere); it turned out, that I was unable to
unlock a locked KDE session; digging into the problem I saw that the
component to validate the password (kcheckpass) was packaged into the
pkg with wrong perms:

$ tar tzvf /usr/PKGDIR.20160716/kde-workspace-4.11.21.txz | fgrep kcheckpass
-rwxr-xr-x  0 root   wheel   14352 17 jul. 21:43 
/usr/local/lib/kde4/libexec/kcheckpass


in older versions from head in December and Mai it was with perms '-rwsr-sr-x':

$ tar tzvf /usr/PKGDIR.20151230/kde-workspace-4.11.14_4.txz | fgrep kcheckpass
-rwsr-sr-x  0 root   wheel   14352 dic. 31  2015 
/usr/local/lib/kde4/libexec/kcheckpass

$ tar tzvf /usr/PKGDIR.20160501/kde-workspace-4.11.14_6.txz | fgrep kcheckpass
-rwsr-sr-x  0 root   wheel   14352 may.  6 21:19 
/usr/local/lib/kde4/libexec/kcheckpass

matthias


-- 
Matthias Apitz, ✉ g...@unixarea.de, ⌂ http://www.unixarea.de/  ☎ 
+49-176-38902045
"Wer übersieht, dass wir uns den anderen weggenommen haben und sie uns 
wiederhaben wollen,
kann von den Kämpfen der letzten Tage keinen verstehen. Und kann natürlich auch 
keinen
dieser Kämpfe bestehen." Hermann Kant in jW 1.10.1989
___
kde-freebsd mailing list
kde-freebsd@kde.org
https://mail.kde.org/mailman/listinfo/kde-freebsd
See also http://freebsd.kde.org/ for latest information


Re: [kde-freebsd] firefox-43 && no sound on MP3, MP4, HTML5

2016-05-01 Thread Matthias Apitz
El día Sunday, May 01, 2016 a las 01:29:28PM +0200, Jan Beich escribió:

> Matthias Apitz  writes:
> 
> > I: [(null)] main.c: This is PulseAudio 6.0
> 
> Can you upgrade the package to 8.0? But before that backup and remove
> /usr/local/etc/pulse/ to start from a clean slate.

This is not a simple as said. I would have to update all my ports (which
are from head as of December 30); I will do this soon.

Re/ version 8.0, I checked the SVN and it bumped from 6.0 to 8.0 on Feb
14 with the release of Gnome 3.18.

> In general, there's no support for out of date packages. ;) I have no
> clue if versions before 8.0 had different quirks. Ask gnome@.

I have investigated it further. The puldeaudio daemon is started when
KDE desktop comes up and is unuseable for FF as KDE it starts; I have
not found in KDE any way to configure this and came up with an autostart
script as .kde4/Autostart/pulseaudio.sh which killes away the running
pulseaudio, starts it new and send down the pacmd setting:

#!/bin/sh
#
# restart pulseaudio with correct 'sink' for firefox
#
LANG=C date > /tmp/pulseaudio.out
ps ax | fgrep pulseaudio | fgrep -v pulseaudio.sh >> /tmp/pulseaudio.out
killall pulseaudio
echo starting /usr/local/bin/pulseaudio --start --log-target=syslog >> 
/tmp/pulseaudio.out
/usr/local/bin/pulseaudio --start --log-target=syslog
sleep 1
echo setting pacmd set-default-sink $(sysctl -n hw.snd.default_unit) >> 
/tmp/pulseaudio.out
pacmd set-default-sink $(sysctl -n hw.snd.default_unit)

With this all is fine now.

Added Cc: to kde@

Thanks

matthias

-- 
Matthias Apitz, ✉ g...@unixarea.de, ⌂ http://www.unixarea.de/  ☎ 
+49-176-38902045
¡Dios querido denos otra vez los problemas de ayer, los que tuvimos en la RDA!
My Lord, give us back the problems of yesterday, those we have had in the GDR.
___
kde-freebsd mailing list
kde-freebsd@kde.org
https://mail.kde.org/mailman/listinfo/kde-freebsd
See also http://freebsd.kde.org/ for latest information


Re: [kde-freebsd] QML hello.qml

2016-04-22 Thread Matthias Apitz
El día Friday, April 22, 2016 a las 03:15:39PM +0200, Adriaan de Groot escribió:

> On Friday, April 22, 2016 03:07:24 PM Matthias Apitz wrote:
> > With the example below the command
> > 
> > $ /usr/local/lib/qt5/bin/qmlscene hello.qml
> > 
> > gives only a grey box, but no text in it. What do I wrong?
> 
> A quick check on OpenSUSE 13.2 shows that the example code -- on Linux -- 
> does 
> display a grey rectangle and black text.
> 
> Matthias, on the off-chance that this is color-inheritance related, can you 
> add
> 
>  color: "green"
> 
> to the declaration of the Text object? You may also want to set font 
> properties, just in case the default font is misbehaving.

This did not make any diff. Then I run it with truss:

[guru@c720-r292778-amd64 ~/QML]$ truss -o tr /usr/local/lib/qt5/bin/qmlscene 
hello.qml
[guru@c720-r292778-amd64 ~/QML]$ vim tr

and I saw that the proc was crawling for Spanish message files because
my default LANG is es_ES.UTF-8; as I wild guess I fired up:

[guru@c720-r292778-amd64 ~/QML]$ LANG=C /usr/local/lib/qt5/bin/qmlscene 
hello.qml

and it works fine with this. Thanks

matthias
> 
> [ade] (who has no FreeBSD on hand just right now)

You should have a FreeBSD netbook Acer C720, like I do :-)


-- 
Matthias Apitz, ✉ g...@unixarea.de, ⌂ http://www.unixarea.de/  ☎ 
+49-176-38902045
¡Dios querido denos otra vez los problemas de ayer, los que tuvimos en la RDA!
My Lord, give us back the problems of yesterday, those we have had in the GDR.
___
kde-freebsd mailing list
kde-freebsd@kde.org
https://mail.kde.org/mailman/listinfo/kde-freebsd
See also http://freebsd.kde.org/ for latest information


[kde-freebsd] QML hello.qml

2016-04-22 Thread Matthias Apitz

Hello,

I'm doing first steps in QML and follow the tutorial. The system is
CURRENT on amd64 with qt5 from ports head: 

# pkg info | grep '^qt5-'
qt5-core-5.4.1_2   Qt core non-graphical module
qt5-dbus-5.4.1 Qt D-Bus inter-process communication module
qt5-gui-5.4.1_3Qt graphical user interface module
qt5-imageformats-5.4.1 Qt plugins for additional image formats
qt5-network-5.4.1  Qt network module
qt5-opengl-5.4.1   Qt 5-compatible OpenGL support module
qt5-printsupport-5.4.1 Qt print support module
qt5-qml-5.4.1  Qt QML and JavaScript language module
qt5-quick-5.4.1Qt declarative framework for dynamic user 
interfaces
qt5-sql-5.4.1  Qt SQL database integration module
qt5-svg-5.4.1  Qt SVG support module
qt5-testlib-5.4.1  Qt unit testing module
qt5-webkit-5.4.1_2 Qt WebKit implementation
qt5-widgets-5.4.1  Qt C++ widgets module
qt5-xml-5.4.1  Qt SAX and DOM implementations
qt5-xmlpatterns-5.4.1  Qt support for XPath, XQuery, XSLT and XML Schema

With the example below the command

$ /usr/local/lib/qt5/bin/qmlscene hello.qml

gives only a grey box, but no text in it. What do I wrong?
Thanks

matthias

// http://doc.qt.io/qt-5/qml-tutorial1.html
//

import QtQuick 2.0

Rectangle {
id: page
width: 320; height: 480
color: "lightgray"

Text {
id: helloText
text: "Hello world!"
y: 30
anchors.horizontalCenter: page.horizontalCenter
font.pointSize: 24; font.bold: true
}
}

-- 
Matthias Apitz, ✉ g...@unixarea.de, ⌂ http://www.unixarea.de/  ☎ 
+49-176-38902045
¡Dios querido denos otra vez los problemas de ayer, los que tuvimos en la RDA!
My Lord, give us back the problems of yesterday, those we have had in the GDR.
___
kde-freebsd mailing list
kde-freebsd@kde.org
https://mail.kde.org/mailman/listinfo/kde-freebsd
See also http://freebsd.kde.org/ for latest information


Re: [kde-freebsd] loosing from time to time the desktop layout indicators

2016-02-21 Thread Matthias Apitz
El día Saturday, February 20, 2016 a las 12:22:53PM +0100, Matthias Apitz 
escribió:

> Hello,
> 
> This is with KDE4 and system from CURRENT. I have configured 4 virtual
> desktops and the switching between them as:
> 
> System Settings --> Workspace Behavior -> Virtual Desktops
> 
> --> Tab Switching:
> 
> [v] Desktop navigation wraps around
> Animation: Slide
> Duration: 1000 msec
> [v] Show desktop layout indicators
> 
> Normally on Ctrl-Tab this cycles around the desktops and showing always
> the 4 desktops for a second in the middle of the screen as shown here:
> 
> http://www.unixarea.de/kde-switcher.png
> 
> >From time to time this picture in the middle of the screen gets lost and
> is only a small grey bar of the hight of the picture, but only 5-10
> pixel wide; I have to go and do a toggle of 
> 
> [ ] Show desktop layout indicators
> Apply
> [v] Show desktop layout indicators
> Apply
> 
> To make reappear the picture.

It seems that part of the information is stored in:

[guru@c720-r292778-amd64 ~]$ fgrep -C3 1000 .kde4/share/config/kwinrc
kwin4_effect_windowgeometryEnabled=false

[Script-desktopchangeosd]
PopupHideDelay=1000
TextOnly=false

[TabBox]

I made a copy yesterday and it seems that this config file is opened for
writing(!) and modified (at least the modification time) on KDE start:

[guru@c720-r292778-amd64 ~]$ ls -l .kde4/share/config/kwinrc 
.kde4/share/config/kwinrc.saved
-rw---  1 guru  wheel  1840 feb.  21 10:43 .kde4/share/config/kwinrc
-rw---  1 guru  wheel  1840 feb.  20 13:39 .kde4/share/config/kwinrc.saved

matthias

-- 
Matthias Apitz, ✉ g...@unixarea.de, ⌂ http://www.unixarea.de/  ☎ 
+49-176-38902045
Bundeswehr: Wir.Dienen.Deutschland. - Wir.Machen.Krieg.  (We.Serve.Germany. - 
We.Make.War.)
___
kde-freebsd mailing list
kde-freebsd@kde.org
https://mail.kde.org/mailman/listinfo/kde-freebsd
See also http://freebsd.kde.org/ for latest information


[kde-freebsd] loosing from time to time the desktop layout indicators

2016-02-20 Thread Matthias Apitz
Hello,

This is with KDE4 and system from CURRENT. I have configured 4 virtual
desktops and the switching between them as:

System Settings --> Workspace Behavior -> Virtual Desktops

--> Tab Switching:

[v] Desktop navigation wraps around
Animation: Slide
Duration: 1000 msec
[v] Show desktop layout indicators

Normally on Ctrl-Tab this cycles around the desktops and showing always
the 4 desktops for a second in the middle of the screen as shown here:

http://www.unixarea.de/kde-switcher.png

From time to time this picture in the middle of the screen gets lost and
is only a small grey bar of the hight of the picture, but only 5-10
pixel wide; I have to go and do a toggle of 

[ ] Show desktop layout indicators
Apply
[v] Show desktop layout indicators
Apply

To make reappear the picture.

Is this a known issue nd what can I do to avoid it?

matthias

-- 
Matthias Apitz, ✉ g...@unixarea.de, ⌂ http://www.unixarea.de/  ☎ 
+49-176-38902045
Bundeswehr: Wir.Dienen.Deutschland. - Wir.Machen.Krieg.  (We.Serve.Germany. - 
We.Make.War.)
___
kde-freebsd mailing list
kde-freebsd@kde.org
https://mail.kde.org/mailman/listinfo/kde-freebsd
See also http://freebsd.kde.org/ for latest information


[kde-freebsd] control font size of Gnome applications within KDE4

2016-01-27 Thread Matthias Apitz

Hello,

This questions is with 11-CURRENT and ports from December 30, esp. with
KDE4 as kde-4.14.3 and evolution as evolution-3.16.5

I know from using it in the past (~2011) that for evolution I have to start as 
well
the /usr/local/libexec/gnome-settings-daemon in background and in the
past I could control the font size of evolution and firefox with the
gnome-control-center. Well, nowadays all this starts fine but
gnome-control-center has no functionality for font types or sizing.

What I do wrong?

matthias
-- 
Matthias Apitz, ✉ g...@unixarea.de, ⌂ http://www.unixarea.de/  ☎ 
+49-176-38902045
UNIX since V7 on PDP-11 | UNIX on mainframe since ESER 1055 (IBM /370)
UNIX on x86 since SVR4.2 UnixWare 2.1.2 | FreeBSD since 2.2.5
___
kde-freebsd mailing list
kde-freebsd@kde.org
https://mail.kde.org/mailman/listinfo/kde-freebsd
See also http://freebsd.kde.org/ for latest information


Re: [kde-freebsd] KDE4 akonadi && mysqld run away proc

2016-01-24 Thread Matthias Apitz
El día Saturday, January 23, 2016 a las 08:29:47PM +0100, Matthias Apitz 
escribió:

> 
> Hello,
> 
> I have created on my netbook (r292778 amd64, KDE4 from ports December
> 30) a new user for my son. When I do login as this user and run 'startx'
> the KDE4 environment is created, because the ~/.xinitrc says:
> 
> cd
> setxkbmap -option terminate:ctrl_alt_bksp
> xrandr --output default --mode 1366x768
> xset dpms 120
> /usr/local/bin/xbindkeys
> test -f startkde.log && mv startkde.log startkde.log.last
> ps ax | fgrep hal | tee -a startkde.log
> exec /usr/local/bin/startkde 2>&1 | while read line; do echo -n "$(date 
> '+%T'): "; echo $line ; test "$line" = "startkde: Done." && exit ; done | tee 
> -a startkde.log
> 
> KDE4 comes up fine but with a problem caused by the mysqld running for
> the 'akonadi' service: the proc of mysqld consumes all free CPU cycles
> and is not even killable, which at the end on shutdown of the FreeBSD is
> causing that not all vnodes can be synced, and at the very end a PANIC.
> 
> When I run the same 'startx' in my account on this netbook, all is fine.
> 
> What is causing this? Or, how can I get rid of the akonadi service which
> I do not need at all? As a workaround I renamed the mysqld so noboday
> can start it at all.

fyi: https://bugs.kde.org/show_bug.cgi?id=358467

as a workaround, I have renamed the server in
/usr/local/bin/akonadiserver.away 
and all is fine; I think nobody really needs this PIM stuff :-) or, at
least it should have a way to disable this in some rc file;

matthias

-- 
Matthias Apitz, ✉ g...@unixarea.de, ⌂ http://www.unixarea.de/  ☎ 
+49-176-38902045
UNIX since V7 on PDP-11 | UNIX on mainframe since ESER 1055 (IBM /370)
UNIX on x86 since SVR4.2 UnixWare 2.1.2 | FreeBSD since 2.2.5
___
kde-freebsd mailing list
kde-freebsd@kde.org
https://mail.kde.org/mailman/listinfo/kde-freebsd
See also http://freebsd.kde.org/ for latest information


[kde-freebsd] KDE4 akonadi && mysqld run away proc

2016-01-23 Thread Matthias Apitz

Hello,

I have created on my netbook (r292778 amd64, KDE4 from ports December
30) a new user for my son. When I do login as this user and run 'startx'
the KDE4 environment is created, because the ~/.xinitrc says:

cd
setxkbmap -option terminate:ctrl_alt_bksp
xrandr --output default --mode 1366x768
xset dpms 120
/usr/local/bin/xbindkeys
test -f startkde.log && mv startkde.log startkde.log.last
ps ax | fgrep hal | tee -a startkde.log
exec /usr/local/bin/startkde 2>&1 | while read line; do echo -n "$(date '+%T'): 
"; echo $line ; test "$line" = "startkde: Done." && exit ; done | tee -a 
startkde.log

KDE4 comes up fine but with a problem caused by the mysqld running for
the 'akonadi' service: the proc of mysqld consumes all free CPU cycles
and is not even killable, which at the end on shutdown of the FreeBSD is
causing that not all vnodes can be synced, and at the very end a PANIC.

When I run the same 'startx' in my account on this netbook, all is fine.

What is causing this? Or, how can I get rid of the akonadi service which
I do not need at all? As a workaround I renamed the mysqld so noboday
can start it at all.

Thanks

matthias

-- 
Matthias Apitz, ✉ g...@unixarea.de, ⌂ http://www.unixarea.de/  ☎ 
+49-176-38902045
UNIX since V7 on PDP-11 | UNIX on mainframe since ESER 1055 (IBM /370)
UNIX on x86 since SVR4.2 UnixWare 2.1.2 | FreeBSD since 2.2.5
___
kde-freebsd mailing list
kde-freebsd@kde.org
https://mail.kde.org/mailman/listinfo/kde-freebsd
See also http://freebsd.kde.org/ for latest information


Re: [kde-freebsd] paint text into the background image

2016-01-15 Thread Matthias Apitz
El día Friday, January 15, 2016 a las 02:46:22PM +0100, Adriaan de Groot 
escribió:

> On Friday 08 January 2016 17:01:57 Matthias Apitz wrote:
> > Hello,
> > 
> > Is there a way to paint some text into the background of KDE4, for
> > example: 11-CURRENT r292778, ports December 30.
> 
> That sounds like an excellent job for a plasmoid. That would be independent 
> of 
> the wallpaper, too.
> 
> I think there was some kind of dynamic wallpaper at one point -- I never used 
> it -- which you might also look into.

Do you have more pointers for both? Thanks.

> 
> In either case: how are you going to get the information you want to display? 
> Something like uname -v, but how do you intend to say "ports December 30"?

$ uname -v | sed 's/:.*$//'
FreeBSD 11.0-CURRENT #0 r292778
$ LANG=C svnlite info /usr/ports | fgrep Date
Last Changed Date: 2015-12-30 15:35:02 +0100 (Wed, 30 Dec 2015)

matthias
-- 
Matthias Apitz, ✉ g...@unixarea.de, ⌂ http://www.unixarea.de/  ☎ 
+49-176-38902045
UNIX since V7 on PDP-11 | UNIX on mainframe since ESER 1055 (IBM /370)
UNIX on x86 since SVR4.2 UnixWare 2.1.2 | FreeBSD since 2.2.5
___
kde-freebsd mailing list
kde-freebsd@kde.org
https://mail.kde.org/mailman/listinfo/kde-freebsd
See also http://freebsd.kde.org/ for latest information


[kde-freebsd] paint text into the background image

2016-01-08 Thread Matthias Apitz

Hello,

Is there a way to paint some text into the background of KDE4, for
example: 11-CURRENT r292778, ports December 30.

Thanks

matthias
-- 
Matthias Apitz, ✉ g...@unixarea.de, 🌐 http://www.unixarea.de/  ☎ 
+49-176-38902045
___
kde-freebsd mailing list
kde-freebsd@kde.org
https://mail.kde.org/mailman/listinfo/kde-freebsd
See also http://freebsd.kde.org/ for latest information


[kde-freebsd] mounting a geli USB key

2015-12-26 Thread Matthias Apitz

Hello,

I have a geli file system on an USB key which mounts fine as:

# geli attach /dev/da0
Enter passphrase: 
# mount /priv

# fgrep /priv /etc/fstab
/dev/da0.eli /priv ufs rw,noauto 0 0

Is there some KDE4 component which can does this somehow automagically
on device attach (asking for the passphrase, of course)?

Thanks

matthias

-- 
Matthias Apitz, ✉ g...@unixarea.de, 🌐 http://www.unixarea.de/  ☎ 
+49-176-38902045
___
kde-freebsd mailing list
kde-freebsd@kde.org
https://mail.kde.org/mailman/listinfo/kde-freebsd
See also http://freebsd.kde.org/ for latest information


Re: [kde-freebsd] powerd

2015-12-12 Thread Matthias Apitz
El día Saturday, December 12, 2015 a las 04:22:34PM +0100, Adriaan de Groot 
escribió:

> On Friday 11 December 2015 19:19:22 Matthias Apitz wrote:
> > Seems to be really a hald problem, and not a KDE4 problem; right now it
> > occured again and qdbus only says:
> 
> Perhaps hald is starting, but is faster than the system dbus comes up? I 
> don't 
> restart this system all that often, so I haven't seen it happen since I 
> explicitly enabled hald in /etc/rc.conf . Perhaps it would make sense to try 
> to add --verbose=yes to the hald flags, so that you can see what it's doing 
> (maybe it will log something).
> 
> In your case, hald isn't on the system dbus -- but is the process running at 
> all? What does ps ax | grep hal do?

https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=205265

When the problem occurs, hald is running twice (see the ps output in the
above issue), it is un-killable and qdbus --system does not show any
hal;

matthias

-- 
Matthias Apitz, ✉ g...@unixarea.de, 🌐 http://www.unixarea.de/  ☎ 
+49-176-38902045
___
kde-freebsd mailing list
kde-freebsd@kde.org
https://mail.kde.org/mailman/listinfo/kde-freebsd
See also http://freebsd.kde.org/ for latest information


Re: [kde-freebsd] powerd

2015-12-11 Thread Matthias Apitz
El día Wednesday, December 09, 2015 a las 10:38:11PM +0100, Adriaan de Groot 
escribió:

> Inside a KDE session, you can check for hald (which is what powerdevil does 
> too) as follows:
> 
>   qdbus --system | grep -i hal
> 
> The output should be (at least):
> 
>   org.freedesktop.Hal
> 
> 
> [ade]

Seems to be really a hald problem, and not a KDE4 problem; right now it
occured again and qdbus only says:

$ qdbus --system
:1.2
 org.freedesktop.ConsoleKit
:1.25
:1.26
:1.27
:1.28
:1.3
:1.31
:1.32
:1.4
 org.freedesktop.PolicyKit1
:1.40
 org.freedesktop.DBus

i.e. nothing about hald :-(

    matthias

-- 
Matthias Apitz, ✉ g...@unixarea.de, 🌐 http://www.unixarea.de/  ☎ 
+49-176-38902045
___
kde-freebsd mailing list
kde-freebsd@kde.org
https://mail.kde.org/mailman/listinfo/kde-freebsd
See also http://freebsd.kde.org/ for latest information


Re: [kde-freebsd] x11/xsnow in KDE4.14.3

2015-12-08 Thread Matthias Apitz
El día Tuesday, December 08, 2015 a las 07:07:55PM +0100, T.C.Berner escribió:

> Hi Matthias
> 
> xsnow is vry old. You might have more luck giving xdecorations [1] a
> go.
> Attached is a rough port for x11/xdecorations.
> 
> 
> [1] https://github.com/KeithDHedger/XDecorations

Hi,

Thanks. I installed it, but it looks a bit crude. And I can't get the
config file to be read:

$ ls -l `pwd`/.config/xdecorations.rc
-rw-r--r--  1 guru  wheel  7235  8 dic 19:39 /home/guru/.config/xdecorations.rc
$ truss -o tr xdecorations  
^C

$ fgrep xdecorations.rc tr
$

The truss output also shows that nearly all pixmaps are missing, like:

open("/usr/local/share/xdecorations/pixmaps/Xmas/Falling/1.10.48.png",O_RDONLY,0666)
 ERR#2 'No such file or directory'
open("/usr/local/share/xdecorations/pixmaps/Xmas/Falling/1.10.48.png",O_RDONLY,0666)
 ERR#2 'No such file or directory'
open("/usr/local/share/xdecorations/pixmaps/Xmas/Falling/1.10.48.png",O_RDONLY,0666)
 ERR#2 'No such file or directory'

Btw: Do you have ever seen 'xsnow' on your screen?

Thanks anyway

matthias


-- 
Matthias Apitz, ✉ g...@unixarea.de, 🌐 http://www.unixarea.de/  ☎ 
+49-176-38902045
___
kde-freebsd mailing list
kde-freebsd@kde.org
https://mail.kde.org/mailman/listinfo/kde-freebsd
See also http://freebsd.kde.org/ for latest information


[kde-freebsd] x11/xsnow in KDE4.14.3

2015-12-07 Thread Matthias Apitz

Hello,

Anybody could get x11/xsnow to work in KDE4? The problem seems to be
that xsnow draws into the root window which is overlayed by the KDE
window manager. The source of x11/xsnow 1.42 claims to have some
solution for this (see vroot.h) but I could not get this to work :-(

I used this ages ago with fvwm in Christmas time and for folks who have
never see it, here is a page with a screen:
http://janswaal.home.xs4all.nl/Xsnow/

Thanks

matthias
-- 
Matthias Apitz, ✉ g...@unixarea.de, 🌐 http://www.unixarea.de/  ☎ 
+49-176-38902045
___
kde-freebsd mailing list
kde-freebsd@kde.org
https://mail.kde.org/mailman/listinfo/kde-freebsd
See also http://freebsd.kde.org/ for latest information


Re: [kde-freebsd] powerd

2015-12-07 Thread Matthias Apitz
El día Sunday, December 06, 2015 a las 08:57:54PM +0100, Bengt Ahlgren escribió:

> On my home desktop computer (9.3-REL / KDE 4.14.3) I get the same
> behaviour if I log in (through KDM) too soon after booting.  Just
> waiting 5 secs or so before logging in is enough.  Perhaps dbus or hal
> that hasn't started up yet?

When it happened today, I saw no hald running at all after(!) killing
KDE again. It should run because it is started at boot via /etc/rc.conf.
I will add a test in ~/.xinitrc to see if hald is running before
starting KDE. We will see.

    matthias

-- 
Matthias Apitz, ✉ g...@unixarea.de, 🌐 http://www.unixarea.de/  ☎ 
+49-176-38902045
___
kde-freebsd mailing list
kde-freebsd@kde.org
https://mail.kde.org/mailman/listinfo/kde-freebsd
See also http://freebsd.kde.org/ for latest information


Re: [kde-freebsd] powerd

2015-12-06 Thread Matthias Apitz
El día Sunday, December 06, 2015 a las 11:48:52AM +0100, Adriaan de Groot 
escribió:

> It's not just on -CURRENT, I get the same thing with kde4 from official 
> packages 
> on 10-STABLE. I've never bothered to look into it (but maybe I should, since 
> I 
> have gotten vaguely interested in power and temperature readings).

May I ask what will be the next versions for KDE in our ports tree? Just
curious.

Thanks

    matthias
-- 
Matthias Apitz, ✉ g...@unixarea.de, 🌐 http://www.unixarea.de/  ☎ 
+49-176-38902045
___
kde-freebsd mailing list
kde-freebsd@kde.org
https://mail.kde.org/mailman/listinfo/kde-freebsd
See also http://freebsd.kde.org/ for latest information


Re: [kde-freebsd] powerd

2015-12-06 Thread Matthias Apitz
El día Saturday, December 05, 2015 a las 10:00:43PM +0100, Matthias Apitz 
escribió:

> 
> Hi,
> 
> >From time to time, on start of KDE4 (with 'startx') there are messages
> about a problem with the power daemon; the pop-ups are unreadable due to
> their short presence, but in the log of the startx-session I can capture:
> 
> $ fgrep Power startkde.log.last 
> 18:19:23: kded(940): KDE Power Management System init failed!
> 
> The result is that in the tray no battery symbol is presented. Until
> now I could only fix this with a reboot, not with a restart of KDE4.
> 
> This is with:
> 
> 11-CURRENT r285885 on amd64 and KDE from ports r392920.

I have filed an official bug:
https://bugs.kde.org/show_bug.cgi?id=356331


-- 
Matthias Apitz, ✉ g...@unixarea.de, 🌐 http://www.unixarea.de/  ☎ 
+49-176-38902045
___
kde-freebsd mailing list
kde-freebsd@kde.org
https://mail.kde.org/mailman/listinfo/kde-freebsd
See also http://freebsd.kde.org/ for latest information


[kde-freebsd] powerd

2015-12-05 Thread Matthias Apitz

Hi,

From time to time, on start of KDE4 (with 'startx') there are messages
about a problem with the power daemon; the pop-ups are unreadable due to
their short presence, but in the log of the startx-session I can capture:

$ fgrep Power startkde.log.last 
18:19:23: kded(940): KDE Power Management System init failed!

The result is that in the tray no battery symbol is presented. Until
now I could only fix this with a reboot, not with a restart of KDE4.

This is with:

11-CURRENT r285885 on amd64 and KDE from ports r392920.

matthias
-- 
Matthias Apitz, ✉ g...@unixarea.de, 🌐 http://www.unixarea.de/  ☎ 
+49-176-38902045
___
kde-freebsd mailing list
kde-freebsd@kde.org
https://mail.kde.org/mailman/listinfo/kde-freebsd
See also http://freebsd.kde.org/ for latest information


Re: [kde-freebsd] select wrapped lines / click long url / bug 3453

2015-11-28 Thread Matthias Apitz

On Saturday, 28 November 2015 09:44:26 CET, T.C.Berner wrote:

Hi Matthias

Maybe I misunderstand you, but konsole has the link-feature too.
Profile Options -> Mouse -> Underline Links
They are not coloured, but underlined if you hover them. A right click will
alow you to open them in your  browser or copy the address.




Hi,

Thanks for the hint; I never used konsole, only xterm and uRxvt, the latter 
for its good UTF-8 support. How does konsole with UTF-8 and input for 
Codepoints you dont have on the keyboard?


matthias



--
Sent from my Ubuntu phone
http://www.unixarea.de/
___
kde-freebsd mailing list
kde-freebsd@kde.org
https://mail.kde.org/mailman/listinfo/kde-freebsd
See also http://freebsd.kde.org/ for latest information


Re: [kde-freebsd] select wrapped lines / click long url / bug 3453

2015-11-28 Thread Matthias Apitz
El día Saturday, November 28, 2015 a las 07:06:31PM +1100, Brian Salter-Duke 
escribió:

> On Sat, Nov 28, 2015 at 08:28:29AM +0100, Matthias Apitz wrote:
> > El día Saturday, November 28, 2015 a las 06:18:56PM +1100, Erik 
> > Christiansen escribió:
> > 
> > > On 28.11.15 07:01, Brian Salter-Duke wrote:
> > > > I use a Ubuntu terminal and the url above shows up highlighted in blue.
> > > > I hold the mouse over it and right click brings up a menu. I select
> > > > "open in browser" and it does just that. For attached html I use 
> > > > mutt_bgrun. I have a script with several alternatives:-
> > 
> > Hello,
> > 
> > Which terminal is this exactly in Ubuntu? I'm used to use uRxvt in an
> > KDE4 environment in FreeBSD. This does not have this mouse-over/menu
> > feature, at leasr AFAIK.
> > 
> > matthias
> 
> I am not sure. I am using Ubuntu 12.04 with unity and it is what is called 
> "terminal", if you look
> in the dash home.
> 
> Brian.

There is a thread in the mutt-users mailing-list about picking-up a URL
from the mail in the terminal. Do we have such a 'unity terminal' in
FreeBSD KDE too, or something similar with mouse-menu support?

Thanks

matthias

-- 
Matthias Apitz, ✉ g...@unixarea.de, 🌐 http://www.unixarea.de/  ☎ 
+49-176-38902045
___
kde-freebsd mailing list
kde-freebsd@kde.org
https://mail.kde.org/mailman/listinfo/kde-freebsd
See also http://freebsd.kde.org/ for latest information


Re: [kde-freebsd] [SVN Commit] branches/plasma5/KDE/misc/libkeduvocdocument

2015-08-23 Thread Matthias Apitz

El domingo, 23 de agosto de 2015 10:06:25 (CEST), Tobias Berner escribió:

SVN commit 11337 by tcberner:

Update to 15.08

 M  +2 -2  distinfo  


Hi,

Would it be an option to direct all these SVN ci messages to a special list 
and use this one for the purpose announced in the list info?


Thanks for all your work in any case.

matthias


--
Sent from my Ubuntu phone
http://www.unixarea.de/
___
kde-freebsd mailing list
kde-freebsd@kde.org
https://mail.kde.org/mailman/listinfo/kde-freebsd
See also http://freebsd.kde.org/ for latest information


Re: [kde-freebsd] Fwd: [kdelibs] [Bug 348841] knotify (and kbiff) starts jackd with the flag -l only and creates zombies

2015-06-10 Thread Matthias Apitz
El día Wednesday, June 10, 2015 a las 08:07:53PM +0200, Tobias Berner escribió:

> Hi
> 
> best open a bug report in bugs.freebsd.org, so that it does not get 
> forgotten. 
> But also try to figure out why you are using jackd in the first place. 

Hi Tobias,

I will file a report in bugs.freebsd.org and try to figure out on my
poudriere server why audio/jackit is pulled in. I have not actively configured
it in the poudriere ports configs, at least I do not remember have done
it. At the moment I only see the pkg deps:

# pkg delete jackit
Checking integrity... done (0 conflicting)
Deinstallation has been requested for the following 4 packages (of 0
packages in the universe):

Installed packages to be REMOVED:
jackit-0.121.3_5
gstreamer1-plugins-jack-1.2.4 (depends on jackit-0.121.3_5)
gstreamer1-plugins-all-1.2_1 (depends on jackit-0.121.3_5)
recordmydesktop-0.3.8.1_5 (depends on jackit-0.121.3_5)

> 
> I'm not using jackd myself, and I could not reproduce you're problem.

Me either, I even do not know what it is :-)

Thx

    matthias


-- 
Matthias Apitz, g...@unixarea.de, http://www.unixarea.de/ +49-170-4527211
+49-176-38902045
"Wenn der Mensch von den Umständen gebildet wird, so muß man die Umstände 
menschlich bilden."
"Si el hombre es formado por las circunstancias entonces es necesario formar 
humanamente
las circunstancias", Karl Marx in Die heilige Familie / La sagrada familia (MEW 
2, 138)
___
kde-freebsd mailing list
kde-freebsd@kde.org
https://mail.kde.org/mailman/listinfo/kde-freebsd
See also http://freebsd.kde.org/ for latest information


[kde-freebsd] Fwd: [kdelibs] [Bug 348841] knotify (and kbiff) starts jackd with the flag -l only and creates zombies

2015-06-10 Thread Matthias Apitz

The folks of @kde.org closed the issue and say it is our (freebsd-kde)
distro problem :-(

I (as the user) can only say, that I do not have configured any 'jackd';
I compiled and installed from ports in head;

and now?

matthias

- Forwarded message from Martin Klapetek  -

Date: Wed, 10 Jun 2015 08:56:59 +
From: Martin Klapetek 
To: g...@unixarea.de
Subject: [kdelibs] [Bug 348841] knotify (and kbiff) starts jackd with the flag 
-l only and
creates zombies

https://bugs.kde.org/show_bug.cgi?id=348841

Martin Klapetek  changed:

   What|Removed |Added

 Resolution|--- |DOWNSTREAM
 Status|UNCONFIRMED |RESOLVED

--- Comment #3 from Martin Klapetek  ---
> it is not true the kdelibs does not know anything about jackd

You did notice that you're grepping in kde-runtime and *not* in kdelibs, right?
;) I'll save you some time and tell you that grepping kdelibs indeed comes out
empty.

Nevertheless, just because there is one single string found in your grep does
not actually say that it's being started or anything.

It is entirely possible that your pulseaudio and/or alsa and/or gstreamer is
configured to use jack. See this
http://jackaudio.org/faq/gstreamer_via_jack.html for example and try it in
reverse.

 If you don't need jack at all, just install it.

Otherwise yes, you should seek support from your distro, this is a
configuration issue.

-- 
You are receiving this mail because:
You reported the bug.

- End forwarded message -

-- 
Matthias Apitz   |  /"\   ASCII Ribbon Campaign:
E-mail: g...@unixarea.de |  \ /   - No HTML/RTF in E-mail
WWW: http://www.unixarea.de/ |   X- No proprietary attachments
phone: +49-176-38902045  |  / \   - Respect for open standards
 | en.wikipedia.org/wiki/ASCII_Ribbon_Campaign
___
kde-freebsd mailing list
kde-freebsd@kde.org
https://mail.kde.org/mailman/listinfo/kde-freebsd
See also http://freebsd.kde.org/ for latest information


Re: [kde-freebsd] KDE && jackd flag -l (was: kbiff && zombies)

2015-06-07 Thread Matthias Apitz

I have filed a bug as: https://bugs.kde.org/show_bug.cgi?id=348841

-- 
Matthias Apitz, g...@unixarea.de, http://www.unixarea.de/ +49-170-4527211
+49-176-38902045
"Wenn der Mensch von den Umständen gebildet wird, so muß man die Umstände 
menschlich bilden."
"Si el hombre es formado por las circunstancias entonces es necesario formar 
humanamente
las circunstancias", Karl Marx in Die heilige Familie / La sagrada familia (MEW 
2, 138)
___
kde-freebsd mailing list
kde-freebsd@kde.org
https://mail.kde.org/mailman/listinfo/kde-freebsd
See also http://freebsd.kde.org/ for latest information


[kde-freebsd] KDE && jackd flag -l (was: kbiff && zombies)

2015-06-05 Thread Matthias Apitz

I have modified the shell wrapper script for jackd as:

#!/bin/sh

printf "\nnew jackd call, pid: %d\n" $$ >> /tmp/jackd
echo args: $0 $* >> /tmp/jackd
/usr/local/bin/jackd.bin $* &
echo last pg pid: $! >> /tmp/jackd
ps axl >> /tmp/jackd

and it turns out that all KDE components, already on KDE start the
/usr/local/bin/knotify4, are calling jackd as

/usr/local/bin/jackd -l

which is fine according the man page of jackd:

-l, --listen-port int
The socket port we are listening on for sync
packets (default: 3000)

but the source of jackd implements with -l only the printout of the
current working directory and exit(0):


   
case 'l':   

/* special flag to allow libjack to determine   

 * jackd's idea of where tmpdir is */   

printf ("%s\n", jack_tmpdir);   

exit (0);

I have search in the KDE sources, without any luck, where 'jackd -l' is
issued to understand the problem; no luck; and for the moment I only can
say that there is some missimplementation, either in KDE or in jackd.

matthias
-- 
Matthias Apitz, g...@unixarea.de, http://www.unixarea.de/ +49-170-4527211
+49-176-38902045
"Wenn der Mensch von den Umständen gebildet wird, so muß man die Umstände 
menschlich bilden."
"Si el hombre es formado por las circunstancias entonces es necesario formar 
humanamente
las circunstancias", Karl Marx in Die heilige Familie / La sagrada familia (MEW 
2, 138)
___
kde-freebsd mailing list
kde-freebsd@kde.org
https://mail.kde.org/mailman/listinfo/kde-freebsd
See also http://freebsd.kde.org/ for latest information


Re: [kde-freebsd] kbiff && zombies

2015-06-05 Thread Matthias Apitz
El día Friday, June 05, 2015 a las 09:44:01AM +0200, Matthias Apitz escribió:

> El día Thursday, June 04, 2015 a las 09:13:28PM +0200, Tobias Berner escribió:
> 
> > > > It's probably best if you open a bug report for it though.
> > > > 
> > > > Wild guess, it's jack: 
> > > > https://github.com/jackaudio/jack1/commit/cfa910af9694de0dd218713f66d521ee85c4070c
> > > > 
> > > > 
> > > > mfg Tobias
> 
> I have applied the proposed patch and recompiled ports/audio/jack; it
> does not help; to debug further, I replaced the binary jackd by a shell
> script:
> 
> 
> #!/bin/sh
> 
> printf "new jackd call:\n" >> /tmp/jackd
> echo $0 $* >> /tmp/jackd
> /usr/local/bin/jackd.bin $* &
> echo $! >> /tmp/jackd
> 
> and when a mail arrives the file /tmp/jackd shows:
> 
> 
> new jackd call:
> /usr/local/bin/jackd -l
> 39343
> new jackd call:
> /usr/local/bin/jackd -l
> 39345
> new jackd call:
> /usr/local/bin/jackd -l
> 39347

in addition: I looked into the sources of jackd.c: the flag -i
does naerly nothing more than exit:

case 'l':
    /* special flag to allow libjack to determine
 * jackd's idea of where tmpdir is */
printf ("%s\n", jack_tmpdir);
exit (0);


-- 
Matthias Apitz, g...@unixarea.de, http://www.unixarea.de/ +49-170-4527211
+49-176-38902045
"Wenn der Mensch von den Umständen gebildet wird, so muß man die Umstände 
menschlich bilden."
"Si el hombre es formado por las circunstancias entonces es necesario formar 
humanamente
las circunstancias", Karl Marx in Die heilige Familie / La sagrada familia (MEW 
2, 138)
___
kde-freebsd mailing list
kde-freebsd@kde.org
https://mail.kde.org/mailman/listinfo/kde-freebsd
See also http://freebsd.kde.org/ for latest information


Re: [kde-freebsd] kbiff && zombies

2015-06-05 Thread Matthias Apitz
El día Thursday, June 04, 2015 a las 09:13:28PM +0200, Tobias Berner escribió:

> > > It's probably best if you open a bug report for it though.
> > > 
> > > Wild guess, it's jack: 
> > > https://github.com/jackaudio/jack1/commit/cfa910af9694de0dd218713f66d521ee85c4070c
> > > 
> > > 
> > > mfg Tobias

I have applied the proposed patch and recompiled ports/audio/jack; it
does not help; to debug further, I replaced the binary jackd by a shell
script:


#!/bin/sh

printf "new jackd call:\n" >> /tmp/jackd
echo $0 $* >> /tmp/jackd
/usr/local/bin/jackd.bin $* &
echo $! >> /tmp/jackd

and when a mail arrives the file /tmp/jackd shows:


new jackd call:
/usr/local/bin/jackd -l
39343
new jackd call:
/usr/local/bin/jackd -l
39345
new jackd call:
/usr/local/bin/jackd -l
39347

the PIDs of the zombies are always -1:

39342  2  Z  0:00,01 
39344  2  Z  0:00,01 
39346  2  Z  0:00,01 

i.e. it must be the PID of the shell started by kbiff which let me
think, that the fork/wait in kbiff itself is is causing the problem;

matthias
-- 
Matthias Apitz, g...@unixarea.de, http://www.unixarea.de/ +49-170-4527211
+49-176-38902045
"Wenn der Mensch von den Umständen gebildet wird, so muß man die Umstände 
menschlich bilden."
"Si el hombre es formado por las circunstancias entonces es necesario formar 
humanamente
las circunstancias", Karl Marx in Die heilige Familie / La sagrada familia (MEW 
2, 138)
___
kde-freebsd mailing list
kde-freebsd@kde.org
https://mail.kde.org/mailman/listinfo/kde-freebsd
See also http://freebsd.kde.org/ for latest information


Re: [kde-freebsd] kbiff && zombies

2015-06-03 Thread Matthias Apitz
El día Wednesday, June 03, 2015 a las 08:24:02AM +0200, Tobias Berner escribió:

> Hi
> 
> Waiting less than 24 hours to complain is a bit quick :)

Hi,

Thanks for the reply, even if I do not like top postings; re/ the time,
I'm used to get answers from the freebsd lists and questions, too; and
if I know something, I'm replying within minutes or a few hours; more in
general, it is not the first time, that I do not get any response from
this list here and if you look into the archives, you will get the same
impresion: a write-only mailing list;

> It's probably best if you open a bug report for it though.
> 
> Wild guess, it's jack: 
> https://github.com/jackaudio/jack1/commit/cfa910af9694de0dd218713f66d521ee85c4070c
> 
> 
> mfg Tobias

I checked the ports and mine is relatively new (r371359 from October
2014); it seems that the fix is not included:

ports/audio/jack]$ ls -l files/
total 28
-rw-r--r--  1 root  wheel   463 17 ene 10:48 
patch-drivers-alsa-midi-alsa_rawmidi.c
-rw-r--r--  1 root  wheel   286 17 ene 10:48 patch-drivers-alsa_memops.c
-rw-r--r--  1 root  wheel   347 17 ene 10:48 patch-drivers-dummy-dummy_driver.c
-rw-r--r--  1 root  wheel   353 17 ene 10:48 patch-drivers-dummy-dummy_driver.h
-rw-r--r--  1 root  wheel  1412 17 ene 10:48 patch-drivers-oss-oss_driver.c
-rw-r--r--  1 root  wheel   344 17 ene 10:48 patch-jack.pc.in
-rw-r--r--  1 root  wheel   659 17 ene 10:48 patch-jackd_engine.c
ports/audio/jack]$ fgrep fork  files/*

I will try it out; thanks for the pointer.

matthias

-- 
Matthias Apitz, g...@unixarea.de, http://www.unixarea.de/ +49-170-4527211
+49-176-38902045
"Wenn der Mensch von den Umständen gebildet wird, so muß man die Umstände 
menschlich bilden."
"Si el hombre es formado por las circunstancias entonces es necesario formar 
humanamente
las circunstancias", Karl Marx in Die heilige Familie / La sagrada familia (MEW 
2, 138)
___
kde-freebsd mailing list
kde-freebsd@kde.org
https://mail.kde.org/mailman/listinfo/kde-freebsd
See also http://freebsd.kde.org/ for latest information


Re: [kde-freebsd] kbiff && zombies

2015-06-02 Thread Matthias Apitz
El día Tuesday, June 02, 2015 a las 12:22:21PM +0200, Matthias Apitz escribió:

> 
> Hello,
> 
> This is with KDE 4.14.2 on 11-CURRENT. I'm using kbiff 4.0_4 (all from
> ports) to announce incoming mails in my local mbox. This works fine, but
> it seems that it gives every time 3 new zombies:
> 

Sometimes I have the feeling that I am the only one who uses KDE on
FreeBSD or that this mailing-list is set to 'send only' :-(

If one is looking into the archives of this list, there are nearly only
commit messages etc. Is there any other point to which direct such
questions or problem reports as mine?

Thanks

matthias
-- 
Matthias Apitz, g...@unixarea.de, http://www.unixarea.de/ +49-170-4527211
+49-176-38902045
"Wenn der Mensch von den Umständen gebildet wird, so muß man die Umstände 
menschlich bilden."
"Si el hombre es formado por las circunstancias entonces es necesario formar 
humanamente
las circunstancias", Karl Marx in Die heilige Familie / La sagrada familia (MEW 
2, 138)
___
kde-freebsd mailing list
kde-freebsd@kde.org
https://mail.kde.org/mailman/listinfo/kde-freebsd
See also http://freebsd.kde.org/ for latest information


[kde-freebsd] kbiff && zombies

2015-06-02 Thread Matthias Apitz

Hello,

This is with KDE 4.14.2 on 11-CURRENT. I'm using kbiff 4.0_4 (all from
ports) to announce incoming mails in my local mbox. This works fine, but
it seems that it gives every time 3 new zombies:

$ ps ax
...
3236  3  S+ 0:04,55 truss -o kbiff.tr kbiff
3237  3  SX+0:03,90 kbiff
3274  3  Z+ 0:00,00 
3275  3  Z+ 0:00,00 
3276  3  Z+ 0:00,00 

$ egrep '= 3274 |= 3275 |= 3276 ' kbiff.tr
vfork()  = 3274 (0xcca)
vfork()  = 3275 (0xccb)
vfork()  = 3276 (0xccc)

looking into the truss, it seems that it has todo with starting the
jackd:

access("/sbin/jackd",1)  ERR#2 'No such file or 
directory'
access("/bin/jackd",1)   ERR#2 'No such file or 
directory'
access("/usr/sbin/jackd",1)  ERR#2 'No such file or 
directory'
access("/usr/bin/jackd",1)   ERR#2 'No such file or 
directory'
access("/usr/games/jackd",1) ERR#2 'No such file or 
directory'
access("/usr/local/sbin/jackd",1)ERR#2 'No such file or 
directory'
access("/usr/local/bin/jackd",1) = 0 (0x0)
pipe2(0xbfbfbedc,0x10,0x0,0x0,0x0,0x0)   = 0 (0x0)
vfork()  = 3276 (0xccc)
fcntl(22,F_GETFL,)   = 2 (0x2)

$ pkg which /usr/local/bin/jackd
/usr/local/bin/jackd was installed by package jackit-0.121.3_5

Any idea?

matthias

-- 
Matthias Apitz, g...@unixarea.de, http://www.unixarea.de/ +49-170-4527211
+49-176-38902045
"Wenn der Mensch von den Umständen gebildet wird, so muß man die Umstände 
menschlich bilden."
"Si el hombre es formado por las circunstancias entonces es necesario formar 
humanamente
las circunstancias", Karl Marx in Die heilige Familie / La sagrada familia (MEW 
2, 138)
___
kde-freebsd mailing list
kde-freebsd@kde.org
https://mail.kde.org/mailman/listinfo/kde-freebsd
See also http://freebsd.kde.org/ for latest information


Re: [kde-freebsd] KDE 4.14.2 *very* inresponsive to mouse events

2015-05-15 Thread Matthias Apitz
El día Friday, May 15, 2015 a las 08:25:27AM +0200, Matthias Apitz escribió:

> I have a system with a 11-CURRENT r276659 amd64 and KDE 4.14.2 (all ports 
> compiled out
> of SVN from January this year and installed as packages yesterday) on a
> new netbook Acer C720 with 4 GByte RAM.
> 
> The system is very fast, KDE boots up from 'startx' in 25 seconds. The
> KDE env was created in an empty HOME by the 1st KDE start. It is not
> manageable with the mouse. The mouse itself is fine (checked with 'xev')
> and the start of components is fast too (for example when one starts
> 'konqueror' from a xterm shell cmd line).
> 
> But, if you start something with the moues, it is inresponsive. For
> example a click in the KDE-menu icon takes 1 minute to bring up the
> control panel, and when you click there 'System Settings', it takes
> another minute to bring up this window.
> 
> Where to look now? Thanks

I figured out what is causing the problem. In the dir ~/.kde4/Autostart/
for some error was located a normal text file without exec permissions;

$ ls -l .kde4/Autostart/
total 8
-rw-r--r--  1 guru  wheel 4 15 may 21:03 foo.txt

this brings up some process:

4239  -  I 0:00,07 kdeinit4: kdeinit4: kate -b 
/home/guru/.kde4/Autostart/foo.txt (kdeinit

which makes the full KDE unuseable; you can just try this :-) and remove
the file again and all is fine;

Where should I file a bug report?

matthias

-- 
Matthias Apitz, g...@unixarea.de, http://www.unixarea.de/ +49-170-4527211
+49-176-38902045
"Wenn der Mensch von den Umständen gebildet wird, so muß man die Umstände 
menschlich bilden."
"Si el hombre es formado por las circunstancias entonces es necesario formar 
humanamente
las circunstancias", Karl Marx in Die heilige Familie / La sagrada familia (MEW 
2, 138)
___
kde-freebsd mailing list
kde-freebsd@kde.org
https://mail.kde.org/mailman/listinfo/kde-freebsd
See also http://freebsd.kde.org/ for latest information


[kde-freebsd] KDE 4.14.2 *very* inresponsive to mouse events

2015-05-14 Thread Matthias Apitz

Hello,

I have a system with a 11-CURRENT r276659 amd64 and KDE 4.14.2 (all ports 
compiled out
of SVN from January this year and installed as packages yesterday) on a
new netbook Acer C720 with 4 GByte RAM.

The system is very fast, KDE boots up from 'startx' in 25 seconds. The
KDE env was created in an empty HOME by the 1st KDE start. It is not
manageable with the mouse. The mouse itself is fine (checked with 'xev')
and the start of components is fast too (for example when one starts
'konqueror' from a xterm shell cmd line).

But, if you start something with the moues, it is inresponsive. For
example a click in the KDE-menu icon takes 1 minute to bring up the
control panel, and when you click there 'System Settings', it takes
another minute to bring up this window.

Where to look now? Thanks

matthias
-- 
Matthias Apitz, g...@unixarea.de, http://www.unixarea.de/ +49-170-4527211
+49-176-38902045
"Wenn der Mensch von den Umständen gebildet wird, so muß man die Umstände 
menschlich bilden."
"Si el hombre es formado por las circunstancias entonces es necesario formar 
humanamente
las circunstancias", Karl Marx in Die heilige Familie / La sagrada familia (MEW 
2, 138)
___
kde-freebsd mailing list
kde-freebsd@kde.org
https://mail.kde.org/mailman/listinfo/kde-freebsd
See also http://freebsd.kde.org/ for latest information


Re: [kde-freebsd] critical level of battery but no shutdown

2015-03-05 Thread Matthias Apitz
El día Wednesday, March 04, 2015 a las 01:47:17PM -0500, Anthony Jenkins 
escribió:

> KDE4 does allows normal (unprivileged) users to shut the system down,
> but that is probably via KDM, which is started as root.  If KDE4 is
> using KDM to power off the system, and you're not using KDM, that might
> explain the problem.  Not sure what KDE4 does when it wasn't started via
> KDM... can you post your ${HOME}/.xsession-errors file somewhere, after
> allowing the battery to drain below the "critical" watermark?

There is no further indication in ${HOME}/.xsession-errors file;

I configured now the notifications in System Settings -- Notifications
for the events Battery Low / Battery Critical and launch the attached
script with argument 'low' or 'critical'.

This does its job now. Thanks


#!/bin/sh
#
# will be run when battery reaches critical level
# note: the user must be in group 'operator'
#
# co g...@unixarea.de

test .$1 = .low &&  {
   printf "battery reached level 'low' (10%%), shutdown at level 5%%\n" | wall
   }

test .$1 = .critical &&  {
   printf "battery reached level 'critical' (5%%), shutdown in 30 secs !!!\n" | 
wall
   /sbin/shutdown -p +30s
   }
-- 
Matthias Apitz, g...@unixarea.de, http://www.unixarea.de/ +49-170-4527211
La referencia de la Duma a la anexión de la RDA, en este caso al contrario con 
la Crimlía sin
referéndum, no solamente tiene gracia sino da en el blanco.- 
Marinos Yannikos @MarinosYannikos en un blog de RTdeutsch.
___
kde-freebsd mailing list
kde-freebsd@kde.org
https://mail.kde.org/mailman/listinfo/kde-freebsd
See also http://freebsd.kde.org/ for latest information


  1   2   3   >