Linux Mint/Ubuntu/Debian Window Controls Missing Solution

If Linux Mint 17 or other has no window buttons/controls you can do the following from terminal:

marco --replace&
Sometimes it can be fixed if you go to your themes/appearance and choose a new one but in the case like mine where Compiz is installed but not running/working then that fix will not work and will require the marco command above.

What if you can't type in a terminal Window?

If you close that terminal window the problem reappears only worse, you will not be able to type anything in any window so you cannot do the fix again.


Do a Ctrl+Alt+F1 and login by terminal and do the following:

marco --replace -d :0&  (:0 specifies the X session number).

To find the Xsession #:
cat /tmp/.X0-lock
     28520



ps aux|grep 28520

user       9725  0.0  0.0  11748  2200 pts/23   S+   00:24   0:00 grep --color=auto 28520
root     28520  2.3  0.5 476780 181152 tty7    Rs+  Mar13  34:43 /usr/bin/X :0 -audit 0 -auth /var/lib/mdm/:0.Xauth -nolisten tcp vt7

"/usr/bin/X :0" shows that it is ":0" and that is why we will pass to marco's -d option


Tags:

linux, mint, ubuntu, debian, controls, solutionif, terminal, marco, themes, compiz, installed, reappears, ctrl, alt, login, specifies, xsession, tmp, ps, aux, grep, user, pts, auto, tty, rs, mar, usr, bin, audit, auth, var, lib, mdm, xauth, nolisten, tcp, vt, quot,

Latest Articles

  • RTL8821AU Setup Configure Wifi Realtek 8821 in Linux Debian Mint Ubuntu Howto
  • How To Tell Which Repository a Package Comes From Debian Mint Ubuntu
  • How To Reload All Kernel Modules And List Required Moduels for Each Device - Linux Mint Debian Ubuntu Troubleshooting
  • Debian Ubuntu Mint How To Change Default Display Manager
  • Ubuntu Mint Debian Howto Execute Command / Script / Program Upon Wakeup From Sleep
  • Linux Debian Mint Ubuntu How To Add Non-Free Repositories and Contrib
  • Debian Ubuntu Mint DHCP dhclient quits and how to make it persistent if first attempt to get DHCP lease fails
  • ssh Too many authentication failures not prompting for password
  • LightDM Mint Ubuntu Debian won't start errors Nvidia Graphics
  • WARNING: Unable to determine the path to install the libglvnd EGL vendor library config files. Check that you have pkg-config and the libglvnd development libraries installed, or specify a path with --glvnd-egl-config-path. Linux Ubuntu Mint Debian E
  • How To Upgrade Linux Mint 18.2 to 18.3 to 19.x and 20.x
  • MP3s Won't Play / ID3 Version 2.4 Issues in Cars and Other MP3 Players/CDs/DVDs Solution
  • LXC Containers LXD How to Install and Configure Tutorial Ubuntu Debian Mint
  • GlusterFS HowTo Tutorial For Distributed Storage in Docker, Kubernetes, LXC, KVM, Proxmox
  • Ubuntu Mint audio output not working pulseaudio "pulseaudio[13710]: [pulseaudio] sink-input.c: Failed to create sink input: too many inputs per sink."
  • How To Shrink Dynamically Allocated VM QEMU KVM VMware Disk Image File
  • How To Enable Linux Swapfile Instead of Partition Ubuntu Mint Debian Centos
  • 404 Not Found [IP: 151.101.194.132 80] apt update Debian 11 Bullseye Solution The repository 'http://security.debian.org bullseye/updates Release' does not have a Release file.
  • WARNING: Can't download daily.cvd from db.local.clamav.net freshclam clamav error solution
  • (firefox:9562): LIBDBUSMENU-GLIB-WARNING **: Unable to get session bus: Failed to execute child process "dbus-launch" (No such file or directory) Solution