Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
Utilities
Konsole
Commits
e7fff97d
Commit
e7fff97d
authored
Dec 01, 2014
by
Jonathan Riddell
🏄
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
remove unused and unported kconf update scripts, kf5 starts from a fresh config
parent
efa05fe6
Changes
7
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
0 additions
and
152 deletions
+0
-152
data/CMakeLists.txt
data/CMakeLists.txt
+0
-1
data/updaters/CMakeLists.txt
data/updaters/CMakeLists.txt
+0
-6
data/updaters/konsole-2.10.0-remove-menuindex-from-profiles.sh
...updaters/konsole-2.10.0-remove-menuindex-from-profiles.sh
+0
-25
data/updaters/konsole-2.9.0-colorscheme-bold-key.sh
data/updaters/konsole-2.9.0-colorscheme-bold-key.sh
+0
-25
data/updaters/konsole-2.9.0-global-options.sh
data/updaters/konsole-2.9.0-global-options.sh
+0
-82
data/updaters/konsole.upd
data/updaters/konsole.upd
+0
-9
data/updaters/konsole_remove_background_mode.upd
data/updaters/konsole_remove_background_mode.upd
+0
-4
No files found.
data/CMakeLists.txt
View file @
e7fff97d
...
...
@@ -2,5 +2,4 @@
add_subdirectory
(
color-schemes
)
add_subdirectory
(
keyboard-layouts
)
add_subdirectory
(
profiles
)
add_subdirectory
(
updaters
)
data/updaters/CMakeLists.txt
deleted
100644 → 0
View file @
efa05fe6
install
(
FILES konsole.upd DESTINATION
${
KCONF_UPDATE_INSTALL_DIR
}
)
install
(
PROGRAMS konsole-2.9.0-global-options.sh DESTINATION
${
KCONF_UPDATE_INSTALL_DIR
}
)
install
(
PROGRAMS konsole-2.9.0-colorscheme-bold-key.sh DESTINATION
${
KCONF_UPDATE_INSTALL_DIR
}
)
install
(
PROGRAMS konsole-2.10.0-remove-menuindex-from-profiles.sh DESTINATION
${
KCONF_UPDATE_INSTALL_DIR
}
)
install
(
FILES konsole_remove_background_mode.upd DESTINATION
${
KCONF_UPDATE_INSTALL_DIR
}
)
data/updaters/konsole-2.10.0-remove-menuindex-from-profiles.sh
deleted
100755 → 0
View file @
efa05fe6
#!/bin/sh
# The "MenuIndex" entry in profile is expected to be absent or 0.
# However, old versions of konsole might leave some problematic
# "MenuIndex" entries due to buggy code. This script simply removes them.
local_path
=
`
kde4-config
--localprefix
`
konsole_data_path
=
"
${
local_path
}
/share/apps/konsole"
# do nothing when no user data exsit at all
if
!
test
-d
"
${
konsole_data_path
}
"
;
then
exit
0
fi
cd
"
${
konsole_data_path
}
"
for
i
in
*
.profile
;
do
# no match?
if
test
"
$i
"
=
"*.profile"
;
then
break
fi
sed
-i
'/MenuIndex=/d'
"
$i
"
done
data/updaters/konsole-2.9.0-colorscheme-bold-key.sh
deleted
100755 → 0
View file @
efa05fe6
#!/bin/sh
# 'Bold=false' is non-functioning before konsole 2.9, but it might
# become functional in the future versions, so remove those entries as
# preparation for future changes.
local_path
=
`
kde4-config
--localprefix
`
konsole_data_path
=
"
${
local_path
}
/share/apps/konsole"
# do nothing when no user data exsit at all
if
!
test
-d
"
${
konsole_data_path
}
"
;
then
exit
0
fi
cd
"
${
konsole_data_path
}
"
for
i
in
*
.colorscheme
;
do
# no match?
if
test
"
$i
"
=
"*.colorscheme"
;
then
break
fi
sed
-i
'/Bold=false/d'
"
$i
"
done
data/updaters/konsole-2.9.0-global-options.sh
deleted
100755 → 0
View file @
efa05fe6
#!/bin/sh
# Starting from konsole 2.9.0, menubar and tabbar setttings are global instead of per profile
# This stupid script migrates those settings from default profile into konsolerc
default_profile_name
=
`
kreadconfig5
--file
konsolerc
--group
'Desktop Entry'
--key
DefaultProfile
`
# empty name implies that the user use is using the stock profile
if
test
-z
"
$default_profile_name
"
;
then
exit
0
fi
default_profile_path
=
""
OLD_IFS
=
"
$IFS
"
IFS
=
":"
for
path
in
`
kde4-config
--path
data
`
;
do
if
test
-f
"
$path
/konsole/
$default_profile_name
"
;
then
default_profile_path
=
"
$path
/konsole/
$default_profile_name
"
break
fi
done
IFS
=
"
$OLD_IFS
"
# empty path implies that the specified default profile does not exist
if
test
-z
"
$default_profile_path
"
;
then
exit
0
fi
echo
"[KonsoleWindow]"
show_menu_bar
=
`
kreadconfig5
--file
"
$default_profile_path
"
--group
'General'
--key
'ShowMenuBar'
`
if
test
-n
"
$show_menu_bar
"
;
then
echo
"ShowMenuBarByDefault=
$show_menu_bar
"
fi
echo
"[TabBar]"
# The order of enum value has changed
tab_bar_visibility
=
`
kreadconfig5
--file
"
$default_profile_path
"
--group
'General'
--key
'TabBarMode'
`
if
test
-n
"
$tab_bar_visibility
"
;
then
new_value
=
""
if
test
"
$tab_bar_visibility
"
=
"0"
;
then
new_value
=
"2"
elif
test
"
$tab_bar_visibility
"
=
"1"
;
then
new_value
=
"1"
elif
test
"
$tab_bar_visibility
"
=
"2"
;
then
new_value
=
"0"
fi
if
test
-n
"
$new_value
"
;
then
echo
"TabBarVisibility=
$new_value
"
fi
fi
# The order of this enum value has changed
tab_bar_position
=
`
kreadconfig5
--file
"
$default_profile_path
"
--group
'General'
--key
'TabBarPosition'
`
if
test
-n
"
$tab_bar_position
"
;
then
new_value
=
""
if
test
"
$tab_bar_position
"
=
"0"
;
then
new_value
=
"1"
elif
test
"
$tab_bar_position
"
=
"1"
;
then
new_value
=
"0"
fi
if
test
-n
"
$new_value
"
;
then
echo
"TabBarPosition=
$new_value
"
fi
fi
show_quick_buttons
=
`
kreadconfig5
--file
"
$default_profile_path
"
--group
'General'
--key
'ShowNewAndCloseTabButtons'
`
if
test
-n
"
$show_quick_buttons
"
;
then
echo
"ShowQuickButtons=
$show_quick_buttons
"
fi
new_tab_behavior
=
`
kreadconfig5
--file
"
$default_profile_path
"
--group
'General'
--key
'NewTabBehavior'
`
if
test
-n
"
$new_tab_behavior
"
;
then
echo
"NewTabBehavior=
$new_tab_behavior
"
fi
data/updaters/konsole.upd
deleted
100644 → 0
View file @
efa05fe6
Id=2.9.0-global-options
File=konsolerc
Script=konsole-2.9.0-global-options.sh
Id=2.9.0-colorscheme-bold-key
Script=konsole-2.9.0-colorscheme-bold-key.sh
Id=2.10.0-remove-menuindex-from-profiles
Script= konsole-2.10.0-remove-menuindex-from-profiles.sh
data/updaters/konsole_remove_background_mode.upd
deleted
100644 → 0
View file @
efa05fe6
Id=2.11.0-remove-background-mode
File=kglobalshortcutsrc
RemoveGroup=konsole
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment