dCore Import Debian Packages to Mountable SCE extensions > dCore x86 Imported Extensions

Caja and Samba issues

(1/2) > >>

nitram:
Trying to get functional Caja with networking.

Default Caja install requires this otherwise glib launch error, so a startup script would be appreciated:
sudo /usr/local/tce.installed/libglib2.0-0

I have shared storage on router easily accessible via CLI smbclient, does not require Samba, Samba configuration or even a password, just smbclient install. Can't, however, get graphic Caja network access. Clicking Caja -> 'Network' results in 'cannot display network' error.

Already installed Caja with the -R option, installs  gvfs-backends  without success.

Also installed  caja-share  without success.

Loading Samba didn't help but don't think it should even be required.

Samba will also require a startup script to get running, probably this plus more:
sudo cp /usr/share/smb.conf /etc/samba
sudo mkdir -p /var/cache/samba/
sudo mkdir -p /var/log/samba/
sudo service nmbd start

This starts  nmbd  but can't get smbd started. Still can't access Caja network share. Don't have time to troubleshoot further ATM, will post back later if progress. Thanks.

Edit: Importing Mate desktop (mate-core) provides networking functionality, maybe missing package(s) or configuration issue, will compare later. Would like functional Caja without DE.

nitram:
Getting complicated, there are several issues here. Will try to filter exact minimum requirements in a follow-up post for startup script and added dependency recommendations. Made good progress, now get read/write access to router's network share thumbdrive via Caja -> Network.

Full Samba is not required and i hope to never use it again. Some of the suggested startup script notes in post above may help get Samba running for others but it still needs more work to run proper. I will leave this with you Jason, should you wish to get functional Samba in dCore.

To me getting Caja running better in a non-MATE environment (WM only) is more important, it's a real nice full featured file manager. Launching Caja with the following provided Network accessibility, not sure if this should be in the startup script or whether it's a dbus specific issue that needs to be addressed:
dbus-launch caja

Also standalone Caja install did not provide icons, but loading Gedit, which uses gnome-icon-theme, fixed the issue so a dependency that Gedit uses will likely need to be added to Caja.

Regarding Gedit on dCore-jessie, after fresh install it also would not launch without first running the following, probably needs startup script too please:
sudo /usr/local/tce.installed/libglib2.0-0

Jason W:
I added the libglib commands to caja.deb2sce and gedit.deb2sce.  'dbus-launch caja' launches caja file manager and also puts icons on my Icewm desktop.  Though in my large SCE of favorite apps, mate-desktop is installed though I am not sure what pulled it in.  Don't think the dbus command should be in the startup script, perhaps as a suggestion in the ~/.X.d/ directory as a script to be run on X startup. 

Of course, when apps are being assumed dependent on certain desktop environments it does make it difficult to use as standalone with a small WM.  Thanks for your testing on this.  And I will try to get Samba working in the near future.

nitram:
Re-imported above extensions. Tested multiple apps in minimal environment. All probably work well with MATE desktop install, below for those who wish to run these applications standalone. Deleted configs & rebooted b/w tests = lots of reboots, minimal dCore-jessie:
graphics-3.16.6-tinycore
xorg-intel
flwm

Gedit editor:
-can't change Preferences -> Fonts & Colors -> Color Scheme built-in x 7
-install  dbus-x11
-run  'dbus-launch gedit'

Caja file manager:
-missing icons and no networking
-run  'caja'  to auto-mount all partitions
-run  'dbus-launch caja'  to avoid auto-mount
-install  gvfs-backends  for built-in Network -> Browse Network functionality
-to enable missing icons. either:
   -install gnome-icon-theme
   -run 'caja'  or  'dbus-launch caja'
   or
   -install  mate-icon-theme
   -install  mate-settings-daemon
   -run  'sudo /usr/local/postinst/libglib2.0-0'
   -run  'sudo mate-settings-daemon'
   -run 'caja'  or  'dbus-launch caja'

Pluma text editor:
-unable to change built-in Preferences -> Font & Colors -> Color Scheme
-install  dbus-x11
-run  'pluma'

Atril document viewer:
-install  dbus-x11
-run  'atril'

Engrampa (File-Roller fork) archive manager:
-works well
-run  'engrampa'

eom (Eye of MATE) image viewer:
-missing icons
-load  mate-settings-daemon
-load  dbus-x11
-run  'sudo mate-settings-daemon'
-run  'dbus-launch eom'

mate-terminal:
-mate-terminal does not launch
-install  dbus-x11
-run  'mate-terminal'

Let me know if any above apps will have added deps or startup scripts, will then re-import and re-test. Otherwise will add wiki notes. Thanks.

Jason W:
Ok, here is what I did for startup scripts and deps.

gedit:
New dependency dbus-x11

caja:
New dependency gvfs-backends

mate-settings-daemon:
New startup script

pluma:
New dependency dbus-x11

atril:
New dependency dbus-x11

eom:
New dependnecies - dbus-x11 mate-settings-daemon

mate-terminal:
New dependency dbus-x11

Navigation

[0] Message Index

[#] Next page

Go to full version