GithubHelp home page GithubHelp logo

raspberrypi-ui-mods's People

Contributors

hfiguiere avatar lucaspetter avatar spl237 avatar tanuk avatar waveform80 avatar xecdesign avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

raspberrypi-ui-mods's Issues

mutter should not be a hard dependency

mutter not only causes problems with realvnc -for which you have a test in your startup script-, but also other VNC server stuff like x11vnc.

The easiest workaround for someone wanting to run that would be "sudo apt remove mutter"
But right now that also uninstalls raspberrypi-ui-mods because you list mutter as depends in debian/control.
I don't see any hard requirement on mutter in this package since you test for the existence of /usr/bin/mutter in your script though, so can mutter be made a Recommends instead?

Is 'lxappearance' supported?

A few days back I had an issue with desktop not loading keyboard strike rate/delay until user manually launches 'lxinput'.
Similarly, the WM doesn't respect any mouse cursor he may have selected until 'lxappearance' is launched manually.
Even then it keeps reverting back to a the default every few minutes.
Now I understand that lxappearance doesn't appear anywhere in preferences personalization (it did in 32 bit, but unselected).
So the question is, is lxappearance supported at all? If yes, can you please enable it in prefs and fix the aforementioned defect?
TIA

Openbox Configuration Manager issue on RaspiOS x86 PC version

PC: IBM ThinkPad R52
uname -a : Linux 4.19.0-20-686-pae #1 SMP Debian 4.19.235-1 (2022-03-17) i686 GNU/Linux

when i get into Applications List > Preferences > Appearance Settings and do some changes like in screenshots attached
https://imgur.com/ciger3M
https://imgur.com/a/fa8KCit

and then go to Applications List > Preferences > Openbox Configuration Manager it changes default PiXflat theme to one of the list, changes my previous settings i did in this section and it disables left click mouse function like it doesnt alow me to click on X to close/minimize/maximize a window or grab a window from toolbar.

https://imgur.com/ghJKAe5
https://imgur.com/GyeZbrG

Setting up raspberrypi-ui-mods often fails during pi-gen

When running pi-gen, setting up raspberrypi-ui-mods often fails after messages:

Setting up raspberrypi-ui-mods (1.20170725) ...
update-alternatives: using /usr/bin/startlxde-pi to provide /usr/bin/x-session-manager (x-session-manager) in auto mode
update-alternatives: using /usr/share/libgksu/debian/gconf-defaults.libgksu-sudo to provide /usr/share/gconf/defaults/10_libgksu (libgksu-gconf-defaults) in manual mode
Backing up old config files...
Backing up old config files...

Sometimes there is following warning after "Backing up old config files...", but often there is nothing else, build just hangs there indefinitely:

(process:3536): dconf-WARNING **: failed to commit changes to dconf: Error spawning command line 'dbus-launch --autolaunch=6c0ae75983574faea5b1921152e7df64 --binary-syntax --close-stderr': Child process exited with code 1

Process tree when build hangs (build was started with command time sudo ./build.sh |& tee mylog, no warning message about dconf this time):

sudo───build.sh───bash─┬─apt-get─┬─dpkg─┬─raspberrypi-ui-─┬─gsettings─┬─{dconf worker}
                       │         │      │                 │           └─{gsettings}
                       │         │      │                 └─{raspberrypi-ui-}
                       │         │      └─{dpkg}
                       │         └─{apt-get}
                       └─{bash}

I don't quite understand Debian configurations, but I think this might be happening during gsettings set lines in postinst which are about some screensaver settings.

Earlier issue at pi-gen: RPi-Distro/pi-gen#102

.svg icons and PiX theme.

Hi,

I am not sure if this is correct place and appropriate to ask but is it possible to release .svg formats of PiXflat (and old PiX) icons instead of .png? I am trying to do some additional custom icons myself via inkscape but it is being struggling to edit/create some stock icons to inherit less to gnome icon set. if icons were released in .svg format that would be perfect :)

and lastly, is it possible to maintain old PiX theme too? it feels a bit buggy. some bars and menu items go unscaled sometimes. I know it is old theme but blue theme is good to have with old PiX icons to make desktop retro-ish look.

best regards.

LXPanel disappeared permanently after removing shortcuts

Hope this is the right place for the bug.

I just booted a completely new Noobs image, ran a dist-upgrade and removed three applet icons from the LXPanel Application Menu. The panel then disappeared altogether and I have not seen it since.

Fortunately I already had a terminal open, so I was able to attempt some things. Killing the lxpanel process and relaunching it with the same command line as the original process (same profile) didn't cause it to reappear. Rebooting the machine also didn't cause it to reappear.

Without LXPanel visible, there are no obvious means of running applications at all, not even LXPanel.

This is an extremely serious bug as changing the icons in the Application Menu it's a likely first step for someone launching the Raspbian desktop and it has been immediately and completely fatal to the use of the desktop, meaning I will probably be forced to reinstall NOOBS.

WORKAROUND

I have been able to right-click on the desktop, then choose in one of the tabs an option like 'make Window Manager menus appear when desktop is clicked' (this original set of tabs is now inaccessible). This config change caused a new menu to appear on desktop-click, which includes a 'Terminal Emulator' launch entry.

Running the Terminal Emulator, I can see through ps aux | grep lxpanel that indeed lxpanel --profile LXDE-pi is running, but remains invisible.

Launching the regular lxpanel I get a visible menu at the bottom which is usable, but overall this is very problematic and means there is something seriously wrong with the behaviour of the lxpanel in its normal profile configuration, at least on first boot.

lxde task bar, no room for menu icon

Menu icon does not show in task bar, though it does function. startlxde, NOT startlxde-pi. Mouse over Menu location causes a small icon frame to be dispalyed.

Last good lxde desktop I have is 2019-09-26-raspbian-buster, however when I do an 'apt-get upgrade' it breaks. Icon file is there and is referenced by the task bar. Newer Raspian releases have the issue without any apt-get update.
Issue happens on main X display and on remote xserver-xephyr (remote access from another PI or Debian PC). Happens on remote Xephyr desktop wether if Pi is configured for local desktop or not.
Don't know about realvnc, I purge that when building the PI.
This happens on Pi3, PiZero, and Pi4
No apparent error messages.

raspberrypi-ui-mods upgrade fails when a user exists who has only ever logged in via ssh

This is on stretch running headless / cli only. (Though a kivvy app starts x from rc.local but without a window manager).

Looks like the upgrade iterates for all users on the system.

In this case, the user was added manually (adduser....) and only logs in via ssh - so they do not have a .config directory or .theme directory to back up anyway.

Process seems to fail on chown oldconffiles directory (which doesn't exist for this user).

Setting up raspberrypi-ui-mods (1.20180125) ...
Installing new version of config file /etc/xdg/lxpanel/profile/LXDE-pi/panels/panel ...
Installing new version of config file /etc/xdg/openbox/lxde-pi-rc.xml ...
Backing up old config files...
/root/.themes/PiX
/root/.config/openbox/lxde-pi-rc.xml
/root/.config/lxpanel/LXDE-pi/panels/panel
Backing up old config files...
/home/piuser/.themes/PiX
/home/piuser/.config/openbox/lxde-pi-rc.xml
/home/piuser/.config/lxpanel/LXDE-pi/panels/panel
Backing up old config files...
/home/user1/.themes/PiX
/home/user1/.config/openbox/lxde-pi-rc.xml
/home/user1/.config/lxpanel/LXDE-pi/panels/panel
Backing up old config files...
/home/user2/.themes/PiX
/home/user2/.config/openbox/lxde-pi-rc.xml
/home/user2/.config/lxpanel/LXDE-pi/panels/panel
Backing up old config files...
chown: cannot access '/home/sshuser/oldconffiles': No such file or directory
dpkg: error processing package raspberrypi-ui-mods (--configure):
 subprocess installed post-installation script returned error exit status 1
Setting up lxplug-bluetooth (0.5) ...
Setting up lxplug-ptbatt (0.3) ...
Processing triggers for libc-bin (2.24-11+deb9u1) ...
Errors were encountered while processing:
 raspberrypi-ui-mods
E: Sub-process /usr/bin/dpkg returned an error code (1)

After manually creating the oldconffiles directory, the process completes but with a warning.

1 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Setting up raspberrypi-ui-mods (1.20180125) ...
Backing up old config files...
Backing up old config files...
Backing up old config files...
Backing up old config files...
Backing up old config files...
W: APT had planned for dpkg to do more than it reported back (0 vs 4).
   Affected packages: raspberrypi-ui-mods:armhf

There's no easy way to connect to hidden SSID's in the GUI.

The Network Preferences doesn't allow you to specify a hidden SSID, making connecting very difficult.

After selecting SSID, the list only includes "non hidden" SSID's (or nothing if there are no other SSIDs) and it's not possible to specify a SSID if you're trying to connect to a hidden network.

There should be an option to select "Other network" and then specify the SSID manually.

[Question / Feature request] Alt+Tab behavior with Mutter

Hello,

I've been directed over here with my issue from StackExchange question and Mutter GitHub.

In Raspberry Pi OS Bullseye, which uses Mutter as default Windows Manager, I noticed that Alt+Tab key combination switches only between current and previously focused windows, i.e. when I have 3 windows open in order A, B, C then I can switch only between B and C, while A stays in the background. So when I need to switch to window A, I need to grab a mouse to change focus.

Is there a way to configure this behavior somehow to be able to switch through all open windows, in a more "classical" way? If so, how can I do that, otherwise is there a chance such configuration could be added or the default behavior changed?

Please note that an "application switcher" of any sort (usually in a form visual overview of all open windows when pressing Alt+Tab and keeping Alt pressed) is completely secondary for me, personally. For productivity reasons I just prefer to be able to switch through more than 2 most recent windows with Alt+Tab.

The StackExchange question mentioned above proposes a workaround: switching Window Manager to Openbox, which seems to have worse performance than Mutter :(.

Thanks in advance.

Raspbian Pixel Network Prefs: no provision for hidden SSID

As noted in a misplaced and closed ticket from @mintslice, the Network Preferences don't allow a hidden SSID to be specified, making connection very difficult.

The panel's list only includes any broadcasted SSIDs without an option to specify a hidden one, as commonly used by many security-conscious LAN owners.

There should be an option to select "Other network" and then specify the SSID manually.

Adding Desktop Pager removes ability to switch/move/resize/close windows

(was Adding Desktop Pager removes ability to switch/move/resize/close windows · Issue #1336 · raspberrypi/documentation, but noted it was in the wrong place.

Actions in desktop:

  1. right click in the menu bar, “Add/Remove panel items”

  2. in Panel Preferences click “Add”, then select “Desktop Pager” and “Add”.

  3. Right-click on newly-created one-page pager, and choose “Desktop Pager Settings”. Add a number (> 1) in the Desktops tab.

  4. Close settings.

Expected result: use desktop as normal, but with multiple workspaces.

Actual result: multiple workspaces are enabled, but the ability to switch/move/resize/close windows is lost. The only way to switch/manipulate windows is through right clicking the window indicator in the top bar.

This may be an issue with obconf writing unexpected values into the user's desktop configuration. Seems to be a recent issue, perhaps since Stretch. Didn't appear to be an issue around 2015. Not a stock/upstream LXDE user issue, either: I'm a long-time Lubuntu user and I can add many workspaces without problems. Seems also to be a problem on Raspberry Pi Desktop (for PC and Mac) too.

forum reference: https://www.raspberrypi.org/forums/viewtopic.php?f=116&t=251268

Update: as noted by user petr2 here, creating workspaces via obconf does not cause this problem to appear.

I use multiple workspaces because I have attention deficit/sensory problems, and one workspace per task allows me to focus.

archlinux install

yea i know but you use arch btw, well i cant find any repo/AUR/pkg or someone whom done this before, i really like the DE but the installation process is bad just like arch but worse, can any one point me to the source file so i can compile it or some thing, and whats the apt repo try to install it on a clean debian install but count find the dam repo, i really like your DE thou it lightweight and its built on lxqt.
BTW i use your PC 32bit ver of the raspbian os for my media server is not bad at all very lightweight and easy to maintain.
yes i had to use the BTW is use

Raspberry Pi OS - Pixel desktop theme/icons on another linux distro

Hi.

I love how Pixel theme looks so clean and minimal on RaspiOS so i am trying to add pixel desktop theme and icons to a normal linux distro on my old laptop (32bit debian 11 bullseye) & desktop pc (64bit debian 11 bullseye) but failing to get exact same look. also panel items such as bluetooth and wireless & wired network settings ..etc dont appear.

What packages do i need to install on another linux distro for Raspberry Pi - Pixel desktop theme?

Is it possible for you to add Readme or installation notes please?

thanks.

Pixel upgrade issues for non "Pi" users

If a user uses an account that is not named "pi", none of the Pixel UI changes get applied to their account.
The main cause of this is "pi" being hard coded into debian/raspberrypi-ui-mods.postinst.

There are a number of reasons ranging from security to simply a family with multiple kids, why an owner may have more than 1 account on their Raspberry Pi.

It would be great if the code in raspberrypi-ui-mods.postinst could run on all non system user accounts on the Pi, as it can't be assumed everyone uses the "pi" user account.

Latest updates and oldconffiles folder

Recently I observed 2 updates, which informed me about changes that caused obsolete old configuration to be moved to the oldconffiles folder. After the 2nd update i went to the oldconffiles and i see an issue in the behaviour of the postinst routine. It does not check for previous backups existence, and may unconditionally overwrite the backups.

The only point where the existence of oldconffiles is checked, where the OWNER is set:
raspberrypi-ui-mods.postinst line 81

Also i noticed a .desktop file that should show some dialog and remove itself.
Because i have not logged into the desktop after the first update, the content of the file was doubled, looking like the routine that generating it did not overwrite, but appended the dektop entry instead

Raspberry Pi: how to disable generating BrowserMetrics files for Chromium

When Chromium works, it creates on the SD card BrowserMetrics à 4MB files. When Rapsberry Pi is used in Kiosk mode, just writing these files serves negigible purpose but damages the SD card long term. As outlined at https://bugs.chromium.org/p/chromium/issues/detail?id=1171536 the BrowserMetrics files could be disabled by using --disable-features=PersistentHistograms, but for end users like me no additional information is provided and putting --disable-features=PersistentHistograms has not helped.

Please extend Raspberry Pi OS, or the corresponding website, with information how to disable the generation of the BrowserMetrics files, so that running Raspberry Pi with Chromium in Kiosk mode can ensure long file of the SD storage.

I do not know where to fill this, hence it comes here.

PCManFM crashes LXDE desktop

Clicking on PCManFM from desktop shortcut, causes following sequence of events.
1 PCManFM window shows up for a few moments
2 entire desktop clears to empty image
3 desktop icons return and other app frames return.
4 No PCManFM

-- startlxde, NOT startlxde-pi -- used "sudo update-alternatives --config x-session-manager" and selected "3 manual startlxde"
2019-09-26-raspbian-buster and 2020-08-20-raspios-buster-armhf images are OK until after apt-get upgrade
Issue happens on main X display (if pi configured to boot with one) and on remote xserver-xephyr (remote access from another PI or Debian PC. Not tested from Windows Cygwin xterminal). Happens on remote Xephyr desktop whether Pi is configured to run a local desktop or not.
Don't know about realvnc, I purge that when building the PI.
This happens on Pi3. Not tested on PiZero or Pi4

pix-plym-splash trashes existing plymouth theme selection

Couldn't find the source repository for pix-plym-splash, so putting this issue here as the next best option.

pix-plym-splash unconditionally runs plymouth-set-default-theme -R pix in postinst.
This trashes any preexisting plymouth theme selection. It should not do that.

Install or upgrade hangs until GUI alert is acknowledged

When upgrading or installing raspberrypi-ui-mods in a virtual console, it may display the following message:

The desktop has been updated. To apply the updates, please reboot your Pi, and then select one of the options on the Defaults page in Appearance Settings.

Then the install script apparently hangs. There appears to be no way for the user to acknowledge this and continue; seemingly the only option is to interrupt the process, leaving dpkg in a bad state.

The reason for the hang is not obvious unless we switch to the GUI session, and see that an alert has popped up, and that the install script is waiting for the user to dismiss this alert before continuing.

This is not expected behavior from an apt upgrade: most of the interaction happens in the console/terminal session.
Furthermore, this alert doesn't do anything except inform the user, which means there's no real need to interrupt everything (including the rest of what may be a lengthy system upgrade) until the alert is acknowledged. It's a frustrating user experience when using a virtual console.

An ideal fix would be to not fire a GUI alert when running from a virtual console. Regardless, it would also be good to make any such information-only GUI alert fire-and-forget, so that if the user didn't already see the message in the console output, it would be waiting for them in the GUI whenever they return there, and any subsequent upgrades and commands can continue to run. If none of that is acceptable and it's essential to halt everything so that the user acknowledges this message, the user should have the option to do so in the same console where the install/upgrade is running (e.g. by pressing a key), rather than requiring the user to acknowledge it out of band, assuming they even know where to look for it.

More contrast issues with PiXFlat dark

Trying to keep this limited to actual contrast issues for @spl237 to look at.

  1. Evince (default installed PDF viewer) zoom level drop-down arrow:
    Normal:
    20240123_22h54m45s_grim
    Mouse over: (mouse is invisible in grim screenshot)
    20240123_22h54m46s_grim
    I think the arrow should be white all the time.
    I am unfamiliar with Evince and actually spent a few moments looking for a way to change the zoom level as I did not notice the grey arrow.
  2. Evince floating drop-down list improperly highlights the item under the mouse:
    20240123_22h54m55s_grim
    Probably the most cohesive thing to do here is to make the button background color a bit lighter grey when under the mouse pointer.
  3. Calendar arrows (to change the month and the year) are grey in normal state and white when under the mouse:
    20240123_22h59m29s_grim
    They should probably be white at all times.
  4. Unintended color gradients on circular buttons at the bottom of Evince Keyboard Shortcuts window
    20240123_23h03m13s_grim

pix-plym-splash disables splashscreen in prerm, even if it is not the current theme

Couldn't find the source repository for pix-plym-splash, so putting this issue here as the next best option.

The pix-plym-splash prerm script removes the plymouth-related options from /boot/cmdline.txt unconditionally, even if the pix theme is not currently in use. This incorrectly disables plymouth if some other theme has been configured. It should not do that.

Can i have the Source Code of the Pixel Desktop ???

Hello there, im looking to port Pixel Desktop to Manjaro Distro for PC and ARM, and would love to have sources and understand how its installation works. Would be very cool to make it more popular!

Thanks in Advance!

Flatpak installed applications do not appear in the menu

Tracking down this issue, I found the root cause to be that startlxde-pi overrides any set XDG_DATA_DIRS, removing the additions that /etc/X11/Xsession.d/20flatpak adds.

This change simply keeps any existing XDG_DATA_DIRS, prepending the FKMS directory if needed, and allows the searching of the user-specific Flatpak directories.

raspberrypi-ui-mods update assumes the existence of user "pi", unable to update package

Hi,

I have recently updates some packages via aptitude and I have got the following error during the update process:

/home/pi/.config/gtk-3.0/gtk.css
chown: invalid user: ‘pi:pi’
dpkg: error processing package raspberrypi-ui-mods (--configure):
subprocess installed post-installation script returned error exit status 1
Setting up raspi-config (20161114) ...
Processing triggers for libc-bin (2.19-18+deb8u6) ...
Errors were encountered while processing:
raspberrypi-ui-mods
E: Sub-process /usr/bin/dpkg returned an error code (1)
Failed to perform requested operation on package. Trying to recover:
Setting up raspberrypi-ui-mods (1.20161115) ...
Backing up old config files...

I don't have a user called pi anymore (due to security reasons). And I guess the package should not assume the existence of such a user anyway.
Please note that, I have unlocked aptitude and started again, it doesn't show any issues or updates related to the package.

Themes

Hi.
I was wondering if you can help me or at least give me advice. I modify/adaptate your PiX/PiXflat theme for native LXDE/openbox and Xfce on desktop since last year or more. But I noticed some gtk/gnome apps not showing properly.

currently using your theme since Debian 11 and now upgraded to 12 with native LXDE installation. Issues i am having are as following:

Context menu arrow icons dont appear in some GTK apps (such as network-manager-gnome gui and Inkscape - if i set theme to system theme/pixflat). in Debian 11/bullseye i was not having context menu arrow icon problem but problem occured after upgrading to Debian 12/bookworm.

and some gnome apps such as gnome-disk-utility and baobab denying to use PiXflat theme and pushing Adwaita theme. this problem continues since Debian 11.

is there something can be done about Pix and Pixflat themes or can you advice for a fix?

thanks in advance.

mplayer unmute does not work

Need to install mplayer first

When using mplayer from the command line m will mute the sound but pressing m again does not unmute it. The terminal screen reports mute enabled/disabled but nothing happens to the sound
This used to work on issue previous to stretch, possibly on early Stretch versions.
A possible cause is that mute sets the volume slider on the task bar to zero but unmute does not set it back to the previous value so it could be some sort of interaction with the UI

Unmute works on Lubuntu, here the volume slider does not change on the UI when sound is muted

Issues with new PiXFlat dark theme

Problems encountered:

  1. URLs are nearly impossible to read.
  2. Text on unfocused windows has poor contrast.
    20231214_18h43m09s_grim
    This makes it hard to interact with another program while referring back to a text editor.
    20231214_18h46m14s_grim
  3. The QT theme matches very well, until you encounter "sort by" bars on lists. Example below is VLC's playlist view. It is impossible to read the white text on the white bar.
    20231214_18h47m47s_grim
  4. I spotted this black text color on gnome-screenshot
    20231214_18h50m48s_grim
  5. Very bad contrast on Add/Remove Software program
    20231214_18h52m13s_grim

Incorrect arrow icon on horizontal scrollbars

I think I would have spotted this years ago if it was always an issue, but it has been this way for most of 2024 at a minimum.

Encountered in Geany:
20240510_15h30m29s_grim
Encountered in Mousepad:
20240510_15h32m47s_grim
Encountered in lxtask:
20240510_15h34m30s_grim
Notably, this seems tied to the GTK theme as QT windows and GTK4 windows are unaffected.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.