#[solved] Cannot get XTerm to work with VSCode

16 messages · Page 1 of 1 (latest)

half pagoda
#

I'm starting to learn C# development. I created a new folder, opened it in VSCode, and ran dotnet new console inside the folder to create the console program. I then did ctrl+shift+p and did .NET: generate assets for build and debug so that it would generate the .vscode folder within the project. I opened the launch.json file and changed the "console" property from internalConsole to externalTerminal and it says unable to launch debugger worker process (vsdbg) thgh the terminal. spawn xterm enoent. XTerm exists within /usr/bin but is an unknown file. I have tried running garuda-update xterm and sudo pacman -Syu xterm to update it and reinstall it, but it won't work. Keeps giving the error

╭─mek@FireDragon in ~ took 2ms
╰─λ sudo pacman -Syu xterm
[sudo] password for mek:
:: Synchronizing package databases...
garuda is up to date
core is up to date
extra is up to date
community is up to date
multilib is up to date
chaotic-aur is up to date
:: Starting full system upgrade...
warning: reflector-simple: local (2.0-1.1) is newer than garuda (2.0-1)
resolving dependencies...
looking for conflicting packages...

Packages (3) luit-20230201-1  xbitmaps-1.1.3-1  xterm-380-1

Total Installed Size:  1.31 MiB

:: Proceed with installation? [Y/n] y
(3/3) checking keys in keyring                                     [------------------------------------] 100%
(3/3) checking package integrity                                   [------------------------------------] 100%
(3/3) loading package files                                        [------------------------------------] 100%
(3/3) checking for file conflicts                                  [------------------------------------] 100%
error: failed to commit transaction (conflicting files)
xterm: /usr/bin/xterm exists in filesystem
Errors occurred, no packages were upgraded.
```and I can't figure out how to fix that. When I try and run `sudo pacman -R xterm` it tells me that the target isn't found. So how can I get xterm to work in vscode for my c# programs??? Thanks in advance. I'm on the dragonized garuda linux arch linux os distro
half pagoda
#

I have been reading docs for about an hour now and I cannot find a solution to this issue. Has anyone encountered this before?

cinder coyoteBOT
#

This command can only be ran in a active ticket

#

This command can only be ran in a active ticket

half pagoda
#

[solved] Cannot get XTerm to work with VSCode

thorny pebble
#

how did you solve this

supple edge
#

you can do pacman -Syu xterm --overwrite "/usr/bin/xterm" to overwrite existing files.
or --overwrite "*" if you know what's causing the conflict and want to overwrite anything that comes up...

half pagoda
#

nevermind. I had the wrong terminal in the settings. Thank you for your help!

supple edge
#

there's xdg-terminal which points to your default terminal, maybe you want to set that up.
you can set xdg-terminal wherever you want to use terminals and then you can change the default terminal in xdg settings if you feel like changing terminals and the change will reflect everywhere.

half pagoda
#

my normal terminal gnome-terminal doesn't support some of the customization lines that I want to use to design the terminal in C# like setting the amount of rows and stuff. I mean I don't have to use it, but that was another reason

#

and when I use Console.setTitle(""); it won't change the terminal title either

#

well it doesn't matter. That isn't an option with Console anymore on this OS