xfce4-panel-profiles issueshttps://gitlab.xfce.org/apps/xfce4-panel-profiles/-/issues2023-08-29T21:04:55Zhttps://gitlab.xfce.org/apps/xfce4-panel-profiles/-/issues/46Technical questions about project2023-08-29T21:04:55ZmrjkTechnical questions about projectHey,
I [forked](https://gitlab.xfce.org/mrjk/xfce4-panel-profiles) and improved this project.
While I've been working on this fork, I noticed this project is not bundled with a proper `setup.py` or `pyproject.yml` ? This make project ...Hey,
I [forked](https://gitlab.xfce.org/mrjk/xfce4-panel-profiles) and improved this project.
While I've been working on this fork, I noticed this project is not bundled with a proper `setup.py` or `pyproject.yml` ? This make project hacking/testing difficult to bootstrap, and it does not follow how most common python package standards. Also, how do you easily run/test the code in development mode ? I guess everything is possible by hand, but it seemed a bit unusual to me as python dev.
I'm asking this question because:
* I added poetry support in my fork, helping the project to be easily deployable/testable
* BUT I had to dirtily 'wrap' the existing code to be able to overpass the the dash in the the python name
It's a bit hackish, I don't like it so much, and I'd like to change it (actually replacing dashes by underscore should be enough), BUT I've no clue of the impact of such change at the XFCE ecosystem level. I'm asking those question because I already partially fixed those issues in my fork. I'm now asking myself if I should prepare smaller PR to add those features or if I should not propose it because of any good reasons ?
Extra question:
* Are you interested by adding poetry/setuptools support to this project ?
* Are you interested in replacing problematic dashes by underscores for python files ?
* What was the purpose of the extra panel in the glade file ?
* Don't do any of this; just work on the code, forget the tools! (which is also an acceptable answer haha)
My plan is to prepare smaller and mergeable patches to improve this project, if that fit to maintainers :)
Also big thanks for people who have worked on this projecthttps://gitlab.xfce.org/apps/xfce4-panel-profiles/-/issues/32Feature Request: GNOME1-like Panel configuration2023-05-27T13:44:46ZJack WallenFeature Request: GNOME1-like Panel configurationAttached is the Panel Profile tarball.
[GNOME1.tar.bz2](/uploads/e13db95d6adc67f9a0ee598a00dfea67/GNOME1.tar.bz2))Attached is the Panel Profile tarball.
[GNOME1.tar.bz2](/uploads/e13db95d6adc67f9a0ee598a00dfea67/GNOME1.tar.bz2))https://gitlab.xfce.org/apps/xfce4-panel-profiles/-/issues/31Tweaks for Redmond layout2021-03-10T07:41:21ZYousuf PhilipsTweaks for Redmond layoutIt would be good to add 3 launchers after the whisker menu, which are Show Desktop, Web Browser, and File Manager.
![image](https://webforpc.com/wp-content/uploads/2016/05/Download-Windows-XP-Service-Pack-3.gif)It would be good to add 3 launchers after the whisker menu, which are Show Desktop, Web Browser, and File Manager.
![image](https://webforpc.com/wp-content/uploads/2016/05/Download-Windows-XP-Service-Pack-3.gif)https://gitlab.xfce.org/apps/xfce4-panel-profiles/-/issues/18.tar.bz2 extension added whatever the file name2023-05-27T11:41:07ZLI AR.tar.bz2 extension added whatever the file nameHi,
When you export a configuration, the .tar.bz2 extension added **whatever** the filename is entered by the user in the save dialogbox.
So if, for instance, instead of entering a name manually, I select an existing filename (because ...Hi,
When you export a configuration, the .tar.bz2 extension added **whatever** the filename is entered by the user in the save dialogbox.
So if, for instance, instead of entering a name manually, I select an existing filename (because I want to overwrite an old backup of a config), I end up
1. with the old backup not being overwritten and
2. with a new file with filename containing .tar.bz2.tar.bz2 ...
Not exactly what the user wants...https://gitlab.xfce.org/apps/xfce4-panel-profiles/-/issues/16Broken import2023-05-27T12:01:13ZLI ARBroken importHi,
The interface not always being very intuitive (*) I mistakenly lost one of my configs.
(*) Having a profile selected for whatever reason and clicking on the "Save configuration" button results in a profile being copied, not saved t...Hi,
The interface not always being very intuitive (*) I mistakenly lost one of my configs.
(*) Having a profile selected for whatever reason and clicking on the "Save configuration" button results in a profile being copied, not saved to a file as I would have expected before I realized there is a "Export" button that does the job)
I have 2 configs:
- 1 for single monitor, with 1 top and 1 bottom panel
- 1 for dual monitor, with the same 2 "single monitor" panels copied on the 2 monitors
As it is PitA to recreate everything, I recreated the single monitor config, saved it and exported it.
Then I un-tar'ed the export, manually copied the panel configurations, retar'd the whole thing and tried to Import the new file [this process worked a few months ago when I created my lost config].
Unfortunately, the resulting .tar.bz2 config to crashs the app.
```
[09/04/20-18:08:44] user@empcarlabhc144:tmp$ xfce4-panel-profiles
Traceback (most recent call last):
File "/usr/share/xfce4-panel-profiles/xfce4-panel-profiles/xfce4-panel-profiles.py", line 246, in on_import_clicked
self._copy(filename, dst)
File "/usr/share/xfce4-panel-profiles/xfce4-panel-profiles/xfce4-panel-profiles.py", line 87, in _copy
PanelConfig.from_file(src).to_file(dst)
File "/usr/share/xfce4-panel-profiles/xfce4-panel-profiles/panelconfig.py", line 87, in from_file
pc.find_desktops()
File "/usr/share/xfce4-panel-profiles/xfce4-panel-profiles/panelconfig.py", line 148, in find_desktops
if self.check_desktop(desktop_path):
File "/usr/share/xfce4-panel-profiles/xfce4-panel-profiles/panelconfig.py", line 116, in check_desktop
bytes = self.get_desktop_source_file(path).read()
File "/usr/share/xfce4-panel-profiles/xfce4-panel-profiles/panelconfig.py", line 171, in get_desktop_source_file
return self.source.extractfile(desktop)
File "/usr/lib/python3.8/tarfile.py", line 2093, in extractfile
tarinfo = self.getmember(member)
File "/usr/lib/python3.8/tarfile.py", line 1780, in getmember
raise KeyError("filename %r not found" % name)
KeyError: "filename 'launcher-39/15692594261.desktop' not found"
```
First problem is that the error appears only on the console, the GUI dialog boxes simply become inoperant. It took me large amount of time to understand that the error is displayed somewhere. It would be great if any error would be caught and displayed in the GUI...
Second thing is that the 'launcher-39/15692594261.desktop' file IS indeed present in the archive, so I don't understand the error. It is confirmed below:
```
[09/04/20-18:09:09] user@empcarlabhc144:tmp$ tar tvjf ../doublei3.tar.bz
drwx------ user/user 0 2020-09-04 17:59 ./
drwx------ user/user 0 2020-09-04 17:57 ./launcher-65/
-rw------- user/user 410 2020-09-04 17:54 ./launcher-65/15868532572.desktop
drwx------ user/user 0 2020-09-04 17:57 ./launcher-45/
-rw------- user/user 2897 2020-09-04 17:54 ./launcher-45/15692594917.desktop
drwx------ user/user 0 2020-09-04 17:57 ./launcher-53/
-rw------- user/user 380 2020-09-04 17:54 ./launcher-53/156925957716.desktop
drwx------ user/user 0 2020-09-04 17:57 ./launcher-49/
-rw------- user/user 582 2020-09-04 17:54 ./launcher-49/156925954012.desktop
-rw------- user/user 4288 2020-09-04 17:59 ./config.txt
drwx------ user/user 0 2020-09-04 17:57 ./launcher-48/
-rw------- user/user 539 2020-09-04 17:54 ./launcher-48/156925952811.desktop
-rw------- user/user 549 2020-09-04 17:54 ./launcher-48/156925952210.desktop
drwx------ user/user 0 2020-09-04 17:57 ./launcher-52/
-rw------- user/user 548 2020-09-04 17:54 ./launcher-52/156925956915.desktop
drwx------ user/user 0 2020-09-04 17:57 ./launcher-43/
-rw------- user/user 821 2020-09-04 17:54 ./launcher-43/15692594725.desktop
drwx------ user/user 0 2020-09-04 17:57 ./launcher-47/
-rw------- user/user 407 2020-09-04 17:54 ./launcher-47/15692595129.desktop
drwx------ user/user 0 2020-09-04 17:57 ./launcher-42/
-rw------- user/user 878 2020-09-04 17:54 ./launcher-42/15692594624.desktop
drwx------ user/user 0 2020-09-04 17:57 ./launcher-39/
-rw------- user/user 314 2020-09-04 17:54 ./launcher-39/15692594261.desktop <-------
drwx------ user/user 0 2020-09-04 17:57 ./launcher-55/
-rw------- user/user 552 2020-09-04 17:54 ./launcher-55/15694004992.desktop
drwx------ user/user 0 2020-09-04 17:57 ./launcher-46/
-rw------- user/user 281 2020-09-04 17:54 ./launcher-46/15692595008.desktop
drwx------ user/user 0 2020-09-04 17:57 ./launcher-41/
-rw------- user/user 743 2020-09-04 17:54 ./launcher-41/15692594533.desktop
drwx------ user/user 0 2020-09-04 17:57 ./launcher-54/
-rw------- user/user 497 2020-09-04 17:54 ./launcher-54/156925962117.desktop
drwx------ user/user 0 2020-09-04 17:57 ./launcher-51/
-rw------- user/user 424 2020-09-04 17:54 ./launcher-51/156925955914.desktop
drwx------ user/user 0 2020-09-04 17:57 ./launcher-44/
-rw------- user/user 736 2020-09-04 17:54 ./launcher-44/15692594826.desktop
hrw------- user/user 0 2020-09-04 17:59 config.txt link to ./config.txt
```
It is possible that the problem comes from the fact I have now multiple references to launcher/xxx (from multiple panels) in my config.txt file ?
Another thing: I use the app a lot today and noticed I often lost some configs... Is there any key binding (apart Del/Suppr) that are defined as a shortcut to deleting a profile that I might have mistakenly hit while the focus was on xfce4-panel-profiles when I thought it was on another app? If not there might be a bug that makes the configs disappear randomly...https://gitlab.xfce.org/apps/xfce4-panel-profiles/-/issues/15Addition of more functionality into panel presets2021-07-15T17:22:43ZYousuf PhilipsAddition of more functionality into panel presetsPresently panel profiles limits itself to settings of the panels, but does not make changes to the feel of the desktop. Here are some examples of things that panel presets should be able to trigger to improve the experience of a panel pr...Presently panel profiles limits itself to settings of the panels, but does not make changes to the feel of the desktop. Here are some examples of things that panel presets should be able to trigger to improve the experience of a panel profile.
Mac OS profile: Should be able to launch a dock like plank and set that it run at startup, as well as set desktop icon orientation to 'top right vertically'
Gnome 3 profile: Should be to disable desktop icons
My thoughts are that panel profiles can additionally have 3 files added to them.
1. a file with xfconf settings that will be applied when a panel is applied, with the original xfconf settings being backed up and restored when the panel profile is changed.
2. installation bash script to make changes when the profile is applied (similar to debian package's postinst)
3. uninstallation bash script to make changes when the profile is changed (similar to debian package's postrm)
The bash scripts will not run as root and additional files may be included in the profile, so they can be utilized by the installation bash script.https://gitlab.xfce.org/apps/xfce4-panel-profiles/-/issues/2Wording of saved panel layout2023-05-26T16:05:26ZBugzilla MigrationWording of saved panel layout## Submitted by Sean Davis `@bluesabre`
Assigned to **Sean Davis `@bluesabre`**
**[Link to original bug (#16110)](https://bugzilla.xfce.org/show_bug.cgi?id=16110)**
## Description
Downstream report: https://bugs.launchpad.net/ubun...## Submitted by Sean Davis `@bluesabre`
Assigned to **Sean Davis `@bluesabre`**
**[Link to original bug (#16110)](https://bugzilla.xfce.org/show_bug.cgi?id=16110)**
## Description
Downstream report: https://bugs.launchpad.net/ubuntu/+source/xfce4-panel-profiles/+bug/1759117
After changing the panel layout and then saving it - the new saved panel config is labelled as a copy of the current configuration - which of course it isn't - as I've just changed it.
```
ProblemType: Bug
DistroRelease: Ubuntu 18.04
Package: xfpanel-switch 1.0.6-0ubuntu1
ProcVersionSignature: Ubuntu 4.15.0-12.13-generic 4.15.7
Uname: Linux 4.15.0-12-generic x86_64
ApportVersion: 2.20.9-0ubuntu1
Architecture: amd64
CasperVersion: 1.391
CurrentDesktop: XFCE
Date: Tue Mar 27 03:59:25 2018
LiveMediaBuild: Xubuntu 18.04 LTS "Bionic Beaver" - Alpha amd64 (20180327)
PackageArchitecture: all
ProcEnviron:
TERM=xterm-256color
PATH=(custom, no user)
XDG_RUNTIME_DIR=`<set>`
LANG=en_US.UTF-8
SHELL=/bin/bash
SourcePackage: xfpanel-switch
UpgradeStatus: No upgrade log present (probably fresh install)
```
Version: 1.0.7