Bug#1071436: qt6: mixing incompatible versions is not precluded

2024-05-19 Thread Oswald Buddenhagen
Package: qt6-5compat-dev
Version: 6.6.2-1+b1
Severity: normal

i installed qt6-l10n-tools 6.6 from experimental, which also upgraded
qtbase and some other packages. however, it left qt6-5compat-dev at the
unstable 6.4, thus breaking subsequent builds due to binary
incompatibility; i got a bunch of errors looking like

  /usr/bin/ld: /usr/lib/x86_64-linux-gnu/libQt6Core5Compat.so.6.4.2: undefined 
reference to `QUtf16::convertToUnicode(QByteArrayView, 
QStringConverterBase::State*, DataEndianness)@Qt_6'


manually pulling qt6-5compat-dev from experimental as well fixed the
problem.



Bug#1038699: more info

2023-07-14 Thread Oswald Buddenhagen

turns out my suspicion was correct.
the issue is tracked upstream at 
https://bugreports.qt.io/browse/QTBUG-87776 .

please re-open the bug and retitle it appropriately.



Bug#1038699: closed by Patrick Franz ()

2023-06-21 Thread Oswald Buddenhagen

huh?

if the declaration of the private dependency is just missing in that qtc 
plugin, then fair enough. but that doesn't explain the total garbage 
error message which suggests some kind of internal error (it sort of 
suggests that an incomplete package is installed like in the other bug i 
reported, except that it's just not there).


please investigate whether this is a result of splitting, and forward 
the bug to upstream with your findings.




Bug#1038693: qt6-declarative-dev: inappropriately included cmake file

2023-06-20 Thread Oswald Buddenhagen
cmake files are necessary for static builds, because the "plugins" 
aren't actually plugins then. at least i'm assuming that this 
functionality wasn't lost during the cmake port ...


plugins may also be listed as runtime dependencies for deployment.  
theoretically - whether that was actually implemented, i don't know.


neither of these are immediately relevant for a regular desktop build, 
but you shouldn't be surprised when applications fail to build due to 
formally missing dependencies.




Bug#1038699: qt6-declarative-dev: files missing ... somehow

2023-06-20 Thread Oswald Buddenhagen
Package: qt6-declarative-dev
Version: 6.4.2+dfsg-1
Severity: normal

while building qt creator, cmake spits out this message during the 
generation phase (that is, after configuration is done):

==
CMake Error in src/plugins/qmldesigner/CMakeLists.txt:
  Imported target "Qt::QmlPrivate" includes non-existent path

"/usr/include/x86_64-linux-gnu/qt6/QtQml/6.4.2"

  in its INTERFACE_INCLUDE_DIRECTORIES.  Possible reasons include:

  * The path was deleted, renamed, or moved to another location.

  * An install or uninstall procedure did not complete successfully.

  * The installation package was faulty and references files it does not
  provide.
==

i have no clue where this is coming from, because there are no obvious 
hits for QmlPrivate in the cmake directory.

but once i install qt6-declarative-private-dev, the error goes away.

i suppose this might be some dynamic magic in the upstream code that 
isn't prepared for actually being split into public and private.

-- System Information:
Debian Release: trixie/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 6.3.0-1-amd64 (SMP w/8 CPU threads; PREEMPT)
Kernel taint flags: TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE
Locale: LANG=C, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages qt6-declarative-dev depends on:
ii  libqt6labsanimation6   6.4.2+dfsg-1
ii  libqt6labsfolderlistmodel6 6.4.2+dfsg-1
ii  libqt6labsqmlmodels6   6.4.2+dfsg-1
ii  libqt6labssettings66.4.2+dfsg-1
ii  libqt6labssharedimage6 6.4.2+dfsg-1
ii  libqt6labswavefrontmesh6   6.4.2+dfsg-1
ii  libqt6opengl6-dev  6.4.2+dfsg-11
ii  libqt6qml6 6.4.2+dfsg-1
ii  libqt6qmlcompiler6 6.4.2+dfsg-1
ii  libqt6qmlcore6 6.4.2+dfsg-1
ii  libqt6qmllocalstorage6 6.4.2+dfsg-1
ii  libqt6qmlmodels6   6.4.2+dfsg-1
ii  libqt6qmlworkerscript6 6.4.2+dfsg-1
ii  libqt6qmlxmllistmodel6 6.4.2+dfsg-1
ii  libqt6quick6   6.4.2+dfsg-1
ii  libqt6quickcontrols2-6 6.4.2+dfsg-1
ii  libqt6quickcontrols2impl6  6.4.2+dfsg-1
ii  libqt6quickdialogs2-6  6.4.2+dfsg-1
ii  libqt6quickdialogs2quickimpl6  6.4.2+dfsg-1
ii  libqt6quickdialogs2utils6  6.4.2+dfsg-1
ii  libqt6quicklayouts66.4.2+dfsg-1
ii  libqt6quickparticles6  6.4.2+dfsg-1
ii  libqt6quickshapes6 6.4.2+dfsg-1
ii  libqt6quicktemplates2-66.4.2+dfsg-1
ii  libqt6quicktest6   6.4.2+dfsg-1
ii  libqt6quickwidgets66.4.2+dfsg-1
ii  qt6-base-dev   6.4.2+dfsg-11
ii  qt6-declarative-dev-tools  6.4.2+dfsg-1
ii  qt6-qmltooling-plugins 6.4.2+dfsg-1

qt6-declarative-dev recommends no packages.

qt6-declarative-dev suggests no packages.

-- no debconf information



Bug#1038693: qt6-declarative-dev: inappropriately included cmake file

2023-06-20 Thread Oswald Buddenhagen
Package: qt6-declarative-dev
Version: 6.4.2+dfsg-1
Severity: normal

trying to build qt creator, i got this error message:

===
CMake Error at 
/usr/lib/x86_64-linux-gnu/cmake/Qt6QmlCompilerPrivate/Qt6QmlLintQuickPluginTargets.cmake:96
 (message):
  The imported target "Qt6::QmlLintQuickPlugin" references the file

 "/usr/lib/x86_64-linux-gnu/qt6/plugins/qmllint/libquicklintplugin.so"

  but this file does not exist.  Possible reasons include:

  * The file was deleted, renamed, or moved to another location.

  * An install or uninstall procedure did not complete successfully.

  * The installation package was faulty and contained

 
"/usr/lib/x86_64-linux-gnu/cmake/Qt6QmlCompilerPrivate/Qt6QmlLintQuickPluginTargets.cmake"

  but not all the files it references.
===

installing qt6-qmllint-plugins fixes the issue.
i suppose you might need to split off qt6-qmllint-plugins-dev.


-- System Information:
Debian Release: trixie/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 6.3.0-1-amd64 (SMP w/8 CPU threads; PREEMPT)
Kernel taint flags: TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE
Locale: LANG=C, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages qt6-declarative-dev depends on:
ii  libqt6labsanimation6   6.4.2+dfsg-1
ii  libqt6labsfolderlistmodel6 6.4.2+dfsg-1
ii  libqt6labsqmlmodels6   6.4.2+dfsg-1
ii  libqt6labssettings66.4.2+dfsg-1
ii  libqt6labssharedimage6 6.4.2+dfsg-1
ii  libqt6labswavefrontmesh6   6.4.2+dfsg-1
ii  libqt6opengl6-dev  6.4.2+dfsg-11
ii  libqt6qml6 6.4.2+dfsg-1
ii  libqt6qmlcompiler6 6.4.2+dfsg-1
ii  libqt6qmlcore6 6.4.2+dfsg-1
ii  libqt6qmllocalstorage6 6.4.2+dfsg-1
ii  libqt6qmlmodels6   6.4.2+dfsg-1
ii  libqt6qmlworkerscript6 6.4.2+dfsg-1
ii  libqt6qmlxmllistmodel6 6.4.2+dfsg-1
ii  libqt6quick6   6.4.2+dfsg-1
ii  libqt6quickcontrols2-6 6.4.2+dfsg-1
ii  libqt6quickcontrols2impl6  6.4.2+dfsg-1
ii  libqt6quickdialogs2-6  6.4.2+dfsg-1
ii  libqt6quickdialogs2quickimpl6  6.4.2+dfsg-1
ii  libqt6quickdialogs2utils6  6.4.2+dfsg-1
ii  libqt6quicklayouts66.4.2+dfsg-1
ii  libqt6quickparticles6  6.4.2+dfsg-1
ii  libqt6quickshapes6 6.4.2+dfsg-1
ii  libqt6quicktemplates2-66.4.2+dfsg-1
ii  libqt6quicktest6   6.4.2+dfsg-1
ii  libqt6quickwidgets66.4.2+dfsg-1
ii  qt6-base-dev   6.4.2+dfsg-11
ii  qt6-declarative-dev-tools  6.4.2+dfsg-1
ii  qt6-qmltooling-plugins 6.4.2+dfsg-1

qt6-declarative-dev recommends no packages.

qt6-declarative-dev suggests no packages.

-- no debconf information



Bug#1017591: libkf5service5: missing symbols in library

2022-08-17 Thread Oswald Buddenhagen
Package: libkf5service5
Version: 5.97.0-1
Severity: grave
Justification: renders package unusable

/usr/bin/startplasma-x11: symbol lookup error: 
/usr/lib/x86_64-linux-gnu/libKF5Service.so.5: undefined symbol: 
_ZN8KSandbox9isFlatpakEv


-- System Information:
Debian Release: bookworm/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 5.18.0-4-amd64 (SMP w/8 CPU threads; PREEMPT)
Kernel taint flags: TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE
Locale: LANG=C, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages libkf5service5 depends on:
ii  libc6   2.34-4
ii  libkf5configcore5   5.97.0-1
ii  libkf5coreaddons5   5.97.0-1
ii  libkf5dbusaddons5   5.97.0-1
ii  libkf5i18n5 5.97.0-1
ii  libkf5service-data  5.97.0-1
ii  libqt5core5a5.15.4+dfsg-5
ii  libqt5dbus5 5.15.4+dfsg-5
ii  libqt5xml5  5.15.4+dfsg-5
ii  libstdc++6  12.1.0-8

Versions of packages libkf5service5 recommends:
ii  libkf5service-bin  5.97.0-1

libkf5service5 suggests no packages.

-- no debconf information



Bug#952718: qtcreator: Clang code model fail to find stddef.h if libclang-common-8-dev package is not installed

2020-04-03 Thread Oswald Buddenhagen
Package: qtcreator
Version: 4.11.0-2
Followup-For: Bug #952718

i just wasted about half an hour on researching this, so i'll summarize 
my current understanding:

libclang-N needs to depend on libclang-common-N-dev, as otherwise it's 
dysfunctional.

failing that, qtcreator needs to recommend libclang-common-N-dev. this 
could be upgraded to depends if the clang-related plugins incl.  
libclangsupport are factored out to a separate qtcreator sub-package 
which qtcreator recommends.
alternatively, this approach could be used to isolate the libclang-N 
dependency itself.

that qtcreator's code model technically uses the wrong headers is 
correct, but orthogonal to the issue, and usually not problematic (which 
is why the approach was deemed accepatable in the first place).



Bug#913679: kopete: libjingle-call keeps crashing

2018-11-13 Thread Oswald Buddenhagen
Package: kopete
Version: 4:17.08.3-2
Severity: important

when an xmpp account is configured and "Enable libjingle support" is
enabled, kopete will spawn libjingle-call (being online is apparently
sufficient). this will immediately crash, leaving such an entry in
the journal:

Nov 14 00:23:30 host kernel: libjingle-call[6998]: segfault at 48 ip 
7fa8d882ec73 sp 7ffe90fdb610 error 4 in 
libcrypto.so.1.1[7fa8d87f1000+19f000]
Nov 14 00:23:30 host kernel: Code: 40 24 01 00 00 00 4c 89 e2 c7 40 50 01 00 00 
00 0f ae f0 e8 ff 35 fc ff 85 c0 74 6c e8 86 4c fc ff 48 89 43 70 48 85 c0 74 
2d <48> 8b 45 48 48 85 c0 74 74 48 89 df ff d0 85 c0 0f 84 a7 00 00 00 [...]

the executable will be instantly respawned, which on my system produces
about six entries per second. within some hours, the disk fills up,
rendering the system unusable.

the non-existing handling of the "keeps crashing" situation is certainly
an upstream issue. but the crash itself may be related to the packaging.

here's an actual backtrace:

#0  BIO_new (method=0x0) at ../crypto/bio/bio_lib.c:94
#1  0x555fe062667a in BIO_new_socket (socket=0x555fe17fee08) at 
./protocols/jabber/libjingle/talk/base/openssladapter.cc:123
#2  0x555fe0626fc3 in talk_base::OpenSSLAdapter::BeginSSL 
(this=this@entry=0x555fe17fef10) at 
./protocols/jabber/libjingle/talk/base/openssladapter.cc:345
#3  0x555fe0627122 in talk_base::OpenSSLAdapter::StartSSL 
(hostname=0x555fe17ff700 "kde.org", restartable=, 
this=0x555fe17fef10) at 
./protocols/jabber/libjingle/talk/base/openssladapter.cc:320
#4  talk_base::OpenSSLAdapter::StartSSL (this=0x555fe17fef10, 
hostname=0x555fe17ff700 "kde.org", restartable=) at 
./protocols/jabber/libjingle/talk/base/openssladapter.cc:307
#5  0x555fe0799413 in XmppSocket::StartTls (domainname=..., 
this=0x555fe17fdca0) at /usr/include/c++/8/bits/basic_string.h:2290
#6  XmppSocket::StartTls (this=0x555fe17fdca0, domainname=...) at 
./protocols/jabber/libjingle/talk/examples/login/xmppsocket.cc:227
#7  0x555fe07749e3 in buzz::XmppEngineImpl::StartTls (this=0x555fe17ff610, 
domain=...) at /usr/include/c++/8/bits/basic_string.h:1031
#8  0x555fe0777507 in buzz::XmppLoginTask::Advance 
(this=this@entry=0x555fe17ffe60) at 
./protocols/jabber/libjingle/talk/xmpp/jid.h:55
#9  0x555fe0777c20 in buzz::XmppLoginTask::Advance (this=0x555fe17ffe60) at 
./protocols/jabber/libjingle/talk/xmpp/xmpplogintask.cc:98
#10 buzz::XmppLoginTask::IncomingStanza (this=0x555fe17ffe60, 
element=element@entry=0x555fe1801a90, isStart=isStart@entry=false) at 
./protocols/jabber/libjingle/talk/xmpp/xmpplogintask.cc:85
#11 0x555fe0773c16 in buzz::XmppEngineImpl::IncomingStanza 
(this=0x555fe17ff610, stanza=0x555fe1801a90) at 
./protocols/jabber/libjingle/talk/xmpp/xmppengineimpl.cc:306
#12 0x555fe0777dbf in buzz::XmppStanzaParser::IncomingEndElement 
(name=, pctx=, this=0x555fe17ff628) at 
./protocols/jabber/libjingle/talk/xmpp/xmppstanzaparser.cc:93
#13 buzz::XmppStanzaParser::IncomingEndElement (this=0x555fe17ff628, 
pctx=, name=) at 
./protocols/jabber/libjingle/talk/xmpp/xmppstanzaparser.cc:82
#14 0x7f4731f203ff in doContent (parser=parser@entry=0x555fe17ff920, 
startTagLevel=startTagLevel@entry=0, enc=, s=, 
end=0x555fe18005cb "", nextPtr=0x555fe17ff950, haveMore=1 '\001')
at ../../src/lib/xmlparse.c:2924
#15 0x7f4731f214bc in contentProcessor (parser=0x555fe17ff920, 
start=, end=, endPtr=) at 
../../src/lib/xmlparse.c:2552
#16 0x7f4731f23a06 in XML_ParseBuffer (parser=0x555fe17ff920, len=50, 
isFinal=0) at ../../src/lib/xmlparse.c:1988
#17 0x555fe074d9c3 in buzz::XmlParser::Parse (this=0x555fe17ff640, 
data=, len=, isFinal=isFinal@entry=false) at 
./protocols/jabber/libjingle/talk/xmllite/xmlparser.cc:172
#18 0x555fe074dbe8 in buzz::XmlParser::Parse (this=, 
data=, len=, isFinal=isFinal@entry=false) at 
./protocols/jabber/libjingle/talk/xmllite/xmlparser.cc:169
#19 0x555fe0774cad in buzz::XmppStanzaParser::Parse (isFinal=false, 
len=, data=, this=) at 
./protocols/jabber/libjingle/talk/xmpp/xmppstanzaparser.h:52
#20 buzz::XmppEngineImpl::HandleInput (this=, bytes=, len=) at 
./protocols/jabber/libjingle/talk/xmpp/xmppengineimpl.cc:109
#21 0x555fe076fef4 in buzz::XmppClient::Private::OnSocketRead 
(this=0x555fe17fd370) at 
./protocols/jabber/libjingle/talk/xmpp/xmppclient.cc:350
#22 0x555fe0799805 in 
sigslot::signal0::operator() (this=0x555fe17fdd08) at 
/usr/include/c++/8/bits/stl_list.h:301
#23 XmppSocket::OnReadEvent (this=0x555fe17fdca0, socket=) at 
./protocols/jabber/libjingle/talk/examples/login/xmppsocket.cc:88
#24 0x555fe0626e58 in sigslot::signal1::operator() (a1=0x555fe17fef10, this=0x555fe17fef18) 
at /usr/include/c++/8/bits/stl_list.h:301
#25 talk_base::AsyncSocketAdapter::OnReadEvent (socket=, 
this=0x555fe17fef10) at ./protocols/jabber/libjingle/talk/base/asyncsocket.h:119
#26 talk_base::OpenSSLAdapter::OnReadEvent (this=0x555fe17fef10, 
socket=) at 

Bug#843395: qtcreator: missing dependency to qml-module-qtqml-models2

2016-11-06 Thread Oswald Buddenhagen
Package: qtcreator
Version: 4.1.0-3+b1
Severity: normal

switching to the welcome screen yields this message:

 qrc:/timeline/TimelineContent.qml:29:1: module "QtQml.Models" is not installed

installing qml-module-qtqml-models2 manually makes it go away.

(the welcome screen is still empty even with that fixed, but whatever ...)

-- System Information:
Debian Release: stretch/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.8.5 (SMP w/4 CPU cores; PREEMPT)
Locale: LANG=C, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages qtcreator depends on:
ii  libbotan-1.10-1   1.10.12-1.1
ii  libc6 2.24-5
ii  libclang1-3.8 1:3.8.1-13
ii  libgcc1   1:6.2.0-11
ii  libqbscore1   1.6.0+dfsg-2
ii  libqbsqtprofilesetup1 1.6.0+dfsg-2
ii  libqt5concurrent5 5.7.1~20161021+dfsg-5
ii  libqt5core5a  5.7.1~20161021+dfsg-5
ii  libqt5designer5   5.7.1~20161021-2
ii  libqt5designercomponents5 5.7.1~20161021-2
ii  libqt5gui55.7.1~20161021+dfsg-5
ii  libqt5help5   5.7.1~20161021-2
ii  libqt5network55.7.1~20161021+dfsg-5
ii  libqt5printsupport5   5.7.1~20161021+dfsg-5
ii  libqt5qml5 [qtdeclarative-abi-5-7-0]  5.7.1~20161021-4
ii  libqt5quick5  5.7.1~20161021-4
ii  libqt5quickwidgets5   5.7.1~20161021-4
ii  libqt5sql55.7.1~20161021+dfsg-5
ii  libqt5sql5-sqlite 5.7.1~20161021+dfsg-5
ii  libqt5webkit5 5.7.1~20161021+dfsg-2
ii  libqt5widgets55.7.1~20161021+dfsg-5
ii  libqt5xml55.7.1~20161021+dfsg-5
ii  libstdc++66.2.0-11
ii  qml-module-qtquick-controls   5.7.1~20161021-2
ii  qml-module-qtquick2   5.7.1~20161021-4
ii  qtchooser 58-gfab25f1-1
ii  qtcreator-data4.1.0-3

Versions of packages qtcreator recommends:
ii  clang1:3.8-34
ii  gdb  7.11.1-2
ii  make 4.1-9
ii  qmlscene 5.7.1~20161021-4
ii  qt5-doc  5.6.1-1
ii  qt5-qmltooling-plugins   5.7.1~20161021-4
ii  qtbase5-dev-tools5.7.1~20161021+dfsg-5
ii  qtcreator-doc4.1.0-3
ii  qtdeclarative5-dev-tools 5.7.1~20161021-4
ii  qttools5-dev-tools   5.7.1~20161021-2
ii  qttranslations5-l10n 5.7.1~20161021-1
ii  qtxmlpatterns5-dev-tools 5.7.1~20161021-3
ii  xterm [x-terminal-emulator]  327-1

Versions of packages qtcreator suggests:
pn  cmake  
ii  g++4:6.1.1-1
pn  git
ii  kdelibs5-data  4:4.14.25-1
ii  subversion 1.9.4-3+b1

-- no debconf information



Bug#473373: (no subject)

2008-03-30 Thread Oswald Buddenhagen
this is no bug, but a feature. --nograb works only for debug
builds.



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Bug#265920: branches/KDE/3.5/kdebase/kdm/backend

2005-12-25 Thread Oswald Buddenhagen
SVN commit 491293 by ossi:

don't remove xdmctl/. it was meant to be nice (clean up your crap,
dude), but it causes problems for SE Linux. xauth/ was never removed,
either, so no loss. this fixes
CCMAIL: [EMAIL PROTECTED]


 M  +0 -4  ctrl.c  


--- branches/KDE/3.5/kdebase/kdm/backend/ctrl.c #491292:491293
@@ -191,8 +191,6 @@
unlink( cr-path );
*strrchr( cr-path, '/' ) = 0;
rmdir( cr-path );
-   *strrchr( cr-path, '/' ) = 0;
-   rmdir( cr-path );
free( cr-path );
cr-path = 0;
while (cr-css) {
@@ -206,8 +204,6 @@
CloseNClearCloseOnFork( cr-fifo.fd );
cr-fifo.fd = -1;
unlink( cr-fpath );
-   *strrchr( cr-fpath, '/' ) = 0;
-   rmdir( cr-fpath );
free( cr-fpath );
cr-fpath = 0;
if (cr-fifo.buffer)



Bug#263449: a clue

2004-08-13 Thread Oswald Buddenhagen
the problem is the -nolisten tcp in the Xservers file: kdm uses the
command for the remote query server as well. i have no really clever
idea now to fix it ...
please forward upstream.



Bug#247193: kdm: reserve doesn't seem to work

2004-05-07 Thread Oswald Buddenhagen
ok, applied.

 For Oswald, or other KDE'ers, I'd also like to suggest this
 information be incorporated into the kdm manual.  Currently it has no
 mention of reserve. 

there are two reasons for this. the first one is the constant lack of
somebody capable of updating the doc in a useful way. the second one
is, that the reserve display feature is only semi-official as of now - i
want proper desktop integration (gui for switching displays in kicker,
kdesktop and kdesktop_lock), and an interactive shutdown protection in
kdm to prevent users from nuking forgotten sessions.



Re: KDE Logout Script

2004-04-07 Thread Oswald Buddenhagen
On Tue, Apr 06, 2004 at 10:53:39PM +, Bub Slug wrote:
 Can anyone shed some light on how I get a script to execute when I exit
 KDE.
 
have a look at the end of startkde, it should become obvious from that.

greetings

-- 
Hi! I'm a .signature virus! Copy me into your ~/.signature, please!
--
Chaos, panic, and disorder - my work here is done.




[a.licher@mbn.de: [Bug 77995] New: kdmgreet crashes when doing /etc/init.d/kdm restart and xfstt is running and its usage is configured in /etc/X11/XF86Config-4]

2004-03-19 Thread Oswald Buddenhagen
does this sound familiar to somebody?

greetings

-- 
Hi! I'm a .signature virus! Copy me into your ~/.signature, please!
--
Chaos, panic, and disorder - my work here is done.
---BeginMessage---
--- You are receiving this mail because: ---
You are the assignee for the bug, or are watching the assignee.
  
http://bugs.kde.org/show_bug.cgi?id=77995  
   Summary: kdmgreet crashes when doing /etc/init.d/kdm restart and
xfstt is running and its usage is configured in
/etc/X11/XF86Config-4
   Product: kdm
   Version: unspecified
  Platform: Debian stable
OS/Version: Linux
Status: UNCONFIRMED
  Severity: crash
  Priority: NOR
 Component: general
AssignedTo: ossi kde org
ReportedBy: a.licher mbn de


Version:(using KDE KDE 3.2.0)
Installed from:Debian stable Packages
OS:  Linux

I want to use TrueType-Fonts under KDE 3.2 on Debian woody (KDE 3.2 binary 
packges downloaded and installed from the official KDE download servers).

I did the following according to http://www.tldp.org/HOWTO/TT-Debian-3.html 
(TrueType under Debian Mini-HOWTO):

1. apt-get install xfstt
   # install  run xfstt

2. copied some Windows TrueType fonts to /usr/share/fonts/truetype
   (all font files have lowercase names) 
   # fonts to font directory

3. chmod 0444 /usr/share/fonts/truetype/*
   # set correct rights

4. /etc/init.d/xfstt force-reload
   # reload font server config

5. /etc/X11/XF86Config-4
   Section Files
   FontPath   unix/:7101  # -- xfstt
   FontPath   unix/:7100
   ...
   EndSection
   # added FontPath for xfstt

5. /etc/init.d/kdm restart
   # restart kdm

6. kdmgreet #crashes# with window displaying the KDE crash bomb,
   telling that kdmgreet caused the SIGSEGV signal ...

When stopping xfstt, everything runs very well again.
---End Message---


Re: KDM hang after login

2004-03-09 Thread Oswald Buddenhagen
On Tue, Mar 09, 2004 at 09:41:18AM +, Andrew Ingram wrote:
 Is there a way to make KDM default to selecting KDE as the session type?
 
sure there would be, but i think default is a better default.
to make default kde for all users (like it is in upstream kde), you have
to patch Xsession.

greetings

-- 
Hi! I'm a .signature virus! Copy me into your ~/.signature, please!
--
Chaos, panic, and disorder - my work here is done.




Re: Upgrade to KDE-3.2.1

2004-03-08 Thread Oswald Buddenhagen
On Mon, Mar 08, 2004 at 02:36:00PM +0100, Hendrik Sattler wrote:
 I am somewhat tired to redo my configuration of KDM every time an upgrade 
 comes in. There are so many changes in the config file that I somewhat doubt 
 that it will run with my old config file.
 That may be because the current simple diffing of config files with dpkg 
 really sucks.
 
the answer to these problems is genkdmconf. overwrite should call it
with --no-old, keep without options. with some minor patching it could
be perfectly integrated into the debian packaging system.

greetings

-- 
Hi! I'm a .signature virus! Copy me into your ~/.signature, please!
--
Chaos, panic, and disorder - my work here is done.




Re: GUI Interface To KDM

2004-02-29 Thread Oswald Buddenhagen
On Sun, Feb 29, 2004 at 09:21:30PM -0500, Robert Tilley wrote:
 Does a GUI interface to kdm exist?  The documentation for kdm instructs that 
 the addition of new session types has changed in 3.2 but does not include 
 examples.
 
there is a whole load of them in /usr/share/apps/kdm/sessions (or
something like that, dunno the debian packaging exactly).
a gui is planned, btw. i prefer non-gui work, though, so if somebody
else wants to do it ...

greetings

-- 
Hi! I'm a .signature virus! Copy me into your ~/.signature, please!
--
Chaos, panic, and disorder - my work here is done.




Re: KDE3.2 greeter plugin

2004-02-08 Thread Oswald Buddenhagen
On Sun, Feb 08, 2004 at 04:35:34PM -0600, Chris Cheney wrote:
 On Sat, Feb 07, 2004 at 04:08:38PM +0100, Oswald Buddenhagen wrote:
  that's another case of the packagers screwed it ;). the greeter
  plugins are located in the kdm sources, but are shared between
  kdesktop_lock and kdm - separate package on which kdm and kdesktop (or
  whatever the package is named) must depend on.
 
 Or alternatively, upstream is fucking braindead and threw shit together
 randomly and called it kdebase... 8)
 
yes, but you're not supposed to say that aloud ... :

greetings

-- 
Hi! I'm a .signature virus! Copy me into your ~/.signature, please!
--
Chaos, panic, and disorder - my work here is done.




Re: KDE3.2 greeter plugin

2004-02-07 Thread Oswald Buddenhagen
On Sat, Feb 07, 2004 at 02:19:15PM +, Michael Rex wrote:
 I upgraded to KDE 3.2 without much hassle, yet there is one problem I
 can't find a solution for. When i try to lock the screen it fails
 saying:
 
 Will not lock the screen, as unlocking would be impossible:
 No appropriate greeter plugin configured.
 
install kdm and everything will be fine.
that's another case of the packagers screwed it ;). the greeter
plugins are located in the kdm sources, but are shared between
kdesktop_lock and kdm - separate package on which kdm and kdesktop (or
whatever the package is named) must depend on.

greetings

-- 
Hi! I'm a .signature virus! Copy me into your ~/.signature, please!
--
Chaos, panic, and disorder - my work here is done.




Bug#225285: KDM fails to redisplay login screen after session ends

2003-12-30 Thread Oswald Buddenhagen
obviously the display subdaemon abort()s ... i need a backtrace of
this. read the it doesn't work section in 
http://ktown.kde.org/~ossi/files/kdm/README if you don't know how to
proceed.



Re: KDM + environment variables

2003-10-04 Thread Oswald Buddenhagen
On Sat, Oct 04, 2003 at 11:01:45AM +0200, Sebastian Seifert wrote:
  if you'd be using kdm's upstream Xsession, it would source ~/.profile
  and additionally ~/.xprofile for x-specific settings.
  but as debian has a somewhat strict policy, you are screwed. :-P
  no, seriously: save this script as /etc/X11/Xsession.d/98private-sripts:
 
 Thanks. I guess there is no legal way for a user to do what I want to do 
 (set an environment variable without sacrificing window manager choosing).

yup

 Should I file a bug?

i'd say yes (but, i bet there was already a bug filed :).
simply forward the contents of my mail, maybe.

 If so, on which package? xfree86-common?

yes

greetings

-- 
Hi! I'm a .signature virus! Copy me into your ~/.signature, please!
--
Chaos, panic, and disorder - my work here is done.




Re: KDM + environment variables

2003-10-03 Thread Oswald Buddenhagen
On Fri, Oct 03, 2003 at 10:52:17AM +0200, Børre Gaup wrote:
 duorastat, golggotmánu 2. b. 2003 17.41, Sebastian Seifert ??álii:
  I want to be able to select different window managers from the login
  prompt, so I cannot just set up an ~/.xsession file that sets the
  variable and then starts kde.
 
 Use a file called ~/.xsession, and set your variables there.
 
*groan* ...

if you'd be using kdm's upstream Xsession, it would source ~/.profile
and additionally ~/.xprofile for x-specific settings.
but as debian has a somewhat strict policy, you are screwed. :-P
no, seriously: save this script as /etc/X11/Xsession.d/98private-sripts:

-
readonly STARTUP   #so users cannot override the system policy

DM_PATH=$PATH
test -f /etc/profile  . /etc/profile
test -f $HOME/.profile  . $HOME/.profile
IFS_SAVE=$IFS
IFS=:
for i in $PATH; do
case :$DM_PATH: in
  *:$i:*) ;;
  ::) DM_PATH=$i;;
  *) DM_PATH=$DM_PATH:$i;;
esac
done
IFS=$IFS_SAVE
PATH=$DM_PATH
export PATH

test -f /etc/xprofile  . /etc/xprofile
test -f $HOME/.xprofile  . $HOME/.xprofile
-

the DM_PATH voodoo is there to merge the path kdm set with the one set
in .profile. if you consider this superflous (on a standard debian
installl it is ...), simply remove it.

greetings

-- 
Hi! I'm a .signature virus! Copy me into your ~/.signature, please!
--
Chaos, panic, and disorder - my work here is done.




Re: kdm newbie question

2003-09-30 Thread Oswald Buddenhagen
On Tue, Sep 30, 2003 at 09:13:09AM +, Michael Knigge wrote:
 is it possible to run kdm without running a local X-Server?
 
sure. :)

 verbose
 Some machines should be able to connect my server running kdm. But I 
 don't want my local server to start Xfree because I don't need it and 
 I don't like graphical stuff on a server
 /verbose
 
hmm, you know how to use xdmcp but not how to disable the local xserver?
_that's_ strange ... ;-)
see Xservers ... it's right next to Xaccess, which you should have at
least looked at ...

greetings

-- 
Hi! I'm a .signature virus! Copy me into your ~/.signature, please!
--
Chaos, panic, and disorder - my work here is done.




Re: Starting of new session from other windowmanagers

2003-09-15 Thread Oswald Buddenhagen
On Mon, Sep 15, 2003 at 03:58:08PM +0200, Norbert Preining wrote:
 What is the interface to this feature?

http://webcvs.kde.org/cgi-bin/cvsweb.cgi/kdebase/kdm/README?rev=2.21content-type=text/x-cvsweb-markup
section the command fifos

note that this interface is not guaranteed to stay stable; it's even
probable that it will change.

 (With kdm running of course.
 I think this is not possible with some different display manager
 running.)
 
actually gdm has the same feature (it's called flexi-servers), but it 
has a different interface ...
i hope to standardize with the gdm guy, maybe based on d-bus when it
becomes available for good.

greetings

-- 
Hi! I'm a .signature virus! Copy me into your ~/.signature, please!
--
Chaos, panic, and disorder - my work here is done.




Re: Setting variables?

2003-09-11 Thread Oswald Buddenhagen
On Thu, Sep 11, 2003 at 11:06:22AM -0700, Steve Lamb wrote:
 On Thu, 11 Sep 2003 12:34:35 -0500
 Chris Cheney [EMAIL PROTECTED] wrote:
  I am not sure if there are other ways but kdm does set LANG via pam_env
  /etc/environment if you have one. If you are missing that file run
  dpkg-reconfigure locales.
 
 That worked but it isn't what I'd consider ideal.  I saw some archived
 messages about putting LANG exports into .xsession or .Xsession but that
 hasn't worked for me.

you have to make sure these files are executed at all ... in kdm's
default install this means choosing the default session type.

 Forcing all users into English is bad as one of 'em is
 from Germany.  :)
 
fwiw, i'm positive to have real per-user language selection in kdm for
kde 3.2.

greetings

-- 
Hi! I'm a .signature virus! Copy me into your ~/.signature, please!
--
Chaos, panic, and disorder - my work here is done.




Re: KDM/X authorization problems on a laptop

2003-09-06 Thread Oswald Buddenhagen
On Sun, Sep 07, 2003 at 12:12:27AM +0200, Kjetil Kjernsmo wrote:
 so I set 
 DISPLAY=:0.0
 export DISPLAY 
 and then go 
 xhost +
 which says 
 Xlib: connection to :0.0 refused by server
 Xlib: Client is not authorized to connect to Server
 xhost:  unable to open display :0.0
 
 uh, so it won't even let root do that... 
 
most network connections give a shit about the user they come from, if
he cannot prove who he is. ;)
export XAUTHORITY=~kjetil/.Xauthority

i don't expect this to help with the real problem, though.

greetings

-- 
Hi! I'm a .signature virus! Copy me into your ~/.signature, please!
--
Chaos, panic, and disorder - my work here is done.




Re: KDE and Ctrl+Alt+Del

2003-07-15 Thread Oswald Buddenhagen
On Tue, Jul 15, 2003 at 08:49:22AM +0200, BiGgUn wrote:
 How can i customize the menu displayed by KDE when i pressed
 Ctrl+Alt+Del? I would like to add the 'Lock Screen' entry .
 
you can't.

greetings

-- 
Hi! I'm a .signature virus! Copy me into your ~/.signature, please!
--
Chaos, panic, and disorder - my work here is done.




Re: kde 3.1.1 login manager

2003-05-27 Thread Oswald Buddenhagen
On Sat, May 24, 2003 at 07:48:15PM +0200, Mauro Darida wrote:
 On Tuesday 20 May 2003 12:01, Oswald Buddenhagen wrote:
  currently impossible.
  do you want to do this to ensure that only users with an account can
  shut down the box?
ok, you mostly confimed this, but ...

 I have a laptop which sometimes I need to leave unguarded for a short time.

making a proper shutdown impossible does not exactly make it safer ...

 I tried the lock screen but discovered it doesn't lock anything
 because anyone with keyboard access can open a new X-session.

you mean the new session button? you can disable this. check the
readme.
if you configure some xlock hack as the screensaver, you also have the
option to disable vt switching ... hmm - that should be also doable with
native kde savers ...

greetings

-- 
Hi! I'm a .signature virus! Copy me into your ~/.signature, please!
--
Chaos, panic, and disorder - my work here is done.




Re: kde 3.1.1 login manager

2003-05-20 Thread Oswald Buddenhagen
On Sun, May 18, 2003 at 08:10:16AM +0200, Mauro Darida wrote:
 I was wondering how to remove the turn off computer option during
 login of a normal user but allowing a normal user to turn off computer
 on logout.
 
currently impossible.
do you want to do this to ensure that only users with an account can
shut down the box?

greetings

-- 
Hi! I'm a .signature virus! Copy me into your ~/.signature, please!
--
Chaos, panic, and disorder - my work here is done.




Re: dcopclient

2003-04-22 Thread Oswald Buddenhagen
On Tue, Apr 22, 2003 at 04:16:16PM -0500, Jay Kline wrote:
 I am trying to write some scripts that will give me access to kdm features 
 from non-kde envionments..   specificly the shutdown, reboot, and newsession 
 options.
 
/usr/share/doc/kdm/README, i think. otherwise
http://webcvs.kde.org/cgi-bin/cvsweb.cgi/kdebase/kdm/README?rev=2.18content-type=text/x-cvsweb-markup

greetings

-- 
Hi! I'm a .signature virus! Copy me into your ~/.signature, please!
--
Chaos, panic, and disorder - my work here is done.




Re: /.qt directory

2003-04-14 Thread Oswald Buddenhagen
On Sun, Apr 13, 2003 at 08:04:47PM -0500, Chris Cheney wrote:
 On Mon, Apr 14, 2003 at 02:36:52AM +0200, Ralf Nolden wrote:
  I think madkiss and I agreed on /etc/X11/qt or something. Oswald, any idea 
  if 
  KDM writes those settings to /.qt and how you could influence that with KDM 
  ?
  
  Ralf
 
 BTW I also see it writes stuff into /tmp/(somenumber)/.qt so should it
 be writing both of these?
 
no, it should write only the /tmp/ one. dunno where the other comes
from - we had this problem back in the 2.x days ...
anybody cares to debug?

greetings

-- 
Hi! I'm a .signature virus! Copy me into your ~/.signature, please!
--
Chaos, panic, and disorder - my work here is done.




Re: KDM and screensavers

2003-04-08 Thread Oswald Buddenhagen
On Tue, Apr 08, 2003 at 07:01:21AM -0400, Stephen Gran wrote:
 I'm trying out KDE 3.1 (running sid), and I was wondering if there is
 a way to run a screensaver on the greeter,

not yet. i received a partial patch from somebody, so if you want to
finish it ... ;-)

greetings


-- 
Hi! I'm a .signature virus! Copy me into your ~/.signature, please!
--
Chaos, panic, and disorder - my work here is done.




Re: Shutdown from KDE

2003-04-04 Thread Oswald Buddenhagen
On Fri, Apr 04, 2003 at 01:43:52PM +0200, Kercso Jozsef wrote:
 Only the screen goes blank,
 and I can't even change the virtual terminals.
 
very probably this indicates a bug in the x-server.

greetings

-- 
Hi! I'm a .signature virus! Copy me into your ~/.signature, please!
--
Chaos, panic, and disorder - my work here is done.




Re: KDE 3.1.1: audio group, pam.d?

2003-04-04 Thread Oswald Buddenhagen
On Fri, Apr 04, 2003 at 08:09:48AM -0800, Albert Schueller wrote:
  kdm;*;*;Al-2400;audio
 
 This setup actually works.  When a user logs in they are temporarily
 added to the audio group and sound works.  My problem is with the second
 field which represents the tty that the user is logged in under.  For
 kdm from the console this is :0.  If I use this for the tty field
 instead of the wildcard *, users don't get added to the audio group
 and there's no sound.  I tried escaping the colon, e.g. \:0, but that
 actually causes a complete failure to login using kdm.  I tried both
 *:0 and :0* Thinking there might be leading or trailing whitespace
 in the tty name, neither worked.  
 
that's a bug in PAM i reported almost two years ago (and posted a
(partial?) patch, even). i didn't look recently, but last time i checked
they still have not reacted. :(

greetings

-- 
Hi! I'm a .signature virus! Copy me into your ~/.signature, please!
--
Chaos, panic, and disorder - my work here is done.




Re: which display is active and which user is logged in? (kdm?)

2003-04-02 Thread Oswald Buddenhagen
On Wed, Apr 02, 2003 at 08:12:54PM +0200, Achim Bohnet wrote:
 Is there a kdm setting to turn on to find out what display is the active one
 and if/what user is logged in there?  

try who. this requires that sessreg is used in Xstartup/Xreset, though.

 Other ways to get this info?
 
none i'd know.
i'm planning to add a query interface to kdm. that's pretty low on the
todo list, though.

greetings

-- 
Hi! I'm a .signature virus! Copy me into your ~/.signature, please!
--
Chaos, panic, and disorder - my work here is done.




Re: which display is active and which user is logged in? (kdm?)

2003-04-02 Thread Oswald Buddenhagen
On Wed, Apr 02, 2003 at 08:29:16PM +, David Pye wrote:
 However, I'm not sure how you 
 can find out which one is currently being displayed.
 
oh, right, i forgot that part. fgconsole. but this works only as root,
so you need to define a sudo rule if a regular user should be able to
execute it. alternatively you can make it suid root, but somehow i doubt
that this is a good idea.

greetings


-- 
Hi! I'm a .signature virus! Copy me into your ~/.signature, please!
--
Chaos, panic, and disorder - my work here is done.




Re: which display is active and which user is logged in? (kdm?)

2003-04-02 Thread Oswald Buddenhagen
On Thu, Apr 03, 2003 at 02:35:48AM +0200, Achim Bohnet wrote:
 Great one peace more of the puzzle.  Here fgconsole works also for normal 
 user:
 [...] 
 It this a (security) bug?

no, that's a bit permission magic done by PAM and/or the Xstartup
script. every system does something different here ...

 I've tried
   echo some garbage  /dev/tty8
 but :1 (on vt8) is still working.

the x-server does not use the tty, it uses the vc. when the server is
gone you can switch to the vt and see the garbage you put there.

 Back on topic ;)  Missing is now  vt# - display#.  I hacked this little
 script.

this is the only way to get this information. :-(

 (Better methods that work with {k,g,w,x}dm etc welcome.)
 
i'll build this into kdm's query interface, but behind the scenes kdm
has no other choice than to a) do the same or b) enforce a vc with vtX
on the server command line.

 #!/bin/bash
 vtnum=`fgconsole`
 match=`grep -l  using VT number $vtnum$ /var/log/XFree86.*.log`
 if [ $match ]; then
 display=${match#/var/log/XFree86.}
 display=${display%.log}
 user=`who | grep  :$display  | awk '{print $1}'`
 echo display=:$display
 echo user=$user
   # groups $user | grep -q camera  exec su - $user  DISPLAY=$display 
 exec digikam 
   exit 0
 else
   exit 1
 fi

this scipt will fail if an already terminated server used the same
display as another currently running one. you should only check the logs
of currently running displays, i.e., loop on the display entries from
`who`.

greetings

   To me vi is Anti-Virus software:  Signature not copied ;)
 
grinch! ;)

-- 
Hi! I'm a .signature virus! Copy me into your ~/.signature, please!
--
Chaos, panic, and disorder - my work here is done.




Re: kdm restarts the x server twice and then gives up

2003-03-31 Thread Oswald Buddenhagen
On Sun, Mar 30, 2003 at 05:37:52PM -0500, [EMAIL PROTECTED] wrote:
 Mar 30 22:06:53 danscomputer kdm[17514]: Greeter exited unexpectedly
 Mar 30 22:06:53 danscomputer kdm[17514]: Abnormal helper termination, code 
 127, signal 0
 
what does /var/log/kdm.log say?

greetings

-- 
Hi! I'm a .signature virus! Copy me into your ~/.signature, please!
--
Chaos, panic, and disorder - my work here is done.




Re: Dirty hack to use KDE Widgets in QT Designer

2003-03-25 Thread Oswald Buddenhagen
On Tue, Mar 25, 2003 at 01:29:35AM +0100, Ralf Nolden wrote:
 On Monday 24 March 2003 23:13, Carlos Acedo wrote:
  After a long search of the web I found a solution to use KDE Widgets in
  designer ( except kfontcombo :( ) in a gentoo forum ( at least very
  similar to the solution ):
 
 Huh ?? You can already use them in KDE 3.1, kdelibs has a plugin library for 
 designer for all KDE widgets (kdewidgets.so IIRC) so they directly pop up in 
 designer for point+ click use :-)

that's not the point. he is proposing a workaround for a glibc 2.3.1 bug that
makes programs segfault when they dlopen() a lib they have dlclose()d before.

  //if ( dlclose( pHnd ) ) {
  #if defined(QT_DEBUG) || defined(QT_DEBUG_COMPONENT)
  qWarning( %s, dlerror() );
  #endif
  return FALSE;
  //   }
 
the variant i know comments out the whole block, pretending the unload
succeeded. doesn't seem to matter much ...

greetings

-- 
Hi! I'm a .signature virus! Copy me into your ~/.signature, please!
--
Chaos, panic, and disorder - my work here is done.




Re: 3.1.1 logout problem.

2003-03-24 Thread Oswald Buddenhagen
On Tue, Mar 25, 2003 at 12:44:24AM +0100, Ralf Nolden wrote:
Have a problem with 3.1.1, running kdm, when logging out of a kde
session, the splash screen comes up again and fires up kde (kdm isn't
shown).

are you sure, that this happens only with kdm? tried startx?

  I had this problem before but it was solved in 2.2.2 if I remember correct.
 
yeah, that turned out to be a ksmserver problem. that's why i'm asking
whether it depends on kdm.

 Please get together and try to collect as much information as possible, then 
 file a bugreport at bugs.kde.org.

or reopen the old report if you find sufficient evidence that it's the
same problem.

greetings

-- 
Hi! I'm a .signature virus! Copy me into your ~/.signature, please!
--
Chaos, panic, and disorder - my work here is done.




Re: kdm and qt-3.1.2

2003-03-13 Thread Oswald Buddenhagen
On Tue, Mar 11, 2003 at 02:01:44PM +0100, Oswald Buddenhagen wrote:
 On Tue, Mar 11, 2003 at 10:43:24AM +0100, Ralf Nolden wrote:
  On Dienstag, 11. März 2003 07:57, Bernt Christandl wrote:
   yesterday i upgrade my woody with 5 new qt-packages and realized
   that kdm then displayed (fixed width?) the possible users in a
   strange way:
  
 yeah, i already heard about this problem.
 
  That may be due to qt-3.1.2 fixes. Ossi, any problems known like fixed
  width in the listview  ?
  
 dunno. i'll check shortly after the build finishes.
 
here we go ...
patch attached and commited to the 3.1 branch.

greetings

-- 
Hi! I'm a .signature virus! Copy me into your ~/.signature, please!
--
Chaos, panic, and disorder - my work here is done.
Index: kgreeter.h
===
RCS file: /home/kde/kdebase/kdm/kfrontend/kgreeter.h,v
retrieving revision 1.23
diff -u -r1.23 kgreeter.h
--- kgreeter.h  22 Oct 2002 03:46:21 -  1.23
+++ kgreeter.h  13 Mar 2003 18:51:20 -
@@ -81,6 +81,8 @@
 };
 
 
+class UserListView;
+
 class KGreeter : public FDialog {
 Q_OBJECT
 typedef FDialog inherited;
@@ -111,8 +113,8 @@
 
 private:
 void set_wm( const char * );
-void insertUsers( KListView * );
-void insertUser( KListView *, const QImage , const QString , struct 
passwd * );
+void insertUsers( UserListView * );
+void insertUser( UserListView *, const QImage , const QString , struct 
passwd * );
 void MsgBox( QMessageBox::Icon typ, QString msg ) { KFMsgBox::box( this, 
typ, msg ); }
 void Inserten( QPopupMenu *mnu, const QString txt, const char *member );
 bool verifyUser( bool );
@@ -122,7 +124,7 @@
 WmStat wmstat;
 QStringenam;
 KSimpleConfig  *stsfile;
-KListView  *user_view;
+UserListView   *user_view;
 KdmClock   *clock;
 QLabel *pixLabel;
 QLabel *loginLabel, *passwdLabel, *sessargLabel;
Index: kgreeter.cpp
===
RCS file: /home/kde/kdebase/kdm/kfrontend/kgreeter.cpp,v
retrieving revision 1.83.2.1
diff -u -r1.83.2.1 kgreeter.cpp
--- kgreeter.cpp28 Dec 2002 02:01:34 -  1.83.2.1
+++ kgreeter.cpp13 Mar 2003 18:51:20 -
@@ -36,6 +36,7 @@
 #include qaccel.h
 #include qcursor.h
 #include qheader.h
+#include qstyle.h
 
 #include klocale.h
 #include kglobal.h
@@ -69,13 +70,6 @@
 #include strings.h
 
 
-class GreeterListViewItem : public KListViewItem {
-public:
-GreeterListViewItem( KListView* parent, const QString text )
-   : KListViewItem( parent, text ) {};
-QString login;
-};
-
 void
 KLoginLineEdit::focusOutEvent( QFocusEvent *e )
 {
@@ -84,6 +78,41 @@
 }
 
 
+class UserListView : public KListView {
+public:
+UserListView( QWidget* parent = 0, const char *name = 0 )
+   : KListView( parent, name )
+   , cachedSizeHint( -1, 0 )
+{
+   setSizePolicy( QSizePolicy::Preferred, QSizePolicy::Ignored );
+   header()-hide();
+   addColumn( QString::null );
+   setColumnAlignment( 0, AlignVCenter );
+   setResizeMode( QListView::LastColumn );
+}
+
+mutable QSize cachedSizeHint;
+
+protected:
+virtual QSize sizeHint() const
+{
+   if (!cachedSizeHint.isValid()) {
+   constPolish();
+   uint maxw = 0;
+   for (QListViewItem *itm = firstChild(); itm; itm = 
itm-nextSibling()) {
+   uint thisw = itm-width( fontMetrics(), this, 0 );
+   if (thisw  maxw)
+   maxw = thisw;
+   }
+   cachedSizeHint.setWidth(
+   style().pixelMetric( QStyle::PM_ScrollBarExtent ) +
+   frameWidth() * 2 + maxw );
+   }
+   return cachedSizeHint;
+}
+};
+
+
 KGreeter::KGreeter()
   : inherited( 0, 0, true )
   , user_view( 0 )
@@ -105,11 +134,7 @@
main_grid-addWidget( welcomeLabel, 0, 1 );
 }
 if (kdmcfg-_showUsers != SHOW_NONE) {
-   user_view = new KListView( winFrame );
-   user_view-setSizePolicy( QSizePolicy( QSizePolicy::Preferred, 
QSizePolicy::Ignored ) );
-   user_view-addColumn(QString::null);
-   user_view-setResizeMode(QListView::LastColumn);
-   user_view-header()-hide();
+   user_view = new UserListView( winFrame );
insertUsers( user_view );
main_grid-addMultiCellWidget(user_view, 0, 3, 0, 0);
connect( user_view, SIGNAL(clicked( QListViewItem * )),
@@ -275,8 +300,24 @@
 delete stsfile;
 }
 
+class UserListViewItem : public KListViewItem {
+public:
+UserListViewItem( UserListView *parent, const QString text,
+const QPixmap pixmap, const QString username )
+   : KListViewItem( parent )
+   , login( username )
+{
+   setPixmap( 0, pixmap );
+   setMultiLinesEnabled( true );
+   setText( 0, text );
+   parent-cachedSizeHint.setWidth( -1 );
+}
+
+QString

Re: kdm and qt-3.1.2

2003-03-11 Thread Oswald Buddenhagen
On Tue, Mar 11, 2003 at 10:43:24AM +0100, Ralf Nolden wrote:
 On Dienstag, 11. März 2003 07:57, Bernt Christandl wrote:
  yesterday i upgrade my woody with 5 new qt-packages and realized
  that kdm then displayed (fixed width?) the possible users in a
  strange way:
 
yeah, i already heard about this problem.

 That may be due to qt-3.1.2 fixes. Ossi, any problems known like fixed
 width in the listview  ?
 
dunno. i'll check shortly after the build finishes.

greetings

-- 
Hi! I'm a .signature virus! Copy me into your ~/.signature, please!
--
Chaos, panic, and disorder - my work here is done.




Re: Shutting down a console locally...

2003-02-27 Thread Oswald Buddenhagen
On Thu, Feb 27, 2003 at 06:35:07PM +, John Sullivan wrote:
 The best we can come up with at the moment is a ctrl-bspace to drop to 
 console 
 login, login as root and issue a halt, but suerely there's a better way than 
 this?
 
the usual X terminal protocols don't support this ...
i already thought about adding such functionality to kdm, but that's
todo.
for now you can create a password-less command login (name it 'halt' and
set the login shell to /sbin/halt) or use my clever script at
http://ktown.kde.org/~ossi/sw/halten.html (the another version link is
relevant for you).

 Hmmm - sorry for such a long post!
 
you call _that_ long? hmm ... ;)

greetings

-- 
Hi! I'm a .signature virus! Copy me into your ~/.signature, please!
--
Chaos, panic, and disorder - my work here is done.




Re: kdm and use of /etc/profile

2003-02-27 Thread Oswald Buddenhagen
On Thu, Feb 27, 2003 at 09:43:32PM +0100, Henning Moll wrote:
 Hi!
 
 It has been discussed a few days before how to setup kdm to use a login shell:
 
 in /etc/kde3/kdm/Xsession change the first line from:
 #!/bin/sh 
 to
 #!/bin/bash --login
 
 ok.
 
not ok. binding it to bash is evil.

it's a matter of policy ...
anything that is done to kdm should be probably in sync with xdm.

i attatched kdm's default Xsession for reference.

greetings

-- 
Hi! I'm a .signature virus! Copy me into your ~/.signature, please!
--
Chaos, panic, and disorder - my work here is done.
#! /bin/sh
# Xsession - run as user

# redirect errors to a file in user's home directory if we can
for errfile in $HOME/.xsession-errors ${TMPDIR-/tmp}/xses-$USER 
/tmp/xses-$USER
do
if ( cp /dev/null $errfile 2 /dev/null )
then
chmod 600 $errfile
exec  $errfile 21
break
fi
done

DM_PATH=$PATH
test -f /etc/profile  . /etc/profile
test -f $HOME/.profile  . $HOME/.profile
IFS_SAVE=$IFS
IFS=:
for i in $PATH; do
case :$DM_PATH: in
  *:$i:*) ;;
  ::) DM_PATH=$i;;
  *) DM_PATH=$DM_PATH:$i;;
esac
done
IFS=$IFS_SAVE
PATH=$DM_PATH
export PATH

test -f /etc/xprofile  . /etc/xprofile
test -f $HOME/.xprofile  . $HOME/.xprofile

sess=$1
shift

case $sess in
failsafe)
exec xterm -geometry 80x24-0-0 $*
;;
|default)
if test -x $HOME/.xsession; then
exec $HOME/.xsession $*
else
sess=kde
fi
;;
esac

# start windowmanager
type $sess /dev/null 21  exec $sess $*
type start$sess /dev/null 21  exec start$sess $*
type $sess-session /dev/null 21  exec $sess-session $*
sess=`echo $sess | tr A-Z a-z`
type $sess /dev/null 21  exec $sess $*
type start$sess /dev/null 21  exec start$sess $*
type $sess-session /dev/null 21  exec $sess-session $*

# windowmanager not found, tell user
exec xmessage -center -buttons OK:0 -default OK Sorry, $sess not found.


Re: kdm and use of /etc/profile

2003-02-27 Thread Oswald Buddenhagen
On Thu, Feb 27, 2003 at 02:03:57PM -0800, Craig Dickson wrote:
 #!/bin/sh
 myshell=`grep ^$USER: /etc/passwd | cut -d : -f 7`
 exec $myshell -l -c /etc/X11/Xsession
 
how about exec $SHELL? ;-)

we already attempted such things. search the kde(-core)-devel archives
for this discussion. must have been 1-1.5 years ago, i guess.

greetings

-- 
Hi! I'm a .signature virus! Copy me into your ~/.signature, please!
--
Chaos, panic, and disorder - my work here is done.




Re: kde application and it's PATH

2003-02-20 Thread Oswald Buddenhagen
On Thu, Feb 20, 2003 at 05:12:26PM +0100, Vladimir Wiedermann wrote:
   Hi all,
   
   I have this problem, I would like to set up different path, than standard
   and I want all applications and users to have this path in it's
   enviroment. I made changes in /etc/profile /etc/ligin.defs
   /etc/bash.bashrc but path in Kile is still the same (doesn't contains my
   addons). Can anybody help me please?
   
   thanks,
  
  Logging in via kdm?
  /etc/kde3/kdm/kdmrc
 
 I don't know what to change in kdmrc,

[X-*-Core]
UserPath=... (regular users)
SystemPath=... (root and kdm's setup scripts)

 but I changed also /etc/kde3/kdm/Xsetup and Xstartup
 and I still don't have good path.
 
of course not.

greetings

-- 
Hi! I'm a .signature virus! Copy me into your ~/.signature, please!
--
Chaos, panic, and disorder - my work here is done.




Re: delay on KDM startup and KDE startup (3.1)

2003-02-04 Thread Oswald Buddenhagen
On Mon, Feb 03, 2003 at 07:48:14AM -0800, Fedor Karpelevitch wrote:
 Any clues to what's the problem or how to fix it?
 
possibly (probably, even) xft-related. try disabling it.

greetings

-- 
Hi! I'm a .signature virus! Copy me into your ~/.signature, please!
--
Chaos, panic, and disorder - my work here is done.




Re: New packages changes

2003-01-22 Thread Oswald Buddenhagen
On Wed, Jan 22, 2003 at 07:43:47AM +0100, Ralf Nolden wrote:
   You could also use /etc/X11/X though,
 
  hmm, is this really the suggested way of invoking an x server?
  this is a helper link of the debian config system, which i thought
  is not supposed to be used directly. time to read the policy, i guess
 
 s -l /etc/X11/X
 lrwxrwxrwx1 root root   20 Dec  7 21:44 /etc/X11/X - 
 /usr/bin/X11/XFree86
 
i know. i have the same. ;)
anyway, that does not mean anything. afaik, /usr/bin/X11/X is the
offcial entry point. this wrapper program then uses (or does not use)
the symlink depending on the way it was configured with debconf.

 don't you think we could add those lines per default into the 
 debian Xservers file for KDM and comment them out with hashes ?
 
feel free to do so. i didn't make the feature official yet, as it is not
really ready (joe user does not like alt-ctrl-Fx ...).

greetings

-- 
Hi! I'm a .signature virus! Copy me into your ~/.signature, please!
--
Chaos, panic, and disorder - my work here is done.




Re: New packages changes

2003-01-21 Thread Oswald Buddenhagen
On Wed, Jan 22, 2003 at 12:33:28AM +0100, Ralf Nolden wrote:
 BTW: if you want to use an XP-like multi-session feature for X, change 
 
 /etc/kde3/kdm/Xservers
 
 add lines like these:
 # Examples for multiple local X displays:
 # :0 local /usr/X11R6/bin/X :0 vt9 -bpp 16
 # :1 local /usr/X11R6/bin/X :1 vt10 -bpp 8
 :0 [EMAIL PROTECTED] /etc/X11/X :0 vt7
 :1 local reserve /usr/bin/X11/X :1 vt8

 :2 local reserve /usr/bin/X11/X :1 vt9
 :3 local reserve /usr/bin/X11/X :1 vt10
 
   ^
it would be advisable to use 2 and 3, though. ;)

 the reserve is the point :-)

 You could also use /etc/X11/X though,
 
hmm, is this really the suggested way of invoking an x server?
this is a helper link of the debian config system, which i thought
is not supposed to be used directly. time to read the policy, i guess
...

greetings

-- 
Hi! I'm a .signature virus! Copy me into your ~/.signature, please!
--
Chaos, panic, and disorder - my work here is done.




Re: Kill kdesktop_lock (maybe a bug in the last KDE 3.1 packages)

2003-01-20 Thread Oswald Buddenhagen
On Mon, Jan 20, 2003 at 12:24:02PM +0100, Jaime Robles wrote:
 If i lock the desktop and then i enter a wrong password,

that should only happen if kcheckpass fails (possibly because it is not
suid root). a wrong password is not a failure.

 i can see a message like (it is in Spanish) Kill kdesktop_lock and i
 cannot try again to enter my password...

you should be able to retry after 10 seconds.

 do the solution is to alt-ctl-F1 to a text-shell and kill 
 the kdesktop_lock process...
 
exactly.

greetings

-- 
Hi! I'm a .signature virus! Copy me into your ~/.signature, please!
--
Chaos, panic, and disorder - my work here is done.




Re: Looking for quiet Harddisk

2003-01-18 Thread Oswald Buddenhagen
On Sat, Jan 18, 2003 at 05:23:14PM +0100, Claas Langbehn wrote:
 The Seagate Barracuda V shall be amazingly quiet.
 
i only can speak about barracuda IV. they are. even after half a year it
was hardly audible. then it went up in smoke - doesn't seem to happen
too often, though.
one thing to note about seagate's construction is, that it emits heat to
the upside, so it is good for installing a fan in a slot above it. for
stacking multiple disks in a cooling rack it is very bad. that was at
least my impression compared with maxtor drives.

btw, now i have a maxtor diamondmax plus 9 (also fluid bearing). the
spinning sound is a relatively loud rush, but it is unaudible in
a _good_ casing. the seeking is very loud, though - i can't use it
without aam enabled.

hmm, somehow this thread is OT ...

greetings

-- 
Hi! I'm a .signature virus! Copy me into your ~/.signature, please!
--
Chaos, panic, and disorder - my work here is done.




Re: Report on Ralf's Woody Debs

2003-01-13 Thread Oswald Buddenhagen
On Mon, Jan 13, 2003 at 11:11:42PM +0100, Ralf Nolden wrote:
  5. Does anyone know if it is possible to revert to the old 3.0
  layout for KDM? The new way KDM is arranged looks pretty bad, at
  least to me.
 Change the code, recompile. The listview on the left is the default
 now which is better than the former iconview when you have many users.
 
the problem is, that nobody created an image with an appropriate size
for the new layout ... :}
if you turn off the user list, you'll get the old layout more or less.

greetings

-- 
Hi! I'm a .signature virus! Copy me into your ~/.signature, please!
--
Chaos, panic, and disorder - my work here is done.




Re: Mystery of the vanishing session

2002-12-22 Thread Oswald Buddenhagen
On Sun, Dec 15, 2002 at 01:45:29PM -0800, Ross Boylan wrote:
 DISAPPEARING SESSIONS
 
no idea.

 RELUCTANT SHUTDOWN
 
 Anybody know what's up with that?
 
yes. for some weird reasons the x-server on vt8 does not finish its
startup if it is not in the foreground. consequently it does not
shutdown, too. as kdm/xdm waits for it, it will wait forever ...
hint: make :1 a reserve display, so the xserver won't linger when
it is not needed. see
http://webcvs.kde.org/cgi-bin/cvsweb.cgi/kdebase/kdm/README?rev=2.17content-type=text/x-cvsweb-markup
 
for details (it will work with kde 3.0, too).

greetings

-- 
Hi! I'm a .signature virus! Copy me into your ~/.signature, please!
--
Chaos, panic, and disorder - my work here is done.




Re: Build times?

2002-11-30 Thread Oswald Buddenhagen
On Sat, Nov 30, 2002 at 05:06:25AM +0100, Bjoern Krombholz wrote:
 On Fri, Nov 29, 2002 at 10:53:42PM +0100, Oswald Buddenhagen wrote:
  On Fri, Nov 29, 2002 at 05:12:49PM +0100, Bjoern Krombholz wrote:
 
  i'm not impressed ... the debian build does everything four times, so
  you're not even 2.5 times as fast. :-P
 
 Hmm? I'm not shure i got it right - 4 times? Why?
 
(static, dynamic) x (nothread, thread)
i didn't study the rules file in detail, but i think it needs to rebuild
the complete lib every time. ok, the factor 4 is seriously skewed by
executables (qmake, moc, designer, ...) being built only once - so
maybe it's only 3. 3.3 times as fast does not impress me, either. :)

   Compiling C++ stuff takes much longer than plain C because of the
   preprocessing
  cpp does not not need much time,
 
 Never said anything else. ;)
 
of course. :)

  a) g++ is slower than gcc
 
 Aren't those both the same, more or less?
 (`g++' equals `gcc -lstdc++ -lm')
 
look behind the curtain. ;)
hint: /usr/lib/gcc-lib/

greetings

-- 
Hi! I'm a .signature virus! Copy me into your ~/.signature, please!
--
Chaos, panic, and disorder - my work here is done.




Re: Build times?

2002-11-30 Thread Oswald Buddenhagen
On Sat, Nov 30, 2002 at 01:42:48PM +0100, Alex wrote:
 I think that with a little Makefile juggling it should be possible to
 half the time taken. IMHO the difference between static/shared is only
 in the final linking stage.

wrong. the dynamic build is done with -fPIC, the static without. on some
arches this might not matter, but on x86 it does.

greetings

-- 
Hi! I'm a .signature virus! Copy me into your ~/.signature, please!
--
Chaos, panic, and disorder - my work here is done.




Re: Changing KDM color.

2002-11-01 Thread Oswald Buddenhagen
On Fri, Nov 01, 2002 at 12:33:52AM +0100, Josep Febrer wrote:
 A Dijous 31 Octubre 2002 22:12, Sean Fraley va escriure:
  How do I change the color of KDM?  The default gray is ugly and I really
  would like to be able to change it, but I can't seem to find where.
 
 You need to change the colors of the root user.
 
that does not work since kde 2.2(?) - it was a bug that it worked that
way. kde 3.1 offers an explicit color scheme selection for kdm.

greetings

-- 
Hi! I'm a .signature virus! Copy me into your ~/.signature, please!
--
Chaos, panic, and disorder - my work here is done.




Re: kdms default path 'wrong' (WAS: KDE 3 packaging - bug thread)

2002-06-11 Thread Oswald Buddenhagen
On Tue, Jun 11, 2002 at 10:00:47AM +0200, Achim Bohnet wrote:
 As long as there's no general debian wide solution to  'login scripts
 not sourced'.

i created /etc/X11/Xsession.d/98ossi_envsetup containing

. /etc/profile
test $HOME/.profile  . $HOME/.profile

the problem is, that this can be used to undermine the options from
Xsession.options. i'm not sure if a simple solution exists at all.

greetings

-- 
Hi! I'm a .signature virus! Copy me into your ~/.signature, please!
--
Chaos, panic, and disorder - my work here is done.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]




Re: kdms default path 'wrong' (WAS: KDE 3 packaging - bug thread)

2002-06-11 Thread Oswald Buddenhagen
On Tue, Jun 11, 2002 at 12:13:49PM -0500, Chris Cheney wrote:
 would a /usr/bin/startkde consisting of
 
 exec /usr/bin/kde3
 
 do what we need?
 
no, it would not.
and don't make startkde source any shell startup scripts, as this just
does not belong there. see the discussions on [EMAIL PROTECTED]

greetings

-- 
Hi! I'm a .signature virus! Copy me into your ~/.signature, please!
--
Chaos, panic, and disorder - my work here is done.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]




Re: Starting a cvs-compiled KDE from KDM

2002-06-04 Thread Oswald Buddenhagen
On Wed, Jun 05, 2002 at 12:54:09AM +0200, Reinhold Kainhofer wrote:
 ...
 export LD_LIBRARY_PATH=$KDEDIR/lib:$QTDIR/lib:$LD_LIBRARY_PATH
 $KDEDIR/bin/startkde
 
put an exec before the startkde invocation. this saves you some
memory.

 This way, my settings will survive almost everything (an upgrade of 
 xfree86-common or  kdm and a make install of kdelibs).

yep.

 At worst, I'll have to add kde_cvs to kdmrc again, but that's it.
 
only if something goes horribly wrong - otherwise make install of
kdebase should preserve your kdm settings. provided of course, that 
you use the kdm you compiled yourself. if you use the debian package,
you must tell debconf not to touch your SessionTypes.

greetings

-- 
Hi! I'm a .signature virus! Copy me into your ~/.signature, please!
--
Chaos, panic, and disorder - my work here is done.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]




Re: Global environment and KDM

2002-05-30 Thread Oswald Buddenhagen
 You're right.

sure he is. :)

 And I have the needed line auth required pam_env.so in
 /etc/pam.d/login.

who cares? this is login's pam config, not kdm's. ;)
kdm's one is /etc/pam.d/kde, unless you explicitly configured something
else. if you don't have such file (this would be the case, if you make
installed as non-root), just copy the one from login.

 It used to work with KDE 2.2.2/woody,

i bet something was differently configured.

greetings

-- 
Hi! I'm a .signature virus! Copy me into your ~/.signature, please!
--
The problem with making software idiot-proof is that idiots are so clever.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]




Re: Double server reset with kdm

2002-05-16 Thread Oswald Buddenhagen
On Wed, May 15, 2002 at 02:51:26PM -0400, Mike Frisch wrote:
 Can anybody explain what's going on

possibly the server crashes after the reset.

 and how I might fix it?
 
try TerminateServer=true in the [X-*-Core] section of kdmrc.

greetings

-- 
Hi! I'm a .signature virus! Copy me into your ~/.signature, please!
--
The problem with making software idiot-proof is that idiots are so clever.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]




Re: multiple X sessions

2002-05-06 Thread Oswald Buddenhagen
On Mon, May 06, 2002 at 09:17:38PM +0200, Gabor Gludovatz wrote:
 Is there a way to manage multiple logins with kdm and X?
 
http://lists.kde.org/?l=kde-develm=101113327206012w=2

greetings

-- 
Hi! I'm a .signature virus! Copy me into your ~/.signature, please!
--
The problem with making software idiot-proof is that idiots are so clever.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]




Re: KDE3 Logout

2002-05-02 Thread Oswald Buddenhagen
On Thu, May 02, 2002 at 09:36:52AM +0100, David Pashley wrote:
 You only get the menu when you started KDE from kdm. if you use any
 other method of starting kde, you only get the logout confirmation.
 
this is correct for plain kde3.
mandrake had such a function already in older versions. but their
solution sucked. :)

greetings

-- 
Hi! I'm a .signature virus! Copy me into your ~/.signature, please!
--
The problem with making software idiot-proof is that idiots are so clever.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]




Re: Custom KDE/KDM for Internet access only

2002-04-26 Thread Oswald Buddenhagen
 So my questions are :
 - - how to desactivate customization of the menu bar ?

with some really weird permission trickery this might be possible. you'd
have to make the directory with the config files in question
(~/.kde/share/config/) owned by root and read-only to the user.

 - - how to desactivate login off ?
 
you can't, so far.
you might be interested in the kde-kiosk project. join their mailing
list.

greetings

-- 
Hi! I'm a .signature virus! Copy me into your ~/.signature, please!
--
The problem with making software idiot-proof is that idiots are so clever.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]




Re: [KDE3] Optimizing

2002-04-09 Thread Oswald Buddenhagen
 I use --disable-fast-perl

what is this supposed to gain you (except slower makefile generation)?

 and --disable-rpath,

that's useful, if the executables and libs are supposed to be fully
relocatable in the file system.

greetings

-- 
Hi! I'm a .signature virus! Copy me into your ~/.signature, please!
--
The problem with making software idiot-proof is that idiots are so clever.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]




[OT] Re: Distributions Sucks-Rules-O-Meter

2002-04-07 Thread Oswald Buddenhagen
On Sun, Apr 07, 2002 at 10:55:36PM +0200, Gregor Zeitlinger wrote:
 look at that: http://zork.net/~nick/srom/ 
 
have you checked out the toot link? i'm currently rotfl-ing ... :)))

greetings

-- 
Hi! I'm a .signature virus! Copy me into your ~/.signature, please!
--
The problem with making software idiot-proof is that idiots are so clever.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]




Re: kdm and xset?

2002-01-17 Thread Oswald Buddenhagen
 But I can't find where I'm suppose to put that command so it would get
 run anytime kdm is run,

/etc/kdeN/kdm/Xsetup

 or anytime when a wm is chosen.

you mean, when a session is started, right?
.../Xsession

greetings

-- 
Hi! I'm a .signature virus! Copy me into your ~/.signature, please!
--
Nothing is fool-proof to a sufficiently talented fool.




Re: KDM - Some minor buggies - All three are fixed!

2001-12-14 Thread Oswald Buddenhagen
 Previously (around the 2.2.2-2 packages), I was able to select
 different lilo settings to reboot to. But now, I can click the
 'Reboot' radio button, and there's a dropdown listbox next to it, but
 it doesn't seem to contain anything. Clicking on the down arrow
 doesn't drop down the list. Any known fix for this?
 
i suspect, that this was caused by a lilo update, not by a kde update.
i recently applied a patch which is supposed to fix some problem with
lilo output parsing - maybe, that's related. to give a definitive
statement i need the kdm.log of such a reboot attempt.

greetings

-- 
Hi! I'm a .signature virus! Copy me into your ~/.signature, please!
--
Nothing is fool-proof to a sufficiently talented fool.




Re: KDM - Some minor buggies

2001-12-13 Thread Oswald Buddenhagen
  :0 local /usr/X11R6/bin/X :0 vt7  -dpi 100 -nolisten tcp
 
 Ivan (or is anyone in Debian listening?)   They also might be 
 aware of a reason for leaving the vt7 out! 
 
it's in the default config file. you probably have a modified old
version, so you don't get the new one automatically.

 OK .. It looks like afterstep (session I tried) is found and  then it
 starts up /usr/bin/x-session-manager  which is symlinked to 
 /etc/alternatives/x-session-manager which is symlinked to kde2
 
hmm. x-session-manger is only a symlink to a concrete manager. so if it
gets executed in the first place (instead of the selected session), it's 
already a problem.
at best, you send me the session log. the sh output is sometimes hard to
understand.

 Is there any way to put back either the CTRL-R (probably from xdm
 days) or the 'return to system console' which was in KDE 2.1 KDM and
 is not in KDE 2.2 KDM? 

yes ... once more you must edit Xservers:
:0 [EMAIL PROTECTED] [...]

 I do use the ALT-Fn keys but I don't think they are active during KDM
 Login.
 
ALT-CTRL-Fn - as always, when a console-grabbing application is running
(that is, X-server, dosemu in native vga mode, etc.).

greetings

-- 
Hi! I'm a .signature virus! Copy me into your ~/.signature, please!
--
Nothing is fool-proof to a sufficiently talented fool.




Re: KDM - Some minor buggies

2001-12-12 Thread Oswald Buddenhagen
 1) When KDM is started upon boot, the keyboard is frozen for entry
 of password.

but entering the user name works?

 2)  I am unable to invoke other window managers from the KDM window.
 Whenever I try to invoke afterstep or sawfish or fvwm KDE always
 starts. 
 
but you have them installed, yes? :)
kde is probably the default session, so it is used as a fallback if the
other wm cannot be started. do the session names match the binary names?

greetings

-- 
Hi! I'm a .signature virus! Copy me into your ~/.signature, please!
--
Nothing is fool-proof to a sufficiently talented fool.




Re: KDM - Some minor buggies

2001-12-12 Thread Oswald Buddenhagen
  but entering the user name works?
 
 No. I do get the user name into the name field by clicking on a 
 user-id icon. 
 
ah. then it's probably the usual vt7 is missing at the end of the
Xserver line problem, which causes a race between the server and a
getty. the fact, that it works when started from command line supports
this.

 Yes they are installed and testing from a xterm prompt, they 
 (afterstep, pawm, fvwm, wmaker) all tell me nicely and correctly
 that another windowmanager (kde) is running. 
 
strange. it's probably something with the Xsession script ... maybe,
add -x to the first line (#! /bin/sh -x) to get an execution log in
kdm.log / ~/.xsession-errors .

 Some additional info: 
 1) I have modified /etc/kde2/kdm/Xsession to include 
   xscreensaver-command -exit
   xscreensaver -no-splash -silent 
 to enable xscreensaver when the KDM login screen is displayed. 
 The kdm frozen keyboard and chooser problem do NOT go away
 when I remove the xscreensaver commands from Xsession.
 
Xsession is the wrong file ... you mean Xsetup, right?

 2) When kdm failed on me (recently) I used startx and kdm started
  - the kdm keyboard was NOT frozen. 
 
you mean, both startx and kdm worked (independently from each other), right?

greetings

-- 
Hi! I'm a .signature virus! Copy me into your ~/.signature, please!
--
Nothing is fool-proof to a sufficiently talented fool.




Re: kdm not run

2001-12-04 Thread Oswald Buddenhagen
 I get the following message from kdm:
 kdm_greet: relocation error: kdm_greet: undefined symbol: XineramaIsActive.
 But on the other comuter kdm work!?!
 
you're running kdm on a system which has xlibs without xinerama support,
but the kdm you installed was compiled on a system with xinerama.
basically a package mismatch.

greetings

-- 
Hi! I'm a .signature virus! Copy me into your ~/.signature, please!
--
Nothing is fool-proof to a sufficiently talented fool.




Re: 2.2.1: logout problems

2001-12-01 Thread Oswald Buddenhagen
 I know that this problem has been posted here before, but the solution
 posted (uncheck Automatically log in after X server crash) does not
 work for me.  I do have this option unchecked.
 
 Any help will be greatly appreciated.
 
please run kdm -debug 15 and send me the daemon syslog.
btw, does 2.2.2 yield the same effect?

greetings

-- 
Hi! I'm a .signature virus! Copy me into your ~/.signature, please!
--
Nothing is fool-proof to a sufficiently talented fool.




Re: kdf crash and kdm weirdness

2001-12-01 Thread Oswald Buddenhagen
 Another issue can be experienced when you start the kdm control
 center module and become root, go to the Users tab and click on
 the icon button to open a user-defined icon. Whichever icon I select
 gets scaled down to 32x32 automagically, which is way to small (I
 think the default size is 64x64). 
 
well, that's the expected behaviour. once i manage to implement kdm's
new look, this constraint will be even more required.
one idea to show full-size icons is the use of .face files in user's
home dirs. if a user with a face is selected, it is displayed in the
logo area (replacing the logo; the clock should move to some corner of
the desktop anyway); the logo area is planned to become 200x200 or
something like that.

greetings

-- 
Hi! I'm a .signature virus! Copy me into your ~/.signature, please!
--
Nothing is fool-proof to a sufficiently talented fool.




Re: kdm chooser incorrectly reports Display not authorized

2001-11-17 Thread Oswald Buddenhagen
 But for the entry for holler itself, the status is reported as
 Display not authorized to connect.  Despite this, you can select it
 and connect no problem.  So the reported status is incorrect.

hmm ... i'll have a look at it.
btw, it works correctly with xdm and kdm from kde  2.2, yes?

greetings

-- 
Hi! I'm a .signature virus! Copy me into your ~/.signature, please!
--
Nothing is fool-proof to a sufficiently talented fool.




Re: kdm chooser incorrectly reports Display not authorized

2001-11-17 Thread Oswald Buddenhagen
 * #any host can get a login window
 %hostlist   holler warp gascol
 *   CHOOSER %hostlist
 
 
 Apparently the former means any host can get a chooser but not a
 login window, while the latter means any host can get a chooser or a
 login window.
 
not really. the first entry allows direct queries, whereas the chooser
entry is for indirect queries. as the choice of a host results in a
second indirect query (which is forwarded to the target host), the
indirect acl entry applies. but the chooser asks the target hosts, if
they accept direct queries. i don't know if this is the expected behavior
or if i hosed something. need to have a look at the original code once
more ...

greetings

-- 
Hi! I'm a .signature virus! Copy me into your ~/.signature, please!
--
Nothing is fool-proof to a sufficiently talented fool.




Re: Setting environment

2001-10-28 Thread Oswald Buddenhagen
 This may well be a FA dumb Q
 
not necessarily dumb, but for sure a faq. ;)

 What part of TFM haven't I Rd?
 
search the list archives ... (kdm, xsession, xprofile, environment, ...)

greetings

-- 
Hi! I'm a .signature virus! Copy me into your ~/.signature, please!
--
Nothing is fool-proof to a sufficiently talented fool.




Re: Logout problem 2.2.1

2001-10-28 Thread Oswald Buddenhagen
 I have some problems with the logout function in kde 2.2.1. When I press 
 logout I starts to log me out but after a while the splash screen apears 
 again, and I'm logged in again?

that's kdm's auto-relogin feature. it should not fire after a clean
logout, but obviously it does. usually that happens, when the x-server
crashes at logout time - for me, recent xfree 4.1 packages seem to do so 
sometimes (i'm using xf's nv driver - that may be relevant).

 Anybody that knows how to resolv this problem?
 
to work around the problem, you can disable the auto-relogin (in the
login manager setup, tab convenience).

 I have this problem on 3 machines.
 
whoops ... that's sorta strange ... are they mostly identical?

greetings

-- 
Hi! I'm a .signature virus! Copy me into your ~/.signature, please!
--
Nothing is fool-proof to a sufficiently talented fool.




Re: Setting environment

2001-10-28 Thread Oswald Buddenhagen
 search the list archives ... (kdm, xsession, xprofile, environment,
 ...)
 
 
 With the greatest respect, this answer is a little unhelpful.  I HAVE
 been extensively searching archives both at Debian and using Google
 but can't find anything straight and to the point. 
 
heck, you're right. the search engine at lists.debian.org is somehow
broken; i didn't find anything, although i knew quite well what to
search for. (bug the web admin with it. :))

 Could someone PLEASE set me straight on this, or at least advise me
 where I could GAINFULLY look for answers.
 
http://lists.debian.org/debian-kde/2001/debian-kde-200110/msg00143.html

greetings

-- 
Hi! I'm a .signature virus! Copy me into your ~/.signature, please!
--
Nothing is fool-proof to a sufficiently talented fool.




Re: kdm dies

2001-10-21 Thread Oswald Buddenhagen
 Oct 16 19:45:59 corwin kdm[2505]: GenerateAuthorization XDM-AUTHORIZATION-1
 
shit ... one more of this sort.
pls have a look at kdm.log. does it say something about missing symbols?
also, try changing kdmrc [X-*-Core] AuthNames to MIT-MAGIC-COOKIE-1.

 As you can see, the first log entry was at 19:44:18 and the
 last one at 19:45:59, so it takes roughly a minute and a
 half before dropping to the command line.  (This delay
 disappears if I remove the debugging flag.) 

rtfm ... /usr/share/doc/kdm/README.gz

greetings

-- 
Hi! I'm a .signature virus! Copy me into your ~/.signature, please!
--
Nothing is fool-proof to a sufficiently talented fool.




Re: kdm dies

2001-10-21 Thread Oswald Buddenhagen
 laugh  I understand what startx is. [...]

hehe, heck, i stopmed into the ambiguity trap. or my understanding of
the english language is just that bad. :)

 Under xfree 3.?, I believe that the server was specified in
 XF86Config. 

nope ... XF86Config is the server's config file, not the file which says
which server to run - and always was.

 I'm not sure where it's specified under xfree 4.1. An admittedly
 somewhat cursory look through the xfree documentation hasn't shown me
 the answer.  
 
there is nothing like that in x. most linux-distros provide some
x-wrapper for convenience. otherwise you have only the program-specific
binary specifications (xserverrc, Xservers, etc.).

 Argh!  First place I looked was /etc/X11/Xserver. [...] I assume that
 file is a remnant of an earlier version of kdm?
 
not of kdm. it's a remnant of the old xwrapper (provided with older xf3 
packages).

 In the process of repairing that by forcing a reinstall, I also
 switched from using the 3.?  server to the 4.1 server but the Xservers
 file didn't get updated. 
 
well, thats beyond the scope of any automatic update because a) the
different server versions are compatible at the x11 protocol level and
therefore the x-clients don't care for the server-version and b) this
would be somewhat complex to implement.

greetings

-- 
Hi! I'm a .signature virus! Copy me into your ~/.signature, please!
--
Nothing is fool-proof to a sufficiently talented fool.




Re: Environment variables for KDE-Sessions

2001-10-11 Thread Oswald Buddenhagen
 but i doubt this hasn't been adopted for debian (yet). 

heck, this happens when you change the sentence entirely but forget the
final proofreading. :(
it must read but this hasn't been adopted for debian (yet)., of course.

greetings

-- 
Hi! I'm a .signature virus! Copy me into your ~/.signature, please!
--
Nothing is fool-proof to a sufficiently talented fool.




Re: KDM and ip aliasing

2001-09-20 Thread Oswald Buddenhagen
 I tried setting DisplayManager.sourceAddress but this does not seem
 to change anything.
 
which version of kde/kdm are you using? if it's = 2.2alpha2, the
setting is in kdmrc, section [Xdmcp], key SourceAddress=true/false.

otherwise i can only ask, if it works with plain xdm - if not, then
i obviously have something more to code ...

greetings

-- 
Hi! I'm a .signature virus! Copy me into your ~/.signature, please!
--
Nothing is fool-proof to a sufficiently talented fool.




Re: access to local Xserver?

2001-09-15 Thread Oswald Buddenhagen
 I do have a problem though... when I 'su' as a regular user
 i do not have access to the local Xserver to run X-programs.
 This worked before i upgraded to KDE2.2. I'm sure it is just
 a setting somewhere, but i really do not know where to look...
 
it may be related to the Authorize setting in the [X-:*-Core]
section of kdmrc - set it to false, if you want no X security.
since i don't like the above solution, i have this script in my
root's .profile:

ppid=`ps ho ppid $$`
whose=`COLUMNS=1 ps heo user,ucmd $ppid`
if test -n $whose -a ${whose%% *} != root; then
  eval $(echo $whose|sed -ne 's/.*\DISPLAY=\([^ ]\+\)\.*/export 
DISPLAY=\1/p; t end; d; :end q')
  test $DISPLAY  xauth merge $(echo $whose|sed -ne 's/.*\HOME=\([^ 
]\+\)\.*/\1\/\.Xauthority/p; t end; d; :end q')
fi
unset ppid whose

 Additionally, i would like to run software on a server at our
 university and view to output on my screen... this, ofcourse,
 does not work as well...
 
as long, as these systems are in one nis-/nfs-domain, there should be no
problem. for random hosts, you need something like that:

delphi$ xauth nextract - delphi:0.0 | rsh is2101 /usr/X11R5/bin/xauth nmerge -
delphi$ rsh is2101
is2101$ xterm -display delphi:0.0

you could automate this by extending your xon script.

btw, the simplest solution for transporting xauth data is to use ssh with
X forwarding enabled ...

greetings

-- 
Hi! I'm a .signature virus! Copy me into your ~/.signature, please!
--
Nothing is fool-proof to a sufficiently talented fool.




Re: Complete KDE-Logout with dcop

2001-07-28 Thread Oswald Buddenhagen
 Using the command dcop kdesktop default logout does the trick, but
 only if I disabled the logout confirm stuff globally. Is there a
 possibility to override this setting?
 
nope. :(
i'm planning a clean solution for post-2.2 ...

greetings 

-- 
Hi! I'm a .signature virus! Copy me into your ~/.signature, please!
--
Nothing is fool-proof to a sufficiently talented fool.




Re: kdm trouble

2001-07-26 Thread Oswald Buddenhagen
 where can I find the documentation for kdm?

there is none. :)
no, in fact, there is a doc, but it is not very useful.
the second important source of info is the xdm man page (which is/was
installed as the kdm man page).

 I entered kdm in the search field in the help center and hit search
 but got no reply.

that's because it's not indexed ... missing desktop file.

 how can I add xserver-options (font size, gamma correction, etc.) in
 the kdm configuration
 
/etc/X11/kdm/Xservers

greetings

-- 
Hi! I'm a .signature virus! Copy me into your ~/.signature, please!
--
Nothing is fool-proof to a sufficiently talented fool.




Re: Starting gnome with kdm?

2001-07-26 Thread Oswald Buddenhagen
 However, when I use kdm I only have the option to start kde or twm or
 sawfish. How can I tell kdm to offer me gnome as an option?
 
that is the SessionTypes option in kdmrc.
recent debian packages automatically add all available window managers
and desktop environments, but i don't know if this magic applies to
the 2.1.x series packages as well.

greetings

-- 
Hi! I'm a .signature virus! Copy me into your ~/.signature, please!
--
Nothing is fool-proof to a sufficiently talented fool.




Re: kdm wont start cause of this:

2001-07-26 Thread Oswald Buddenhagen
 Sid:
 Kde2.2beta1 - /var/log/kdm.log:
 /usr/bin/kdm: error while loading shared
 libraries: /usr/bin/kdm: undefined symbol: _XdmcpWrapperToOddParity
 
this is a mismatch between the x packages that kdm was compiled
against and the ones that are installed. the new xfree packages
seem to have no XDMAUTH support.

greetings

-- 
Hi! I'm a .signature virus! Copy me into your ~/.signature, please!
--
Nothing is fool-proof to a sufficiently talented fool.




Re: kdm wont start cause of this:

2001-07-26 Thread Oswald Buddenhagen
 Can we do something about this?
 
depends on the scope of we. :)
ivan could make versioned dependencies, so kdm refuses to install when
you have the bad libs. but that sucks, as it would prevent you from
using latest x.
the other possibility is fixing the x packages, so that they are
compiled with xdmauth support. you may want to ask on debian-x@ (iirc)
about this.

greetings

-- 
Hi! I'm a .signature virus! Copy me into your ~/.signature, please!
--
Nothing is fool-proof to a sufficiently talented fool.




Re: keyboard freeze after reboot

2001-07-14 Thread Oswald Buddenhagen
 I think the problem might be X-related.
 
it is. we had this thread already about 20 times (not necessarily
on this list) ...
add vt7 at the end of the server line in the Xservers file kdm uses.

greetings

-- 
Hi! I'm a .signature virus! Copy me into your ~/.signature, please!
--
Nothing is fool-proof to a sufficiently talented fool.




Re: kdm crashes X after 5 restarts

2001-07-04 Thread Oswald Buddenhagen
moin,

 After trying kdm I recognized following behaviour : After 5 logouts
 (or 5 restart) with kdm, the X server stops, but the kdm daemon is
 still running.
 
 syslog says :
 
 kdm [1234] : Display :0 is being disabled (restarting too fast)
 
this is not a bug, but a feature. if you restart the display 5 times
in a row with less than two minutes between consecutive restarts, kdm
assumes that something is wrong and stops the display. you may adjust
the StartInterval and StartAttempts settings.
hmmm ... the used formula is a bit weird indeed. i'm thinking about
something with fewer side effects (concrete ideas are welcome).
btw, the daemon is not dead after it stops the display. you may wake up
all dead displays by sending a HUP to the daemon.

greetings

-- 
Hi! I'm a .signature virus! Copy me into your ~/.signature, please!
--
Nothing is fool-proof to a sufficiently talented fool.




Re: kdm: missing nousers: alias, qmail* (and MaxShowUID)

2001-07-03 Thread Oswald Buddenhagen
On Mon, Jul 02, 2001 at 11:07:24PM -0600, Ivan E. Moore II wrote:
 On Mon, Jul 02, 2001 at 11:48:28PM +0200, Oswald Buddenhagen wrote:
   Oswald, how about a MaxShowUID (default 2)? 
  
  for debian, it would be 1000.
 
 just checked and it doesn't seem to exist.
 
ah, yes. i misread. it was a bit late ... *shame*

 so if we could say ignore below MinShowUID and above MaxShowUID that
 would be cool. Then I could say 
 
   MinShowUID=1000
   MaxShowUID=2
 
yes, sounds good. will do at once. i'm only a bit concerned about the
kcontrol frontend, as we're in a message freeze.

greetings

-- 
Hi! I'm a .signature virus! Copy me into your ~/.signature, please!
--
Nothing is fool-proof to a sufficiently talented fool.




Re: kdm: missing nousers: alias, qmail* (and MaxShowUID)

2001-07-03 Thread Oswald Buddenhagen
  yes, sounds good. will do at once. i'm only a bit concerned about the
  kcontrol frontend, as we're in a message freeze.
 
 undocumented feature? :)
 
yes, obviously the best solution for now. not even undocumented, but
one of the many other options without a frontend. :)

greetings

-- 
Hi! I'm a .signature virus! Copy me into your ~/.signature, please!
--
Nothing is fool-proof to a sufficiently talented fool.




Re: kdm: missing nousers: alias, qmail* (and MaxShowUID)

2001-07-03 Thread Oswald Buddenhagen
 In case you are at the LinuxTag on Thursday/Friday

too bad ... i won't attend. :(

 I'll take the oppertunity and spend you a real bear!
 
oh yes, a grizzly, please. or, even better, a giraffe. *lol*
no, seriously, beer and other brew stinks to me.

spend me an orange juice at some future event. :)

greetings

-- 
Hi! I'm a .signature virus! Copy me into your ~/.signature, please!
--
Nothing is fool-proof to a sufficiently talented fool.




Re: kdm: missing nousers: alias, qmail* (and MaxShowUID)

2001-07-02 Thread Oswald Buddenhagen
 Oswald, how about a MaxShowUID (default 2)? 

for debian, it would be 1000.

 Fits nice with Debians policy (
 http://www.de.debian.org/doc/debian-policy/ch-opersys.html#s10.2 )
 and saves Ivan some time adding 'missing' NoUsers entries ;)
 
indeed. the problem is, that this limit is distribution-specific, so i
cannot enable it by default without risking dumb bug reports. however,
it's probably a good idea if ivan sets this for debian.

greetings

-- 
Hi! I'm a .signature virus! Copy me into your ~/.signature, please!
--
Nothing is fool-proof to a sufficiently talented fool.




Re: kdm won't start

2001-07-01 Thread Oswald Buddenhagen
 There has been a fairly major restructuring of kdm, and it does not rely on 
 files in /usr/X11/kdm anymore. 
 
nope, according to the log he's using an older version.

greetings

-- 
Hi! I'm a .signature virus! Copy me into your ~/.signature, please!
--
Nothing is fool-proof to a sufficiently talented fool.




Re: Create new users in a special way

2001-06-29 Thread Oswald Buddenhagen
 Hello!
 
tach auch! :)

 Now I want to create /home/directories in the way the programm adduser
 create /home/directories /copying files from /etc/skel and copy them in
 user's home directory, and so on.
 
for user in `cut -f1 -d: /etc/passwd`; do
  su - $user -c 'cp -r /etc/skel ~'
done 

might be a point to start (don't even think about just executing it).

greetings

-- 
Hi! I'm a .signature virus! Copy me into your ~/.signature, please!
--
Nothing is fool-proof to a sufficiently talented fool.




Re: Konfiguration des grafischen Einloggens unter selbstdef. Session!

2001-06-19 Thread Oswald Buddenhagen
this is an english-speaking list. ;-)

 Nun zu meiner Frage: Beim grafischen Einloggen, wäre es sehr praktisch
 eine Session z. B. 1. Anfangssession  vom Benutzer aufrufen zu können,
 die die Anfangseinstellungen (von mir für alle Benutzer gleichartig
 entworfen und eingerichtet) enthält.
 
hack the /etc/X11/Xsession of every machine.

case $1 in
kde) test -d ~/.kde || cp -r /some/path/default-kde-config ~/.kde;;
gnome) same for gnome, etc.;;
esac

this would setup defaults for every session type when the user starts
it the first time. no need for a separate initialization session.

hth

gruß aus dräschdn :)

-- 
Hi! I'm a .signature virus! Copy me into your ~/.signature, please!
--
Nothing is fool-proof to a sufficiently talented fool.




  1   2   >