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

  • how to use ifplugd in Linux to execute a command or script when a NIC cable is unplugged or plugged in
  • dd how to backup and restore disk images including compression with gzip
  • mpv / mplayer with Radeon / AMD GPU Video Card Driver enable VDPAU GPU Accelerated Video Decoding
  • Wordpress Reset Blog User Password from MySQL Using Linux Bash and not PHPMyadmin
  • Ubuntu Linux Mint Debian xorg performance and tear-free tuning for AMD Radeon Based Cards
  • Centos 7 Stopped and Disabled Firewalld and ports still blocked
  • MariaDB / MySQL Reset Root Forgotten Password on Centos 7
  • Centos 7 How to install Mysql/Mariadb
  • PHP 7.2, Apache and Centos 7 How To Install
  • Ubuntu Debian Linux Mint r8169 r8168 Network Driver Problem and Solution
  • Linux 3D Performance benchmarks with glxgears 59-60fps solution
  • How To Install Asterisk 16 17 on Debian Ubuntu Linux
  • Linux Ubuntu Debian Centos How To Make a Bootable Windows 7, 8, 10, 2016, 2019 Server USB from ISO
  • How To Restore Windows MBR Bootsector from Linux using syslinux
  • Linux Ubuntu Cannot Print Large Images
  • Cannot Print PDF Solution and Howto Resize
  • Linux Console Login Screen TTY Change Message
  • Apache Cannot Start Listening Already on 0.0.0.0
  • MySQL Bash Query to pipe input directly without using heredoc trick
  • CentOS 6 and 7 / RHEL Persistent DHCP Solution