Error when i try to install the rxyhn dotfiles to personalize my arch linux - archlinux

I already configurate the system and established a gnome graphic environment, but i don´t like it so much, so i decided to personalize with the dotfiles of rxyhn https://github.com/rxyhn/dotfiles because i like the style he give to it.
I have done the step by step that he tell there but when i try to start this enviroment (with awesome) it tells me that it has an error in /home/giral0/.config/awesome/modules/b and there is only better-resize.lua and bling (https://github.com/BlingCorp/bling) and i think the error is with bling. When i start this it appears to me the basic awesome but it's strange because it also has thing of the dotfiles environment.
I don´t know what to do because i am kinda new in arch so i hope some of you can help me.

Related

IntelliJ-How to solve this problem about Git is not installed : Cannot invoke(class=Listener, method=beforeTaskStart,topic=ProgressManagerListener)

Thank you for come in to my ask :)
I have a problem when I first installed intelliJ and tried to set path to Git executable.
intelliJ setting screenshot
**I tried to solve this problem like this
remove git and retry to install git for homebrew
retry to install git from intelliJ "Download and install"
set another path like this "/usr/bin/git" (it has same result too)
**
but it didn't help so I search in google but there is no about
***"Cannot invoke(class=Listener, method=beforeTaskStart,topic=ProgressManagerListener)"
This is my first question so maybe my writing is a little bit poor
I would appreciate it if you could take a good look :) Thank you
The Cannot invoke class error looks like some unhandled exception in the logic that runs git commands. There might be several reasons for that, one of which is actually a corrupted installation.
Please try doing a clean install by downloading dmg from the web site, and make sure to select the one corresponding your system Intel or Apple Silicon.
If this does not help, IDE logs might have more details on the exception, and an optimal way would be to report the error and share logs with IntelliJ Support

VSCode Java Extension Pack: sudden linter, refactoring, semantic highlighting issues

Don't know how to go about describing the details of my problem, but out of nowhere all of the useful code tools that I use for Java have partially stopped working. Go To Definition, Change All Occurences, and hover functionalities have all disappeared. I'm working on a remote machine through SSH, but I don't think that's the problem because another computer I'm working on works fine.
I've tried uninstalling and reinstalling every extension I have, I've tried quitting and restarting VSCode, I've tried deleting and reinstalling the application, all to no avail. I'm desperately in need of help with this problem
Finally figured it out -- I had to start the RedHat language server extension from a clean slate with the command Java: Clean Java Language Server Workspace

Install v4l2loopback in WSL2

I am currently struggling with v4l2loopback installation on WSL2.
Some context:
Recently, I have read about create a virtual video device in Linux and then mock its output from an image or video file.
This is quite important for testing or developing purposes, for example in order to attach a virtual webcam that reproduces a video file as a loop to the android emulator.
After some research I got to the conclusion I don't want to use desktop applications and it might be easy to run even in a CI or similar, therefore v4l2loopback looks nice, but I am currently a Windows user.
I enabled WSL2 on my machine, downloaded the repo, and tried to execute make command like in the repo description.
Building v4l2-loopback driver...
make -C /lib/modules/`uname -r`/build M=/home/angel/v4l2loopback modules
make[1]: *** /lib/modules/4.19.84-microsoft-standard/build: No such file or directory. Stop.
make: *** [Makefile:43: v4l2loopback.ko] Error 2
I googled a little bit and i found that issue on GitHub where a similar output (for another tool) is mentioned.
There, someone mentioned that WSL2 Kernel Config can be adjusted in order to add more modules ( maybe and hopefully one of them could make work v4l2-loopback 😂 or at least that I think).
I also googled in order to check out custom WSL builds but I am not really sure what I need to make it work or even if I am going in the right direction.
Is there something I 've missed in order to make v4l2loopback work?
In the case only a custom WSL2 build would work, how should I proceed?
Thanks in advance 🤘
I am not familiar with WSL...
-- Ah, it appears WSL doesn't have a linux kernel at all: see
https://unix.stackexchange.com/questions/594470/wsl-2-does-not-have-lib-modules .
So it's useless building the v4l2loopback mod; even if you'd be able to build it, there's nothing, no kernel, to load it!
Maybe an alternative for you might be running Virtualbox (it's free, and available for Windows) on your windows machine, and load a real Linux distro of your own choice in it. Then build the v4l2loop module, after installing the kernel development headers, and install the mod (after building, as root do insmod v4l2loop.ko) and play with it.
Thus, you are on your way. Far more elegant, and far easier. Also will have you make an enormous and important climb on the 'getting familiar with Linux' ladder, as well as maybe familiarize yourself with a virtual machine(?).
I'd definitely go for that.

UFT: SetCellData issue PbDataWindow for radio button

I have a radio button that is represented as a pbdatawindow, when I run setcelldata to pick an option it works fine on my laptop but fails on my colleagues laptop. If we try the run the command again on my colleagues laptop we get a fatal error from UFT.
The only difference between my UFT install and my colleagues is that my colleagues version is installed in French. Has anyone seen a similar issue?
PbWindow().PbDataWindow().SetCellData 1,1,""
Few things to try:
What version of uft are you using? - perhaps check for newer of see if there is a patch available?
Jump onto the microfocus knowledge base and see if there is anything around power builder.
You say the machines are the same but does that include every application too? In the past I've known that if you install applications after uft it can break its references. Try uninstalling and reinstalling uft. There is a repair option but uninstall/reinstall is normally more thorough.
Try and clear out all your temp and user settings.
In your user profile backup then remove all folders with mercury, hp, Hewlett-Packard and microfocus.
-The go to %temp% and clear evetything.
Try and pin down the problem - Has your colleague tried the English version or uft? - if that works, is it an option? (everyone use the same version)
If it doesn't work it suggests it's your colleague's machine as opposed to uft.
Is evetything such as the resolution and browser/application versions the same? Or simply try another French localised machine?
What's the fatal error? Does it provide any clues on why it failed?
Finally, You're paying a lot for commercial software. Don't suffer in silence :-)
Log a support call with microfocus. It's a bit long winded but Back in the day they used to be pretty good at helping. They'll ask you for logs and knowing how to get that is good to know.
There's more to try - let me know how you get on.

Why won't CodeBlocks attach to a process?

I recently ran into an issue that I want to share Q&A style here. Hopefully it will help others, at minimum it is documented so I can find it later :)
When trying to run Ncurses in CodeBlocks it blows up when it hit initscr();. With VSCode this was not a problem, so I know there was something I am missing. With the help of StackOverflow it appears the best way to approach this with gdb (and CodeBlocks) is to attach to the process itself after it is running, rather than starting it in CodeBlocks. (Debugging ncurses application with gdb)
However, when I try to attach to the PID it just says that it was unable to attach to the process. Why is this?
I found that if I tried to run it through gdb on the commandline I also got this same issue. It comes from Kernal Hardening to prevent hacking. With this answer: https://stackoverflow.com/a/32274645/1770034
I discovered I needed to switch over to the root user. Then run echo 0 > /proc/sys/kernel/yama/ptrace_scope Now Code blocks will happily attach to the process and you can use your break points.