This site will have limited functionality while we undergo maintenance to improve your experience. If an article doesn't solve your issue and you want to ask a question, we have our support community waiting to help you at @FirefoxSupport on Twitter and/r/firefox on Reddit.

Search Support

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

Cuireadh an snáithe seo sa chartlann. Cuir ceist nua má tá cabhair uait.

Needing to disable smooth scrolling and hardware acceleration for users on a Remote Desktop Session.

  • 6 fhreagra
  • 1 leis an bhfadhb seo
  • 1 view
  • Freagra is déanaí ó b1gt3x

more options

Hello, I need to disable smooth scrolling and hardware acceleration for any user that logs into a RDS server. I have messed the mozilla.cfg and created a autoconfig.js file. I guess I am missing something along the way.

This is currently my autoconfig.js pref("general.config.filename", "mozilla.cfg"); pref("general.config.obscure_value", 1); pref("app.update.channel", "release");

Mozilla.cfg // Smooth Scrolling Disabled lockpref("general.smoothScroll.disabled", true); // disables hardware acceleration lockPref("layers.acceleration.disabled", true); lockPref("gfx.direct2d.disabled", true);


Anything I am missing? When I restart both options are still checked in the options.

Thanks!!

Hello, I need to disable smooth scrolling and hardware acceleration for any user that logs into a RDS server. I have messed the mozilla.cfg and created a autoconfig.js file. I guess I am missing something along the way. This is currently my autoconfig.js pref("general.config.filename", "mozilla.cfg"); pref("general.config.obscure_value", 1); pref("app.update.channel", "release"); Mozilla.cfg // Smooth Scrolling Disabled lockpref("general.smoothScroll.disabled", true); // disables hardware acceleration lockPref("layers.acceleration.disabled", true); lockPref("gfx.direct2d.disabled", true); Anything I am missing? When I restart both options are still checked in the options. Thanks!!

Réiteach roghnaithe

hi b1gt3x, as you use a plaintext cfg file, you'll want to put this in your autoconfig.js intead:

pref("general.config.obscure_value", 0);
pref("general.config.filename", "mozilla.cfg");

also, you'll have to make it lockPref with a capital P in all instances - as this is reacting very sensitive to spelling errors.. http://kb.mozillazine.org/Locking_preferences.

Read this answer in context 👍 1

All Replies (6)

more options

Réiteach Roghnaithe

hi b1gt3x, as you use a plaintext cfg file, you'll want to put this in your autoconfig.js intead:

pref("general.config.obscure_value", 0);
pref("general.config.filename", "mozilla.cfg");

also, you'll have to make it lockPref with a capital P in all instances - as this is reacting very sensitive to spelling errors.. http://kb.mozillazine.org/Locking_preferences.

more options

Awesome! That got the Hardware acceleration part.

Am I also missing something to disable smooth scrolling? // Smooth Scrolling Disabled lockPref("general.smoothScroll.disabled", True);

// disables hardware acceleration lockPref("layers.acceleration.disabled", true); lockPref("gfx.direct2d.disabled", true);

more options

Here is a screen shot of what I need disabled and grayed out. Hardware acceleration is good now. Just need "Use Smooth Scrolling" disabled as well.

more options

Try this for smooth scroll:

// always make sure to start mozilla.cfg with an comment line

// Smooth Scrolling Disabled
lockPref("general.smoothScroll", false);

// disables hardware acceleration
lockPref("layers.acceleration.disabled", true);
lockPref("gfx.direct2d.disabled", true);

(edited to restore lost line breaks)

Athraithe ag cor-el ar

more options

try this:

// Smooth Scrolling Disabled
lockPref("general.smoothScroll", false);
more options

Awesome guys it worked. Much appreciated!