You are not logged in.

#1 2014-02-07 06:39:11

CubeGod
Member
Registered: 2013-07-09
Posts: 120

metacity/compiz, can't figure out what to do.

Sooo, I just installed arch linux again to play around, starting at a fresh install I installed an xserver and got it running right, then I started installing some WMs and installed lightdm and lightdm-gtk3-greeter.
So far so good, when I do try to login all WMs show up except metacity/compiz, that's not really a problem so I decide to add the entries manually
both are in /usr/share/xsessions

[Desktop Entry]
Version=1.0
Encoding=UTF-8
Name=metacity
Name[en_US]=metacity
Terminal=false
Exec=metacity
TryExec=metacity

Name[en_US.UTF-8]=metacity

Type=Application

[Window Manager]
SessionManaged=true

and

[Desktop Entry]
Version=1.0
Encoding=UTF-8
Name=Compiz  
Name[en_US]=Compiz  
Terminal=false
Exec=compiz ccp
TryExec=compiz ccp

Name[en_US.UTF-8]=compiz  

Type=Application

[Window Manager]
SessionManaged=true

From what I can tell the entries are right, they don't throw any errors and I get to a desktop and I have a cursor (no menus of any type though)

The issue is that I have no clue how to proceed, I configured compiz with ccsm but can't figure out how to add menus, my goal is to make it look like GNOME2 without all the bloat (all I should need is metacity and compiz, true?), another thing I want is a fancy floaty dock and conky, conky is installed and I'll configure it once my desktop looks decent, the dock I chose is cairo-dock because it looks nice (does it auto-hide? Auto hiding is absolutely critical.)


Anyway, I did my research, I read the compiz-article on the wiki (I installed 0.9.x if it matters) but I do not know how to get the config running, the syntax for .xinitrc is rather different from a .desktop file, Google didn't help nor did the forums search function.

Did I mention what I want it to look like? I don't think so... anyway, I want it to look like gnome2 with the applications menu and places menu (have a look at debian 6.x if you don't know what it looks like) but I am rather lost ^^;

Sorry for being so uneducated, I hope I don't cause someone too much pain with my silly questions.

Last edited by CubeGod (2014-02-07 06:40:16)

Offline

#2 2014-02-07 06:58:33

mariusmeyer
Member
From: Norway
Registered: 2009-04-25
Posts: 244

Re: metacity/compiz, can't figure out what to do.

If you want the look and feel of gnome2, why not try MATE? It seems to better match what you actually want smile

Offline

#3 2014-02-07 08:43:36

CubeGod
Member
Registered: 2013-07-09
Posts: 120

Re: metacity/compiz, can't figure out what to do.

well, not exactly but it's close enough for what I want.
And I tried mate when I was playing with mint, there's something about it that I don't like (aside from the bloat that a full DE adds (aka software I don't need))


EDIT: I'm being vague here, what I mean with close enough is that I can work with it (all I want is an appmenu in the top right corner, places would be nice too but that's it, I literally don't need anything else (I use conky for clock and date, a volume icon would be nice but it's not necessary (besides, I don't know if there is one that works with pavucontrol) and a wireless indicator that works with wicd would be cool, but as I said far from necessary)

EDIT2: It should also be worth noting that I want the educational experience, just using a DE is all fine for most purposes but actually setting up a pseudo-DE from a WM and compositor is something I have yet to do.

Last edited by CubeGod (2014-02-07 11:50:45)

Offline

#4 2014-02-09 15:02:54

Chazza
Wiki Maintainer
Registered: 2013-06-02
Posts: 506

Re: metacity/compiz, can't figure out what to do.

So basically you want a standalone Compiz with some panels and other apps autostarted as well?

You can get an example .xinitrc from /etc/skel

From there it should be a simple matter of adding commands for the programs you want autostarted. The program commands should come before the command to start the window manager itself.

So lets say you want to start cairo-dock as you mentioned. Just add:

cairo-dock &

to your .xinitrc

You can get the gnome fallback/flashback panel from the AUR from the gnome-panel package. You can get the classic gnome2 panel from the gnome-panel2 package. If you want to start it add:

gnome-panel &

to your .xinitrc

As for starting compiz, it must be started with the ccp argument otherwise it won't read the config settings. Don't put a & symbol in front of the command to start the window manager.

exec compiz ccp

If you're stuck you can always refer to the https://wiki.archlinux.org/index.php/Xinitrc article.

Hope this helps.

Last edited by Chazza (2014-02-09 15:17:24)

Offline

#5 2014-02-09 15:11:19

drcouzelis
Member
From: Connecticut, USA
Registered: 2009-11-09
Posts: 4,092
Website

Re: metacity/compiz, can't figure out what to do.

CubeGod wrote:

all I should need is metacity and compiz, true?

I don't think this question has been answered yet...

Metacity is a window manager. Compiz is also a window manager. You can only run one window manager at a time.

Offline

#6 2014-02-09 15:19:52

Chazza
Wiki Maintainer
Registered: 2013-06-02
Posts: 506

Re: metacity/compiz, can't figure out what to do.

drcouzelis wrote:
CubeGod wrote:

all I should need is metacity and compiz, true?

I don't think this question has been answered yet...

Metacity is a window manager. Compiz is also a window manager. You can only run one window manager at a time.

Metacity is required Compiz's for window decorations if you're using compiz-decorator-gtk. It's not required by Compiz itself and, as you correctly point out, cannot be used in parallel with Compiz.

Last edited by Chazza (2014-02-10 17:50:15)

Offline

#7 2014-02-10 17:49:20

Chazza
Wiki Maintainer
Registered: 2013-06-02
Posts: 506

Re: metacity/compiz, can't figure out what to do.

If I could make a recommendation, if you are looking to create a DE like experience with a window manager I would recommend that you start with something like openbox, fluxbox, icewm or perhaps windowmaker. These window managers were designed to be used standalone, they have folders with config files that you can easily play around with and most of them have helpful startup scripts to help get your applications started. They are ideal environments to experiement with building your own DE like experience. Fluxbox probably has the friendliest config files. Some of Openbox's files are in xml but there's plenty of documentation and it should be fairly painless to get the hang of. If you're stuck there's the obconf graphical tool which should help somewhat. icewm's files are straightforward enough. windowmaker is a little bit more unorthodox but, again, play around with it and you'll get the hang of its configuration. WM's like Compiz and Metacity weren't really designed to be used standalone. They were designed to be used mainly with Gnome 2 and as such have few utilities and are harder to configure, especially without Gnome. Both Metacity and Compiz are hardly developed, interest isn't that high and documentation is less widespread so if you are starting out you may be better off playing around with WM's that are widely used as standalone.

Last edited by Chazza (2014-02-15 15:32:18)

Offline

#8 2014-02-12 07:44:55

CubeGod
Member
Registered: 2013-07-09
Posts: 120

Re: metacity/compiz, can't figure out what to do.

firstly, I don't really understand what .xinitrc has to do with this, I thought it was only used when startx is called or am I mistaken? (I already posted my lightdm configs and they have the relevant entries to start compiz (with the ccp option))

Secondly I already tried openbox, fluxbox and icewm.
Not a fan of either and neither of the themes I've used since the days of gnome2 (gtk themes will work but themes for compiz won't) are compatible for rather obvious reasons (some work with metacity and some work with compiz, either is just fine for window management imo, compiz is a lovely window decorator however)
For configuration I generally use a rather bare setup, I have the top bar and a dock for my most used software and that's about it (any settings I do care about such as window switching and whatnot can be edited with ccsm)


Either way I'll try to edit my .xinitrc and see if that does indeed help.

Last edited by CubeGod (2014-02-12 07:46:16)

Offline

#9 2014-02-12 08:54:28

Chazza
Wiki Maintainer
Registered: 2013-06-02
Posts: 506

Re: metacity/compiz, can't figure out what to do.

CubeGod wrote:

firstly, I don't really understand what .xinitrc has to do with this, I thought it was only used when startx is called or am I mistaken? (I already posted my lightdm configs and they have the relevant entries to start compiz (with the ccp option))

The .xinitrc file is only useful if you are using startx. It is not going to make any difference to how you start sessions from lightdm. Quite frankly though, why not use .xinitrc and startx? It's by far the easiest way to autostart programs with a session. Compiz was not designed to be used as a standalone window manager and, as such, does not have an autostart utility of its own. Like I said earlier, you can put all the startup commands for the programs you want to autostart in your .xinitrc file and start the session with startx. No xsession files are required for that, of course. If you must use a Display Manager you may be able to parse startup commands through it using an xprofile file. There is a little information on that here: https://wiki.archlinux.org/index.php/Xprofile. As for your Metacity xsession file, I have no idea why you wrote that. There is no need for it. As has been pointed out earlier, Metacity is a window manager completely seperate from Compiz which is also a window manager. Metacity cannot be used alongside Compiz and is not required by Compiz itself in any way.

CubeGod wrote:

Secondly I already tried openbox, fluxbox and icewm.
Not a fan of either

Ok. Fine. But you said you were after the educational experience so I was trying to suggest WM's that would be more suitable for a standalone session.

CubeGod wrote:

and neither of the themes I've used since the days of gnome2 (gtk themes will work but themes for compiz won't) are compatible for rather obvious reasons (some work with metacity and some work with compiz,

Why are you talking about gtk themes? They are not relevant. They are for desktop applications, they are not for window managers. When you are talking about a window manager theme you are talking about what the window border looks like and nothing else besides. What you need to understand about Compiz is that it is a window manager that does not come with its own decorator (the decorator being the progam that provides windows with borders.) As such, there are three decorators that can be used with Compiz: compiz-decorator-gtk, kde-window-decorator and emerald. The first is dependent on Metacity and uses Metacity themes. It is what is installed with the compiz-dev and compiz-bzr packages (I assume you installed Compiz with one of these packages as you said you were using the 0.9 version.) The second is dependent on Kwin and uses Kwin themes. The third is not dependent on any window manager and has its own themes. Why is there a setup like this? Because it was expected that you would use Compiz with either GNOME or KDE so it made sense to have decorators that could use the themes already available for the desktop environment's native window manager.

CubeGod wrote:

either is just fine for window management imo, compiz is a lovely window decorator however)

Compiz is not a window decorator, it is a window manager, just like Metacity or Kwin or Xfwm or Mutter or Openbox etc etc. As I said above, the difference is that Metacity, Xfwm, Kwin etc all come with their own native window decorators. Compiz does not. Compiz has some decorators that can utilise the themes of aformentioned window managers.

I think you need to read the Compiz article more thoroughly. These sections in particular:
https://wiki.archlinux.org/index.php/Co … _decorator
https://wiki.archlinux.org/index.php/Co … ow_manager

Last edited by Chazza (2014-02-12 11:04:55)

Offline

#10 2014-02-15 13:42:00

CubeGod
Member
Registered: 2013-07-09
Posts: 120

Re: metacity/compiz, can't figure out what to do.

Chazza wrote:

The .xinitrc file is only useful if you are using startx. It is not going to make any difference to how you start sessions from lightdm. Quite frankly though, why not use .xinitrc and startx? It's by far the easiest way to autostart programs with a session. Compiz was not designed to be used as a standalone window manager and, as such, does not have an autostart utility of its own. Like I said earlier, you can put all the startup commands for the programs you want to autostart in your .xinitrc file and start the session with startx. No xsession files are required for that, of course. If you must use a Display Manager you may be able to parse startup commands through it using an xprofile file. There is a little information on that here: https://wiki.archlinux.org/index.php/Xprofile. As for your Metacity xsession file, I have no idea why you wrote that. There is no need for it. As has been pointed out earlier, Metacity is a window manager completely seperate from Compiz which is also a window manager. Metacity cannot be used alongside Compiz and is not required by Compiz itself in any way.

Obviously, I thought you'd realize I knew that .xinitrc wasn't relevant since I added the "I thought it was only used when startx is called or am I mistaken?" but I digress; I'm not sure why you keep questioning my motives though, if I want to use lightdm then I don't want to use startx, whatever my reasons may be are rather irrelevant.

Anyway, thanks for the link, at least it gives me something to work with (I'm sure I can figure out the syntax based on the xfce4 file)

Oh and I know compiz wasn't designed to be used standalone but I am not going to be stopped by that, for the metacity xsession file I wrote that as a test. If I recall GNOME2 uses metacity as the window manager and compiz as the compositor (which I know is a working setup, however it was merely a test), so yes. They can be used alongside each other since compiz has a quite capable compositor.

Chazza wrote:

Ok. Fine. But you said you were after the educational experience so I was trying to suggest WM's that would be more suitable for a standalone session.

Well yes, they may be a tad more user friendly but I have a similar philosophy with system building as playing games; Always play on the hardest difficulty.

Chazza wrote:

Why are you talking about gtk themes? They are not relevant. They are for desktop applications, they are not for window managers. When you are talking about a window manager theme you are talking about what the window border looks like and nothing else besides. What you need to understand about Compiz is that it is a window manager that does not come with its own decorator (the decorator being the progam that provides windows with borders.) As such, there are three decorators that can be used with Compiz: compiz-decorator-gtk, kde-window-decorator and emerald. The first is dependent on Metacity and uses Metacity themes. It is what is installed with the compiz-dev and compiz-bzr packages (I assume you installed Compiz with one of these packages as you said you were using the 0.9 version.) The second is dependent on Kwin and uses Kwin themes. The third is not dependent on any window manager and has its own themes. Why is there a setup like this? Because it was expected that you would use Compiz with either GNOME or KDE so it made sense to have decorators that could use the themes already available for the desktop environment's native window manager.

Ah, a keen observation there! But if you would've paid attention I was also talking about compiz themes, you see the compiz theme I use also comes with a matching GTK theme, the GTK theme looks silly without the compiz theme and the compiz theme looks silly with other gtk themes. (that I have tried).
Further I am aware that compiz uses three different decorators (based on choice), my theme has an emerald theme and a metacity theme included, I can pick either (isn't it nice?) and indeed I am using the compiz-dev package.

Chazza wrote:

Compiz is not a window decorator, it is a window manager, just like Metacity or Kwin or Xfwm or Mutter or Openbox etc etc. As I said above, the difference is that Metacity, Xfwm, Kwin etc all come with their own native window decorators. Compiz does not. Compiz has some decorators that can utilise the themes of aformentioned window managers.

ah yes, I started rambling towards the end it seems, I didn't mean window decorator I meant compositor, sorry about that.

Offline

#11 2014-02-15 15:29:44

Chazza
Wiki Maintainer
Registered: 2013-06-02
Posts: 506

Re: metacity/compiz, can't figure out what to do.

CubeGod wrote:

But if you would've paid attention

Well perhaps if you asked your question in a more succint fashion and expressed yourself more clearly then I, and others trying to help you as well, would have had a clearer idea of what you already know and what you want to know. It seems to me now that your question boils down to 'How do I austostart programs when starting my session from a display manager?' If you had just asked that question then a lot less time would have been wasted. I'm going to assume that you have solved your problem.

Offline

#12 2014-02-19 04:45:45

CubeGod
Member
Registered: 2013-07-09
Posts: 120

Re: metacity/compiz, can't figure out what to do.

Ah I guess you're right.

Anyway, I've been dissecting xsession files and I think my setup might work tongue (just going to go over it one more time and then I'll log out to try it)

/usr/share/xsessions/compiz.desktop

[Desktop Entry]
Name=Compiz
Comment=
Exec=/usr/local/bin/compiz-startup-script
Type=Application

/usr/local/bin/compiz-startup-script

#!/bin/bash
if test -z "$DBUS_SESSION_BUS_ADDRESS"; then
eval `dbus-launch --sh-syntax --exit-with-session`
fi
compiz --replace ccp & wmpid=$!
sleep 1
if [ -f ~/.compiz-startup-script ]; then
source ~/.compiz-startup-script &
else
terminator &
fi
wait $wmpid

~/.compiz-startup-script

#!/bin/bash
gnome-panel2 &
cairo-dock &
ibus -drx &

I should probably add a few more things like gnome-settings-daemon to it but that is besides the point, it *should work* time to try it.

Offline

#13 2014-02-19 18:07:04

Chazza
Wiki Maintainer
Registered: 2013-06-02
Posts: 506

Re: metacity/compiz, can't figure out what to do.

Ah yes. The startup script is a good idea. I hadn't thought of that. Apologies for being a bit snappy in post #11. I was just a little annoyed at being told I wasn't paying attention. I read your post as best as I could. If I missed stuff that you wrote then that failure is on me. But as a poster, if you keep your posts short and to the point then you can avoid people misreading what you've written and telling you things you already know as I did. I hope your script works.

Offline

#14 2014-02-20 12:47:00

CubeGod
Member
Registered: 2013-07-09
Posts: 120

Re: metacity/compiz, can't figure out what to do.

Chazza wrote:

Ah yes. The startup script is a good idea. I hadn't thought of that. Apologies for being a bit snappy in post #11. I was just a little annoyed at being told I wasn't paying attention. I read your post as best as I could. If I missed stuff that you wrote then that failure is on me. But as a poster, if you keep your posts short and to the point then you can avoid people misreading what you've written and telling you things you already know as I did. I hope your script works.


Ah yes, I should be the one apologizing as I lost my temper first ^^;


Either way sometimes all you need to find your information is almost starting a flamewar.

From what I can tell my script seems to work (although I really haven't had time to test it properly yet though)

Offline

#15 2014-03-10 17:08:09

Chazza
Wiki Maintainer
Registered: 2013-06-02
Posts: 506

Re: metacity/compiz, can't figure out what to do.

I've updated the wiki's standalone section to include starting from a display manager. For autostarting I've mentioned xprofile and the session management plugin in ccsm. I've tried using a standalone compiz session with xprofile and it's actually pretty straightforward - the file is just like xinitrc. It's working nicely with lxdm. I didn't mention your script method because: a, I haven't tried it and b, because its probably a less appropriate method for a new user. Anyways, hopefully setting up a standalone Compiz session will be slightly easier for other users now.

Offline

#16 2014-03-20 16:39:45

CubeGod
Member
Registered: 2013-07-09
Posts: 120

Re: metacity/compiz, can't figure out what to do.

heh, awesome.

I really should get to configuring my setup though (I decided to go with gnome panel instead of gnome panel2, mostly due to having to pull four billion outdated dependencies. Anyway, before I digress to far I need to actually get some window borders and to remove the blasted bottom bar), gnome panel is annoying with its bottom bar and lack of window borders is inconvenient. (not to mention that I still haven't got anything in my applications menu due to laziness. EDIT: Never mind the window borders, the inconvenience finally trumped my laziness)

Last edited by CubeGod (2014-03-20 16:44:04)

Offline

#17 2014-03-20 17:05:08

Chazza
Wiki Maintainer
Registered: 2013-06-02
Posts: 506

Re: metacity/compiz, can't figure out what to do.

If the applications menu in gnome-panel is blank, run the following command as root: cp /etc/xdg/menus/gnome-applications.menu /etc/xdg/menus/applications.menu

I discovered this when trying to run gnome-panel with openbox a little while ago. The gnome-menus package installs this file: /etc/xdg/menus/gnome-applications.menu

but gnome-panel won't bother reading it if it detects its not running in a gnome session.

In general, for gnome-panel related issues check out the GNOME Flashback wiki page.

Last edited by Chazza (2014-03-20 17:17:29)

Offline

#18 2014-03-21 02:34:34

CubeGod
Member
Registered: 2013-07-09
Posts: 120

Re: metacity/compiz, can't figure out what to do.

I figured I'd have to do that but it's not too bothersome since I mostly launch things through command line.
What is more troublesome that I can't figure out is that everything starts maximized, the titlebars don't work when maximized (I've closed chrome too many times to count due to this), software doesn't focus properly (software opens but doesn't receive focus, focus stays with previous software), the bottom bar is fighting cairo-dock for space and that's just a handful of issues, but it kind of works.... I should just write my own panel.

I have no clue how to add things to the panel either since it doesn't accept right clicks. (this is just nitpicking though, I would mainly want to remove the bottom bar, other than that I'm happy enough)

I'll figure this out though... eventually

TL;DR Gnome-panel does not run well standalone.


Edit: There, now I can strike the bottom bar off the list, I managed to kill that one tongue
Apparently I needed to hold super and alt when right clicking the panel for anything to work, how annoying! (anyhow since my panel is now set up the way I like it that's not an issue anymore)

What I still need to figure out:
How to get window management to work properly, windows don't maximize or minimize properly, window titlebars aren't functional when maximized (clicks just go through them)
Programs start maximized.
Some apps still receive focus per default when everything is minimized (google chrome mainly)
Some convenient way to change gtk and window manager themes, preferably not through config files (if push comes to shove I'll end up writing a utility for it but then I'd still need to know what config files exist)
Figure out how to get rid of the (incredibly) annoying confirmation that occurs on any interaction with cairo dock.
Anything else? Iunno, it's 4 am and I've just finished hacking conky into oblivion, but I finally like what it looks like so it was fruitful.

Last edited by CubeGod (2014-03-21 07:01:03)

Offline

#19 2014-03-21 08:33:40

Chazza
Wiki Maintainer
Registered: 2013-06-02
Posts: 506

Re: metacity/compiz, can't figure out what to do.

Yes I added the Super+Alt note to the flashback wiki yesterday. I have no idea why gnome-panel behaves like that. It REALLY doesn't like running outside of a gnome session.

* For the windows starting maximised problem, go to Place Windows in ccsm and change the placement mode from pointer to smart. There's some sort of bug with the pointer mode. I believe a bug report has been filed upstream on launchpad.

* For the focus problem, go to General Settings. Click on the Focus & Raise behaviour and set the focus prevention level to off.

* lxppearance is an excellent utility for changing gtk themes. as for titlebar themes, that depends on the decorator. assuming you're using gtk-window-decorator, you can use the following gsettings command:

gsettings set org.gnome.desktop.wm.preferences theme theme_name

where theme_name is the name of the theme you want to use (you can also use dconf.) I don't know of a more convenient method than that.

Offline

#20 2014-03-21 18:08:01

CubeGod
Member
Registered: 2013-07-09
Posts: 120

Re: metacity/compiz, can't figure out what to do.

Oh thanks for that chunk of info tongue
I'd never have found the solution to the starting maximized issue. (although I had found the focus problem myself, not sure why focus prevention was set to being on anyway)

lxappearance, got it.
Changing themes seems rather simpler than I'd have expected.


And a final note on GNOME panel: It's almost like they designed it to be a major pita when run outside of gnome.

Offline

#21 2014-03-23 11:38:58

CubeGod
Member
Registered: 2013-07-09
Posts: 120

Re: metacity/compiz, can't figure out what to do.

Bump/update: Okay, so from what I can tell there is no way to change the way the gnome-panel looks (which sucks because a black top-bar does not look good when the rest of the environment is skinned to look nice and bright), some themes don't work and I don't know why and generally speaking changing window borders isn't friendly in any way.

on that matter none of my cursor themes show up (I assume they go in /usr/share/themes I know that worked back when I ran debian)

On an unrelated note; why are all the GTK themes meant to look like OSX so awful? (aka, do you know of a GTK theme that has the color scheme of OSX (snow leopard specifically)? If not I'll just make my own >.>; same for metacity themes)

Offline

#22 2014-03-23 19:04:51

Chazza
Wiki Maintainer
Registered: 2013-06-02
Posts: 506

Re: metacity/compiz, can't figure out what to do.

* It should be possible to change the colour of gnome-panel. The setting is available if you super+alt+right-click and choose properties (or something along those lines) isn't it?
* When you say some themes work and some don't are you talking about the panel? Bear in mind that gnome-panel is gtk3.
* Changing window borders should be reasonably straightforward. The command I mentioned in my previous should work. Make sure your metacity theme is in the ~/.themes folder. Say I want to change to the Bluebird theme. I would just need to make sure that the Bluebird folder is in ~/.themes and then run the following command:

gsettings set org.gnome.desktop.wm.preferences theme Bluebird

Of course, you could always just use Emerald. It has the unpleasant habit of crashing and then refusing to start if you select a theme it's incompatible with but besides that it works very well big_smile
* Cursor themes go in /usr/share/icons You also need to create the following file (you might need to create the default folder as well)

/usr/share/icons/default/index.theme

with the following text

[Icon Theme]
Inherits=cursor_theme

(with cursor_theme being the name of the folder containing the cursor theme in /usr/share/icons) to ensure that the cursor theme stays consistent across all applications.
*  I don't really go in for osx themes. I had a quick look on gnome-look.org and found this: http://gnome-look.org/content/show.php/ … ent=149052
any good?

Last edited by Chazza (2014-03-23 19:13:58)

Offline

#23 2014-03-24 05:17:18

quequotion
Member
From: Oita, Japan
Registered: 2013-07-29
Posts: 814
Website

Re: metacity/compiz, can't figure out what to do.

Which version of compiz are you using? (pre-Ayatana 0.8.x or post-Ayatana 0.9.x)

Compiz has changed decorators a few times over the years. Newer versions come with a built-in Cairo decorator that has no theme-ability and gtk-window-decorator which uses metacity themes. The older compiz used metacity and emerald.

gtk-window-decorator may not be set by default in compiz's configuration. To enable it, and disable the Cairo decorator, find the "Window Decoration" plugin in ccsm. set "Command" to "gtk-window-decorator --replace"

Last edited by quequotion (2014-03-24 13:33:38)

Offline

#24 2014-03-24 05:33:52

CubeGod
Member
Registered: 2013-07-09
Posts: 120

Re: metacity/compiz, can't figure out what to do.

for gnome-panel: it doesn't inherit the look of the GTK theme even though the theme has both configurations for gtk2 and 3 (the one I use for testing), I could change it to a flat color, which would be ugly, or manually create a background for it but that sounds like a pain imo for now it'll just stay black, I'll eventually figure it out (even if it takes actually looking over the source code for the damn thing)

>* When you say some themes work and some don't are you talking about the panel? Bear in mind that gnome-panel is gtk3.
No, I am talking about metacity themes, some of them change the window border as one would expect, some don't do anything and some just cause the borders to dissapear. (all of them cause the borders to stop working, as in not being able to receive clicks (although a proper reboot instead of just replacing the window borders might solve the brokedness of them)

for the theme location, sure I could use ~/.themes
but I prefer a global /usr/share/themes instead as I intend to use the same gtk theme for my login screen (and I might as well keep my metacity themes in the same place for convenience) (on the note of cursor themes, since I recall having them in the same directory back when I ran debian (loooong time ago) I probably just set up some arcane symlinks to achieve that (or some other horrible practice))

I've already seen fakeosx, it is the best I found that works but it's not what I want tongue (which is why I am considering making my own)
I found one called aurora leopard BSM but it doesn't work even with the aurora engine installed (that was the only dependency I could find, hell I installed every last gtk engine available and it still didn't look decent (looked like the redmond theme which is windows 95-esque, afair that's the fallback theme if a theme doesn't work))

One little requirement of mine (which makes things so damn complicated in the first place) is that the theme has to support both gtk2 and gtk3 (since I use both gtk2 and 3 apps and in my experience gtk2 apps don't play nice with themes that don't support gtk2 and vice versa). it seems I'll end up making my own theme though since none of the ones I find look even half good (on that matter is it possible to add an icon to the gnome-panel applications menu? I can't find such a setting but a nice monochromatic arch logo would be super)


Emerald, eh? The main reason I stay away from it is because I keep hearing that it's awfully buggy. (then again my entire hacked together nonsense trying to imitate a DE is buggy as hell, even with everything minimzed some window still receives clicks and input, it's just not drawn (hell, if chrome was the last one I can grab an entire page and the text will be visible as if I was dragging the page but nothing else will be, this is bad for multiple reasons but the primary one being that minimizing a window will still keep the focus with it, and the entire area that the window used to occupy is still considered to be used by the window (meaning I can't click anything where the window used to be because the window takes the clicks, this is most annoying in chrome since I always run chrome maximized)


Another annoying thing I noticed is that certain software (with no discernible logic behind which) will refuse to maximize, GIMP being a perfect example, if I boot into XFCE4 it'll maximize just fine, in compiz the option for maximizing is greyed out (easily circumvented by fullscreening it though one should have to work around stuff like this)
welp, at least I got compiz running, I am almost getting too annoyed with it to continue getting it to work right.

Offline

#25 2014-03-24 07:39:46

quequotion
Member
From: Oita, Japan
Registered: 2013-07-29
Posts: 814
Website

Re: metacity/compiz, can't figure out what to do.

CubeGod wrote:

Emerald, eh? The main reason I stay away from it is because I keep hearing that it's awfully buggy. (then again my entire hacked together nonsense trying to imitate a DE is buggy as hell, even with everything minimzed some window still receives clicks and input, it's just not drawn (hell, if chrome was the last one I can grab an entire page and the text will be visible as if I was dragging the page but nothing else will be, this is bad for multiple reasons but the primary one being that minimizing a window will still keep the focus with it, and the entire area that the window used to occupy is still considered to be used by the window (meaning I can't click anything where the window used to be because the window takes the clicks, this is most annoying in chrome since I always run chrome maximized)

Surprisingly, compiz-git shows emerald receiving it's first update in three years just last month; there may be life in it yet. I think I've seen what your talking about with the invisible windows. I had that problem with compiz ages ago, but I don't remember what resolved it (other than updating to a newer version). How do you install compiz (binary install from repo / source compile from AUR)?

I also put together some nonsense using compiz and components from Pantheon.
Screenshot_from_2014_03_24_16_15_22.jpg
I'm using compiz-bzr from AUR, which is the latest post-Ayatana version. It's not the golden age of compiz (lots of fun plugins got left behind, probably forever), but it is leaner than the old one and retains most of the useful features.

Offline

Board footer

Powered by FluxBB