You are not logged in.

#1 2016-09-01 15:47:21

nikkky
New Member
Registered: 2016-09-01
Posts: 2

auto update clock

I installed Bunsenlabs Linux from bl-Hydrogen-i386+NonPAE_20160710.iso
I have a few questions:
1. My PC doesn't have a BIOS battery, so if I remain without power, the date and time is lost, so he need to be updated.Is there a way to clock to update from internet while Linux is booting, so when he is finish to boot to have the corect time and date?
2. How can I boot without entering username and password?
3. Can I make desktop shortcuts from installed programs, for example Firefox and LibreOffice Writer?
4. Can I move the bar with the clock from up to the bottom of the screen? (like in windows)
5. Can I insert the menu in the left part of the bar(like in windows), now it is showing up only if I right click.

Offline

#2 2016-09-01 16:01:09

nobody
The Great
Registered: 2015-08-10
Posts: 3,655

Re: auto update clock

It would be better if you created separate threads for the system and the desktop question.

Re. your first question.

Install fake-hwclock. This will save your time periodically to disk and restore it when booting. This will prevent your machine from time-travelling to the 1970s and back when turning it on. However, this won't deliver exact time.

sudo apt-get install fake-hwclock
sudo systemctl enable fake-hwclock

For exact time, next you want ntp: periodically synchronize time with dedicated server pools that follow a nuclear clock closely. Follow the steps here to set it up. The default ntp config Debian comes with should be sufficiently secure.

Offline

#3 2016-09-01 16:06:31

damo
....moderator....
Registered: 2015-08-20
Posts: 6,734

Re: auto update clock

You need to familiarize yourself with Openbox, which is NOT a desktop environment ie it has a right-click menu, no desktop shortcuts, it doesn't handle backgrounds etc.

See 'Menu -> Help' for many links for assistance, configuration etc

Also see this forum, especially Introduction to the BunsenLabs Desktop

Most of your questions will be answered there.

The settings for autologin are in lightdm.conf, which you can access with 'Menu -> System -> Login Settings'

You can also start the main menu with "Super key + spacebar" - much nicer than creating a panel launcher wink


Be Excellent to Each Other...
The Bunsenlabs Lithium Desktop » Here
FORUM RULES and posting guidelines «» Help page for forum post formatting
Artwork on DeviantArt  «» BunsenLabs on DeviantArt

Offline

#4 2016-09-02 00:16:54

Bearded_Blunder
Dodging A Bullet
From: Seat: seat0; vc7
Registered: 2015-09-29
Posts: 1,146

Re: auto update clock

@nobody bunsen already has ntp  found that as part of my active directory setup, it being needed for that also.


Blessed is he who expecteth nothing, for he shall not be disappointed...
If there's an obscure or silly way to break it, but you don't know what.. Just ask me

Offline

#5 2016-09-02 04:33:44

nikkky
New Member
Registered: 2016-09-01
Posts: 2

Re: auto update clock

Is there a way to auto sync clock every 10 minutes or so? If is not possible, how can I manually internet sync or manually setup date and time?(if you know GUI way will be better).The problem is if the date is not correct the web pages will not work because of certificates issues. This PC I want to configure for people who doesn't have very good PC skills.If I configure this PC to ayto sync from internet veery often will be best.
Another issue, I want to auto login, I have only one user, when I eneter to lightdm-gtk-greeter.conf I have this:

#
# background = Background file to use, either an image path or a color (e.g. #772953)
# theme-name = GTK+ theme to use
# icon-theme-name = Icon theme to use
# font-name = Font to use
# xft-antialias = Whether to antialias Xft fonts (true or false)
# xft-dpi = Resolution for Xft in dots per inch (e.g. 96)
# xft-hintstyle = What degree of hinting to use (none, slight, medium, or hintfull)
# xft-rgba = Type of subpixel antialiasing (none, rgb, bgr, vrgb or vbgr)
# show-indicators = semi-colon ";" separated list of allowed indicator modules. Built-in indicators include "~a11y", "~language", "~session", "~power". Unity indicators can be represented by short name (e.g. "sound", "power"), service file name, or absolute path
# show-clock (true or false)
# clock-format = strftime-format string, e.g. %H:%M
# keyboard = command to launch on-screen keyboard
# position = main window position: x y
# default-user-image = Image used as default user icon, path or #icon-name
# screensaver-timeout = Timeout (in seconds) until the screen blanks when the greeter is called as lockscreen
#
[greeter]
background=/usr/share/images/bunsen/login/bl-login-background
theme-name=Bunsen-lightdm
icon-theme-name=Bunsen-lightdm
font-name=Sans Bold 10
xft-antialias=true
#xft-dpi=
xft-hintstyle=hintslight
xft-rgba=rgb
show-indicators=~language;~session;~power
show-clock=true
clock-format=%H:%M          %a, %b %d
#keyboard=
position=10% 35%
#screensaver-timeout=
#default-user-image=/usr/share/icons/bunsen.png

What I need to change to autologin whitout asking me for user and password?

Mod Note: Please use code tags when posting terminal output.
-HoaS

Last edited by Head_on_a_Stick (2016-09-02 07:20:29)

Offline

#6 2016-09-02 06:02:54

ohnonot
...again
Registered: 2015-09-29
Posts: 5,592

Re: auto update clock

nikkky wrote:

1. My PC doesn't have a BIOS battery, so if I remain without power, the date and time is lost, so he need to be updated.Is there a way to clock to update from internet while Linux is booting, so when he is finish to boot to have the corect time and date?
2. How can I boot without entering username and password?
3. Can I make desktop shortcuts from installed programs, for example Firefox and LibreOffice Writer?
4. Can I move the bar with the clock from up to the bottom of the screen? (like in windows)
5. Can I insert the menu in the left part of the bar(like in windows), now it is showing up only if I right click.

1. i think others already said that this should work ootb, but there's the tricky part highlighted. in my experience, it takes a while to change to the correct time, anywhere from a second to a minute. after that it should be ok until shutdown.
2. enable autologin in menu => system => login settings
3. no.
4. yes, edit tint2 config.
5. yes, with a launcher and a little script utilizing xdotool. search the forums (and crunchbang forums), it has been done before.

Offline

#7 2016-09-02 07:26:00

Head_on_a_Stick
Member
From: London
Registered: 2015-09-29
Posts: 9,093
Website

Re: auto update clock

nikkky wrote:

3. Can I make desktop shortcuts from installed programs, for example Firefox and LibreOffice Writer?

You could install xfce4-settings and add this to ~/.config/openbox/autostart:

xfsettingsd

Then use this to change the configuration of the desktop:

xfce-settings-manager

Alternatively, install the rather excellent spacefm file manager and set it up like this:
http://ignorantguru.github.io/spacefm/s … topmanager

Offline

#8 2016-09-02 07:57:12

johnraff
nullglob
From: Nagoya, Japan
Registered: 2015-09-09
Posts: 12,657
Website

Re: auto update clock

In fact, to have icons (including clickable shortcuts) on the desktop the xfce package you need is xfdesktop4, which is started in openbox/autostart with

xfdesktop &

I am currently using this, with no need for xfce4-settings.

SpaceFM might well be a good alternative, though.


...elevator in the Brain Hotel, broken down but just as well...
( a boring Japan blog (currently paused), now on Bluesky, there's also some GitStuff )

Introduction to the Bunsenlabs Boron Desktop

Offline

#9 2016-09-03 02:09:39

Bearded_Blunder
Dodging A Bullet
From: Seat: seat0; vc7
Registered: 2015-09-29
Posts: 1,146

Re: auto update clock

nikkky wrote:

1. My PC doesn't have a BIOS battery, so if I remain without power, the date and time is lost, so he need to be updated.Is there a way to clock to update from internet while Linux is booting, so when he is finish to boot to have the corect time and date?

Why not fit a battery? They're cheap, and widely available, I know it doesn't answer how to without one, but it's easy, and you get to set and retain CMOS settings that may give better performance than loading BIOS defaults every boot.


Blessed is he who expecteth nothing, for he shall not be disappointed...
If there's an obscure or silly way to break it, but you don't know what.. Just ask me

Offline

Board footer

Powered by FluxBB