Fedora Linux Support Community & Resources Center

Go Back   FedoraForum.org > Fedora Resources > Guides & Solutions (Not For Questions)
FedoraForum Search

Forgot Password? Join Us!

Guides & Solutions (Not For Questions) Post your guides here (No links to Blogs accepted). You can also append your comments/questions to a guide, but don't start a new thread to ask a question. Use another forum for that.

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 19th September 2015, 08:03 PM
netwinder Offline
Registered User
 
Join Date: Sep 2015
Location: Canada
Posts: 1
linuxfedorafirefox
Cool Solution: Scroll Lock in Fedora!

Hello Fedorafourm,

A small issue I found upon installation of Fedora 22 was, the scroll lock key dosent work!

For some this is no issue, however my keyboard's back light is controlled via the scroll lock key, and in order to type in the dark the scroll lock key is absolutely essential.

I found various solutions online, and some worked. The only catch was having to enter a command upon login, and every login. That i am much too lazy for. The other type of solution involved making a shell script to be executed on login, or boot.

I found that in order to make it work, you would have to execute a command in a init type script. However the init script would have to be related to the start up of your GUI (in this case Gnome).

So in order to edit the init file for your GUI, substituting vi with the text editor of your choice (nano, gedit, etc)

Code:
 sudo vi /etc/X11/xinit/xinitrc.d/localuser.sh
You should now be in a file that looks like this

Code:
#!/bin/sh
# Copyright (C) 2006 Red Hat, Inc. All rights reserved. This
# copyrighted material is made available to anyone wishing to use, modify,
# copy, or redistribute it subject to the terms and conditions of the
# GNU General Public License version 2.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
#
[ -x /usr/bin/xhost ] && [ -x /usr/bin/id ] &&
    xhost +si:localuser:`id -un` >& /dev/null
If you want your scroll lock to be permanently enabled, then at the end of the file add the line:
Code:
# Permanently enables scroll lock
xset led named "Scroll Lock"

and then save the file and reboot! The login screen wont have the functionality of the scroll lock key but once you login scroll lock should be working
Reply With Quote
  #2  
Old 19th September 2015, 09:10 PM
jpollard Offline
Registered User
 
Join Date: Aug 2009
Location: Waldorf, Maryland
Posts: 7,347
linuxfedorafirefox
Re: Solution: Scroll Lock in Fedora!

Reboot shouldn't have been necessary.

Just logout and login again.

You could also just run the script...
Reply With Quote
  #3  
Old 17th February 2017, 01:17 AM
diedburn Offline
Registered User
 
Join Date: Feb 2017
Location: holland
Posts: 1
windows_98_nt_2000chrome
Re: Solution: Scroll Lock in Fedora!

Hey got this problem again in Fedora 25 anyone knows how to fix it ?upper stuff doesn't even blink the scroll lock led on my system.;c
Reply With Quote
Reply

Tags
fedora, lock, scroll, scroll lock, solution

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Computer Hangs, Blinking Caps Lock and Scroll Lock Lights December Using Fedora 1 15th October 2011 06:27 AM
Mouse freezes and the keyboard blinks the caps lock and scroll lock? vetkasi Using Fedora 6 10th June 2009 10:18 PM
Removing Scroll Lock best_112 Using Fedora 2 2nd March 2007 01:17 PM
ctrl + s = Scroll Lock? best_112 Using Fedora 0 27th February 2007 07:26 AM


Current GMT-time: 13:37 (Saturday, 25-02-2017)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat