Results 1 to 4 of 4

Thread: XFCE - Always run Firefox without decorations?

  1. #1

    Question XFCE - Always run Firefox without decorations?

    I run openSUSE 12.3 XFCE, and would like to know if it's possible to make Firefox run without window decorations per default?
    For now, I have this python script assigned to a keyboard shortcut, which removes decorations of the active window:

    Code:
    #! /usr/bin/python
    from gtk.gdk import *
    
    w=window_foreign_new((get_default_root_window().property_get("_NET_ACTIVE_WINDOW")[2][0]))
    state = w.property_get("_NET_WM_STATE")[2]
    maximized='_NET_WM_STATE_MAXIMIZED_HORZ' in state and '_NET_WM_STATE_MAXIMIZED_VERT' in state
    if maximized: w.unmaximize()
    if w.get_decorations() == 0 :
        w.set_decorations(DECOR_ALL)
    else:
        w.set_decorations(0)
    
    if maximized: w.maximize()
    window_process_all_updates()
    I'd like XFCE to automatically remove decorations from Firefox, when it is started.

  2. #2
    Join Date
    May 2010
    Location
    Space Colony Lagrange Point 22° à, 77° Ƅ, 56° ɤ, 99° ɜ
    Posts
    3,166

    Default Re: XFCE - Always run Firefox without decorations?

    GNOME Version 3.20.2
    openSUSE Leap 42.3 64-bit

    www.vazhavandan.blogspot.com

  3. #3

    Default Re: XFCE - Always run Firefox without decorations?

    Quote Originally Posted by vazhavandan View Post
    Well, all the available versions, both public and development, of that addon won't work with Linux.
    There's a notice "Not available for your platform" under the "Add to Firefox" button.
    Do you have it working with Linux?

  4. #4
    Join Date
    May 2010
    Location
    Space Colony Lagrange Point 22° à, 77° Ƅ, 56° ɤ, 99° ɜ
    Posts
    3,166

    Default Re: XFCE - Always run Firefox without decorations?

    Quote Originally Posted by jankarjalainen View Post
    Well, all the available versions, both public and development, of that addon won't work with Linux.
    There's a notice "Not available for your platform" under the "Add to Firefox" button.
    Do you have it working with Linux?
    I tried it and i works on GNOME 3.6. It doesn't totally remove it(titlebar),but it is a thin strip now
    GNOME Version 3.20.2
    openSUSE Leap 42.3 64-bit

    www.vazhavandan.blogspot.com

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •