Code Blocks package possible missing dependency

So today I installed Code Blocks to check it out and got an error after trying to run an hello world c project. In the end it turned out, that Code Blocks tried to run “xterm -T …” to run the compiled program, but xterm was not installed on my machine. After installing xterm everything was fine.

Since I still have much to learn linux wise, is this simply a missing package dependency in the codeblocks pagacke, or is the error on my end, because I somehow uninstalled xterm and applications assume that xterm is always there, or something entirely different?

And if it is indeed a missing package dependency, where can I fix or report it?

https://archlinux.org/packages/community/x86_64/codeblocks/

1 Like

Although i never used code blocks, i guess xterm is just set as the default terminal emulator in the settings somewhere.

Edit

Settings → Environment → Terminal to launch console programs

Change it to whatever terminal emulator you want. Does not need to be xterm.

4 Likes

Ok, that was too easy :smiley: Thank you very much

1 Like

I’m with @moson.

The first thing I do for any application is go through all “Settings” or “Preferences” depending on what they call them :slight_smile:

I opened up pamac, searched for codeblock, and selected it. In the details is the home address for the package, http://codeblocks.org. You can also get this information from the commandline: pacman -Si codeblocks.

In firefox I do a site search. In the firefox address bar (I use duckduckgo search engine), I typed xterm site:https://www.codeblocks.org and the first entry was “How do you use Gnome Terminal instead of Xterm”.

2 Likes

This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.