Author Topic: (SOLVED) Sakura and Openbox-menu error  (Read 2027 times)

Offline unist

  • Full Member
  • ***
  • Posts: 158
Re: Sakura and Openbox-menu error
« Reply #15 on: March 27, 2012, 06:08:45 PM »
IF you want to try seeing if it makes a difference 

open .bashrc and add

export DE=gnome

then log out and log back in

you may need to use (in a terminal)

update-desktop-database && xdg_menu && update-menus -v

in order to get the benefit

Jase

I added export DE=genome at the end of .bashrc and saved the change. Then I rebooted.

In a terminal I did: update-desktop-database && xdg_menu && update-menus -v

And the output was:

gpg-agent[4139]: can't create directory `/tmp/gpg-UBYczX': Permiso denegado
[hugo@localhost ~]$ update-desktop-database && xdg_menu && update-menus -v
No directories in update-desktop-database search path could be processed and updated.
[hugo@localhost ~]$
Registered Linux user #547260

Offline unist

  • Full Member
  • ***
  • Posts: 158
Re: Sakura and Openbox-menu error
« Reply #16 on: March 27, 2012, 06:34:22 PM »
In case you need new configuration files (if you have damaged your's for example), you can copy a new one from /usr/share/openbox-menu, or from /etc/skel/.config/openbox, or get new ones here:
Openbox : updated configuration files New New !.


melodie: I already downloaded the updated configuration files to a separate folder.
I notice there are folders for lang and scripts.
I compared the new menu.xml with the one that I have installed and I saw the changes for snow, a detail with the line with gksu synaptic, and reboot near the end.
I have not compared the rest of files, because there are many, and some are long files.
If I want to use your files, should I replace all files and folders with their inner files? Or are there some key files to replace in order to have PCLOS Openbox properly running?
If I take the option to change everything using all your configuration files, how would I proceed?

My guess is to replace:

autostart.sh
menu.xml
rc.xml

Add the scripts and lang folders in /home/hugo/.config/openbox

Move the original language files in /home/hugo/.config/openbox to a backup folder

I applied all this, rebooted, but the problem persisted. Therefore, I returned /home/hugo/.config/openbox to the original way it was.
« Last Edit: March 27, 2012, 09:24:26 PM by unist »
Registered Linux user #547260

Offline melodie

  • Hero Member
  • *****
  • Posts: 5942
  • XMMP=Jabber, free instant messaging protocol !
    • PCLinuxOS Fr
Re: Sakura and Openbox-menu error
« Reply #17 on: March 28, 2012, 12:55:47 AM »
Hi,

Yes, move your openbox folder as a backup folder, then install all the new files. Logout + login, then you should be good.

Your permission problem on the /tmp directory comes from the permissions which are wrong on it. You should have drwxrwxrwt and you don't have the t at the end. Here is mine:

drwxrwxrwt   7 root root   160 mars  28 08:43 tmp/


The following command shoult fix it : by being root in console, then cd to / then do "chmod o+t tmp". If that does not do it try "a+t"...Only the last part should get a t instead of a x.


It is either "chmod o+t tmp" (if you are located in / otherwise use "chmod o+t /tmp"), or you can use "chmod 1777 /tmp".

@Hootiegibbon, thanks for your tip, but the problem will be the same if a kde or a xfce program is installed and used, or a rox program, this is why the different switches have been added to openbox-menu by it's developer. Therefore no need to add an export line in .bashrc in Openbox versions.

Regards,
Mélodie


« Last Edit: March 28, 2012, 03:50:16 AM by melodie »
melodie at swissjabber dot ch - IRC #pclinuxos-fr sur freenode

Offline unist

  • Full Member
  • ***
  • Posts: 158
Re: Sakura and Openbox-menu error
« Reply #18 on: March 28, 2012, 08:40:37 PM »
Hi,

Yes, move your openbox folder as a backup folder, then install all the new files. Logout + login, then you should be good.

Your permission problem on the /tmp directory comes from the permissions which are wrong on it. You should have drwxrwxrwt and you don't have the t at the end. Here is mine:

drwxrwxrwt   7 root root   160 mars  28 08:43 tmp/


The following command shoult fix it : by being root in console, then cd to / then do "chmod o+t tmp". If that does not do it try "a+t"...Only the last part should get a t instead of a x.


It is either "chmod o+t tmp" (if you are located in / otherwise use "chmod o+t /tmp"), or you can use "chmod 1777 /tmp".

@Hootiegibbon, thanks for your tip, but the problem will be the same if a kde or a xfce program is installed and used, or a rox program, this is why the different switches have been added to openbox-menu by it's developer. Therefore no need to add an export line in .bashrc in Openbox versions.

Regards,
Mélodie




SOLVED

I did as you suggested, and problem was SOLVED. It worked using "chmod 1777 /tmp" with the Terminal located in /

THANK YOU VERY MUCH
Registered Linux user #547260