Announcement

Collapse
No announcement yet.

QTCurve Unable to Export

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    QTCurve Unable to Export

    Title says it all! I have actually had this issue for for while and not just 19.04, but 18.04 and 18.10 as well. Screenshot attached.
    The file produced is 22 bytes and I do have read and write access.
    Attached Files

    #2
    Have to ask, even if it seems obvious, but, is your log in username tweak?
    Windows no longer obstructs my view.
    Using Kubuntu Linux since March 23, 2007.
    "It is a capital mistake to theorize before one has data." - Sherlock Holmes

    Comment


      #3
      yes it is

      Comment


        #4
        I don't have 19.04 installed, but I tried this on 18.10. No problem writing the exported file to /home/paul/Documents.

        What are the ownership and permissions on your /home/tweak/Documents folder?
        Windows no longer obstructs my view.
        Using Kubuntu Linux since March 23, 2007.
        "It is a capital mistake to theorize before one has data." - Sherlock Holmes

        Comment


          #5
          drwxr-xr-x 9 tweak tweak 4096 May 22 10:18 Documents

          Also, it does not seem to matter if i try to save it there, to /home/tweak/ or to another partition, i get the same error each time

          Comment


            #6
            On my 19.04 I have no trouble exporting my QtCurve settings. I suspect something is messed up somewhere.

            Having a look, the export file is just the contents of ~/.config/.config/kwinqtcurverc and .config/qtcurve/stylerc with a blank line between them, except that the first line is changed from "[General]" to "[KWin]". Maybe if you have a look in those files to see if there's any obvious problems. For me the first file has 5 lines and the second 160.
            Regards, John Little

            Comment


              #7
              Originally posted by jlittle View Post
              On my 19.04 I have no trouble exporting my QtCurve settings. I suspect something is messed up somewhere.

              Having a look, the export file is just the contents of ~/.config/.config/kwinqtcurverc and .config/qtcurve/stylerc with a blank line between them, except that the first line is changed from "[General]" to "[KWin]". Maybe if you have a look in those files to see if there's any obvious problems. For me the first file has 5 lines and the second 160.
              Ok i see the two files, but nothing obvious that seems wrong as far as i can tell. How would i modify these to make an importable theme, as a workaround? Since i have no clue what the problem may be
              Last edited by Oderus; May 23, 2019, 05:56 PM. Reason: update

              Comment


                #8
                Originally posted by Oderus View Post
                ... How would i modify these to make an importable theme...
                Simplest would be to:
                • edit a new .qtcurve file
                • read in .config/kwinqtcurverc, or copy/paste it from another editor tab or window*
                • change [General] to [KWin] on the first line
                • add a blank line at the end
                • at the end read in .config/qtcurve/stylerc, or copy/paste it from another editor tab or window
                • save and quit

                (Or, in a konsole,
                Code:
                cat .config/kwinqtcurverc <(echo "") .config/qtcurve/stylerc | sed '1s/General/KWin/' > new.qtcurve
                # or
                vim new.qtcurve  +r.config/kwinqtcurverc +1s/General/KWin +\$r.config/qtcurve/stylerc +x
                but those are exercises in silliness.)

                You might post the result here (wrapped in tags) to see if someone can import it. If it can be imported, then the underlying problem is somewhere else.

                *Weird that kate doesn't have any "insert text from file" function that I could find.
                Regards, John Little

                Comment


                  #9
                  Originally posted by jlittle View Post
                  Simplest would be to:
                  • edit a new .qtcurve file
                  • read in .config/kwinqtcurverc, or copy/paste it from another editor tab or window*
                  • change [General] to [KWin] on the first line
                  • add a blank line at the end
                  • at the end read in .config/qtcurve/stylerc, or copy/paste it from another editor tab or window
                  • save and quit

                  (Or, in a konsole,
                  Code:
                  cat .config/kwinqtcurverc <(echo "") .config/qtcurve/stylerc | sed '1s/General/KWin/' > new.qtcurve
                  # or
                  vim new.qtcurve  +r.config/kwinqtcurverc +1s/General/KWin +\$r.config/qtcurve/stylerc +x
                  but those are exercises in silliness.)

                  You might post the result here (wrapped in tags) to see if someone can import it. If it can be imported, then the underlying problem is somewhere else.

                  *Weird that kate doesn't have any "insert text from file" function that I could find.
                  Code:
                  [ActiveShadows]
                  Color=44,45,48
                  ColorType=5
                  
                  [KWin]
                  BorderSize=3
                  CustomShadows=true
                  InnerBorder=0
                  OuterBorder=0
                  
                  [InactiveShadows]
                  ColorType=5
                  ShadowType=0
                  
                  [Settings]
                  activeTabAppearance=soft
                  animatedProgress=true
                  appearance=agua
                  bgndAppearance=flat
                  bgndGrad=horiz
                  bgndImage=file
                  bgndImage.file=style-bgnd-img.jpg
                  bgndImage.height=0
                  bgndImage.onBorder=false
                  bgndImage.pos=8
                  bgndImage.width=0
                  bgndOpacity=100
                  boldProgress=true
                  borderInactiveTab=false
                  borderMenuitems=false
                  borderProgress=true
                  borderSbarGroove=true
                  borderSelection=false
                  borderTab=true
                  buttonEffect=shadow
                  buttonStyleMenuSections=true
                  centerTabText=false
                  colorMenubarMouseOver=true
                  colorSelTab=0
                  colorSliderMouseOver=true
                  coloredMouseOver=glow
                  coloredTbarMo=false
                  comboBtn=#6C99D5
                  comboSplitter=false
                  crButton=true
                  crColor=darken
                  crHighlight=3
                  crSize=15
                  customAlphas=0
                  customMenuNormTextColor=#000000
                  customMenuSelTextColor=#000000
                  customMenuTextColor=false
                  customShades=1.16,1.07,0.9,0.78,0.84,0.75
                  customgradient1=3d,0,1.2,0.5,1,1,1
                  customgradient2=3d,0,0.9,0.5,1,1,1
                  darkerBorders=false
                  defBtnIndicator=glow
                  dlgOpacity=100
                  doubleGtkComboArrow=false
                  drawStatusBarFrames=false
                  dwtAppearance=customgradient1
                  dwtSettings=33
                  embolden=true
                  etchEntry=true
                  expanderHighlight=3
                  fadeLines=true
                  fillProgress=true
                  fillSlider=true
                  flatSbarButtons=false
                  focus=glow
                  forceAlternateLvCols=true
                  gbFactor=-3
                  gbLabel=11
                  glowProgress=end
                  grooveAppearance=inverted
                  groupBox=shaded
                  gtkButtonOrder=false
                  gtkComboMenus=false
                  gtkScrollViews=true
                  handles=1dot
                  hideShortcutUnderline=false
                  highlightFactor=3
                  highlightScrollViews=true
                  highlightTab=false
                  inactiveTitlebarAppearance=customgradient1
                  invertBotTab=true
                  lighterPopupMenuBgnd=2
                  lvAppearance=harsh
                  lvButton=true
                  lvLines=false
                  mapKdeIcons=true
                  menuBgndAppearance=flat
                  menuBgndGrad=horiz
                  menuBgndImage=none
                  menuBgndOpacity=100
                  menuCloseDelay=300
                  menuDelay=225
                  menuIcons=true
                  menuStripe=none
                  menuStripeAppearance=darkinverted
                  menubarAppearance=flat
                  menubarApps=smplayer,VirtualBox
                  menubarHiding=0
                  menubarMouseOver=true
                  menuitemAppearance=fade
                  noBgndGradientApps=
                  noBgndImageApps=
                  noBgndOpacityApps=totem,vmplayer,smplayer,vmware,sonata
                  noMenuBgndOpacityApps=gtk,totem,vmplayer,vmware,sonata
                  noMenuStripeApps=gtk,soffice.bin
                  nonnativeMenubarApps=
                  onlyTicksInMenu=false
                  passwordChar=9679
                  popupBorder=true
                  progressAppearance=shinyglass
                  progressColor=#6E9BD7
                  progressGrooveAppearance=inverted
                  progressGrooveColor=dark
                  reorderGtkButtons=false
                  round=extra
                  roundAllTabs=true
                  roundMbTopOnly=true
                  sbarBgndAppearance=bevelled
                  scrollbarType=windows
                  selectionAppearance=flat
                  shadeCheckRadio=none
                  shadeMenubarOnlyWhenActive=false
                  shadeMenubars=none
                  shadePopupMenu=false
                  shadeSliders=#7BA8E3
                  shading=hsl
                  shadowSize=30
                  sliderAppearance=shinyglass
                  sliderFill=true
                  sliderStyle=round
                  sliderThumbs=sunken
                  sliderWidth=15
                  smallRadio=true
                  sortedLv=#618ECB
                  splitterHighlight=3
                  splitters=1dot
                  square=0
                  statusbarApps=kde
                  statusbarHiding=0
                  stdBtnSizes=false
                  stdSidebarButtons=true
                  stripedProgress=diagonal
                  stripedSbar=true
                  sunkenAppearance=flat
                  tabAppearance=soft
                  tabBgnd=0
                  tabMouseOver=glow
                  tbarBtnAppearance=none
                  tbarBtnEffect=none
                  tbarBtns=standard
                  thin=1
                  thinSbarGroove=true
                  titlebarAlignment=center-full
                  titlebarAppearance=customgradient1
                  titlebarButtonAppearance=shinyglass
                  titlebarButtonColors=#000000,#000000,#000000,#000000,#000000,#000000,#000000,#000000,#000000,#000000,#000000,#000000,#000000,#000000,#000000,#000000,#000000,#000000,#000000,#000000,#000000,#000000,#000000,#000000,#000000,#000000,#000000
                  titlebarButtons=4
                  titlebarEffect=shadow
                  titlebarIcon=title
                  toolbarAppearance=flat
                  toolbarBorders=none
                  toolbarSeparators=sunken
                  toolbarTabs=false
                  tooltipAppearance=agua
                  unifyCombo=false
                  unifySpin=false
                  unifySpinBtns=true
                  useHighlightForMenu=false
                  useQtFileDialogApps=
                  vArrows=true
                  version=1.9.0
                  windowBorder=36
                  windowDrag=0
                  xCheck=false
                  Click image for larger version

Name:	style-bgnd-img.jpg
Views:	1
Size:	58.3 KB
ID:	644201

                  The above image is also needed.

                  Comment


                    #10
                    Originally posted by jlittle View Post
                    Weird that kate doesn't have any "insert text from file" function that I could find.
                    Which GUI-based text editor has that feature? I couldn't find it in Geany or Gedit. Maybe some plugin brings in that feature?
                    Kubuntu 20.04

                    Comment


                      #11
                      Originally posted by chimak111 View Post
                      Which GUI-based text editor has that feature? I couldn't find it in Geany or Gedit. Maybe some plugin brings in that feature?
                      You are right, I'm a vim person, and :r is wired in, but I was really thinking of MS Word, and now LibreOffice writer. I just expected it. I've been baffled by what kate doesn't do, given how deep some of it is, and that's predisposed me to add something else to the list.
                      Regards, John Little

                      Comment


                        #12
                        Originally posted by Oderus View Post
                        code...
                        I can read these settings, but not export them, I have reproduced your problem, "Could not write to file:". I can still export my own settings, so there's something in yours that trips up the export. I might try a binary chop some time in a few days.

                        The above image is also needed.
                        I couldn't find where the image is needed.
                        Regards, John Little

                        Comment


                          #13
                          Originally posted by jlittle View Post
                          I can read these settings, but not export them, I have reproduced your problem, "Could not write to file:". I can still export my own settings, so there's something in yours that trips up the export. I might try a binary chop some time in a few days.

                          I couldn't find where the image is needed.
                          hmmmmm i wonder what the heck it is The image is used for the window backgrounds, on line 22 of the code I posted. I am glad you were able to reproduce it at least.

                          Code:
                          bgndImage.file=style-bgnd-img.jpg

                          Comment


                            #14
                            Originally posted by jlittle
                            I might try a binary chop some time in a few days...
                            Well, that was quick.

                            I checked out the window background (General->Background Image), style-bgnd-img.jpg, and it worked, but I use dark backgrounds where I can and found that too bright, so I turned it off. And that was it, the export worked. Set to anything but "File", no trouble, but set to "File", even if the file to use hasn't been set, the export fails with "Could not write to file".

                            So, to export the qtcurve settings, I can reset the background image, export, then put it back. I wonder if that works for you?
                            Regards, John Little

                            Comment


                              #15
                              Thank you. I will try this when I get a chance to do so

                              Comment

                              Working...
                              X