<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"><html>
<head>
<meta name="Generator" content="Zarafa WebAccess v7.0.1-28479">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>RE: [X2Go-Dev] - Dependency for kdialog</title>
<style type="text/css">
body
{
font-family: Arial, Verdana, Sans-Serif ! important;
font-size: 12px;
padding: 5px 5px 5px 5px;
margin: 0px;
border-style: none;
background-color: #ffffff;
}
p, ul, li
{
margin-top: 0px;
margin-bottom: 0px;
}
</style>
</head>
<body>
<p> </p><p>Hi List, </p><p> </p><p>Another way to find out which environment is present is with wmctrl. This utitlity gives information on the current window manager and could be used as a basis to determine the dialog that is to be shown.</p><p> </p><p>Cheers,</p><p>DKniep</p><p> </p><blockquote style="border-left: 2px solid #325FBA; padding-left: 5px;margin-left:5px;">-----Oorspronkelijk bericht-----<br /><strong>Aan:</strong> x2go-dev@lists.berlios.de; <br /><strong>Van:</strong> newsgroups.mail2@stefanbaur.de<br /><strong>Verzonden:</strong> ma 13-02-2012 12:01<br /><strong>Onderwerp:</strong> Re: [X2Go-Dev] - Dependency for kdialog<br />Am 13.02.2012 11:02, schrieb Sören Plönnigs:<br />> is it possible to remove the dependency for kdialog from x2goserver <br />> package?<br />><br />> # grep '\bkdialog\b' x2goserver_3.0.99.10<br />> ./x2goserver_3.0.99.10/x2goserver/bin/x2goumount-session:<br />> system("k
dialog --error \"@line[1]\"&");<br />><br />> It's not nice that a bunch of kde packages is needed in a non kde <br />> environment.<br /><br />Disclaimer: I am not one of the coders.<br /><br />While I'm currently using KDE (and Trinity), I'm absolutely with you <br />that this shouldn't be hard-coded.<br />And I do remember seeing a rather clever hack in a bash script once, <br />that tried to figure out which dialog frontend to use (I think it tried <br />Gnome, KDE, Xdialog and finally an xterm with regular dialog inside, if <br />it detected an X Session, and regular dialog on the console, or <br />something like that).<br /><br />That was quite a while ago, though, so I don't exactly remember where <br />that was.<br /><br />It could have been in the "Terminate or Suspend" dialog on a FreeNX <br />system. Or it was one of the system configuration menus in KNOPPIX (like <br />where you could change network settin
gs or install the system to disk).<br /><br />Also, googling turned up http://packages.debian.org/squeeze/ssft<br /><br />Maybe this helps as a starting point for the coders involved?<br /><br />-Stefan<br />_______________________________________________<br />X2Go-Dev mailing list<br />X2Go-Dev@lists.berlios.de<br />https://lists.berlios.de/mailman/listinfo/x2go-dev<br /><br /><br /><br /><br /></blockquote>
!DSPAM:4f38f4ed15824979378548!
</body>
</html>