[kde] Re: disable fx prior to first 4.6 startups

2011-07-07 Thread Alex Schuster
Am Donnerstag, 7. Juli 2011, 16:44:59 schrieb Felix Miata:

 I've done several new installations lately, openSUSE 11.4 and Kubuntu
 11.04, all on i865G video, in each case doing system updates (to e.g.
 4.6.4) prior to first X start. All have been very difficult to get into
 anything after starting X, including systemsettings to turn off the
 broken desktop FX. Phantom windows come and go, including main menu 
 panel  clock settings, How on further i865G installations can I
 configure a system globally to disable desktop FX by default? Will it be
 the same for 4.7?

I'm not sure if I understand this right... so the active desktop effects 
mess up everything, and it is even hard to start systemsettings and turn 
them off?

Try Alt+Shift+F12, this toggles the desktop effects. I use it on a PC (not 
my own desktop, at least one problem that _I_ do not run into) where all 
plasma stuff is just black, including the panel, so I cannot open the K menu 
or call krunner. This happened after the upgrade from 4.6.2 to to 4.6.3, 
4.6.4 is not installed there yet. Could also be the X.org update that 
happened along the KDE update.
You can also edit ~/.kde/share/config/kwinrc, and set Enabled=false in the 
[Compositing] section.

Wonko
___
This message is from the kde mailing list.
Account management:  https://mail.kde.org/mailman/listinfo/kde.
Archives: http://lists.kde.org/.
More info: http://www.kde.org/faq.html.


[kde] Re: disable fx prior to first 4.6 startups

2011-07-07 Thread Stephen Dowdy
Felix Miata wrote, On 07/07/2011 03:29 PM:
 On 2011/07/07 22:54 (GMT+0200) Alex Schuster composed:
  schrieb Felix Miata:
 I'm not sure if I understand this right... so the active desktop effects
 mess up everything, and it is even hard to start systemsettings and turn
 them off?
 
 Exactly. I can rarely remember the run command hotkey. If I did, I'd open 
 Konsole and try doing things from that, or run command.
 
 Try Alt+Shift+F12, this toggles the desktop effects. I use it on a PC (not

alternatively, programmatically:

kwin_compositing_active=$(qdbus org.kde.kwin /KWin 
org.kde.KWin.compositingActive)
[ ${kwin_compositing_active} = true ]  qdbus org.kde.kwin 
org.kde.KWin.toggleCompositing


 You can also edit ~/.kde/share/config/kwinrc, and set Enabled=false in the
 [Compositing] section.

Alex,

I prefer to state modifications to config files in terms of k{read,write}config
statements, as these should work regardless of the distro (i think).  This
should make it easier for end-users to get the desired effect w/o having to
hunt around or try to figure out why a section/key/file don't exist.
Just Cut/Paste and voila' (crossing fingers...)

see below...

 That would not be a global fix. That file doesn't even exist on a new install 
 until after KDE gets started, and then only for each individual's first login.
 
 On Natty, I looked and found only one kwinrc, hiding in a directory called 
 /usr/share/kubuntu-netbook-default-settings/share/config, which makes no 
 sense to me, since this is a desktop install, not a netbook. Looking on the 
 mirrors in pool/main/k/ I see a kubuntu-netbook-default-settings/, but 
 nothing that looks appropriate for a desktop installation.
 
 On 11.4, I couldn't find a kwinrc in any of /etc, /opt, /var or /usr.
 
 Anyway, would the kwinrc file in Natty's /usr rats nest be appropriate for 
 global changes? It has no [Compositing] section.

Felix,

This will work to disable compositing for the user that runs it (after logout
and log-back-in, or if they've never logged in yet:

kwriteconfig --file kwinrc --group Compositing --key Enabled false


This should work to create a SITE-specific (or machine specific)
Override (that should not be touched by system updates).  This will/should
create files, group sections, and keys as appropriate
if they don't already exist.


kde_etc_config=$(kde4-config --path config | cut -f2 -d:)
kwriteconfig --file ${kde_etc_config}/kwinrc --group Compositing --key Enabled 
false


At least this all Works for Me(tm) ;)

--stephen
-- 
Stephen Dowdy  -  Systems Administrator  -  NCAR/RAL
303.497.2869   -  sdo...@ucar.edu-  http://www.ral.ucar.edu/~sdowdy/

___
This message is from the kde mailing list.
Account management:  https://mail.kde.org/mailman/listinfo/kde.
Archives: http://lists.kde.org/.
More info: http://www.kde.org/faq.html.


[kde] Re: disable fx prior to first 4.6 startups

2011-07-07 Thread Alex Schuster
Felix Miata writes:

 On 2011/07/07 22:54 (GMT+0200) Alex Schuster composed:

  Try Alt+Shift+F12, this toggles the desktop effects. I use it on a PC
  (not
 
 Another hotkey combination I'll probably forget as fast as I discovered
 it, or at least not remember when I need to.

I know it well, because I get notifications frequently that my system is too 
slow and that the desktops effects are being suspended. This notification 
also mentions how to toggle the effects back via this key combination.

I have a dual core AMD 4850e CPU with 2.5 GHz, and on-board Radeon HD3200 
video (using the open-source radeon driver). Which seems to be barely enough 
to run KDE4 (using six desktops and running much stuff I must admit). top 
gives these values, sampled over two minutes:

  27% X
  16% kwin
  13% plasma-desktop
   5% amarok
   5% dbus-daemon
   3% udisks-daemon
   3% akonadi_imap_re
   3% akonadiserver
   3% mysqld
   2% kget
   2% knotify4


  You can also edit ~/.kde/share/config/kwinrc, and set Enabled=false in
  the [Compositing] section.
 
 That would not be a global fix. That file doesn't even exist on a new
 install until after KDE gets started, and then only for each individual's
 first login.

Right, I just mentioned it as yet another way to turn it off. Now let's both 
forget about it, as Stephen provided a much better solution.

Wonko
___
This message is from the kde mailing list.
Account management:  https://mail.kde.org/mailman/listinfo/kde.
Archives: http://lists.kde.org/.
More info: http://www.kde.org/faq.html.


[kde] Re: disable fx prior to first 4.6 startups

2011-07-07 Thread Duncan
Felix Miata posted on Thu, 07 Jul 2011 17:29:52 -0400 as excerpted:

 On 2011/07/07 22:54 (GMT+0200) Alex Schuster composed:
 
 schrieb Felix Miata:
 
  I've done several new installations lately, openSUSE 11.4 and Kubuntu
  11.04, all on i865G video, in each case doing system updates (to e.g.
  4.6.4) prior to first X start. All have been very difficult to get
  into anything after starting X, including systemsettings to turn off
  the broken desktop FX. Phantom windows come and go, including main
  menu panel  clock settings, How on further i865G installations can
  I configure a system globally to disable desktop FX by default? Will
  it be the same for 4.7?
 
 I'm not sure if I understand this right... so the active desktop
 effects mess up everything, and it is even hard to start systemsettings
 and turn them off?
 
 Exactly. I can rarely remember the run command hotkey. If I did, I'd
 open Konsole and try doing things from that, or run command.
 
 Try Alt+Shift+F12, this toggles the desktop effects. I use it on a PC
 (not
 
 Another hotkey combination I'll probably forget as fast as I discovered
 it, or at least not remember when I need to.

FWIW, for such things I tend to (try to) remember mostly that something 
is /possible/, along with enough about it to look it up again or ask 
about it later, should the need arise, as opposed to (ineffectively) 
trying to remember specific details.

The more general approach seems to work quite well, for me, as I'm able 
to retain general data about far more tricks and workarounds than I 
might otherwise remember, generally enough to successfully look it up 
later, if it proves to be needed.  This stands me in good stead not only 
personally but in all the various lists I follow, where I can thus more 
often be of help to someone experiencing an issue I'd never come across 
on my own.

In this case, it sounds like you tend to have access to more than a 
single computer.  As such, all you need to remember is that there is such 
a keyboard shortcut, and you can look up the details on a working system, 
should you need it.  But chances are, after doing that a couple of times, 
you'll remember it anyway, because then you'll have enough additional 
actual experience with it to create an associated memory that's much 
harder to forget the details about, than some arbitrary hotkey combo with 
no actual experience to back it up.

What I'd therefore try to remember in this case, is that such a hotkey-
combo exists, and where one finds it on a working system -- in the same 
place one might find other similar hotkey-combos, in kcontrol 
(systemsettings that aren't system-settings -- actually the problem you 
have here but see below, but rather, user-specific kde settings, so the 
kde3 term kcontrol remains far more accurate and is thus the term I use).

In kcontrol, the key is to remember to look for shortcuts.  In this case, 
it's under common appearance and behavior, shortcuts and gestures.  Once 
there, one has to choose between three different modules, custom, 
standard, or global, and getting the right one the first time might be 
difficult.  But there's only three, so if one isn't it, the next is easy 
enough to switch to.

In this case, we want global keyboard shortcuts.  Then you must figure 
out which kde component that shortcut controls.  Looking at the available 
choices, kwin looks likely, and indeed, that's where the setting is 
found.  Then you have to find a description that matches your memory of 
the function you're trying to find the hotkey for.  The keywords 
suspend and compositing, whichever one you happen to remember 
easiest, is next.  Sure enough, suspend compositing is a listed 
action.  Clicking it lets you see what the default shortcut is, for that.

So if all you remember is that it's compositing that you're trying to 
control and that there's a hotkey for it, plus have the general knowledge 
that such settings are configured in kcontrol/systemsettings (that aren't 
systemsettings...) you should be able to look up the specific hotkey on a 
working system, looking for shortcuts in kcontrol, and using general 
logic to find the specific module and setting after that.

Meanwhile, it won't help here but for actually use and FWIW, I've 
reassigned most of the various kwin shortcuts I actually use to winkey-
modifier shortcuts.  In kde, the windows key is normally listed as meta 
(or occasionally as super), but remembering win-X, where X is usually the 
first letter of what I'm trying to do, and the winkey is associated with 
kwin, that is, windows functions, is a whole lot easier than the 
arbitrary alt-shift-control-fN keys that kde defaults to.  So win-s 
toggles suspend compositing here, win-g triggers the desktop-grid effect, 
win-c triggers the cube effect, win-ctrl-s (win-s being already taken) 
toggles the snow effect, etc.  (win-end closes a window, win-pgup 
maximizes, win-pgdn minimizes, win-home rolls it up into the titlebar, 
win-insert 

[kde] Re: disable fx prior to first 4.6 startups

2011-07-07 Thread Felix Miata
On 2011/07/07 15:53 (GMT-0600) Stephen Dowdy composed:

 alternatively, programmatically:

 kwin_compositing_active=$(qdbus org.kde.kwin /KWin 
 org.kde.KWin.compositingActive)
 [ ${kwin_compositing_active} = true ]  qdbus org.kde.kwin 
 org.kde.KWin.toggleCompositing

 I prefer to state modifications to config files in terms of 
 k{read,write}config
 statements, as these should work regardless of the distro (i think).  This
 should make it easier for end-users to get the desired effect w/o having to
 hunt around or try to figure out why a section/key/file don't exist.
 Just Cut/Paste and voila' (crossing fingers...)

 This will work to disable compositing for the user that runs it (after logout
 and log-back-in, or if they've never logged in yet:

 kwriteconfig --file kwinrc --group Compositing --key Enabled false

 This should work to create a SITE-specific (or machine specific)
 Override (that should not be touched by system updates).  This will/should
 create files, group sections, and keys as appropriate
 if they don't already exist.

 
 kde_etc_config=$(kde4-config --path config | cut -f2 -d:)
 kwriteconfig --file ${kde_etc_config}/kwinrc --group Compositing --key 
 Enabled false
 

 At least this all Works for Me(tm) ;)

I'll keep that in mind, but I just stumbled onto something that looks 
(possibly) easier, and even more global (since it's in /etc/, where global 
config files belong) on the ATI mailing list. 
http://lists.x.org/archives/xorg-driver-ati/2011-July/020647.html

quote
I put a file:
/etc/X11/xorg.conf.d/composite.conf with the following:

Section Extensions
Option  Composite Disable
EndSection
/quote

I almost always need tweaks in /etc/X11/xorg.conf or /etc/X11/xorg.conf.d/ 
anyway, so this would be a minor change to what I'm already doing, if it 
works regardless of distro. I'm usually multibooting, and all distros added 
after the first on a system I typically pre-config with things like HOSTNAME, 
exports, profile.local, resolv.conf and more.
-- 
The wise are known for their understanding, and pleasant
words are persuasive. Proverbs 16:21 (New Living Translation)

  Team OS/2 ** Reg. Linux User #211409 ** a11y rocks!

Felix Miata  ***  http://fm.no-ip.com/
___
This message is from the kde mailing list.
Account management:  https://mail.kde.org/mailman/listinfo/kde.
Archives: http://lists.kde.org/.
More info: http://www.kde.org/faq.html.


[kde] Re: disable fx prior to first 4.6 startups

2011-07-07 Thread Felix Miata
On 2011/07/08 01:35 (GMT+0200) Alex Schuster composed:

 I have a dual core AMD 4850e CPU with 2.5 GHz, and on-board Radeon HD3200
 video (using the open-source radeon driver). Which seems to be barely enough
 to run KDE4 (using six desktops and running much stuff I must admit). top
 gives these values, sampled over two minutes:

27% X
16% kwin
13% plasma-desktop
 5% amarok
 5% dbus-daemon
 3% udisks-daemon
 3% akonadi_imap_re
 3% akonadiserver
 3% mysqld
 2% kget
 2% knotify4

KDE 3.5.10 on P4HT 3.4G  4G DDR2-800; 32bit 2.6.31; rv380 Radeon running 
FOSS driver:
uptime 16 days
%CPU%MEMCommand
1   9.7 seamonkey-bin (2.2, 14 CZ tabs, 32 browser tabs)
2   6.8 Xorg
2   3.9 firefox-bin (3.6.18, only Flash-enabled Gecko)
0   3.3 seamonkey-bin (2.1, mail)
1   3.2 firefox-bin (5.0)
1   2.7 firefox (2.0.0.20)
0   1.7 konqueror
0   0.6 kpdf
0   0.5 kicker
0   0.5 ksnapshot
0   0.4 konsole
0   0.4 kwin
0   0.4 kded
0   0.4 konsole
0   0.4 ksirc
0   0.4 plugin-containe
1   0.4 kcmshell
0   0.3 kmix
0   0.3 kdesktop
-- 
The wise are known for their understanding, and pleasant
words are persuasive. Proverbs 16:21 (New Living Translation)

  Team OS/2 ** Reg. Linux User #211409 ** a11y rocks!

Felix Miata  ***  http://fm.no-ip.com/
___
This message is from the kde mailing list.
Account management:  https://mail.kde.org/mailman/listinfo/kde.
Archives: http://lists.kde.org/.
More info: http://www.kde.org/faq.html.