[xcrysden] Xcrysden not opening
Tone Kokalj
tone.kokalj at ijs.si
Tue Mar 4 07:31:57 CET 2025
Dear Shyam,
Uncomment the "#set toglOpt(accum) false" line in the
custom-definitions file, i.e., create the $USER/.xcrysden directory and
copy the custom-definitions file into it and then edit the file.
In the Ubuntu/Debian version, the file is located in
/usr/share/xcrysden/Tcl/custom-definitions
If you installed xcrysden yourself, then the file is located in
$XCRYSDEN_TOPDIR/Tcl/custom-definitions
For example:
cd
mkdir .xcrysden
cd .xcrysden
cp /usr/share/xcrysden/Tcl/custom-definitions .
and edit the file by uncommenting the "#set toglOpt(accum) false"
line.
Best regards.
Tone
--
Jožef Stefan Institute, Ljubljana, Slovenia
On Tue, 2025-03-04 at 10:23 +0545, sumit shah wrote:
> Dear all,
> I have installed xcrysden from the package manager. However, it
> blinks and disappears when I open it showing following error message;
>
> XCRYSDEN_TOPDIR=/usr/share/xcrysden
> XCRYSDEN_SCRATCH=/tmp
>
> Running on platform : unix
> Operating system : Linux
> Package ImageMagick's convert: /usr/bin/convert
> Package ImageMagick's import: /usr/bin/import
> Package Ppmtompeg: /usr/bin/ppmtompeg
> Package Xwd: /usr/bin/xwd
> Executing: /usr/lib/xcrysden/ftnunit
> Error in startup script:
> Couldn't configure togl widget
> while executing
> "togl .mesa -width 400 -height 400 -ident
> .mesa -rgba $toglOpt(rgba) -redsize
> $toglOpt(redsize..."
> (procedure "PlaceGlobWin" line 107)
> invoked from within
> "PlaceGlobWin 0 [expr round(670 * $fac1)] [expr round(670 * $fac1)]"
> (procedure "ViewMol" line 25)
> invoked from within
> "ViewMol ."
> invoked from within
> "if { [llength $argv] > 2 } {
> parseComLinArg [lrange $argv 2 end]
> } else {
> ViewMol .
> }"
> (file "/usr/share/xcrysden/Tcl/xcInit.tcl" line 633)
> How can I fix this issue? I am using the 24.04 version of ubuntu.
> Please advise me.
>
> Regards,
> Shyam Sharma
> M.Sc Physics, Tribhuvan University, Nepal
> _______________________________________________
> XCrySDen mailing list
> XCrySDen at democritos.it
> http://www.democritos.it/mailman/listinfo/xcrysden
More information about the XCrySDen
mailing list