Bug 109011 - command line option "--nomenubar" does not work when a profile is also designated
Summary: command line option "--nomenubar" does not work when a profile is also design...
Status: RESOLVED LATER
Alias: None
Product: konsole
Classification: Applications
Component: general (show other bugs)
Version: 1.5
Platform: Fedora RPMs Linux
: NOR normal
Target Milestone: ---
Assignee: Konsole Developer
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-07-13 02:44 UTC by Greg Ennis
Modified: 2011-07-30 23:06 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
Simple profile with no menubar (172 bytes, text/plain)
2005-07-19 18:55 UTC, Kurt Hindenburg
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Greg Ennis 2005-07-13 02:44:32 UTC
Version:            (using KDE KDE 3.4.1)
Installed from:    Fedora RPMs
OS:                Linux

I was not able to get the following command to produce terminal windows without a menubar

konsole --nomenubar --vt_sz 80x25 --profile smile

The follow command worked very well and produced a terminal window without a menu bar

konsole --nomenubar --vt_sz 80x25 

The profile 'smile' I am using opens 5 windows.  Is there a way to add the nomenubar command to the profile, or do I have the syntax incorrect on the command line?
Comment 1 Kurt Hindenburg 2005-07-13 17:43:26 UTC
You can try putting MenuBar=Disabled in the profile file.
Comment 2 Greg Ennis 2005-07-19 04:21:26 UTC
Thanks for the suggestion.  I tried

MenuBar=Disabled 

but it did not make a difference.  If you have other suggestions I would appreciate your help.  

Just so you will see the whole profile I will include it below

[1]
ActiveSession=4
Args0=/bin/bash,-c,/usr/local/bin/irving
Args1=/bin/bash,-c,/usr/local/bin/irving
Args2=/bin/bash,-c,/usr/local/bin/irving
Args3=/bin/bash,-c,/usr/local/bin/irving
Args4=/bin/bash,-c,/usr/local/bin/irving
AutoResizeTabs=false
MenuBar=Disabled
Cwd0=$HOME
Cwd1=$HOME
Cwd2=$HOME
Cwd3=$HOME
Cwd4=$HOME
DefaultSession=/home/irving/.kde/share/apps/konsole/PoMec.desktop
DynamicTabHide=false
Encoding0=0
Encoding1=0
Encoding2=0
Encoding3=0
Encoding4=0
Font0=5
Font1=5
Font2=5
Font3=5
Font4=5
Fullscreen=false
Height 768=697
Icon0=/usr/share/pomec/pomec-logo.png
Icon1=/usr/share/pomec/pomec-logo.png
Icon2=/usr/share/pomec/pomec-logo.png
Icon3=/usr/share/pomec/pomec-logo.png
Icon4=/usr/share/pomec/pomec-logo.png
KeyTab0=smile
KeyTab1=smile
KeyTab2=smile
KeyTab3=smile
KeyTab4=smile
MasterMode0=false
MasterMode1=false
MasterMode2=false
MasterMode3=false
MasterMode4=false
MonitorActivity0=false
MonitorActivity1=false
MonitorActivity2=false
MonitorActivity3=false
MonitorActivity4=false
MonitorSilence0=false
MonitorSilence1=false
MonitorSilence2=false
MonitorSilence3=false
MonitorSilence4=false
Pgm0=/bin/bash
Pgm1=/bin/bash
Pgm2=/bin/bash
Pgm3=/bin/bash
Pgm4=/bin/bash
Schema0=GreenOnBlack.schema
Schema1=GreenOnBlack.schema
Schema2=GreenOnBlack.schema
Schema3=GreenOnBlack.schema
Schema4=GreenOnBlack.schema
TabViewMode=0
Term0=linux
Term1=linux
Term2=linux
Term3=linux
Term4=linux
Title0=Scanning
Title1=Registration #1
Title2=Registration #2
Title3=Transaction #1
Title4=Transaction #2
Width 1024=985
bellmode=1
class=konsole-mainwindow#1
defaultfont=Monospace,10,-1,5,50,0,0,0,1,0
font=5
history=1000
historyenabled=true
keytab=default
numSes=5
schema=GreenOnBlack.schema
scrollbar=2
tabbar=2

[WindowProperties1]
ClassName=Konsole
Height 768=697
ObjectName=konsole-mainwindow#1
Width 1024=985
Comment 3 Kurt Hindenburg 2005-07-19 18:53:39 UTC
It appears that you have to have MenuBar=Disabled in both the [1] and [WindowProperties1] section.

There are clearly a few bugs here....

Try this
konsole --profile nomenu1

Ideally, setup Konsole they way you want and then use Settings->Save Sessions Profile.  Then start konsole with the --profile=
Comment 4 Kurt Hindenburg 2005-07-19 18:55:47 UTC
Created attachment 11851 [details]
Simple profile with no menubar

konsole --profile nomenu2

Copy nomenu2 to $KDEHOME/share/apps/konsole/profile/
Comment 5 Jekyll Wu 2011-07-30 23:06:25 UTC
KDE3 is long gone and the last update of this report was 6 years ago.