Unable to run Gala window manager - linux

I'm Elementary OS Luna (Ubuntu-based) user, and trying to do some tweaks I installed Gnome Tweaks Tool. After installing and running it, my computer got several problems.
All the windows were without borders and titlebars. Couldn't close, minimize, resize etc. I could solve it by running Compix and putting it as startup. But some good features of Elementary OS does not work with Compix, but just with Gala. And when I try to run Gala, this happens:
jefs#JefsPC:~$ gala --replace
(some css warnings, okey)
(gala:6103): GLib-GIO-ERROR **: Settings schema 'org.gnome.mutter' does not contain a key named 'center-new-windows'
Trace/breakpoint trap
jefrey#JefsPC:~$ _
I tried reinstalling elementary-desktop, removing gnome-tweaks-tool, reinstalling gala, installing and removing mutter and even going to /usr/share/glib-2.0/schemas/org.gnome.mutter.gschema.xml and putting that "center-new-windows" key manually, then restarting my computer. It made that key to show up on dconf editor, but Gala still not detecting it...
Is there something I can do to get Gala back?

Solved with apt-get upgrade && apt-get dist-upgrade

Related

How to install gVim with GTK3, and fixing "gdk-frame-clock: layout continuously requested"

I tried to install gVim in my WSL 2 environment using sudo apt install vim-gtk3.
Everything works well, but the following gdk-warning occurs when I resize a gVim window:
I haven't seen any questions about this except for What does "Gdk-WARNING **: gdk-frame-clock: layout continuously requested, giving up after 4 tries" mean?, but it does not help me.
Has anyone experienced the same problem or know how to solve it?

Mint Linux Visual Studio terminal cant run commands

This issue is just driving me crazy. I have used VB with SSH before and had no issues. For the first time I decided to make the change to mint for my computer just run into a crazy amount of privilege's issues. However this one I just cant figure it out.
I am opened the terminal in Visual Studio and tried to send a sudo, php, apt-get literally any command. It will always come back with command not found. I also tried to open a bash terminal and got the same result.
However if I just open a normal mint terminal all the commands work. So it is not that i dont have sudo or apt-get install.
What am i doing wrong here?
i once had this problem and fixed it by changing the sh ( top right corner of the terminal ) to bash by clicking it, check if maybe you have the option to

Project ERROR: Unknown module(s) in QT: datavisualization

I enabled the data visualization module in the maintenance tool while installing Qt but when I try adding datavisualization to the .pro file I get the error message as in the title. I'm not sure how to go about fixing this so could someone please help me out with this?
PS: I had also selected the checkbox for installing the charts module in the maintenance tool but that didn't work either. I had to run sudo apt install libqt5charts5 libqt5charts5-dev
for it to work
Deleting the old config folder Qt from ~/.config and re-installing Qt did the trick. Both QCharts and Qdatavisualization work flawlessly without any apt-get installation !

Ubuntu is running in low graphics mode after installing ATI driver

I have Ubuntu, version 12. I installed ATI driver and I'm getting an error running in low graphics mode.
I needed to install the driver because every time I update or upgrade Ubuntu, right after installing the packages the system runs in low graphics mode.
The answer here also couldn't help me.
Graphics card model: ATI Radeon HD 3600
Installing fglrx also didn't help. The ATI driver is still installed and it still runs in low graphics mode. What should I do?
First, you should understand that your graphics manager is messed up and that is what you want to fix. Now; here is a solution to your problem:
Here is a simple guide showing you how to do it step by step:
A step by step guide to fixing "your system is running on low graphics"
When you turn off your computer, reboot and hold these three keys:
CTRL + ALT + F1
This will open the terminal where you can enter commands that I am going to show you below:
sudo apt-get update
Next enter the following command:
sudo apt-get -d install --reinstall gdm
Next enter the following command:
sudo apt-get remove --purge gdm
Next enter the following:
sudo apt-get install gdm
Almost done; When asked to choose, please select GDM and then finally:
sudo reboot
That is all you need to solve this problem!
Ok. Let me try to help you :D
-Go to Recovery mode
-Enable network (so you have internet connection)
-Go to Root option (Recovery mode)
-When you are in terminal delete lightdm type without brackets {sudo apt-get remove --purge lightdm}
-Then type without brackets {sudo apt-get install lightdm} (wait to install it)
-Then type without brackets {sudo service lighdm start}
-When it's finished type exit (you will get back to Recovery console)
-Then go on third option dpkg (Repair broken packages)(confirm with Y)
-When it's finished with installing packages type without brackets {sudo reboot}
-After reboot you will have back your Ubuntu! :D
I solve this problem after 1 day... Im a new user :D
Almost forgot i have Ati Radeon HD6770 graphic card, if you have Nvidia try it... Hope this was helpful!
Another possible issue could be installing new programs in bin. I am not sure if that what is causing you the problem but I faced this issue because of the same issue. If I understand correctly, bin is supposed to contain only executables. By mistake I moved a whole big program to bin and when I restarted the system, I saw this error. A simple solution that I found is the following. Say you have moved the big folder ABC to bin.
Start terminal by typing Ctrl+Alt+F1 and login with your username and password.
Login to root by typing
sudo su
and providing password.
go to bin by typing
/usr/bin
type
ls -lrt
This last command will show all the files chronologically. See last few of them. One of those, say ABC, must be the one that moved by mistake to bin.
Remove that by typing
rm -r ABC
and then restart by
sudo reboot
And you get your graphics back!
You can try and turn off the switchable graphics in the BIOS:
after that, it will be possible to use the Intel video card only with proper drivers on Ubuntu.
Here is the source: http://thegeekyland.blogspot.com/2014/07/ubuntu-1404-lenovo-g510.html
In any ubuntu OS version 12.04,14.04 configured with the old graphic card ATI/RS690
change the setting as below
etc/default/grub/
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash nomodeset "
sudo update-grub
Restart

C++ Not Installed In Cygwin

I just installed Cygwin and can launch a bash shell from windows, do ls, emacs, vi , etc. However, when I do g++ it says command not found.
I thought g++ was installed by default in Cygwin? If that's not the case, what are the exact categories under which I can add g++ as a package to my cygwin?
Did you install the Devel packages?
I would suggest you read this tutorial to get up and running.
It's a good idea to just install everything with CygWin. When you run setup, just click on the circular icon at the top level until it reads "Full" rather then "Default" - that will install all the packages.
I've sometimes had trouble installing single packages due to dependencies but a full install is not affected by that same problem.
Disk space is cheap, your time spent trying to figure out why things don't work is not.

Resources