Welcome, Guest
Username: Password: Remember me
CodeTyphon Linux OS Development, discussions and problems
  • Page:
  • 1

TOPIC:

Help - I accidentally messed up my IDE 1st line Menu at the top. 5 days 22 hours ago #18865

  • Adaptive Business Applications
  • Adaptive Business Applications's Avatar Topic Author
  • Away
  • New Member
  • New Member
  • Posts: 17
  • Thank you received: 0
Hi,

Please help on how I can restore the CodeTyphon IDE Toolbars (on Linux), especially the very top line to standard. I have tried every "default" button I could find and nothing restored the top line. I now have the top line and the second line as copies of each other... 

Thx in advance - JB

Please Log in or Create an account to join the conversation.

Help - I accidentally messed up my IDE 1st line Menu at the top. 5 days 20 hours ago #18866

  • Matis A.
  • Matis A.'s Avatar
  • Away
  • Moderator
  • Moderator
  • Posts: 1186
  • Thank you received: 185
Close TyphonIDE
Open CTCenter
Restore Default Settings

 
PilotLogic Core Programmer
Attachments:
The following user(s) said Thank You: Adaptive Business Applications

Please Log in or Create an account to join the conversation.

Help - I accidentally messed up my IDE 1st line Menu at the top. 5 days 6 hours ago #18867

  • Adaptive Business Applications
  • Adaptive Business Applications's Avatar Topic Author
  • Away
  • New Member
  • New Member
  • Posts: 17
  • Thank you received: 0
Hi, Thx a lot for the help, the duplicate top bar is now gone but the headings are still missing, is there a way to get that back?

Please Log in or Create an account to join the conversation.

Help - I accidentally messed up my IDE 1st line Menu at the top. 5 days 5 hours ago #18868

  • Matis A.
  • Matis A.'s Avatar
  • Away
  • Moderator
  • Moderator
  • Posts: 1186
  • Thank you received: 185
Please
give me a screen to help you
PilotLogic Core Programmer
The following user(s) said Thank You: Adaptive Business Applications

Please Log in or Create an account to join the conversation.

Last edit: by Matis A..

Help - I accidentally messed up my IDE 1st line Menu at the top. 5 days 4 hours ago #18869

  • Adaptive Business Applications
  • Adaptive Business Applications's Avatar Topic Author
  • Away
  • New Member
  • New Member
  • Posts: 17
  • Thank you received: 0
Hi, here is the screen shot.

Attachments:

Please Log in or Create an account to join the conversation.

Help - I accidentally messed up my IDE 1st line Menu at the top. 4 days 21 hours ago #18870

  • Matis A.
  • Matis A.'s Avatar
  • Away
  • Moderator
  • Moderator
  • Posts: 1186
  • Thank you received: 185
This is NOT normal,
TyphonIDE MainMenu is always visible.

Please give us more info
-Linux distribution 
-Desktop Platform 
-TyphonIDE Build Platform 
etc
PilotLogic Core Programmer
The following user(s) said Thank You: Adaptive Business Applications

Please Log in or Create an account to join the conversation.

Last edit: by Matis A..

Help - I accidentally messed up my IDE 1st line Menu at the top. 4 days 7 hours ago #18871

  • Adaptive Business Applications
  • Adaptive Business Applications's Avatar Topic Author
  • Away
  • New Member
  • New Member
  • Posts: 17
  • Thank you received: 0
Hi, Thx for helping :) - here is the info:

- Computer: AMD AM4 Athlon, 16GB Ram, 256 GB HD
-Linux distribution - OpenSuse Leap 15.6
-Desktop Platform - KDE Plasma, Version 5.115.0-150600.1.3.x86_64 vendor SUSE LLC
-TyphonIDE Build Platform : 
* CodeTyphonCenter Ver 8.60 for Linux 64
* Typhon64 for Linux64 (BigIDE)

Here is the installation script:

user@abawispserver:~/CodeTyphonIns> more install.sh
#!/bin/bash
# =============================================================
#               CodeTyphon Studio
#      Copyright (c) PilotLogic Software House.
#               All rights reserved.
# =============================================================

xwritelogo()  
{
echo " "
echo "===================================================="
echo "             CodeTyphon Studio "
echo "            Version 8.60 (GEN 8)"
echo "  Installation for Linux-Solaris-Openindiana-MacOS"
echo "          FreeBSD-NetBSD-OpenBSD-DragonFly"
echo "===================================================="
}

#================ Check User Privileges ===========

xcheckuserprivileges()  
{
if [ $(id -u) = 0 ]; then  

echo " "
echo "
WARNING
WARNING ----WARNING
"
echo "You tryng to install CT as root"
echo "This is NOT the correct procedure."
echo "You MUST start CodeTyphon Installation as normal user"
echo "with sudo root privileges"
echo "
"

fi

#
Check for sudo command
 
CAN_RUN_SUDO=$(sudo -n uptime 2>&1|grep "load"|wc -l)
if ! [ ${CAN_RUN_SUDO} -gt 0 ]
then     
echo " "
echo "
ERROR
ERROR ----ERROR
"
echo " "
echo "Current user can NOT run the sudo command"
echo "To correct this problem:"
echo "1) Install sudo"
echo "2) Add current user to sudo list"
echo "   with root privileges"
echo " "
echo "
ERROR
ERROR ----ERROR
"
echo " "

exit
fi

}

#================ Check Installation Dir =======================

xcheckinsdir()
{

if [ -d /usr/lib/codetyphon/ ] ;
then    
 echo " "
 echo "Removing OLD Installation Dir (CT<8.60 /usr/lib/codetyphon)"
 echo "please wait..."
 echo " "
 sudo rm -fr /usr/lib/codetyphon
fi

if [ ! -d /usr/local/ ] ;
then    
 sudo mkdir /usr/local   
 sudo chmod -R 777 /usr/local
fi

if [ ! -d /usr/local/bin/ ] ;
then    
 sudo mkdir /usr/local/bin   
 sudo chmod -R 777 /usr/local/bin   
fi

}

#================ Remore ALL CT Files and Directories ===========
xdeleteallfiles()  
{

sudo rm -fr /usr/local/codetyphon

# ---- Remove Desktop Links ----

if [ -f ~/Desktop/codetyphon.desktop ] ;
then
 sudo rm -f ~/Desktop/codetyphon.desktop
fi
if [ -f ~/Desktop/typhon32.desktop ] ;
then
 sudo rm -f ~/Desktop/typhon32.desktop
fi
if [ -f ~/Desktop/typhon64.desktop ] ;
then
 sudo rm -f ~/Desktop/typhon64.desktop
fi

# ---- Remove Dirs and Files ----

sudo rm -f /usr/bin/codetyphon
sudo rm -f /usr/bin/typhon*
sudo rm -f /usr/bin/fpc32
sudo rm -f /usr/bin/fpc64
sudo rm -f /usr/bin/ppc*

sudo rm -f /usr/local/bin/codetyphon
sudo rm -f /usr/local/bin/typhon*
sudo rm -f /usr/local/bin/fpc32
sudo rm -f /usr/local/bin/fpc64
sudo rm -f /usr/local/bin/ppc*

}

#================ Remove ========================
xremove()  
{
echo " "
echo "
"
echo " "
echo "Totally removing CodeTyphon"
echo "please wait..."
echo " "

xdeleteallfiles

# ---- Remove MacOS stuff ----

if [ -f /usr/local/lib/libc.dylib ] ;
then
 sudo rm -fr /usr/local/lib
fi

if [ -d /Library/Frameworks/CoreFoundation.framework ] ;
then
 sudo rm -fr /Library/Frameworks/CoreFoundation.framework
fi

echo " "
echo "[FINAL INFO] CodeTyphon Studio removed from you PC"
echo " "
}

#================ First Install ===================
xinstall()  
{
echo " "
echo "
"
echo " "
echo "Copying new files"
echo "please wait..."
echo " "

sudo mkdir /usr/local/codetyphon
sudo chmod -R 777 /usr/local/codetyphon

sudo cp -fr installbin/* /usr/local/codetyphon

sudo chmod -R 777 /usr/local/codetyphon/*
sudo chmod +x /usr/local/codetyphon/*.sh

cd /usr/local/codetyphon
bash ./setup.sh
}

#================ Remove and Install ===============
xremoveinstall()  
{
echo " "
echo "
"
echo " "
echo "Removing Old CodeTyphon installation"
echo "please wait..."

xdeleteallfiles

sudo mkdir /usr/local/codetyphon
sudo chmod -R 777 /usr/local/codetyphon
echo " "
echo "Copying new files"
echo "please wait..."

sudo cp -fr installbin/* /usr/local/codetyphon

sudo chmod -R 655 /usr/local/codetyphon/*
sudo chmod +x /usr/local/codetyphon/*.sh

cd /usr/local/codetyphon
bash ./setup.sh
}

#================ Update ========================
xupdate()  
{
echo " "
echo "
"
echo " "
echo "Updating CodeTyphon installation"
echo "please wait..."
echo " "

#
if [ -d /usr/local/codetyphon/allzips ] ;
then
 sudo rm -fr /usr/local/codetyphon/allzips
fi

if [ -d /usr/local/codetyphon/bin ] ;
then
 sudo rm -fr /usr/local/codetyphon/bin
fi

if [ -d /usr/local/codetyphon/binBase ] ;
then
 sudo rm -fr /usr/local/codetyphon/binBase
fi

if [ -d /usr/local/codetyphon/binCenter ] ;
then
 sudo rm -fr /usr/local/codetyphon/binCenter
fi

if [ -d /usr/local/codetyphon/binTools ] ;
 then
sudo rm -fr /usr/local/codetyphon/binTools
fi

if [ -d /usr/local/codetyphon/help ] ;
then
 sudo rm -fr /usr/local/codetyphon/help
fi

if [ -d /usr/local/codetyphon/ScriptsLin ] ;
then
 sudo rm -fr /usr/local/codetyphon/ScriptsLin
fi

if [ -d /usr/local/codetyphon/ScriptsWin ] ;
then
 sudo rm -fr /usr/local/codetyphon/ScriptsWin
fi

#
DEV
if [ -d /usr/local/codetyphon/xIDE ] ;
then  
sudo rm -fr /usr/local/codetyphon/xIDE
fi
if [ -d /usr/local/codetyphon/xLAB_App ] ;
then  
sudo rm -fr /usr/local/codetyphon/xLAB_App
fi

#

sudo cp -fr installbin/* /usr/local/codetyphon

sudo chmod -R 777 /usr/local/codetyphon/*
sudo chmod +x /usr/local/codetyphon/*.sh

cd /usr/local/codetyphon
bash ./setup.sh
}

#================ Small Menu =======================
xmenusmall()  
{

echo " "
echo "   0) Install CodeTyphon Studio"
echo " "
echo "   9) Exit"
echo " "
echo -n ">>> Select an action (press 0..9 key): "

read var_read

case $var_read in
0)    
 xinstall  
;;
*)  
 exit
;;
esac
}

#================ Big Menu ========================
xmenubig()  
{

echo " "
echo "   0) Install CodeTyphon Studio (remove old first)"
echo " "
echo "   1) Update CodeTyphon Studio"
echo " "
echo "   2) Remove CodeTyphon Studio"
echo " "
echo " "
echo "   9) Exit"
echo " "
echo -n ">>> Select an action (press 0..9 key): "

read var_read

case $var_read in
0)    
 xremoveinstall  
;;
1)  
 xupdate  
;;
2)  
 xremove
 xwritelogo
 xmenusmall
;;
*)   
 exit
;;
esac
}

# ================= MAIN ======================
xwritelogo
xcheckuserprivileges
xcheckinsdir

if [ -d /usr/local/codetyphon ] ;
then  
 xmenubig
else
 xmenusmall
fi

user@abawispserver:~/CodeTyphonIns>

 

Please Log in or Create an account to join the conversation.

Help - I accidentally messed up my IDE 1st line Menu at the top. 4 days 7 hours ago #18872

  • Adaptive Business Applications
  • Adaptive Business Applications's Avatar Topic Author
  • Away
  • New Member
  • New Member
  • Posts: 17
  • Thank you received: 0
   



Also here is a screen shot of CTC which is missing a lot of options I think:

 
Attachments:

Please Log in or Create an account to join the conversation.

Last edit: by Sternas Stefanos. Reason: just to ensure image shows

Help - I accidentally messed up my IDE 1st line Menu at the top. 3 days 21 hours ago #18873

  • Sternas Stefanos
  • Sternas Stefanos's Avatar
  • Offline
  • Moderator
  • Moderator
  • Ex Pilot, M.Sc, Ph.D
  • Posts: 4546
  • Thank you received: 1121
Sir
The problem is
Your CodeTyphon installation user don't have "sudo" root privileges

My suggestion:
Remove CodeTyphon and
Follow this tutorial

And some Pics from our tests on openSUSE-Leap-15.6 with KDE Desktop...

 


 

My /etc/sudoers file, username = sternas
 



CT for GTK2
 


CT for QT6
 


CT for QT5
 
 
PilotLogic Architect and Core Programmer
Attachments:
The following user(s) said Thank You: Adaptive Business Applications

Please Log in or Create an account to join the conversation.

Last edit: by Sternas Stefanos.

Help - I accidentally messed up my IDE 1st line Menu at the top. 3 days 8 hours ago #18875

  • Adaptive Business Applications
  • Adaptive Business Applications's Avatar Topic Author
  • Away
  • New Member
  • New Member
  • Posts: 17
  • Thank you received: 0
Good Morning, Thx very much for all your help and assistance, I have solved the problem as follows:

1. I was already a "sudo doer" priviledges as per the tutotial.
2. The problem was caused by the plasma window manager that had to be reset by deleting the following files:

rm ~/.config/plasma-org.kde.plasma.desktop-appletsrc
rm plasmashellrc

Apparently Plasma can cause missing menus under certain circumstances not related to Typhon.

Once again, thanks for your wonderful service. :) :) :)
Then I logged off and back on and the problem was gone.

Please Log in or Create an account to join the conversation.

Help - I accidentally messed up my IDE 1st line Menu at the top. 3 days 3 hours ago #18876

  • Sternas Stefanos
  • Sternas Stefanos's Avatar
  • Offline
  • Moderator
  • Moderator
  • Ex Pilot, M.Sc, Ph.D
  • Posts: 4546
  • Thank you received: 1121
Thanks Sir
Have fun
PilotLogic Architect and Core Programmer

Please Log in or Create an account to join the conversation.

  • Page:
  • 1