I'm sort of new to linux and I'm having a problem, I'm trying to prevent users from changing the desktop wallpaper (as well as other things but that is the main one)  I know    this has been asked before but none of the current topics helped me and I've been at this for more than a week, They are also kind of old topics.  My configuration is: I installed Edubuntu 14.04, installed gnome (only using gnome for gconf and dconf to get this working, is there a way without gnome?) Have admin account, a standard account and a guest account, Wanting to lock down features on the standard account.  I've already tried doing it in gconf, dconf and using gsettings.  I don't want to use a guest account   I've been trying to use gconf and dconf but it's just not making sense to me, right now I'm trying it in dconf because I couldnt get it to work in gconf, I tried setting it as mandatory and default in gconf but it didnt work (I read that gconf isn't used in the newer versions of Ubuntu in favor of dconf, so that's why I'm trying dconf), right now I'm trying to do  in dconf again (the wallpaper part)  I'm under the impression that I'm supposed to create a file and put all the info they provide in there, like create the user name/database, then the keyfile (how do I make it a .d file?), then dconf update file, right? How do you get it to run after all that?  Do I use a text editor like gedit? I tried going to the directory they said to and nothing is there and I wasn't able to make any new files or directory's in the GUI, and I can't move a file into there. Can you only do that through the terminal?  It would be great if i could restrict it to only the Admin able to change settings so I tried this:   chmod 744 /usr/bin/gnome-appearance-properties   But, I'm getting:  chmod: cannot access 'usr/bin/gnome-appearance-properties': No such file or directory   when I try that.   and I would rather not use this, where you put this in the startup applications:  gsettings set org.gnome.desktop.background picture-uri "file:///usr/share/backgrounds/edubuntu_default.png"  I've seriously tried all the help topics on the forum about this and many other web sites. Please help!  Thanks!
I don't want my users to change the system wallpaper. How do I the lock the wallpaper down? Update  Users are changing wallpaper by right clicking the picture and choosing set as wallpaper. How to restrict this behaviour?  Is it possible to remove Backgrounds Tab from Appearance Preferences? If yes how?
Why is super.super.method(); not allowed in Java? Contextually grey out panel element in python 2.8 I have a panel with split column.  In the 2nd row is 3 boolean variables. I want to grey out the 2nd and 3rd option by default. I want the 2nd to be changeable if 1st is true, and 3rd to be changeable if both 1 and two are true. I've read something about "poll()" but not how to actually use it, or set conditions. Physics should only be enablable if singleMesh, and destructable only if physics enabled.      # Create two columns, by using a split layout.     split = layout.split()      # First column     col = split.column()     col.label(text="Building Size:")     col.prop(bpy.context.scene.user_vars, 'buildingHeight')     col.prop(bpy.context.scene.user_vars, 'buildingWidth')     col.prop(bpy.context.scene.user_vars, 'buildingDepth')      # Second column, aligned     col = split.column()     col.label(text="Dynamics:")     col.prop(bpy.context.scene.user_vars, 'singleMesh')     col.prop(bpy.context.scene.user_vars, 'enablePhysics')     col.prop(bpy.context.scene.user_vars, 'destructable_Building')  #EDIT This is what the specific solution to my example looks like. col = split.column() col.label(text="Dynamics:") col.prop(vars, 'singleMesh') sub = col.row() sub.enabled = vars.singleMesh sub.prop(vars, 'enablePhysics') sub = col.row() sub.enabled = vars.enablePhysics sub.prop(vars, 'destructable_Building') Simple bijection $\mathbb N_0 \times \mathbb N_0 \to \mathbb N_0$ I'm looking for a 'simple' bijection $$ \pi \colon \mathbb N_0 \times \mathbb N_0 \to \mathbb N_0, $$  where 'simple' in this context means that it should be as easy as possible to define and it should be self-evident that said function is in fact a bijection. It's a quest for convenience - not minimal complexity in any rigorous sense.  Here are a couple of examples I came up with - none of which satisfy both requirements:   Let $\pi(m,n) = c(2^m3^{n+1})$, where $c \colon \{2^m3^{n+1} \mid m,n \in \mathbb N_0 \}\to \mathbb N_0$ is the order isomorphism (or in fact Mostowski collapse) of its domain under the natural ordering, Let $\pi(m,n) = \langle n,m \rangle$ - Gödel's pairing function, Let $\pi(m,n) = m \oplus n$ - the number resulting from '' $m,n$ (where we imagine both $m$ and $n$ as in infinite decks of cards whose $i$th element is labeled with its respective $i$th digit). ... Confirming that my own question is a duplicate by voting to close should have immediate effect How to decide if an effect is magical for Magic Resistance? Some creatures have Magic Resistance:     The [...] has advantage on saving throws against spells and other magical effects.   We know from  that this works against Turn Undead, but does it work against Stunning Strike, Death Strike, Fey Presence, etc? How do we decide? Give a deduction of $\forall y \exists x (x=y)$  My thinking is I can prove $\exists x(x=y)$ then use generalization theorem， which is equivalent to prove $\neg \forall x \neg (x=y)$ but I got stuck proving this... thanks in advance  Sorry that I did not specify what deduction system that I want to use here, it is the deduction sequence  where ai is either Axiom or original hypothesis or obtained from MP I have a simple question.     over centuries / for centuries   what is the difference?  Thank you. Fatal error: Call to undefined function add_action() - an untouched problem The question was asked many times in many ways, but unfortunately is not covered well in most of the answers. I'm having the same issue doing things using include-files.  In my TwentyFourteen child theme's functions.php I used:  require_once get_stylesheet_directory_uri() .'/admin-panel/theme-options.php';   And I'm using . I've used it in many of my projects, the same way mentioned here, without having the error. But recently I'm having the issue in several of my projects. If I take the code to functions.php then everything's fine. But it's occurring only when I'm trying to include/require external file.  I'm having the error:     Fatal error: Call to undefined function add_action() in C:\xampp\htdocs\project\wp-content\themes\my-theme\admin-panel\theme-options.php on line 2   In this case I'm having the error using a child theme (of T14). But even in one of my parent theme I'm facing the issue. But in the same environment my other projects are running well with all the includes and/or requires (where several add_action()s are defined). I'm having issues in ALL the add_action() calls, like CPT assigning, Custom Taxonomy assigning etc. But I'm successfully developing another two projects including external files from inc/ folder where all my CPTs are assigned and their meta boxes too.  I tried reinstalling WordPress, deactivating all my plugins, tried from Child Theme, tried only the same thing by modifying TwentyFifteen (applying default theme), tried require(), require_once(), include(), include, require_once, and require one after another with failure. And I'm using WP 4.1.1 in all the good and problematic installs.  Majority of the previous questions are answered with a simple line:     As the message says, you haven defined the function add_action() and yet you're trying to use it.   But,   how come (isn't it already defined by WordPress)? and why it's differing project to project in the same environment (How come it's out of the scope now only in particular project[s])? Re-use aliased field in SQL SELECT statement I am looking for a word that would describe someone who always goes out of their way to take their time and do a good job. Sort of the opposite of half-assing something.  I am looking for something that is more about a work ethic than a technically proper way of doing things. Something like canonical or protocol would not be a good fit. Does centrifugal force exist? Currently in my last year of high school, and I have always been told that  does not exist by my physics teachers. Today my girlfriend in the year below asked me what centrifugal force was, I told her it didn't exist, and then she told me her textbook said it did, and defined it as "The apparent force experienced towards the outside of a circle is the centrifugal force and is due to the mass of the object resisting the inward centripetal acceleration that the object is experiencing". I was pretty shocked to hear this after a few years of being told that it does not exist.  I did some reading and found out all sorts of things about pseudo forces and reference frames. I was wondering if someone could please explain to me what is going on? Is it wrong to say that centrifugal force does not exist?   This has always nagged me a bit as I often wonder that if every force has a reaction force then a centripetal force must have a reaction centrifugal force, but when I asked my teachers about this they told me that centrifugal force does not exist. How to take a screenshot with an Android device? Is there a way to take a screenshot of an Android device and save it as an image file? how do i get my stolen phone& pictures back? On 7 july 15 someone broke in my house and stole my galaxy note 3 it did not have service it has been disconnect for about 6mo now i would like to get my phone back because it had picture of me and my dad who died the day after father day this past june &amp; other family pictures that can not be replaced.how do i go about getting those back? Why do we need to use `int main` and not `void main` in C++? Why do we need to use int main and not void main in C++? Single service account running all SQL Servers Is there any negative performance impact for using the same service account and agent account to run SQL Server and SQL Agent respectively for all SQL server instances running at a small company of say 35 servers? The biggest database is 0.5 GB. any suggestions are welcome. Thank you. From the :  [1,4,9].map(Math.sqrt)   will yield:  [1,2,3]   Why then does this:  ['1','2','3'].map(parseInt)   yield this:  [1, NaN, NaN]   I have tested in Firefox 3.0.1 and Chrome 0.3 and just as a disclaimer, I know this is not cross-browser functionality (no IE).  I found out that the following will accomplish the desired effect. However, it still doesn’t explain the errant behavior of parseInt.  ['1','2','3'].map(function(i){return +i;}) // returns [1,2,3] Choice of personal pronoun in single-author papers Which personal pronoun is appropriate in single-author papers - 'I' or 'we'? Could the use of 'I' be considered egotistical? Or will the use of 'we' be considered to be grammatically incorrect? How to show $\lim_{x \to 1} \frac{x + x^2 + \dots + x^n - n}{x - 1} = \frac{n(n + 1)}{2}$? I am able to evaluate the limit $$\lim_{x \to 1} \frac{x + x^2 + \dots + x^n - n}{x - 1} = \frac{n(n + 1)}{2}$$ for a given $n$ using l'Hôspital's (Bernoulli's) rule.  The problem is I don't quite like the solution, as it depends on such a heavy weaponry. A limit this simple, should easily be evaluable using some clever idea. Here is a list of what I tried:   Substitute $y = x - 1$. This leads nowhere, I think. Find the Taylor polynomial. Makes no sense, it is a polynomial. Divide by major term. Dividing by $x$ got me nowhere. Find the value $f(x)$ at $x = 1$ directly. I cannot as the function is not defined at $x = 1$. Simplify the expression. I do not see how I could. Using l'Hôspital's (Bernoulli's) rule. Works, but I do not quite like it.   If somebody sees a simple way, please do let me know.    Added later: The approach proposed by Sami Ben Romdhane is universal as asmeurer pointed out. Examples of another limits that can be easily solved this way:   $\lim_{x \to 0} \frac{\sqrt[m]{1 + ax} - \sqrt[n]{1 + bx}}{x}$ where $m, n \in \mathbb{N}$ and $a, b \in \mathbb{R}$ are given, or $\lim_{x \to 0} \frac{\arctan(1 + x) - \arctan(1 - x)}{x}$.   It sems that all limits in the form $\lim_{x \to a} \frac{f(x)}{x - a}$ where $a \in \mathbb{R}$, $f(a) = 0$ and for which $\exists f'(a)$, can be evaluated this way, which is as fast as finding $f'$ and calculating $f'(a)$.  This adds a very useful tool into my calculus toolbox: Some limits can be evaluated easily using derivatives if one looks for $f(a) = 0$, without the l'Hôspital's rule. I have not seen this in widespread use; I propose we call this Sami's rule :). In languages like Java and C#, strings are immutable and it can be computationally expensive to build a string one character at a time.  In said languages, there are library classes to reduce this cost such as C# System.Text.StringBuilder and Java java.lang.StringBuilder.  Does php (4 or 5; I'm interested in both) share this limitation?  If so, are there similar solutions to the problem available? Is there a gender-neutral pronoun that can replace “his” or “her”?