Is it possible to make indicator-appmenu ignore a specific application?

1
#

February 12, 2013 at 9:55 pm

@Dami – do you need to support IE input:not(.normal){
/*
This is your existing style rule.
Simply change the selector from
"input" to
"input:not(.normal)".
*/
}

You can polyfill earlier versions of IE, of course, but I don’t know that you’d want to depend on js for this.

If it’s possible, I’d still recommend (working with a backup copy, of course) adding a class name to all the special-style inputs. A good text editor will allow you to make the changes with a [regex] search-and-replace so you don’t have to do it manually. How this works would depend on your editor, and on your existing markup.

*****

> @traq Oo? You are talking like someone will die. :) It’s not that big deal to use ID to override some rule. Actually in this specific situation is far better to do so than to add probably 20+ class attributes in HTML.

No, no lives at stake. I maintain, however, that it is...

0 0
2

It's known that the global menu of plasma doesn't work with gtk applications as they don't use the same protocol.

Firefox and Libreoffice, I think, use their own thing, which doesn't work with the global menu, so yes, so far global menu only works with Qt applications...

It's also known that electron applications have that problem of CPU, you can use the following to show the menu in the app and workaround the issue:
ELECTRON_FORCE_WINDOW_MENU_BAR=1 /usr/bin/skypeforlinux

Note that this is not a problem of the widget, so opening a bug in kde would be a better fit, although it mostly relates to non-kde applications anyway, so although I think some work is being done to support more apps, things in this regard are...

0 0
3

Progress Indicators

Don’t make people sit around staring at a static screen waiting for your app to load content or perform lengthy data processing operations. Use activity indicators and progress bars to let people know your app isn’t stalled and to give them some idea of how long they’ll be waiting.

See also Loading.

Activity Indicators

An activity indicator spins while an unquantifiable task, such as loading or synchronizing complex data, is performed. It disappears when the task completes. Activity indicators are noninteractive.

Favor progress bars over activity indicators. If activity is quantifiable, use a progress bar instead of an activity indicator so people can better gauge what’s happening and how long it will take.

Keep activity indicators moving. People associate a stationary activity indicator with a stalled process. Keep it spinning so they know something’s happening.

If it’s helpful, provide useful information while...

0 0
4

Depends on your interpretation of coding. Let's take, for instance, reference.com's definition of coding:

the symbolic arrangement of statements or instructions in a computer program in which letters, digits, etc. are represented as binary numbers

To this definition of coding, the answer to your question is no. There is no way of telling the computer to do something without telling it what to do, which is essentially the definition of coding.

Luckily for us, the process of coding has been thoroughly simplified, to the point that:

it is no longer the task of the programmer to manually represent statements as binary numbers;operating systems have been developed to allow the same code to have the same results on machines with different hardware;interpreters and compilers have been developed to allow the same code to have the same results on different operating systems;frameworks and libraries have been developed to avoid having coders reinvent the wheel every...
0 0
5

Run an application

To start an application (eg., gcalctool) with the menu within the application rather than in the panel, run the following in a terminal:

UBUNTU_MENUPROXY= gcalctool

To start the application with the menu enabled in the application and the panel, run:

APPMENU_DISPLAY_BOTH=1 gcalctool

Instead of using the terminal, you can use the Alt + F2 shortcut to start a run dialog, in which you would enter:

env UBUNTU_MENUPROXY= gcalctool

or

env UBUNTU_DISPLAY_BOTH=1 gcalctool

Edit application launchers in Ubuntu 10.10

To make it easier to always launch your application with the same appmenu settings, you can edit application launchers in the menu, the gnome-panel, and on the desktop:

Gnome-panel and desktop: simply right-click the launcher, select "Properties" and prepend env UBUNTU_MENUPROXY= or env UBUNTU_DISPLAY_BOTH=1 to the value in the "Command" field:

Menu: right-click the menu and select "Edit...

0 0
6

To resume the problem:

Working: Ctrl-O, Ctrl-S, Ctrl-Z, Alt-Up, Alt-Down Not Working: Ctrl-D, Ctrl-Q, Alt-A, Ctrl-Shift-A, Ctrl-F, F1

The problem seems to be caused by the global menu, see http://askubuntu.com/questions/6784/is-it-possible-to-make-indicator-appmenu-ignore-a-specific-application. You can start kid3-qt with the environment variable mentioned there to avoid the problem:

UBUNTU_MENUPROXY= kid3-qt

See the link above to make this persistent. When starting kid3-qt from the terminal without this environment variable, three such error messages are displayed, which may be related to the problem:

QVariantMap DBusMenuExporterDBus::getProperties(int, const QStringList&) const: Condition failed:...
0 0
7

My team had a similiar situation where we needed to filter out urls that were successful image requests (we had a lot of these which made us hit the 30k datapoints/min limit).

We ended up using a modified version of the class in Sergey Kanzhelevs blog post to filter these out.

We created a RequestFilterChannel class which is an instance of ServerTelemetryChannel and extended the Send method. In this method we test each telemetry item to be sent to see if it is an image request and if so, we prevent it from being sent.

public class RequestFilterChannel : ITelemetryChannel, ITelemetryModule { private ServerTelemetryChannel channel; public RequestFilterChannel() { this.channel = new ServerTelemetryChannel(); } public void Initialize(TelemetryConfiguration configuration) { this.channel.Initialize(configuration); } public void Send(ITelemetry item) { if (item is RequestTelemetry) { var requestTelemetry = (RequestTelemetry) item; ...
0 0
8
...
0 0
9

Whether you like the User Account Control (UAC) feature in Windows Vista, 7 and 8 or not, the average computer user should always have it enabled. This is because there’s no doubt UAC is capable of blocking some actions by malware such as adding itself to global startup, dropping or modifying files located in Windows, installing rogue software processes and etc. There are certainly weaknesses in UAC, and there are ways to bypass UAC restrictions on a system, but not all malware is capable of doing that which is where UAC can work.

Unfortunately the effectiveness of UAC will probably diminish over time for many users because they mostly just end up pressing Yes to allow a program access without even looking at what is asking to run, because they’re presented with the prompt so often. Power users will no doubt find UAC extremely annoying and it’s the first thing that many of us disable after installing Windows. We usually have to keep UAC enabled on some of our test...

0 0
10

Was looking for a method of opening a third party security program as Administrator on system startup, (several of its features require it be started in Admin mode for the features to function as configured).

Here's the process worked through to arrive at the desired result:

Changed the application launch properties to 'Run as Administrator': FAIL #1 Created a desktop shortcut with Admin privileges and added it to the 'Startup' group. While the application opened, it did not open in Administrator mode: FAIL #2 User Task Scheduler to open it on system start (using the method provided by the winaero blog) but as the application prompted a UAC question, it wouldn't load: FAIL #3 Lost an hour of life downloading, installing and working through 'Microsoft Application Compatibility Toolkit': FAIL #4 Won't class this as a failure, but looked at UAC Trust, found it didn't address the question posed here.

At this point, somewhat invested in the, '15 minute job' now morphed...

0 0
11

In the Supported Devices section of the developer console page, you can view the list of all devices. This loads over 2,000 slider-type checkboxes which are initially set to enabled. Unfortunately there doesn't seem to be a "disable/enable all" option in the interface...

...Instead, I used Firebug's inspector tool to get the classname for these slider objects (can't recall what it was now - two random uppercase acronyms), then executed an expression in the Javascript console which toggled the state of every slider. Something like:

switches = document.getElementsByClassName("ABC DEF"); for(i = 0; i < switches.length; i++) switches[i].click();

This froze the browser for a minute or two, but afterwards, every phone was marked as unsupported. Then you can enable the phone(s) you need to...

0 0