/etc/modules comment is wrong
In Debian Sarge, in /etc/modules out-of-the-box, the comments say that nything after '#' is ingored. But this is wrong. Only lines which BEGIN with '#' are ignored. This should be changed. Since /etc/modules appears to not be placed by any package but instead dynamically created, I wonder where should I file this "bug". Therefore, I leave here the report, and hope it reaches the right people. Greets! -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
customizing PS1 environment var with colour escape codes breaks readline
I didn't know what package should i file this bug to (cterm, base-utils, ...) so i report it here and hope someone can suggest: I like customizing my PC. In my console I use the following PS1 var: PS1='\n\033[34;1m[\w]\033[0;34m\$ ' PS1=$PS1'\033[s\033[1;1f\033[37;47;1m\033[K Terminal: \033[2m\l\033[1m\033[;19fJobs: \033[2m\j\033[1m\033[;29fUser: \033[2m\u\033[1m\033[;45fHost: \033[2m\h\033[1m\033[;61f\d \033[2m(\A) \033[u' PS1=$PS1'\033[0m' It works fine, but the thing is that suing colour escape codes seems to break readline! I mean, if I use that PS1 variable, readline behaves strange. Example: 1) Set PS1 to the above value. 2) Start xterm 3) fill the xterm prompt with a large line. For example, "echo this is a vry lage line which, haveing colour escape codes in PS1 environment variable, will break readline". This command will probably (if not, make it larger) wrap into several lines in the xterm window. 4) While typing, you might have noticed that, instead of wrapping down a new line, the first time it gets to the end of the window, it just continues on the same line, overwritting the existing characters. 5) In the same way, when going back in the xterm prompt history to get that command, it will always take a line less in space that what it should. This all becomes very anyoing when treating with large commands (such as compilation commands) which I have to change frequently and don't want to type all along again. 6) What's more, when you modify such large commands in the console prompt history, it will show characters which aren't really the ones you are editting. I hope I made myself clear. Greetings! -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
MediaCenter auto-login
Hi, I'm working on my computer to do a Linux MediaCenter (to play videos, DVS, music, maybe games, and such). Since this computer will not have internet nor LAN access, i'd like it to auto-login, so that by insterting a CD and booting up, everything is done and not a single key has to be pressed. How can I auto-login as a _user_ (still, not as root, since i wouldn't like any ap to corupt my system) in the Command Lie Interface? (the idea is not to use X) Thanks in advance. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: MediaCenter auto-login
> 1:2345:respawn:/usr/bin/setuid username /bin/bash --login > > (As always, call back if it doesn't work) Thanks a lot. In fact, I had already tried this, but the problem is that setuid doesn't set the environment. if there was some way to run 'su' instead of 'setuid' but without asking for password... whatever as long as it doesn't ask for prompt + sets the whole environment :) Thanks a lot anyway. I hope you can help me a bit further. I'm looking forward for your help ;-) Jacobo -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: MediaCenter auto-login
> If you use GDM as your Display Manager, it has a feature to do > Auto-Login. hmm... "How can I auto-login as a _user_ (still, not as root, since i wouldn't like any ap to corupt my system) in the Command Lie Interface? (the idea is not to use X)" <- so, no X ;-) > Okay. hope this helps Not really :-( but thanks a lot for trying out with helping me :-) My plan is to avoid X wherever it is possible. Since it's a MediaCenter, i won't expense on it any new processor or a hard disc bigger than 1GB ;-) so only CLI will be there. Again, thanks. I hope someone comes up with the definitive solution ;) -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: MediaCenter auto-login
Hi again, > Those two things associated with setting the username in PAM should make > it so that anyone putting anyname in using any password that is unknown > should work. Yeah, I knew about that, but, as posted on my first message... "i'd like it to auto-login, so that by insterting a CD and booting up, everything is done and not a single key has to be pressed." hehehehe ;-P > [...] preparing for a 1 day production outage move to a > new facility about 10 miles away). > > Good luck. Nah, you need al my luck on that move! ;) BTW, I'm still here, so if someone knows about a way to acomplish my desire... ;-) -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: MediaCenter auto-login
It worked for me fine but, since rungetty doesn't set the USER variable, HOME variable etc, bash, when run as "bash -l" will fail to rad ~/.profile ~/.bashrc, etc... There must be a way to have rungetty to set this variables or some app which logins into some user without prompting for pass :-/ Please tell if any idea springs up ;-) Greetings and thanks for all your help up to now! -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
advanced keyboard tweaking
Hi everybody, I've been playing around with xmodmap desperatly, in order to find a way to have CTRL+ALT to act as ATLGR. All my effords have been unsuccessful. It is much easier for me to press CTRL+ALT+2 to get the @ than to type ALTGR+2, so that's the reason, in case you were wondering. Ok, answers might be "check man xmodmap" "xmodmap is your friend, etc...". Well, as i said, I've already tried, but no way. There's no way I could find to have two keys to replace a single one. Any help would be greatly appreciated. Thanks in advance! :) -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Advanced keyboard tweaking
Hi everybody, I've been playing around with xmodmap to get CTRL+ALT to act as ALTGR, without success. In fact, what i found, is that there is no way to have two keys in comination to act as another one which is a _mode_ key. If anyone could help me, I'd greatly appreciate it! :) Thanks in advance, Jacobo P.S.: In case you were just wondering: This is because i find it much easier to use CTRL_L+ALT_L+2 than ALTGR+2 (in spanish keyboards, to get the AT (@) symbol). -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Advanced keyboard tweaking
Hi everybody, I've been playing around with xmodmap to get CTRL+ALT to act as ALTGR, without success. In fact, what i found, is that there is no way to have two keys in comination to act as another one which is a _mode_ key. If anyone could help me, I'd greatly appreciate it! :) Thanks in advance, Jacobo P.S.: In case you were just wondering: This is because i find it much easier to use CTRL_L+ALT_L+2 than ALTGR+2 (in spanish keyboards, to get the AT (@) symbol). -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]