Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Fluxbox: No styles in menu
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
ethrandil
n00b
n00b


Joined: 19 Oct 2003
Posts: 20

PostPosted: Tue Jan 25, 2005 11:36 pm    Post subject: Fluxbox: No styles in menu Reply with quote

Hi,
I am set up a fluxbox system. But my problem is that i can't choose the themes in the styles menu, because it is empty.

Here some files from my System:

/home/username/.fluxbox/menu:
Quote:
[...]
[submenu] (Styles) {Select a Style}
[include] (/usr/share/fluxbox/menu.d/styles/)
[end]
[...]


ls /usr/share/fluxbox/menu.d/styles/
Quote:
styles-menu-commonbox styles-menu-fluxbox styles-menu-user


/usr/share/fluxbox/menu.d/styles/styles-menu-fluxbox
Quote:
[begin] (Fluxbox Core Styles)
[submenu] (Fluxbox Core Styles)
[stylesdir] (/usr/share/fluxbox/styles)
[end]
[end]


ls /usr/share/fluxbox/styles
Quote:
Artwiz BlueNight Clean Emerge LemonSpace MerleyKay Minimal Operation qnx-photon Results Spiff
BlueFlux Carbondioxide Cthulhain Flux Makro Meta Nyz Outcomes Rampage Shade Twicel


If i had a prog for screenshots i would show you my Menu, but i don't.

Its something like:
Code:

|Fluxbox|
| xterm
|...
| fluxbox menu -> |fluxbox menu|
                  | Configure
                  | Styles -> |Select a Style| (gray, empty)
                  | ...
Back to top
View user's profile Send private message
comprookie2000
Retired Dev
Retired Dev


Joined: 25 Jul 2004
Posts: 925
Location: Sun City Center, Florida

PostPosted: Tue Jan 25, 2005 11:40 pm    Post subject: Reply with quote

Check your ~/.fluxbox/init
_________________
http://dev.gentoo.org/~dabbott/
Back to top
View user's profile Send private message
ethrandil
n00b
n00b


Joined: 19 Oct 2003
Posts: 20

PostPosted: Tue Jan 25, 2005 11:42 pm    Post subject: Reply with quote

~/.fluxbox/init
Quote:
session.screen0.iconbar.iconWidth: 70
session.screen0.iconbar.iconTextPadding: 10l
session.screen0.iconbar.deiconifyMode: Follow
session.screen0.iconbar.wheelMode: Screen
session.screen0.iconbar.alignment: Relative
session.screen0.iconbar.usePixmap: true
session.screen0.iconbar.mode: Workspace
session.screen0.menu.alpha: 255
session.screen0.slit.onhead: 0
session.screen0.slit.autoHide: false
session.screen0.slit.alpha: 255
session.screen0.slit.placement: TopLeft
session.screen0.slit.layer: Dock
session.screen0.slit.maxOver: false
session.screen0.slit.direction: Vertical
session.screen0.slit.onTop: False
session.screen0.overlay.lineWidth: 1
session.screen0.overlay.lineStyle: LineSolid
session.screen0.overlay.joinStyle: JoinMiter
session.screen0.overlay.capStyle: CapNotLast
session.screen0.window.focus.alpha: 255
session.screen0.window.unfocus.alpha: 255
session.screen0.toolbar.height: 0
session.screen0.toolbar.placement: BottomCenter
session.screen0.toolbar.onhead: 0
session.screen0.toolbar.visible: true
session.screen0.toolbar.layer: Desktop
session.screen0.toolbar.autoHide: false
session.screen0.toolbar.tools: workspacename, prevworkspace, nextworkspace, iconbar, systemtray, prevwindow, nextwindow, clock
session.screen0.toolbar.alpha: 255
session.screen0.toolbar.maxOver: false
session.screen0.toolbar.widthPercent: 66
session.screen0.toolbar.onTop: False
session.screen0.tab.placement: Top
session.screen0.tab.width: 64
session.screen0.tab.height: 16
session.screen0.tab.rotatevertical: True
session.screen0.tab.alignment: Left
session.screen0.showwindowposition: true
session.screen0.menuDelayClose: 0
session.screen0.resizeMode: Bottom
session.screen0.colPlacementDirection: TopToBottom
session.screen0.rootCommand:
session.screen0.focusModel: ClickToFocus
session.screen0.workspaces: 4
session.screen0.strftimeFormat: %k:%M
session.screen0.sloppywindowgrouping: true
session.screen0.decorateTransient: false
session.screen0.menuDelay: 0
session.screen0.rowPlacementDirection: LeftToRight
session.screen0.menuMode: Delay
session.screen0.focusLastWindow: true
session.screen0.opaqueMove: false
session.screen0.followModel: Ignore
session.screen0.workspaceNames: one,two,three,four,
session.screen0.workspacewarping: true
session.screen0.fullMaximization: false
session.screen0.desktopwheeling: true
session.screen0.imageDither: false
session.screen0.focusNewWindows: true
session.screen0.antialias: true
session.screen0.clickRaises: true
session.screen0.edgeSnapThreshold: 0
session.screen0.windowPlacement: RowSmartPlacement
session.screen0.autoRaise: false
session.screen0.windowMenu:
session.titlebar.left: Stick
session.titlebar.right: Minimize Maximize Close
session.useMod1: true
session.keyFile: ~/.fluxbox/keys
session.cacheLife: 5l
session.autoRaiseDelay: 250
session.focusTabMinWidth: 0
session.updateDelayTime: 0
session.numLayers: 13
session.ignoreBorder: false
session.appsFile: ~/.fluxbox/apps
session.opaqueMove: False
session.colorsPerChannel: 4
session.slitlistFile:
session.styleFile: .fluxbox/styles/Eon-Silver
session.doubleClickInterval: 250
session.menuFile: ~/.fluxbox/menu
session.imageDither: True
session.tabs: true
session.groupFile:
session.iconbar: true
session.tabPadding: 0
session.cacheMax: 200l
session.forcePseudoTransparency: false
session.tabsAttachArea: Window
Back to top
View user's profile Send private message
comprookie2000
Retired Dev
Retired Dev


Joined: 25 Jul 2004
Posts: 925
Location: Sun City Center, Florida

PostPosted: Wed Jan 26, 2005 1:39 am    Post subject: Reply with quote

Try fluxbox-generate_menu and see if that helps;
_________________
http://dev.gentoo.org/~dabbott/
Back to top
View user's profile Send private message
ethrandil
n00b
n00b


Joined: 19 Oct 2003
Posts: 20

PostPosted: Wed Jan 26, 2005 1:48 am    Post subject: Reply with quote

no, that didn't help.
Back to top
View user's profile Send private message
comprookie2000
Retired Dev
Retired Dev


Joined: 25 Jul 2004
Posts: 925
Location: Sun City Center, Florida

PostPosted: Wed Jan 26, 2005 2:02 am    Post subject: Reply with quote

Is yours like this ~/.fluxbox/menu
Code:
[submenu] (fluxbox menu)
      [config] (Configure)
[submenu] (Styles) {Select a Style}
      [include] (/usr/share/fluxbox/menu.d/styles/)
[end]

Inside that is;
styles-menu-commonbox
styles-menu-fluxbox
styles-menu-user
_________________
http://dev.gentoo.org/~dabbott/
Back to top
View user's profile Send private message
ethrandil
n00b
n00b


Joined: 19 Oct 2003
Posts: 20

PostPosted: Wed Jan 26, 2005 2:13 am    Post subject: Reply with quote

Yes, ..... :(

- Eth
Back to top
View user's profile Send private message
cwng
n00b
n00b


Joined: 21 Nov 2002
Posts: 68
Location: Singapore

PostPosted: Wed Jan 26, 2005 2:21 am    Post subject: Reply with quote

For what it is worth, I have always been using:

Code:
...
      [submenu] (Fluxbox Styles) {Choose a style...}
            [stylesdir] (~/.fluxbox/styles)
            [separator]
            [stylesdir] (/usr/share/fluxbox/styles)
      [end]
...


without any problem, although i must admit I like controlling my own menu file instead of allowing fluxbox_generate_menu to generate it.

You may wish to try using the [stylesdir]... syntax.

/rgds
/cwng
Back to top
View user's profile Send private message
ethrandil
n00b
n00b


Joined: 19 Oct 2003
Posts: 20

PostPosted: Wed Jan 26, 2005 3:21 am    Post subject: Reply with quote

Let me say its... mysterious?

When I first tried vour approach i saw just a single style, which was installed in my .flucbox/styles directory. I couldn't see the others.
But when i copied everything from /usr/share/fluxbox/styles/ to that directory, I could access them.

Could the problem occur only with my special Filesystem?!?

I use a unionfs with a ramfs to save FS-changes and an underlaying ro-nfs-export. (and a pivot_root to that...)

I know thats quite an unusal combination, but it shouldn't have any effect ob fluxbox menus, right?!?

- Eth

P.S.: To be clear:
I can see only styles in my locafolder, NOT in /usr... . The Menu under the seperator is still empty!

EDIT: P.P.S.:
I did the same with fluxmod because it could'nt be shown, too. so... cp /usr/.../fluxmod/ into my .fluxbox directory and it worked. shit.
Back to top
View user's profile Send private message
cwng
n00b
n00b


Joined: 21 Nov 2002
Posts: 68
Location: Singapore

PostPosted: Wed Jan 26, 2005 6:20 am    Post subject: Reply with quote

ethrandil wrote:
When I first tried vour approach i saw just a single style, which was installed in my .flucbox/styles directory. I couldn't see the others.
But when i copied everything from /usr/share/fluxbox/styles/ to that directory, I could access them.


Hmmm... just to be sure: is /usr/share/fluxbox/styles readable by your normal user?

Alternatively, you may test to create a link to /usr/share/fluxbox/styles/XXX in your ~/.fluxbox/styles/XXX and see if that result in a useable fluxbox menu.
Back to top
View user's profile Send private message
ethrandil
n00b
n00b


Joined: 19 Oct 2003
Posts: 20

PostPosted: Wed Jan 26, 2005 1:06 pm    Post subject: Reply with quote

Yes it is readeable, and the symlink method didn't work :(

- Eth
Back to top
View user's profile Send private message
outspoken
Guru
Guru


Joined: 14 Feb 2004
Posts: 464
Location: orlando, fl

PostPosted: Wed Jan 26, 2005 6:22 pm    Post subject: Reply with quote

here is my menu section for all fluxbox utils:

Code:

[submenu] (Fluxbox Menu)
              [config] (Configure)
        [submenu] (System Styles) {Choose a style...}
              [stylesdir] (/usr/share/fluxbox/styles)
        [end]
        [submenu] (User Styles) {Choose a style...}
              [stylesdir] (~/.fluxbox/styles)
        [end]


and the directory attributes:

Code:

/usr/share/fluxbox/styles:
drwxr-xr-x    4 root root   632 Nov  4 18:45 styles

~/.fluxbox/styles:
drwxr-xr-x  69 outspoken users  4096 Oct 26 13:03 styles
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum