as a newby, how do i
how do i
1) get rid of / disable, hibenate / power saving? it is not needed and is causing problems. as a tempory messure i start k player and that keeps the pc on 2) change the terminal so that it says witch directory it is in? as the web browsers dont have all the addons i can not find the youtube video that i seen it in. 3) i have a tv card installed and the kernal has the right moddule dose anyone gave any idea what is the easyest option for viewing tv kaffeine myth tv or K-player with W-scan 4) slapt-get / pkgsrc-on-salck or other witch is simplest, like my |
For customizing your prompt, there are many tutorials, but this is the one I've got bookmarked:
Code:
http://www.cyberciti.biz/tips/howto-linux-unix-bash-shell-setup-prompt.html Code:
PS1="[\d \t \u@\h:\w ] $ " You can run that snippet directly from your existing prompt to see the result. As to your power issues, there are a few possibilities, however a down and dirty fix would be to run xfce4-power-manager, and go through the settings to disable sleep. The best package manager for Slackware is you. Others may chime in as to the usefulness of slapt-get and various others, however I would highly recommend that you use sbopkg and queuefiles: the two combined are as slick as any pkg manager out there; simple; and in keeping with the Slack mantra, YOU have control of every aspect of the process. cheers, |
Quote:
|
Quote:
Quote:
Quote:
|
A prompt longer than your path string!
Hey,
For the past 20-odd years I have been using a prompt string that puts the current directory and time at the top of your screen, sets the terminal window title to <yourusername>@<whatevermachineyouareloggedinto> It uses ANSI escape sequences to achieve this so it is relatively portable ... in the OLD days of "DOS" (rinses out the bad taste from mouth) I was accused of having a propmt string longer then my PATH string. Anyway, for those who are interested I am pasting the script that sets this up. It should be run as the final thing in your login profile. NOTE WELL this is optimised for ksh so you may need to tweek it for other shells. Code:
#!/bin/ksh NOTE also that there is a ^J (control-J) (that you cannot see) prior to ${WHAT} which fools ksh into thinking the prompt starts there otherwise it considers that the prompt starts at PS1= and effectively shortens the command line. Other shells may not act this way. If you would like a real copy of this file, let me know. cheers pete pete hilton saruman@ruvolo-hilton.org |
Quote:
|
thanks for the replies!!!
if i dont reply further it means problem solved dugan the power problem is / was the it would suspend but not recover/ |
All times are GMT -5. The time now is 02:41 PM. |