gm10's Linux Mint Tools PPA

Get involved, create or participate in a project.
User avatar
Drugwash
Level 2
Level 2
Posts: 67
Joined: Fri Jun 07, 2019 6:40 am
Location: Ploieşti, RO

Re: gm10's Linux Mint Tools PPA

Post by Drugwash » Sat Jul 27, 2019 11:21 am

And to think height was the major problem in auto-updater... Oh well, you can't have it all. :roll:

What dotted line? Never saw one, so either I'm blind or that thing is useless. Nevermind, it's disabled anyway - good riddance to bad luggage, as they say.

Average width may be better than max width, since it's quite unlikely for a line to contain 80 Ws (or their width equivalent) in a row. Darn, if only I had some code at hand to check for string measurements... But I'll be looking into this. ;)

I was joking about the GUI library. :) Too many forks and/or ideas, none refined to the max.
BTW, how could one quickly detect what GUI library is a given window based on? I have various windows and dialogs that don't obey to the window borders at least (Crux with icons), and I'd like to know what they are, maybe I could fix the current theme until I make my own.

Let me know when you decide to build your own distro - preferrably far away from Microsoft's Ubuntu - so that I could get back to alpha testing (and maybe coding too). ;)

Until then thank you for all your work and enjoy the rest of the weekend! :)

gm10
Level 18
Level 18
Posts: 8139
Joined: Thu Jun 21, 2018 5:11 pm

Re: gm10's Linux Mint Tools PPA

Post by gm10 » Sat Jul 27, 2019 11:40 am

Drugwash wrote:
Sat Jul 27, 2019 11:21 am
And to think height was the major problem in auto-updater... Oh well, you can't have it all. :roll:
I'm not complaining. :D
Drugwash wrote:
Sat Jul 27, 2019 11:21 am
What dotted line? Never saw one, so either I'm blind or that thing is useless. Nevermind, it's disabled anyway - good riddance to bad luggage, as they say.
This one:
dotted-line.png
Drugwash wrote:
Sat Jul 27, 2019 11:21 am
Average width may be better than max width, since it's quite unlikely for a line to contain 80 Ws (or their width equivalent) in a row. Darn, if only I had some code at hand to check for string measurements... But I'll be looking into this. ;)
That's not possible. :P :lol: j/k
Anyway, I'd definitely do max width if I'd do anything at all. I want to guarantee that compliant changelogs display without wrapping. My code, my choice. ;)
Drugwash wrote:
Sat Jul 27, 2019 11:21 am
BTW, how could one quickly detect what GUI library is a given window based on? I have various windows and dialogs that don't obey to the window borders at least (Crux with icons), and I'd like to know what they are, maybe I could fix the current theme until I make my own.
Check the package dependencies for GTK or Qt if you do not recognize it straight away from common elements. And I recommend doing your own theme. My theme isn't quite done, haven't worked on it in a while, but I'm much happier with it compared to the themes I did find. It's as with code: Don't like what's out there, just write your own.
Drugwash wrote:
Sat Jul 27, 2019 11:21 am
Let me know when you decide to build your own distro - preferrably far away from Microsoft's Ubuntu - so that I could get back to alpha testing (and maybe coding too). ;)
Haha. For a moment I had been tempted by Clear Linux (Intel any better than Microsoft? :D) because it runs brilliantly on my laptop. But for a number of reasons I'm sticking with a Debian/Ubuntu base for now. Mainly because it's convenient.

Pjotr had suggested a while ago that I create an Ubuntu/Mint LXDE spin (now that Lubuntu is LXQt). But my fun is in coding, not in maintaining.
Drugwash wrote:
Sat Jul 27, 2019 11:21 am
Until then thank you for all your work and enjoy the rest of the weekend! :)
You are welcome, and cheers for your continued input. Now get me some cold weather here, it's way too hot still. :P
Tune up your LM 19.x: ppa:gm10/linuxmint-tools

User avatar
Drugwash
Level 2
Level 2
Posts: 67
Joined: Fri Jun 07, 2019 6:40 am
Location: Ploieşti, RO

Re: gm10's Linux Mint Tools PPA

Post by Drugwash » Sat Jul 27, 2019 12:39 pm

I'd rather get you some cold beer, at least, if it weren't for these small inconveniences like distance, currency and so on. :)
But don't worry, there's 30°C here too. Inside and outside. We suffer together. :D
Cheers! ;)

User avatar
trytip
Level 10
Level 10
Posts: 3462
Joined: Tue Jul 05, 2016 1:20 pm

Re: gm10's Linux Mint Tools PPA

Post by trytip » Sun Jul 28, 2019 11:30 am

@gm10
had to timeshift back as libxapp1 would conflict. also repositories do not open again from synaptic
Image
Image

gm10
Level 18
Level 18
Posts: 8139
Joined: Thu Jun 21, 2018 5:11 pm

Re: gm10's Linux Mint Tools PPA

Post by gm10 » Sun Jul 28, 2019 11:46 am

trytip wrote:
Sun Jul 28, 2019 11:30 am
@gm10
had to timeshift back as libxapp1 would conflict. also repositories do not open again from synaptic
Interesting, my PPA has the correct version (you can download and install it manually using this link: https://launchpad.net/~gm10/+archive/ub ... .1_all.deb) but apparently launchpad bugged out and didn't generate the PPA index file correctly. Weird. Launchpad likes to randomly fail builds but this one I hadn't seen before. I'll see what I can do to fix that...

edit: pushed a new version, it is building now on launchpad and will be available soonish, hopefully in its entirety this time...
edit2: should be good now
Tune up your LM 19.x: ppa:gm10/linuxmint-tools

User avatar
trytip
Level 10
Level 10
Posts: 3462
Joined: Tue Jul 05, 2016 1:20 pm

Re: gm10's Linux Mint Tools PPA

Post by trytip » Sun Jul 28, 2019 8:17 pm

gm10 wrote:
Sun Jul 28, 2019 11:46 am
edit: pushed a new version, it is building now on launchpad and will be available soonish, hopefully in its entirety this time...
edit2: should be good now
thanx that fixed libxapp1 but still mintsources will not open from synaptic. i do use a different version synaptic_0.84.3ubuntu1_amd64.deb but it's worked before with your ppa. updates broke it again, here's the output if that helps any

Code: Select all

mint03@mint03:~$ gksu synaptic
Traceback (most recent call last):
  File "/usr/lib/linuxmint/mintSources/mintSources.py", line 2249, in <module>
    Application().run()
  File "/usr/lib/linuxmint/mintSources/mintSources.py", line 1310, in __init__
    self.refresh_repository_model()
  File "/usr/lib/linuxmint/mintSources/mintSources.py", line 1385, in refresh_repository_model
    self._repository_model.append((repository, repository.selected, repository.get_repository_name()))
  File "/usr/lib/linuxmint/mintSources/mintSources.py", line 703, in get_repository_name
    return f"<b>{name}</b>{release}{suffix}\n<small><i>{self.line}</i></small>\n<small><i>{self.file}</i></small>"
UnboundLocalError: local variable 'suffix' referenced before assignment
Image

gm10
Level 18
Level 18
Posts: 8139
Joined: Thu Jun 21, 2018 5:11 pm

Re: gm10's Linux Mint Tools PPA

Post by gm10 » Mon Jul 29, 2019 4:21 am

trytip wrote:
Sun Jul 28, 2019 8:17 pm
but still mintsources will not open from synaptic.
Whoops, that one was my fault. :oops: Fixed.
Tune up your LM 19.x: ppa:gm10/linuxmint-tools

gm10
Level 18
Level 18
Posts: 8139
Joined: Thu Jun 21, 2018 5:11 pm

Re: gm10's Linux Mint Tools PPA

Post by gm10 » Fri Aug 02, 2019 9:52 am

Since somebody asked yesterday in another thread:

Yes, this PPA is fully compatible with LM 19.2 and will not interfere with the upgrade process. Once Clem makes the upgrade available the Update Manager will need to do a self-upgrade (for the mint-upgrade-info package) and when it restarts you'll even get a nice notification from my Update Manager about the possibility to upgrade.

After the upgrade you will still be using the modified applications from the PPA (don't worry, they contain every new feature that LM 19.2 brings to them and much more, it was I who had contributed nearly all of it, after all) in addition to a modified mintmenu.
Tune up your LM 19.x: ppa:gm10/linuxmint-tools

User avatar
OveS
Level 2
Level 2
Posts: 63
Joined: Fri Jan 01, 2016 3:26 pm
Location: France

Re: gm10's Linux Mint Tools PPA

Post by OveS » Fri Aug 02, 2019 12:26 pm

Why is mintmenu being kept back?

Code: Select all

sudo apt-get upgrade
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Calculating upgrade... Done
The following packages have been kept back:
  mintmenu
0 to upgrade, 0 to newly install, 0 to remove and 1 not to upgrade.
--
Ideapad 530S-14ARR - Linux Mint 19.2 Cinnamon, Thinkpad X240 - Linux Mint 19.2 Cinnamon,
MacBook Pro 15" (mid-2010), iMac 20" (early-2008), Raspberry Pi 2 and 3

gm10
Level 18
Level 18
Posts: 8139
Joined: Thu Jun 21, 2018 5:11 pm

Re: gm10's Linux Mint Tools PPA

Post by gm10 » Fri Aug 02, 2019 12:37 pm

OveS wrote:
Fri Aug 02, 2019 12:26 pm
Why is mintmenu being kept back?
Interesting, that's with my PPA? I did the upgrade earlier in the week in a LM 19.1 MATE VM and it went through cleanly. Is yours MATE or Cinnamon? If you're on MATE and are missing the menu you can do apt install mintmenu/tina to get the official version in the meantime. And please post output of

Code: Select all

apt install mintmenu -o "Debug::pkgProblemResolver=1"
Tune up your LM 19.x: ppa:gm10/linuxmint-tools

User avatar
OveS
Level 2
Level 2
Posts: 63
Joined: Fri Jan 01, 2016 3:26 pm
Location: France

Re: gm10's Linux Mint Tools PPA

Post by OveS » Fri Aug 02, 2019 1:15 pm

Yes, I have your PPA and I'm on Cinnamon

Code: Select all

$ apt install mintmenu -o "Debug::pkgProblemResolver=1"        
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Starting pkgProblemResolver with broken count: 1
Starting 2 pkgProblemResolver with broken count: 1
Investigating (0) mintmenu:amd64 < 5.9.1 -> 1:6.0.8~gm10 @ii pumU Ib >
Broken mintmenu:amd64 Depends on gir1.2-matemenu-2.0:amd64 < none | 1.20.0-2 @un uH > (>= 1.22)
Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies.
 mintmenu : Depends: gir1.2-matemenu-2.0 (>= 1.22) but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
--
Ideapad 530S-14ARR - Linux Mint 19.2 Cinnamon, Thinkpad X240 - Linux Mint 19.2 Cinnamon,
MacBook Pro 15" (mid-2010), iMac 20" (early-2008), Raspberry Pi 2 and 3

gm10
Level 18
Level 18
Posts: 8139
Joined: Thu Jun 21, 2018 5:11 pm

Re: gm10's Linux Mint Tools PPA

Post by gm10 » Fri Aug 02, 2019 1:48 pm

OveS wrote:
Fri Aug 02, 2019 1:15 pm
Yes, I have your PPA and I'm on Cinnamon
But you haven't upgraded to 19.2 yet. To quote my installation instructions from the PPA description:
The mintmenu package will only be offered if you have MATE 1.22 installed - I won't add that to this PPA, but it will become available to users of LM 19.2+.
In other words, it's fine if you don't upgrade, you just won't get that package then (but instead keep the official version for your release).
Tune up your LM 19.x: ppa:gm10/linuxmint-tools

User avatar
OveS
Level 2
Level 2
Posts: 63
Joined: Fri Jan 01, 2016 3:26 pm
Location: France

Re: gm10's Linux Mint Tools PPA

Post by OveS » Fri Aug 02, 2019 2:38 pm

OK, thanks!
--
Ideapad 530S-14ARR - Linux Mint 19.2 Cinnamon, Thinkpad X240 - Linux Mint 19.2 Cinnamon,
MacBook Pro 15" (mid-2010), iMac 20" (early-2008), Raspberry Pi 2 and 3

ColdBootII
Level 4
Level 4
Posts: 372
Joined: Wed Aug 02, 2017 8:19 am

Re: gm10's Linux Mint Tools PPA

Post by ColdBootII » Sun Aug 04, 2019 12:04 am

gm, is there some way I can reset Mint Menu completely?

I have already tried mintmenu --reset but it doesn't alleviate the problem viewtopic.php?f=206&t=299043&p=1667105#p1667105

The Mate Menu and Mate Menu Bar don't display Documents folder in Places either, but for the life of me, I was unable to find out where they keep that info as it doesn't seem to be picked from user-dirs.dirs

gm10
Level 18
Level 18
Posts: 8139
Joined: Thu Jun 21, 2018 5:11 pm

Re: gm10's Linux Mint Tools PPA

Post by gm10 » Sun Aug 04, 2019 4:05 am

ColdBootII wrote:
Sun Aug 04, 2019 12:04 am
gm, is there some way I can reset Mint Menu completely?
I'll answer in your other thread.
Tune up your LM 19.x: ppa:gm10/linuxmint-tools

gm10
Level 18
Level 18
Posts: 8139
Joined: Thu Jun 21, 2018 5:11 pm

Re: gm10's Linux Mint Tools PPA

Post by gm10 » Sun Aug 04, 2019 12:35 pm

PSA: Due to the LM 19.2 repositories carrying an outdated and broken version of MATE's menu editor mozo, I just added an up-to-date version with some additional patches to the PPA. Should you have already broken your menu, the "Revert" button on the menu editor should set you straight again.

As with the PPA's version of mintmenu, users of LM 19 and LM 19.1 will not be receiving this package as an update. On that note, I wonder how many LM 19/19.1 users actually remain among the user base of this PPA. You should think that given the content of the PPA most you guys would be upgrading to the latest release as soon as it becomes available, but I cannot know. ;)
Tune up your LM 19.x: ppa:gm10/linuxmint-tools

all41
Level 14
Level 14
Posts: 5456
Joined: Tue Dec 31, 2013 9:12 am
Location: Computer, Car, Cage

Re: gm10's Linux Mint Tools PPA

Post by all41 » Sun Aug 04, 2019 1:05 pm

gm10 wrote:
Sun Aug 04, 2019 12:35 pm
PSA: Due to the LM 19.2 repositories carrying an outdated and broken version of MATE's menu editor mozo, I just added an up-to-date version with some additional patches to the PPA. Should you have already broken your menu, the "Revert" button on the menu editor should set you straight again.

As with the PPA's version of mintmenu, users of LM 19 and LM 19.1 will not be receiving this package as an update. On that note, I wonder how many LM 19/19.1 users actually remain among the user base of this PPA. You should think that given the content of the PPA most you guys would be upgrading to the latest release as soon as it becomes available, but I cannot know. ;)
Mostly I just test the beta versions live and wait for the point release to do actual installs. Those will get new partitions. I have the all the 19.2 release iso's but haven't did an actual install yet. I will certainly add the gm10 ppa tools in those though. When I am comfy with 19.2 I may do an inplace upgrade on a couple Tessa installs to see how that goes.

User avatar
BenTrabetere
Level 5
Level 5
Posts: 945
Joined: Sat Jul 19, 2014 12:04 am
Location: Hattiesburg, MS USA

Re: gm10's Linux Mint Tools PPA

Post by BenTrabetere » Fri Aug 09, 2019 6:16 pm

I do not know if this is related to the PPA. I got an update saying that Update Manager needs to be updated, but does not update. It leaves a red X on the Update Manager shield, and a "Could not install the updates" mouse-over message. I also cannot Exit/Restart Update Manager.


Edit: Linux Mint 19.2 Tina, Cinnamon 4.2.3, Kernel: 4.15.0-55-generic x86_64 bits

Edit 2: Logging In/Out resolved the issue.

gm10
Level 18
Level 18
Posts: 8139
Joined: Thu Jun 21, 2018 5:11 pm

Re: gm10's Linux Mint Tools PPA

Post by gm10 » Sat Aug 10, 2019 12:54 am

BenTrabetere wrote:
Fri Aug 09, 2019 6:16 pm
I do not know if this is related to the PPA. I got an update saying that Update Manager needs to be updated, but does not update. It leaves a red X on the Update Manager shield, and a "Could not install the updates" mouse-over message. I also cannot Exit/Restart Update Manager.


Edit: Linux Mint 19.2 Tina, Cinnamon 4.2.3, Kernel: 4.15.0-55-generic x86_64 bits

Edit 2: Logging In/Out resolved the issue.

Yep, sorry about that. To tell the story in changelog excerpts, this is how it went yesterday:

Code: Select all

mintupdate (1:5.7.6~gm10) bionic; urgency=medium

  * Starting another instance of Update Manager no longer kills the existing,
    instead it shows it. This prevents problems caused by killing the Update
    Manager process in the middle of an update and simply makes more sense.
followed an hour later by:

Code: Select all

mintupdate (1:5.7.7~gm10) bionic; urgency=medium

  * Fix self-update not restarting the application anymore after the last
    change (I knew I had forgotten something)
But that fix only works for the next self-update, of course, so if you're stuck on 5.7.7 relog/restart like you did, or kill and restart the process otherwise (killall mintUpdate;mintupdate in a terminal). Soon as it restarts it'll be good, future self-updates will be fine again. Sorry for the hiccup, not my finest patch day yesterday. :oops:
Last edited by gm10 on Sat Aug 10, 2019 4:08 am, edited 1 time in total.
Tune up your LM 19.x: ppa:gm10/linuxmint-tools

User avatar
Drugwash
Level 2
Level 2
Posts: 67
Joined: Fri Jun 07, 2019 6:40 am
Location: Ploieşti, RO

Re: gm10's Linux Mint Tools PPA

Post by Drugwash » Sat Aug 10, 2019 3:26 am

Best day for patches is Tuesday... says Redmond. :roll: :lol:

When Updater is stuck after self-update, tray menu has a few items disabled, including Quit, so that's not a valid option. Killing the process and restarting it does the trick. Logging out and back in is overkill. :wink:

Post Reply

Return to “Community Projects”