Page 64 of 299 FirstFirst ... 1454626364656674114164 ... LastLast
Results 631 to 640 of 2990

Thread: Mac-style Menu Bar for GTK and Java/Swing applications!

  1. #631
    Join Date
    Apr 2007
    Beans
    1

    Re: Mac-style Menu Bar for GTK and Java/Swing applications!

    Quote Originally Posted by Rospo Zoppo View Post
    Ok, I fixed, thanks anyway
    How did you fix it?

    ( Sorry, n00b. )

  2. #632
    Join Date
    Jun 2006
    Location
    Millau, France
    Beans
    1,492
    Distro
    Ubuntu 14.04 Trusty Tahr

    Re: Mac-style Menu Bar for GTK and Java/Swing applications!

    Quote Originally Posted by Spyed View Post
    How did you fix it?

    ( Sorry, n00b. )
    sorry i have forgot a "-"

    Code:
    sudo apt-get install libgtk2.0-0 --reinstall

  3. #633
    Join Date
    Apr 2007
    Location
    Loomis, CA
    Beans
    33
    Distro
    Ubuntu 7.04 Feisty Fawn

    Re: Mac-style Menu Bar for GTK and Java/Swing applications!

    Thank you Yuzem!

  4. #634
    Join Date
    May 2007
    Beans
    Hidden!

    Re: Mac-style Menu Bar for GTK and Java/Swing applications!

    Quote Originally Posted by Yuzem View Post
    1- I think thats a font problem, try with another font.
    2- You have to add something like this:
    Code:
    style "menubar"		
    {
    xthickness			= 0
    ythickness			= 0
    	engine "pixmap"
    	{
    		image
    		{
    			function	= BOX
    			state = NORMAL
    			file		= "panel-bg.png"
    			border	= { 0, 0, 0, 0 }
    			stretch	= FALSE
        		}
     	}
    }
    
    
    class "GtkMenuBar*" 		     style "menubar"
    widget "*PanelWidget*" 		style "menubar"
    widget "*PanelApplet*" 		style "menubar"
    class "*Panel*"		 style "menubar"
    Replace panel-bg.png by the image you want.

    The same here for the panels:
    Code:
    style "panelbg"
    {
      xthickness            			= 0
      ythickness            			= 0
      bg_pixmap[NORMAL]				= "panel-bg.png"
    
    }
    class "*Panel*" style "panelbg"
    class "*notif*" style "panelbg"
    class "*Notif*" style "panelbg"
    class "*Tray*" style "panelbg"
    class "*tray*" style "panelbg"
    You have to check that this options doesn't already exist in the theme. Just in case add the options to the end of the gtkrc file.
    Also check at the beginning for the "include" option. They have priority.
    I am having a similar problem. I am completely new to Linux and this toolbar. Where is this file that I edit? Thanks in advance

  5. #635
    Join Date
    Jun 2006
    Location
    Millau, France
    Beans
    1,492
    Distro
    Ubuntu 14.04 Trusty Tahr

    Re: Mac-style Menu Bar for GTK and Java/Swing applications!

    you can add these style parts in your .gtkrc file in your home.

  6. #636
    Join Date
    Apr 2007
    Location
    Loomis, CA
    Beans
    33
    Distro
    Ubuntu 7.04 Feisty Fawn

    Re: Mac-style Menu Bar for GTK and Java/Swing applications!

    Quote Originally Posted by ayoli View Post
    you can add these style parts in your .gtkrc file in your home.
    If he's using Ubuntu it would be in the file named 'gtkrc' in ~/.themes/whatever/gtk-2.0/

    Remember that you have to substitute your own background though, and possibly tinker with a bit of that text

  7. #637
    Join Date
    Apr 2007
    Location
    San Jose, CA
    Beans
    7
    Distro
    Ubuntu 7.04 Feisty Fawn

    Re: Mac-style Menu Bar for GTK and Java/Swing applications!

    Quote Originally Posted by allo2u View Post
    Thanks, reinstalling libgtk2.0-0 works. In my case it was somehow impossible to reinstall it using apt-get.

    For people with the same problem:
    First of: I'm not an expert, so don't blame me if anything goes wrong.

    - I searched for libgtk2.0-0 on http://packages.ubuntu.com/ and downloaded it.

    - Then on the command line
    Code:
    sudo dpkg -i --force-downgrade libgtk2.0-0_2.10.11-0ubuntu3_i386.deb
    and
    Code:
    sudo apt-get install -f
    sudo apt-get autoremove
    And everything looked normal again. There are some files still at the patched version though, but I'm lazy and it works again, hope it does for other people with the same problem.
    Thanks! This worked great for me. Man that was stressin me out.

  8. #638
    Join Date
    Apr 2007
    Location
    Loomis, CA
    Beans
    33
    Distro
    Ubuntu 7.04 Feisty Fawn

    Re: Mac-style Menu Bar for GTK and Java/Swing applications!

    Can anyone give me their contents of, and the name of, the mac menu config file in their home directory?
    Mine was accidentally deleted and now it can't load.

    Thank you very much!

  9. #639
    Join Date
    May 2007
    Beans
    Hidden!

    Re: Mac-style Menu Bar for GTK and Java/Swing applications!

    After following Yuzem's suggestion, I have the same problem (on page 64). I do not understand why. I have been trying to fix that stupid bar for at least a week. I tried many times to fix this problem by manually downloading GTK+ with all its dependencies but it still doesn't work. What am I doing wrong? If it matters at all, here is a screenshot of my current MacMenu bar. My problem is that annoying gray bar after the title of the open window.
    Attached Images Attached Images

  10. #640
    Join Date
    Apr 2007
    Location
    Loomis, CA
    Beans
    33
    Distro
    Ubuntu 7.04 Feisty Fawn

    Re: Mac-style Menu Bar for GTK and Java/Swing applications!

    Quote Originally Posted by TheFoe92 View Post
    My problem is that annoying gray bar after the title of the open window.
    I had the same problem, but I i found a cool fix. Hide the label, and inbetween the mac menu and the start menu, add a Window Selector. so, you have a little icon of the open window instead of the ugly label

    "Can anyone give me their contents of, and the name of, the mac menu config file in their home directory?
    Mine was accidentally deleted and now it can't load."

    Can anyone please supply me with this information? All ya gotta do is open up your home directory and give me the name of the mac-menu configuration file, and the contents as well. Thanks in advance. I think it's called .mac1-menulst or something like that, I can't recall
    Last edited by DerangedDingo; May 29th, 2007 at 04:57 AM.

Page 64 of 299 FirstFirst ... 1454626364656674114164 ... LastLast

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •