LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 01-02-2017, 06:20 AM   #1
luofeiyu
Member
 
Registered: Aug 2015
Posts: 237

Rep: Reputation: Disabled
How to set consolefont for regular user?


debian8 is a regular user on my os(debian8+lxde).
To open LXterminal when to login into with a regular user.

https://i.stack.imgur.com/VERNu.png

To get the default font set.

https://i.stack.imgur.com/Kyh1s.png

The default font size is 10px,it is small.

https://i.stack.imgur.com/lm4Id.png

Now let's customize the font as 14px.
https://i.stack.imgur.com/VY1DO.png

It is unluck that when you reboot pc the default font size for regular user turn into 10px no matter which font you choose to set and click ok to save the configure.
I want to know why?
Can i set a script on /home/debian8/.bashrc to set font size for user debian8?

[1]: https://i.stack.imgur.com/VERNu.png
[2]: https://i.stack.imgur.com/Kyh1s.png
[3]: https://i.stack.imgur.com/lm4Id.png
[4]: https://i.stack.imgur.com/VY1DO.png

Last edited by luofeiyu; 01-02-2017 at 06:23 AM.
 
Old 01-07-2017, 02:44 PM   #2
Didier Spaier
LQ Addict
 
Registered: Nov 2008
Location: Paris, France
Distribution: Slint64-15.0
Posts: 11,048

Rep: Reputation: Disabled
Works here. You should click validate twice:
  • Once on the small window whose title is "Choose a font"
  • Then on the main preferences window whose title is "LXTerminal"
Then your setting for this user will be stored in ~/.config/lxterminal/lxterminal.conf

There is no need to use a script for that. Also, the font used is not a console font as the X server uses other fonts than the Linux console.

But bear in mind that this is a per user setting, so it won't hold for another regular user.

Last edited by Didier Spaier; 01-08-2017 at 03:01 AM.
 
Old 01-10-2017, 01:09 AM   #3
patrick295767
Member
 
Registered: Feb 2006
Distribution: FreeBSD, Linux, Slackware, LFS, Gparted
Posts: 664

Rep: Reputation: 138Reputation: 138
Quote:
Originally Posted by luofeiyu View Post
debian8 is a regular user on my os(debian8+lxde).
To open LXterminal when to login into with a regular user.

https://i.stack.imgur.com/VERNu.png

To get the default font set.

https://i.stack.imgur.com/Kyh1s.png

The default font size is 10px,it is small.

https://i.stack.imgur.com/lm4Id.png

Now let's customize the font as 14px.
https://i.stack.imgur.com/VY1DO.png

It is unluck that when you reboot pc the default font size for regular user turn into 10px no matter which font you choose to set and click ok to save the configure.
I want to know why?
Can i set a script on /home/debian8/.bashrc to set font size for user debian8?

[1]: https://i.stack.imgur.com/VERNu.png
[2]: https://i.stack.imgur.com/Kyh1s.png
[3]: https://i.stack.imgur.com/lm4Id.png
[4]: https://i.stack.imgur.com/VY1DO.png

It can orientate you a bit more... loadkeys sthg.
the user can load the key map. Check into /usr/share there are numerous type of keyboards (tar.gz files) ...
 
Old 01-11-2017, 12:23 PM   #4
ondoho
LQ Addict
 
Registered: Dec 2013
Posts: 19,872
Blog Entries: 12

Rep: Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053
Quote:
Originally Posted by patrick295767 View Post
It can orientate you a bit more... loadkeys sthg.
the user can load the key map. Check into /usr/share there are numerous type of keyboards (tar.gz files) ...
"loadkeys sthg." requires superuser privileges. at least it does on the 2 distros i'm using (debian, archlinux). i don't think there's anything you can do about it.
 
Old 01-11-2017, 12:33 PM   #5
Didier Spaier
LQ Addict
 
Registered: Nov 2008
Location: Paris, France
Distribution: Slint64-15.0
Posts: 11,048

Rep: Reputation: Disabled
loadkeys loads a kernel keymap.

This is in no way related to the OP's issue which is to set the size of a font for X to be used in LXterminal and keep this setting.

Last edited by Didier Spaier; 01-11-2017 at 12:34 PM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] NFS subdirectory - regular user can read - root user denied qajaq Linux - Software 2 12-29-2016 12:59 PM
[SOLVED] consolefont and /etc/rc.font DarkVision Slackware 8 04-03-2016 11:59 AM
Unable to access phpMyAdmin from my browser? Root user denied and regular user as well? cyberdome Linux - Newbie 9 03-30-2016 12:28 AM
[SOLVED] Different date shown for regular user and root user tuxtutorials Linux - Server 6 11-27-2013 08:33 AM
difference between regular user and system user (and groups) kushalkoolwal Linux - General 1 09-28-2010 04:25 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 11:46 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration