fix: added launcher (to copy screen selection) to taskbar.

as well as other xfce4 stuff
This commit is contained in:
Daniel Langbein 2021-05-24 17:14:34 +02:00
parent 09c2563a38
commit 9ab971147b
5 changed files with 76 additions and 10 deletions

View File

@ -68,11 +68,20 @@ package() {
install -Dm0644 img/face.jpg "$pkgdir"/etc/skel/.face
# Adding the xml to /etc/xdg/xfce4/xfconf/xfce-perchannel-xml does not work
# (it will not be copied to ~/.config/xfce4/xfconf/xfce-perchannel-xml/)
# Thus we place it in the skeleton for new users
install -Dm0644 xfce4-desktop.xml "$pkgdir"/etc/skel/.config/xfce4/xfconf/xfce-perchannel-xml/xfce4-desktop.xml
install -Dm0644 xfce4-panel.xml "$pkgdir"/etc/skel/.config/xfce4/xfconf/xfce-perchannel-xml/xfce4-panel.xml
# Adding a xml configuration to /etc/xdg/xfce4/xfconf/xfce-perchannel-xml/*.xml does not work.
# (It will not be copied to ~/.config/xfce4/xfconf/xfce-perchannel-xml/*.xml)
# Thus we place it in the skeleton for new users!
# === higher screen resolution in a VM ===
install -Dm0644 config/xfce4/xfconf/xfce4-perchannel-xml/displays.xml "$pkgdir"/etc/skel/.config/xfce4/xfconf/xfce-perchannel-xml/displays.xml
# === desktop and workspaces ===
install -Dm0644 config/xfce4/xfconf/xfce4-perchannel-xml/xfce4-desktop.xml "$pkgdir"/etc/skel/.config/xfce4/xfconf/xfce-perchannel-xml/xfce4-desktop.xml
# === panel ===
install -Dm0644 config/xfce4/xfconf/xfce4-perchannel-xml/xfce4-panel.xml "$pkgdir"/etc/skel/.config/xfce4/xfconf/xfce-perchannel-xml/xfce4-panel.xml
install -Dm0644 config/xfce4/panel/launcher-8/16218680691.desktop "$pkgdir"/etc/skel/.config/xfce4/panel/launcher-8/16218680691.desktop
# === display manager ===
install -Dm0644 systemd.preset "$pkgdir"/usr/lib/systemd/system-preset/20-"$pkgname".preset

View File

@ -0,0 +1,10 @@
[Desktop Entry]
Version=1.0
Type=Application
Name=screenshot
Comment=copy screen region to clipboard
Exec=xfce4-screenshooter --clipboard --region
Icon=org.xfce.screenshooter
Path=
Terminal=false
StartupNotify=false

View File

@ -0,0 +1,45 @@
<?xml version="1.0" encoding="UTF-8"?>
<!-- Add Virtual1 screen with higher resolution than default. This is useful when booted in a VM. -->
<channel name="displays" version="1.0">
<property name="ActiveProfile" type="string" value="Default"/>
<property name="Default" type="empty">
<property name="Virtual1" type="string" value="Virtual1">
<property name="Active" type="bool" value="true"/>
<property name="EDID" type="string" value=""/>
<property name="Resolution" type="string" value="1920x1200"/>
<property name="RefreshRate" type="double" value="59.884600"/>
<property name="Rotation" type="int" value="0"/>
<property name="Reflection" type="string" value="0"/>
<property name="Primary" type="bool" value="true"/>
<property name="Scale" type="empty">
<property name="X" type="double" value="1.000000"/>
<property name="Y" type="double" value="1.000000"/>
</property>
<property name="Position" type="empty">
<property name="X" type="int" value="0"/>
<property name="Y" type="int" value="0"/>
</property>
</property>
</property>
<property name="Fallback" type="empty">
<property name="Virtual1" type="string" value="Virtual1">
<property name="Active" type="bool" value="true"/>
<property name="EDID" type="string" value=""/>
<property name="Resolution" type="string" value="1920x1200"/>
<property name="RefreshRate" type="double" value="59.884600"/>
<property name="Rotation" type="int" value="0"/>
<property name="Reflection" type="string" value="0"/>
<property name="Primary" type="bool" value="true"/>
<property name="Scale" type="empty">
<property name="X" type="double" value="1.000000"/>
<property name="Y" type="double" value="1.000000"/>
</property>
<property name="Position" type="empty">
<property name="X" type="int" value="0"/>
<property name="Y" type="int" value="0"/>
</property>
</property>
</property>
</channel>

View File

@ -28,6 +28,7 @@
<value type="int" value="11"/>
<value type="int" value="12"/>
<value type="int" value="13"/>
<value type="int" value="8"/>
</property>
</property>
</property>
@ -49,10 +50,6 @@
<value type="string" value="networkmanager applet"/>
</property>
</property>
<property name="plugin-8" type="string" value="pulseaudio">
<property name="enable-keyboard-shortcuts" type="bool" value="true"/>
<property name="show-notifications" type="bool" value="true"/>
</property>
<property name="plugin-9" type="string" value="power-manager-plugin"/>
<property name="plugin-10" type="string" value="notification-plugin"/>
<property name="plugin-11" type="string" value="separator">
@ -63,5 +60,10 @@
<property name="style" type="uint" value="0"/>
</property>
<property name="plugin-7" type="string" value="whiskermenu"/>
<property name="plugin-8" type="string" value="launcher">
<property name="items" type="array">
<value type="string" value="16218680691.desktop"/>
</property>
</property>
</property>
</channel>
</channel>