{"id":37,"date":"2022-04-26T11:12:21","date_gmt":"2022-04-26T09:12:21","guid":{"rendered":"https:\/\/extra.lp2ib.in2p3.fr\/G4\/?page_id=37"},"modified":"2024-07-03T14:33:49","modified_gmt":"2024-07-03T12:33:49","slug":"hints","status":"publish","type":"page","link":"https:\/\/extra.lp2ib.in2p3.fr\/G4\/hints\/","title":{"rendered":"Hints"},"content":{"rendered":"\n<p>Depending on your country, you may need to change your<strong> <mark style=\"background-color:rgba(0, 0, 0, 0);color:#34598f\" class=\"has-inline-color\">keyboard settings<\/mark><\/strong>. By default, a french keyboard is configured. You can change it in two places :<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>To change the keyboard in the<strong> login screen<\/strong>, click on the power icon on the top right corner, select the settings icon, then <strong>Keyboard<\/strong>. Then you can define your keyboard preference in the \u00ab\u00a0Input\u00a0\u00bb section<\/li>\n\n\n\n<li>To change the keyboard in a<strong> terminal screen,<\/strong> click on \u00ab\u00a0fr\u00a0\u00bb on the top right corner and then choose your keyboard<\/li>\n<\/ul>\n\n\n\n<p>The <strong><mark style=\"background-color:rgba(0, 0, 0, 0);color:#3b5884\" class=\"has-inline-color\">default username account<\/mark><\/strong> is <strong>local1<\/strong> and it has the same password<\/p>\n\n\n\n<p>You can <strong>configure entirely by your own<\/strong> your Virtual Linux Machine as root. The root password is mentioned in the <a href=\"https:\/\/extra.lp2ib.in2p3.fr\/G4\/Readme\/\">README<\/a> file<\/p>\n\n\n\n<p>You may need to define an <strong><mark style=\"background-color:rgba(0, 0, 0, 0);color:#3d5d8d\" class=\"has-inline-color\">exchange directory<\/mark> between your host (Windows or MacOS) and the Linux virtual machine containing Geant4. To do that,<\/strong> in the VM menu for the VMware software, do as follows :<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Go to the Player menu, <\/li>\n\n\n\n<li>Select Virtual Machine Settings\/Options\/Shared Folders, <\/li>\n\n\n\n<li>Make sure the \u00ab <strong>Always enabled<\/strong> \u00bb option is selected,<\/li>\n\n\n\n<li>Select Add to chose a host path for a folder and give it a name like \u00ab shared \u00bb,<\/li>\n\n\n\n<li>Click Finish, then you should see the name of this directory appear in the \u00ab Host Path \u00bb,<\/li>\n\n\n\n<li>Then click OK<\/li>\n<\/ul>\n\n\n\n<p>Under your Linux session, your exchange directory is located at <mark style=\"background-color:rgba(0, 0, 0, 0);color:#3e5476\" class=\"has-inline-color\"><strong>\/mnt\/hgfs<\/strong><\/mark>\/name_of_share<\/p>\n\n\n\n<p>You can <strong><mark style=\"background-color:rgba(0, 0, 0, 0);color:#425b7f\" class=\"has-inline-color\">increase the memory size<\/mark> of your Virtual Machine<\/strong>, especially if your PC has a large memory size available; for example, to do so with VMware, simply go to the Virtual Machine menu, select Virtual Machine Settings, Hardware and select the memory size you need<\/p>\n\n\n\n<p>If your machine is equipped with more than <strong>two processors<\/strong>, you may choose the number of processors in the Virtual Machine menu (in the case of VMware), select Virtual Machine Settings, Hardware<\/p>\n\n\n\n<p>You may change <strong><mark style=\"background-color:rgba(0, 0, 0, 0);color:#384e70\" class=\"has-inline-color\">Geant4 environment<\/mark><\/strong> user variables by adding a <strong>.ucshrc<\/strong> file located in the directory <strong>\/home\/local1<br><\/strong>By default, the following Geant4 environment variables have been set to 1 :<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>G4UI_USE_TCSH<\/strong> (for User Interface)<\/li>\n\n\n\n<li><strong>G4UI_USE_QT<\/strong> (Qt interface)<\/li>\n\n\n\n<li><strong>G4VIS_USE_OPENGLX<\/strong> (for Visualization)<\/li>\n<\/ul>\n\n\n\n<p>You may create <strong><mark style=\"background-color:rgba(0, 0, 0, 0);color:#485b77\" class=\"has-inline-color\">a new disk<\/mark><\/strong> in your virtual machine in case you need more space for your data. All instructions are given in the above cited <a href=\"https:\/\/extra.lp2ib.in2p3.fr\/G4\/Readme\/\">README<\/a> file<\/p>\n\n\n\n<p>Here&nbsp; is a <a href=\"http:\/\/geant4.in2p3.fr\/IMG\/txt_keys.txt\" target=\"_blank\" rel=\"noreferrer noopener\">text file<\/a> for useful key combinations if you are using a Mac<\/p>\n\n\n\n<p>Make sure to use <strong><mark style=\"background-color:rgba(0, 0, 0, 0);color:#364a68\" class=\"has-inline-color\">the latest version of the virtualization software<\/mark><\/strong><\/p>\n\n\n\n<p>Under Windows, you may encounter problems if the disks (internal &amp; external hard drives, USB keys\u2026) where you uncompress your files have been formatted in the FAT32 format. Use <strong>NTFS or exFat formatted disks <\/strong>(same remark for USB keys)<\/p>\n\n\n\n<p><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Depending on your country, you may need to change your keyboard settings. By default, a french keyboard is configured. You can change it in two places : The default username account is local1 and it has the same password You can configure entirely by your own your Virtual Linux Machine as root. The root password&hellip; <a class=\"more-link\" href=\"https:\/\/extra.lp2ib.in2p3.fr\/G4\/hints\/\">Poursuivre la lecture <span class=\"screen-reader-text\">Hints<\/span><\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"class_list":["post-37","page","type-page","status-publish","hentry","entry"],"_links":{"self":[{"href":"https:\/\/extra.lp2ib.in2p3.fr\/G4\/wp-json\/wp\/v2\/pages\/37","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/extra.lp2ib.in2p3.fr\/G4\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/extra.lp2ib.in2p3.fr\/G4\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/extra.lp2ib.in2p3.fr\/G4\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/extra.lp2ib.in2p3.fr\/G4\/wp-json\/wp\/v2\/comments?post=37"}],"version-history":[{"count":15,"href":"https:\/\/extra.lp2ib.in2p3.fr\/G4\/wp-json\/wp\/v2\/pages\/37\/revisions"}],"predecessor-version":[{"id":360,"href":"https:\/\/extra.lp2ib.in2p3.fr\/G4\/wp-json\/wp\/v2\/pages\/37\/revisions\/360"}],"wp:attachment":[{"href":"https:\/\/extra.lp2ib.in2p3.fr\/G4\/wp-json\/wp\/v2\/media?parent=37"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}