You are not logged in.
Pages: 1
Greetings everyone! I apologise if this is in the wrong place, but here are my questions:
1) Is it possible to have a custom logon screen? As in have your own text and/or reposition the username/password prompt.
2) I'm having issues changing the colour of the terminal text. I'd like it green on black but when I make the changes and logout/in, nothing happens. I followed the guides but still nothing.
3) How can I enable UK keyboard?
4) Sort of related to number 2, I'd like a coloured 'ls'. I added the line to .bashrc but nothing happened.
I thank you in advance
-FireFox276
Offline
1. /etc/motd stores the "message of the day", which will be displayed before the last login details.
2. If you are using an X terminal emulator, you would put the background/foreground definitions in .Xresources.
3. In /etc/rc.conf you can change your keymap.
4. You need the program dircolors installed, and you need a file .dircolors that lists the coloring definitions for filetypes.
Offline
1) Thanks
2) Sorry, I forgot to mention I'm not using X
3) Thanks again!
4) Is this available from Pacman?
Offline
1. of course! but it depends on how you login.
* If you use GDM look here
* If you use KDM look here
* If you use Entrance look here
* If you use SLiM look here
* If you use Qingy look here
* If you login from the terminal, egan's motd tip is your best bet.
* I don't know any resources for WDM or XDM, anyone else know any?
2. If you want to change the terminal/prompt text color, a good reference is here. If you want to change the actual terminal color, it depends on the terminal.
3. egan's rc.conf tip is right on
4. I believe dircolors is part of the base install, so just add "alias ls='ls --color=auto'" to your ~/.bashrc
Offline
Thank you both, this really helped
One other thing, is it possible to add colour to the /etc/motd file? I tried using the same procedure from .bashrc but motd is actually printing the escape characters. Am I just doing it wrong or does motd use a different method for colours?
Offline
\033[1;34m
\033 is octal for the escape character (the character you get when you press the escape key). You'd have to enter the character itself. What text editor are you using?
aur S & M :: forum rules :: Community Ethos
Resources for Women, POC, LGBT*, and allies
Offline
\033[1;34m
\033 is octal for the escape character (the character you get when you press the escape key). You'd have to enter the character itself. What text editor are you using?
I'm using Nano. I don't have X installed, I prefer the terminal based way of things!
Offline
fsckd wrote:\033[1;34m
\033 is octal for the escape character (the character you get when you press the escape key). You'd have to enter the character itself. What text editor are you using?
I'm using Nano. I don't have X installed, I prefer the terminal based way of things!
Excellent choice. In place of the \033 you need to enter the escape character. To do this in nano, first press M-v (where M is the meta key, alt on my system). It should say "verbatim input" or something similar at the bottom. Then press the escape key. You should see '^]' at the point of insertion. Move the cursor over it, it should behave like one character. Repeat this for each \033 string you find and you're all set to go.
Edit:
You can test your motd by cat /path/to/motd/file and check the output.
Edit2:
There's also search and replace. Start it with M-r (meta-r). The string being searched to replace is \033 and the string replaced with is the escape character. Use the procedure above to enter the escape character (M-v Esc).
Last edited by fsckd (2009-10-19 21:45:21)
aur S & M :: forum rules :: Community Ethos
Resources for Women, POC, LGBT*, and allies
Offline
Here are all the values you can use:
Setting Up a Scripting Environment | Proud donor to wikipedia - link
Offline
Pages: 1