Using: '/.config/.../autostart' does not work?
.
Greetings, All.
With earlier Knoppix 6s and 7s, I became accustomed to making
small changes to certain system files to achieve some modest LiveUSB
'improvements'. For some reason, I seem to be locked out of the
ability to just go in and modify these files as I used to do.
Two specific files that are resisting my efforts are:
/etc/xdg/lxsession/LXDE/autostart (I want to add iceweasel), and
/etc/syslog-knoppix.conf (I want to add /var/log/syslog)
What has changed that I should know about? TIA.
Using: '/.config/.../autostart' does not work?
Last edited by philo; 08-18-2014 at 10:39 AM.
# startup.desktop
[Desktop Entry]
Name=Startup
Exec="iceweasel"
Icon=
Type=Application
(Adapted from an old Klaus2008 posting)
Did you see this posting by Werner in August 2013:
http://knoppix.net/forum/showthread....l=1#post129773
Greetings, again philo.
I hadn't seen this before, but I think Werner is right here, as usual.
Without a specific page target the results are a little erratic on just what the browser will display;
often, but not always with its own 'oops' message.
I had almost come to Werner's conclusion on my own.
Thanks again for your help.
.
1. I have tamed Compiz to my satisfaction for now.
2. Given that, my Post #4 here now adequately fills my autostart needs.
3. I haven't a clue on how to get syslog back, and Werner's
old syslog solution doesn't work any more, either.
I haven't a clue on how to get syslog back, ..Greetings WernerCode:su mv /etc/syslog-knoppix.conf /etc/syslog-knoppix.conf_orig aptitude install anacron ln -s /usr/sbin/rsyslogd /sbin/syslogd reboot
Greetings, Werner, and thanks.
Using Knoppix 7.2 and previous versions of Knoppix, I created a
few useful utility functions to time (or count) things relative to time at boot
using syslog. Each syslog line entry begins with a character group
formatted similar to a date function response formatted in
hours, minutes and seconds since the time syslog started at boot.
For examples:
What does a typical anacron or cron print-out (or line of output) look like?Code:# Parts of my ~/.bashrc in Knoppix 7.2: alias 'Syslog=less /var/log/syslog' # requires syslog at.Start(){ # echo time at Start (requires Syslog) echo -e "at Start: \c"; Syslog | grep restart | awk '{ print $3 }' } Boot.Time(){ # Seconds to browser on-line (requires Syslog) echo -e "Online at: \c"; Syslog | grep avahi | awk '{ print $3 }' at.Start } Disconnects() { # Wifi disconnects since boot (requires Syslog) echo -e "Time now: \c"; date | awk '{ print $4 }' at.Start echo -e "Wifi disconnects: \c"; Syslog | grep -c disconnecting }
Can you give us a Screenshot?
Last edited by utu; 08-19-2014 at 02:48 PM.
'/usr/sbin/rsyslogd' succeeds '/sbin/syslogd'. But '/etc/init.d/knoppix-autoconfig' still uses '/sbin/syslogd'; therefore I suggest the use of a symlink. Perhaps in a new Knoppix version this will no longer work.
I think your bashrc will work as until now.
Cron or anacron have no print-out. With cron you can define jobs and their execution time to logrotate the output of the logfiles; this will prevent an overflow of '/var/log'. If you doesn't have a server which will run all over the time, you need anacron. It will make up these cron jobs, which could not be carried out because the computer has been shut off at the defined execution time.
HGST Ultrastar HE10 HUH721010ALE600 10TB SATA 6Gb/s 7200RPM 3.5" Enterprise HDD
$78.99
Western Digital Ultrastar DC HC520 HUH721212AL4200 0F29560 12TB 7200 RPM
$99.99
Hitachi Z7K320-160 160 GB 2.5 inch Hard Drive HTE723216L9A300
$20.73
HGST Ultrastar 7K4000 HUS724040ALA640 0F14688 3.5" 4TB SAS 7.2K RPM 64MB HDD
$22.79
HGST Ultrastar DC HC520 12TB SATA 6Gb 256MB 3.5" Enterprise HDD- HUH721212ALE601
$89.99
Seagate Exos 7E10 ST2000NM000B 2TB 7200RPM SATA 6.0Gb/s 3.5" Internal Hard Drive
$29.99
WD Ultrastar DC HC530 14TB SATA 6G 3.5" 7200RPM Enterprise HDD - WUH721414ALE604
$112.00
HP 4TB 3.5" 12Gb/s 7.2K SAS Hard Drive P/N: 793674-001 / 803634-001 / 695597-004
$14.87
WD 16TB Elements Desktop, Certified Refurbished Hard Drive - RWDBWLG0160HBK-NESN
$174.99
HDD-T10T-SM0F27495 - Supermicro 10TB 7.2K 6G SATA 3.5" HDD HUH721010ALE604
$43.85