In this repository I add all the problems I have faced and solved.
if some theme give you an error, try this before:
sddm-greeter --test-mode --theme /usr/share/sddm/themes/<namefile>
- Extract the file on home
- open console and use
./Postman
- Go to Settings -> Developer Sittings -> Personal access tokens -> tokens(classic) ->generate new token(classic)
- copy the token and put it in git remote set-url origin https://@github.com/ahmadbenali/
- and then paste it in were you are working and continue were your face the problem
-
first switch off swap
-
sudo swapoff --show
-
sudo nano /etc/fstab
-
sudo rm /swapfile
-
sudo swapon /dev/nvme1n1p4
-
sudo swapon --show
-
sudo free -h
-
sudo update-grub
-
sudo update-initramfs -u
If you trying to open App but crush during loading process , i have the solution for you this problem apper because the app is deadlock so you have to kill it and reopen it.
to find if the process is working in background pgrep <process_name> this will give you an PID number for this process
Note
put the command without ( < > )
to kill process Kill this will kill the process
Note
put the command without ( < > )
and now you can open it and will work .
If you are experiencing high memory usage in Windows 11 without a virus, I have a solution for you.
A “clean boot” starts Windows with a minimal set of drivers and startup programs, so that you can determine whether a background program is interfering with your game or program.
-
In the search box on the taskbar, type msconfig and select System Configuration from the results.
-
On the Services tab of System Configuration, select Hide all Microsoft services, and then select Disable all.
-
On the Startup tab of System Configuration, select Open Task Manager.
-
Under Startup in Task Manager, for each startup item, select the item and then select Disable.
-
Close Task Manager.
-
On the Startup tab of System Configuration, select OK. When you restart the computer, it's in a clean boot environment.
-
Memory diagnostic tool is a RAM test to check if there is any issues with RAM.
-
Press Windows key + R then type in mdsched.exe hit OK then restart the device.
-
Press windows key + Pause/Break (or go to file explorer and right click This PC and click properties)
-
click on Advanced system settings> Under Performance click settings> Click Adjust for best performance and click OK
Important
this will reduce all appearance settings you have but will optimize the performance of the PC.
- open terminal using admin mode
iwr -useb https://christitus.com/win | iex- will open a tool
- choes whatever you want to download (IF YOU JUST NOW INSTALL WINDWOS)
- if you have a long time with window,go to tweaks then stander
- chose debloat edge and whatever you want
- finally, RUN tweaks and restart the pc
Note
for more info Windows Utility Improved for 2024
Encountering the “externally-managed-environment” error when trying to install Python packages with pip can be a common hurdle, especially on Debian-based systems like Ubuntu. This error, often appearing from Python 3.11 onwards, signifies that your system’s package manager (like apt) is responsible for managing Python packages to prevent conflicts and ensure system stability.
Why Does This Happen? Distributions like Debian and Ubuntu manage Python installations and their associated libraries to maintain consistency and avoid dependency hell. They package Python modules, and when pip attempts to install a package system-wide, it might overwrite or conflict with versions managed by apt. This can lead to unexpected behavior or break other system applications that rely on specific Python library versions.
Create a virtual environment:
- python3 -m venv my-project-env
- source my-project-env/bin/activate
- and install with pip
Employ pipx for Command-Line Applications:
- sudo apt install pipx
- pipx install some-python-application
issue with the nvidia card (if you have one), kernel can't communicate with the nvidia-driver.
you can do that by using another pc to control the linux using ssh
On linux:
- sudo apt install ssh (if it's not installed)
- sudo systemctl enable --now ssh
- /lib/systemd/systemd-sysv-install enable ssh
- ip a (go to wlo1 and take the ip address)
On other pc (maybe windows):
- open powershell using admin
- ssh @<ip_address>
- search on broswer Nvidia drivers and search for your card(50,40,30..) for last driver
- copy link address of download button
- wget <link_address_of_download_button>
- sudo apt remove --purge nvidia* cuda* libnvidia*
- sudo chmod +x nameOfTheFileInstalled
- sudo ./nameOfTheFileInstalled
- sudo reboot
And done.
if you see this error:
[5867:5867:0903/210413.189833:ERROR:chrome/browser/process_singleton_posix.cc:358] The profile appears to be in use by another Brave process (5560) on another computer (AHMAD). Brave has > locked the profile so that it doesn't get corrupted. If you are sure no other processes are using this profile, you can unlock the profile and relaunch Brave. [5867:5867:0903/210413.189963:ERROR:chrome/browser/ui/views/message_box_dialog.cc:198] Unable to show message box: Brave - The profile appears to be in use by another Brave process (5560) > on another computer (AHMAD). Brave has locked the profile so that it doesn't get corrupted. If you are sure no other processes are using this profile, you can unlock the profile and relaunch Brave.
You have to search for SingletonLock and remove it!
- go to the package manager where you use it to install brave like : snap or apt ...
- then go to brave directory
- then type this command
find -iname SingletonLockto find if there any file with this name, this will show a path for the files - then type
rmbefore the path and typeupdate and upgrade
And Done . . .