Author Topic: Howto: how to make your Thunar menu appear (RAW Edition)  (Read 1380 times)

Offline melodie

  • Hero Member
  • *****
  • Posts: 5942
  • XMMP=Jabber, free instant messaging protocol !
    • PCLinuxOS Fr
Howto: how to make your Thunar menu appear (RAW Edition)
« on: January 01, 2012, 08:32:01 AM »
Hi,

For unknown reason, I don't access to an answer button in this topic : PCLinuxOS-Light [RAW Edition] Available., so I can't help directly in it.

The Thunar.desktop file (you find it in /usr/share/applications) has a line stating:
OnlyShowIn=XFCE;

at the end, this is why you can't have it displayed in your menus. In Openbox, with the program openbox-menu we have a solution : add a "-x" switch in the third line of the menu.xml file we provide (we can have -g for Gnome, -x for Xfce and -k for Kde).

Code: [Select]
<openbox_menu xmlns="http://openbox.org/3.4/menu">

<menu id="desktop-app" label="Applications" execute="openbox-menu -g -x -t 'sakura -e'" />

The solution you could use in RAW could simply be to comment out the line, by adding a # sign at it's start in the Thunar.desktop file.

Happy New Year !
Mélodie

PS: now I know why I could not access, the thread was being modified. The post of the person who tried to get Thunar in his menus is not there anymore... ???

« Last Edit: January 01, 2012, 08:37:55 AM by melodie »
melodie at swissjabber dot ch - IRC #pclinuxos-fr sur freenode

Offline Hootiegibbon

  • Hero Member
  • *****
  • Posts: 4151
Re: Howto: how to make your Thunar menu appear (RAW Edition)
« Reply #1 on: January 01, 2012, 09:10:37 AM »


Alternative solution HERE

use

export DE=xfce

in .bashrc

Jase


I am Hootiegibbon, undisputed champion fo the typo

My .dotfiles

Offline melodie

  • Hero Member
  • *****
  • Posts: 5942
  • XMMP=Jabber, free instant messaging protocol !
    • PCLinuxOS Fr
Re: Howto: how to make your Thunar menu appear (RAW Edition)
« Reply #2 on: January 01, 2012, 09:16:00 AM »
Alternative solution HERE


Interesting. What is "update_apternative" ? How does it work, how do you use that ? (step by step... )

melodie at swissjabber dot ch - IRC #pclinuxos-fr sur freenode

Offline Hootiegibbon

  • Hero Member
  • *****
  • Posts: 4151
Re: Howto: how to make your Thunar menu appear (RAW Edition)
« Reply #3 on: January 01, 2012, 09:20:13 AM »
Alternative solution HERE


Interesting. What is "update_apternative" ? How does it work, how do you use that ? (step by step... )




haha classic typo on my behalf

its update-alternatives

Click for more info

Jase


I am Hootiegibbon, undisputed champion fo the typo

My .dotfiles

Offline melodie

  • Hero Member
  • *****
  • Posts: 5942
  • XMMP=Jabber, free instant messaging protocol !
    • PCLinuxOS Fr
Re: Howto: how to make your Thunar menu appear (RAW Edition)
« Reply #4 on: January 01, 2012, 10:33:25 AM »
its update-alternatives

Click for more info


Thank you very much Hootie ! Very useful !
melodie at swissjabber dot ch - IRC #pclinuxos-fr sur freenode

Offline pclinmike

  • Hero Member
  • *****
  • Posts: 637
  • I Only 'Clean' Windows !.
Re: Howto: how to make your Thunar menu appear (RAW Edition)
« Reply #5 on: January 06, 2012, 04:54:21 PM »
Hi,

For unknown reason, I don't access to an answer button in this topic : PCLinuxOS-Light [RAW Edition] Available., so I can't help directly in it.

The Thunar.desktop file (you find it in /usr/share/applications) has a line stating:
OnlyShowIn=XFCE;

at the end, this is why you can't have it displayed in your menus. In Openbox, with the program openbox-menu we have a solution : add a "-x" switch in the third line of the menu.xml file we provide (we can have -g for Gnome, -x for Xfce and -k for Kde).

Code: [Select]
<openbox_menu xmlns="http://openbox.org/3.4/menu">

<menu id="desktop-app" label="Applications" execute="openbox-menu -g -x -t 'sakura -e'" />

The solution you could use in RAW could simply be to comment out the line, by adding a # sign at it's start in the Thunar.desktop file.

Happy New Year !
Mélodie

PS: now I know why I could not access, the thread was being modified. The post of the person who tried to get Thunar in his menus is not there anymore... ???




Thanks for that.
I have downloaded the new jan2012 .iso and tried your trick and it works simply by editing the above line out as you say.
I can now use 'Thunar' , so now I have WPB and see my USB stick when plugged it.
But the only problem are the Thunar icons are grey,  >:(  I must have something missing still.

re.. "The post of the person who tried to get Thunar in his menus is not there anymore... ???"
It was me and I'm still here..
http://www.pclinuxos.com/forum/index.php/topic,100057.msg859805.html#msg859805 (but post locked now)
Michael.
From South-Derbyshire, England.U.K.Earth.

I Normally Do A Search Before I Post A New Question !.

Thanks to all who replied to my posts.

Offline melodie

  • Hero Member
  • *****
  • Posts: 5942
  • XMMP=Jabber, free instant messaging protocol !
    • PCLinuxOS Fr
Re: Howto: how to make your Thunar menu appear (RAW Edition)
« Reply #6 on: January 06, 2012, 05:26:01 PM »
Hi, Hootiegibbon added:
Quote
export DE=xfce

in .bashrc

If you add this to the /home/your_user/.bashrc file, then you should get the same result, without the risk to see your config be undone at next future update of thunar.

This is a more elegant solution.

If you have grey icons, you might want to add/change the icon theme default used. If it is gnome-icon-theme you can't get rid of it because it is tied to many packages. But you could add more themes and switch the config to another one. I don't know what is used in RAW : maybe just a .gtkrc file under /home/your_user ?

Hootie ?

melodie at swissjabber dot ch - IRC #pclinuxos-fr sur freenode

Offline Hootiegibbon

  • Hero Member
  • *****
  • Posts: 4151
Re: Howto: how to make your Thunar menu appear (RAW Edition)
« Reply #7 on: January 06, 2012, 06:36:46 PM »
Hi, Hootiegibbon added:
Quote
export DE=xfce

in .bashrc

If you add this to the /home/your_user/.bashrc file, then you should get the same result, without the risk to see your config be undone at next future update of thunar.

This is a more elegant solution.

If you have grey icons, you might want to add/change the icon theme default used. If it is gnome-icon-theme you can't get rid of it because it is tied to many packages. But you could add more themes and switch the config to another one. I don't know what is used in RAW : maybe just a .gtkrc file under /home/your_user ?

Hootie ?



To switch gtk themes use either gtk-chtheme or switch2, if you used task-xfce you may get odd results as it brings in xfce 4.6 you may want to look at adding the xfce section in synaptic (read up in the xfce section) and get access to xfce 4.8

Jase


I am Hootiegibbon, undisputed champion fo the typo

My .dotfiles

Offline pclinmike

  • Hero Member
  • *****
  • Posts: 637
  • I Only 'Clean' Windows !.
Re: Howto: how to make your Thunar menu appear (RAW Edition)
« Reply #8 on: January 09, 2012, 06:30:35 PM »
For now I installed task-xfce and that works ok as you would expect it too.
It also brings 'thunar' into the menu.
--------------------------------------------------------------------------------
@Hootiegibbon

Now is it ok just to log out and change the 'session' to 'icewm' to work on that or is it best to uninstall task-xfce ? or fresh install.
Because what I want to try to get working is full icewm.

I did install the full icewm before I tried task-xfce but all I got was a black screen but I could Right click for the menu, there was no desktop just black.

If I look in 'synaptic' under 'icewm' dependence's  there are 35, a lot are not in synaptic.
Should it work with installing it from synaptic ? or are you supposed to install extra things to make it work. ?

Michael.
From South-Derbyshire, England.U.K.Earth.

I Normally Do A Search Before I Post A New Question !.

Thanks to all who replied to my posts.

Offline Hootiegibbon

  • Hero Member
  • *****
  • Posts: 4151
Re: Howto: how to make your Thunar menu appear (RAW Edition)
« Reply #9 on: January 10, 2012, 03:02:59 PM »
For now I installed task-xfce and that works ok as you would expect it too.
It also brings 'thunar' into the menu.
--------------------------------------------------------------------------------
@Hootiegibbon

Now is it ok just to log out and change the 'session' to 'icewm' to work on that or is it best to uninstall task-xfce ? or fresh install.
Because what I want to try to get working is full icewm.

I did install the full icewm before I tried task-xfce but all I got was a black screen but I could Right click for the menu, there was no desktop just black.

If I look in 'synaptic' under 'icewm' dependence's  there are 35, a lot are not in synaptic.
Should it work with installing it from synaptic ? or are you supposed to install extra things to make it work. ?



pclinmike

IceWM draws on its user configuration from the .icewm folder - rename this to .OLDicewm then log out and back in again that should do it for you. (also takea look at the options in the .icewm/preferences file - if you can get your head around that file you will master IceWM configuration - just look at things like "show panel" the option is either a 1 = yes or 0 = no, there is even a "panel at top" option too.

All the dependencies for IceWM are there (the .so files are provided by X and are not separate packages, the only dependency listed is xlockmore - which is installed.

Xfce in teh standard repo is at 4.6 and should be functional , xfce4.8 is available (and more complete) by adding "xfce4" to the sections section of your chosen repo (its not recomenned to add this to a KDE4 install as it can cause minor issues. the sections section should read "main updates nonfree kde4 games xfce4" w/o quotes if you want to use xfce4

There is no need to constantly remove or add different window managers - unless you want to - no need to uninstall xfce if you want to use icewm they live side by side with all other  wm's and DE's (iirc sometimes things can clash like if you add xfce4 section to a KDE4 install)  I tend to have a few installed and on some machines run X without a window manager or display manager (but then i am a little odd that way)

Jase
  


« Last Edit: January 10, 2012, 03:05:22 PM by Hootiegibbon »


I am Hootiegibbon, undisputed champion fo the typo

My .dotfiles