SliTaz SliTaz Forum

You are not logged in.

#1 2015-11-10 12:22:03

emninger
Member
Registered: 2015-10-24
Posts: 53

How to start processes/daemons in slitaz

Hi all.

I'd like to transform the default Slitaz desktop to a desktop in crunchbang style - but using fluxbox not openbox.

To be able to this, i'd need to understand a little bit closer, how exactly works the bootup/startup in Slitaz.

1)I can choose, by F1, in slim the desktop i'd like to login (and it works, at least for fluxbox). But i do not know, how to set fluxbox as the standard (the "slim way" put fluxbox as the first option for F1 does not have an effect: if i do not F1 slim logs in to lxde/openbox).

2)I installed privoxy and tor but how do i automatize the start. Eventually i could start privoxy by a small script called by the fluxbox startup script. But i doubt about tor, since tor has to be run as root.

3)Does there exist a small tool to quickly (and by hand) mount/unmount usb- and/or carddevices?

Thanks a lot in advance!

Offline

#2 2015-11-10 12:39:36

az_ua
Moderator
Registered: 2014-05-02
Posts: 284

Re: How to start processes/daemons in slitaz

1) Run

[c]tazx[/c]

command in terminal as regular user (NOT root)

2) Use Doc link in header! http://doc.slitaz.org/start?do=search&id=privoxy

3) by hand? find you flash: [c]fdisk -l[/c]

example for /dev/sdb

[c]mount /dev/sdb1 /media/usbdisk[/c]

GUI is in tazpanel: Hardware-Disks menu

Offline

#3 2015-11-10 13:59:28

emninger
Member
Registered: 2015-10-24
Posts: 53

Re: How to start processes/daemons in slitaz

tazx is fine - thanks!

[c]http://doc.slitaz.org/start?do=search&id=privoxy[/c] does not work as expected

For mounting, i thought of something like the MountTool (in tinycorelinux); it's useful, when you do not want to use pcmanfm or thunar as filemanager (i' d like either xfe or emelfm2). In xfe i do not see a "Mount" option (emelfm2 has to be checked to this extent).

EDIT:

Set the default applications (by tazx) did NOT work. Obviously, slim ignores them. I looked into /etc/slim.conf but i did not find anything suspect there. May be in $HOME/.xinitrc (?)

OTOH, the advices of the russian site in the end worked (i had some right problems in the beginning).

Offline

#4 2015-11-10 21:56:42

llev
Member
Registered: 2011-12-09
Posts: 568

Re: How to start processes/daemons in slitaz

Maybe in .config/slitaz/applications.conf:

[c]WINDOW_MANAGER="fluxbox-session"[/c]

will do the trick?

Did you consider spacefm?

Offline

#5 2015-11-12 17:49:35

venchancer
Member
Registered: 2015-10-25
Posts: 17

Re: How to start processes/daemons in slitaz

>> installed privoxy and tor

bad choice. versions in slitaz repos are old and  unsecure

>> xfe

like it! you have to define all drives in /etc/fstab to enable mount features

Offline

#6 2015-11-13 00:18:16

emninger
Member
Registered: 2015-10-24
Posts: 53

Re: How to start processes/daemons in slitaz

>>Maybe in .config/slitaz/applications.conf:

>>WINDOW_MANAGER="fluxbox-session"

>>will do the trick?

No!

>>Did you consider spacefm?

Yes. But i do not like it. Moreover, seems way heavvier than even pcmanfm ... (?)

Offline

#7 2015-11-13 00:20:36

emninger
Member
Registered: 2015-10-24
Posts: 53

Re: How to start processes/daemons in slitaz

>> >> xfe

>> like it! you have to define all drives in /etc/fstab to enable mount features

I thought of something like mnttool ... (?)

Offline

#8 2015-11-13 08:55:59

llev
Member
Registered: 2011-12-09
Posts: 568

Re: How to start processes/daemons in slitaz

Just to check if Slim is the culprit, edit /etc/slim.conf and replace [c]%session[/c] with [c]fluxbox-session[/c] in the "login_cmd" line.

Also, edit ~/.xinitrc and replace [c]LOG="/dev/null"[/c] with e.g. [c]LOG=~/.xsession-errors[/c].

Once you're logged in, read that log.

Offline

#9 2015-11-13 09:19:39

emninger
Member
Registered: 2015-10-24
Posts: 53

Re: How to start processes/daemons in slitaz

Hi Ilev. I did as you proposed. Fluxbox started but the error msgs do not look so nice wink

[c]Warning: Failed to open file(fluxbox.cat)
for translation, using default messages.
Warning: X server does not support locale
Warning: cannot set locale modifiers
Failed to read: session.screen0.titlebar.left
Setting default value
Failed to read: session.screen0.titlebar.right
Setting default value

(yad:3951): Gtk-WARNING **: Im Modulpfad »murrine« konnte keine Themen-Engine gefunden werden,

(yad:3951): Gtk-WARNING **: Im Modulpfad »murrine« konnte keine Themen-Engine gefunden werden,

(yad:3951): Gtk-WARNING **: Im Modulpfad »murrine« konnte keine Themen-Engine gefunden werden,

(yad:3951): Gtk-WARNING **: Im Modulpfad »murrine« konnte keine Themen-Engine gefunden werden,

(yad:3951): Gtk-WARNING **: Im Modulpfad »murrine« konnte keine Themen-Engine gefunden werden,

(yad:3951): Gtk-WARNING **: Im Modulpfad »murrine« konnte keine Themen-Engine gefunden werden,

(yad:3951): Gtk-WARNING **: Im Modulpfad »murrine« konnte keine Themen-Engine gefunden werden,

(yad:3951): Gtk-WARNING **: Im Modulpfad »murrine« konnte keine Themen-Engine gefunden werden,

(yad:3951): Gtk-WARNING **: Im Modulpfad »murrine« konnte keine Themen-Engine gefunden werden,

(yad:3951): Gtk-WARNING **: Im Modulpfad »murrine« konnte keine Themen-Engine gefunden werden,

(yad:3951): Gtk-WARNING **: Im Modulpfad »murrine« konnte keine Themen-Engine gefunden werden,

(yad:3951): Gtk-WARNING **: Im Modulpfad »murrine« konnte keine Themen-Engine gefunden werden,

(yad:3951): Gtk-WARNING **: Im Modulpfad »murrine« konnte keine Themen-Engine gefunden werden,

(yad:3951): Gtk-WARNING **: Im Modulpfad »murrine« konnte keine Themen-Engine gefunden werden,

(yad:3951): Gtk-WARNING **: Im Modulpfad »murrine« konnte keine Themen-Engine gefunden werden,

(yad:3951): Gtk-WARNING **: Im Modulpfad »murrine« konnte keine Themen-Engine gefunden werden,

(yad:3951): Gtk-WARNING **: Im Modulpfad »murrine« konnte keine Themen-Engine gefunden werden,

(yad:3951): Gtk-WARNING **: Im Modulpfad »murrine« konnte keine Themen-Engine gefunden werden,

(yad:3951): Gtk-WARNING **: Im Modulpfad »murrine« konnte keine Themen-Engine gefunden werden,

(yad:3951): Gtk-WARNING **: Im Modulpfad »murrine« konnte keine Themen-Engine gefunden werden,

(yad:3951): Gtk-WARNING **: Im Modulpfad »murrine« konnte keine Themen-Engine gefunden werden,
Password:[/c]

Offline

#10 2015-11-13 10:10:30

emninger
Member
Registered: 2015-10-24
Posts: 53

Re: How to start processes/daemons in slitaz

I've another idea: What's about changing, in ~/.config/LXDE/desktop.conf openbox to fluxbox (and obviously, lxpanel should be deactivated)?

I tried it out, and it seem to work. There are some things to tweak:

- set up a startup file for fluxbox

- install fbautostart

- install a menumake

(i do not need a menulauncher in the panel, right click menu would be sufficient. Although, i think a launcher could be done also in the built-in fluxbox panel by use of xdotool (?))

Offline

Registered users online in this topic: 0, guests: 1
[Bot] ClaudeBot

Board footer

Powered by FluxBB
Modified by Visman

[ Generated in 0.020 seconds, 7 queries executed - Memory usage: 1.55 MiB (Peak: 1.77 MiB) ]